[U-Boot] What to do for a working BIOSEMU and ATI_RADEON_FB environment?

Anatolij Gustschin agust at denx.de
Sun Mar 29 00:35:02 CET 2009


Anatolij Gustschin wrote:

> <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

I forgot to mention that you additionally have to define
VIDEO_IO_OFFSET as CONFIG_PCI_IO_PHYS than. So try to use

#define CONFIG_PCI_IO_BUS	0x00000000
#define CONFIG_PCI_IO_PHYS	0x50000000
#define VIDEO_IO_OFFSET		CONFIG_PCI_IO_PHYS

Best regards,
Anatolij


More information about the U-Boot mailing list