Hi Markus,

Markus Rathgeb wrote:

<snip>
> Then I added the following lines to u-boot configuration file for
> phyCORE-MPC5200B-tiny‎:
>       
> #define CONFIG_VIDEO
> #ifdef CONFIG_VIDEO
>       #define CONFIG_BIOSEMU                  /* x86 bios emulator for vga 
> bios */
>       #define CONFIG_ATI_RADEON_FB            /* use radeon framebuffer 
> driver */
>       #define VIDEO_IO_OFFSET                 CONFIG_PCI_IO_BUS
>       #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
> 
> (Is VIDEO_IO_OFFSET okay? Is CONFIG_SYS_ISA_IO_BASE_ADDRESS needed?)

VIDEO_IO_OFFSET seems to be Ok. CONFIG_SYS_ISA_IO_BASE_ADDRESS is not
really needed, but ati_radeon_fb.c driver can't be compiled without
it currently.

<snip>
> I prepare to find the line that is responsible and believe it is
> in the file './video/ati_radeon_fb.c'
> in the function 'void *video_hw_init(void)'
> When the video memory will be accessed.
> 
>       /* Clear video memory (only visible screen area) */
>         i = pGD->winSizeX * pGD->winSizeY * pGD->gdfBytesPP / 4;
>         vm = (unsigned int *) pGD->pciBase;
>         while (i--)
>                 *vm++ = 0; <-- HERE !!
> 
> So, what can I do?

Try to define CONFIG_PCI_IO_BUS and CONFIG_PCI_IO_PHYS in
'include/configs/pcm030.h' as follows:

#define CONFIG_PCI_IO_BUS       0x00000000
#define CONFIG_PCI_IO_PHYS      0x50000000

Best regards,
Anatolij
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to