From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Wed, 18 Mar 2009 15:48:13 +0100 Subject: [U-Boot] About PCI of U-BOOT of CANYONLANDS In-Reply-To: <49C0EFB2.9020800@fsi.co.jp> References: <49BFA0BE.7060103@fsi.co.jp> <200903171413.03396.sr@denx.de> <49C04E2C.5070507@fsi.co.jp> <200903181007.13324.sr@denx.de> <49C0E31C.9050200@denx.de> <49C0E3E7.9040503@fsi.co.jp> <49C0E913.2070609@fsi.co.jp> <49C0EFB2.9020800@fsi.co.jp> Message-ID: <49C109AD.70106@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Kazuaki Ichinohe wrote: > Hi Anatolij, Stefan, > > The memory space is displayed in BAR2 of the PCI configuration space. > The video driver accesses this memory space and the exception is generated. > > driver source: u-boot/drivers/video/ati_radeon_fb.c > function name: void *video_hw_init(void) > line : 760line it seems that the driver is able to access memory space (registers, e.g. in radeon_identify_vram() ) but cannot access framebuffer? Please replace '#undef DEBUG' in drivers/video/ati_radeon_fb.c with '#define DEBUG' and also enable CONFIG_VIDEO and use #define VIDEO_IO_OFFSET 0xD0800000 and post the boot log again. Thanks! Best regards, Anatolij > > I attach the log where the exception is generated. > I confirmed it by the source of the following patches. > #undef CONFIG_VIDEO > #ifdef CONFIG_VIDEO > #define CONFIG_BIOSEMU > #define CONFIG_ATI_RADEON_FB > #define VIDEO_IO_OFFSET 0xD8000000 > #define CONFIG_SYS_ISA_IO_BASE_ADDRESS VIDEO_IO_OFFSET > #define CONFIG_VIDEO_SW_CURSOR > #define CONFIG_VIDEO_LOGO > #define CONFIG_CFB_CONSOLE > #define CONFIG_SPLASH_SCREEN > #define CONFIG_VGA_AS_SINGLE_DEVICE > #define CONFIG_CMD_BMP > #endif /* #ifdef CONFIG_VIDEO */ > > Regards, > Kazuaki Ichinohe > -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de