From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] What to do for a working BIOSEMU and ATI_RADEON_FB environment?
Date: Sun, 29 Mar 2009 00:35:02 +0100 [thread overview]
Message-ID: <49CEB426.6090109@denx.de> (raw)
In-Reply-To: <49CEB1F5.9000405@denx.de>
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
next prev parent reply other threads:[~2009-03-28 23:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-28 15:26 [U-Boot] What to do for a working BIOSEMU and ATI_RADEON_FB environment? Markus Rathgeb
2009-03-28 23:25 ` Anatolij Gustschin
2009-03-28 23:35 ` Anatolij Gustschin [this message]
2009-03-29 10:00 ` Markus Rathgeb
2009-03-30 15:07 ` Anatolij Gustschin
2009-03-29 15:21 ` Jon Smirl
2009-03-29 15:23 ` Jon Smirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49CEB426.6090109@denx.de \
--to=agust@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.