All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: Eduard Fuchs <edfuchs@uni-kassel.de>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Problem with radeonfb on PowerPC 7448&MV64560
Date: Sat, 21 Mar 2009 01:00:31 +0100	[thread overview]
Message-ID: <49C42E1F.6030701@denx.de> (raw)
In-Reply-To: <200903201635.03017.edfuchs@uni-kassel.de>

Eduard Fuchs wrote:

<snip>
>>> Can I initialize the video card in uboot too?
>> Yes, indeed you can.  In a recent version of U-Boot, search for
>> 'CONFIG_BIOSEMU' in include/configs/*.  We tested this on a sequoia
>> board, so include/configs/sequoia.h should be a good start for this.
> 
> Thanks.
> 
> I tried to include BIOSEMU and RADEON_FB in my u-boot. Bios emulator seems to 
> be properly loaded, but when u-boot attempt to read or write Radeon's 
> registers, the board freezes.

>From the U-Boot output below it seems that the Radeon register access
works already. At least one register read access succeeded before
"videoboot: Booting PCI video card bus 0, function 0, device 7" output.

> What means exactly the value of "VIDEO_IO_OFFSET" in the config file? 

It is the base address of an address range accesses to which are
translated to an I/O access on PCI by the PCI bridge.

> There is a u-boot's output when I init the VIDEO_IO_OFFSET with PCI's I/O base 
> address:
> 
> 
> INFO : PCI0_IO : base - 0xd8000000 size - 1M bytes
> INFO : PCI0_MEM0: base - 0x80000000 size - 1024M bytes
> INFO : PCI0_MEM1: base - 0xc0000000 size - 128M bytes
> INFO : PCI0_MEM2: base - 0xc8000000 size - 128M bytes
> INFO : PCI0_MEM3: base - 0xd0000000 size - 128M bytes
> .....
> PCI Scan: Found Bus 0, Device 7, Function 0
> PCI Scan: Found Bus 0, Device 7, Function 1
> PCI Scan: Found Bus 0, Device 9, Function 0
> PCI Scan: Found Bus 0, Device 10, Function 0
> Video: ATI Radeon video card (1002, 5960) found @(0:7:0)
> videoboot: Booting PCI video card bus 0, function 0, device 7
> E 0000 0 F00P0F000NI00PMS0EG 0F00

Is the address translation for PCI I/O configured by some BAT?

Best regards,
Anatolij

      reply	other threads:[~2009-03-21  0:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-17 15:30 Problem with radeonfb on PowerPC 7448&MV64560 Eduard Fuchs
2009-03-17 23:05 ` Benjamin Herrenschmidt
2009-03-19  9:51   ` Eduard Fuchs
     [not found]   ` <200903191051.37875.edfuchs__31387.3780928136$1237456433$gmane$org@uni-kassel.de>
2009-03-20 10:51     ` Detlev Zundel
2009-03-20 15:35       ` Eduard Fuchs
2009-03-21  0:00         ` Anatolij Gustschin [this message]

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=49C42E1F.6030701@denx.de \
    --to=agust@denx.de \
    --cc=edfuchs@uni-kassel.de \
    --cc=linuxppc-dev@ozlabs.org \
    /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.