From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout06-04.prod.mesa1.secureserver.net (smtpout06-01.prod.mesa1.secureserver.net [64.202.165.224]) by ozlabs.org (Postfix) with SMTP id 59FA1DDEC0 for ; Sat, 3 Feb 2007 19:01:55 +1100 (EST) From: "Russell McGuire" To: Subject: radeonfb / Radeon 9250 not detecting memory Date: Sat, 3 Feb 2007 00:01:47 -0800 Message-ID: <000001c74769$8e43ba90$6405a8c0@absolut> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01C74726.80207A90" Reply-To: rmcguire@videopresence.com List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C74726.80207A90 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit All, I seem to be hitting a fit on PCI errors on this board. Was wondering if anybody could help me through this. Here is a condensed log of what happens when I boot 2.6.20-rc6, on a MPC8360E PowerPC. I have edited out all the extra stuff and left only what should be important. The ATI card is the 1:0b:0 device that gets mapped to IRQ 0x17 I have turned on and added some extra debug in the RadeonFB driver. Is there a common place reason why the driver can't detect the memory size? Calling initcall 0xc036c3c0: pcibios_init+0x0/0x24c() PCI: Probing PCI hardware Try to map irq for 0000:00:19.0... pci_busdev_to_OF_node(0,0xc8) parent is /soc8360@f0000000/pci@8500 result is Try to map irq for 0000:00:19.1... pci_busdev_to_OF_node(0,0xc9) parent is /soc8360@f0000000/pci@8500 result is Try to map irq for 0000:01:0b.0... pci_busdev_to_OF_node(1,0x58) pci_busdev_to_OF_node(0,0xc8) parent is /soc8360@f0000000/pci@8500 result is -> got one, spec 2 cells (0x00000017...) on /soc8360@f0000000/pic@700 Try to map irq for 0000:01:0b.1... pci_busdev_to_OF_node(1,0x59) PCI: bridge rsrc 0..ffffffff (100), parent c038d184 PCI: bridge rsrc 80000000..8fffffff (1200), parent c038d168 PCI: bridge rsrc 90000000..9fffffff (200), parent c038d168 PCI: bridge rsrc f1001000..f1001fff (101), parent c03da03c PCI: bridge rsrc 90000000..900fffff (200), parent c03da074 PCI: bridge rsrc 80000000..8fffffff (1201), parent c03da058 PCI:0000:01:0b.0: Resource 0: 0000000080000000-0000000087ffffff (f=1208) PCI:0000:01:0b.0: Resource 1: 00000000f1001000-00000000f10010ff (f=101) PCI:0000:01:0b.0: Resource 2: 0000000090000000-000000009000ffff (f=200) PCI:0000:01:0b.1: Resource 0: 0000000088000000-000000008fffffff (f=1208) PCI:0000:01:0b.1: Resource 1: 0000000090010000-000000009001ffff (f=200) Calling initcall 0xc036e440: init_qe_ic_sysfs+0x0/0x80() . Calling initcall 0xc0377300: fbmem_init+0x0/0xd0() ... Calling initcall 0xc036ee0c: mpc8360_declare_of_platform_devices+0x0/0x88() ..... Calling initcall 0xc0123a70: pci_init+0x0/0x50() Calling initcall 0xc037708c: pci_sysfs_init+0x0/0x58() Calling initcall 0xc03770e4: pci_proc_init+0x0/0x9c() Calling initcall 0xc03777a0: fb_console_init+0x0/0x1ac() Calling initcall 0xc037794c: radeonfb_init+0x0/0x1e0() radeonfb_pci_register BEGIN videoboot: Booting PCI video card bus 1, function 0, device 11 RWM rinfo->name[] ATI Radeon Y` RWM rinfo->family 0000000a RWM rinfo->chipset 00005960 RWM rinfo->fb_base_phys 80000000 RWM rinfo->mmio_base_phys 90000000 RWM rinfo->mmio_base d1058000 VENDOR_ID 0f00 = 59601002 DEVICE_ID 0f02 = 00075960 CONFIG_MEMSIZE 00f8 = 00000000 REG_MEM_BASE 0f10 = 80000008 pci_busdev_to_OF_node(1,0x58) radeonfb (0000:01:0b.0): Cannot match card to OF node ! aper_base: 80000000 MC_FB_LOC to: 87ff8000, MC_AGP_LOC to: ffff9000 RWM VideoRAM size read 00000000 radeonfb (0000:01:0b.0): Found 0k of SDRAM 64 bits wide videoram radeonfb (0000:01:0b.0): cannot map FB radeonfb: probe of 0000:01:0b.0 failed with error -5 -Russ ------=_NextPart_000_0001_01C74726.80207A90 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

All,

 

I seem to be hitting a fit on PCI errors on this = board. Was wondering if anybody could help me through = this.

 

Here is a condensed log of what happens when I boot 2.6.20-rc6, on a MPC8360E PowerPC.

I have edited out all the extra stuff and left only = what should be important.

The ATI card is the 1:0b:0 device that gets mapped to = IRQ 0x17

 

I have turned on and added some extra debug in the = RadeonFB driver…

Is there a common place reason why the driver = can’t detect the memory size?

 

Calling initcall = 0xc036c3c0: pcibios_init+0x0/0x24c()

PCI: Probing PCI = hardware

Try to map irq for 0000:00:19.0...

pci_busdev_to_OF_node(0,0xc8)

 parent is /soc8360@f0000000/pci@8500

 result is = <NULL>

Try to map irq for 0000:00:19.1...

pci_busdev_to_OF_node(0,0xc9)

 parent is /soc8360@f0000000/pci@8500

 result is = <NULL>

Try to map irq for 0000:01:0b.0...

pci_busdev_to_OF_node(1,0x58)

pci_busdev_to_OF_node(0,0xc8)

 parent is /soc8360@f0000000/pci@8500

 result is = <NULL>

 -> got = one, spec 2 cells (0x00000017...) on = /soc8360@f0000000/pic@700

Try to map irq for 0000:01:0b.1...

pci_busdev_to_OF_node(1,0x59)

PCI: bridge rsrc = 0..ffffffff (100), parent c038d184

PCI: bridge rsrc 80000000..8fffffff (1200), parent c038d168

PCI: bridge rsrc 90000000..9fffffff (200), parent c038d168

PCI: bridge rsrc f1001000..f1001fff (101), parent c03da03c

PCI: bridge rsrc 90000000..900fffff (200), parent c03da074

PCI: bridge rsrc 80000000..8fffffff (1201), parent c03da058

PCI:0000:01:0b.0: = Resource 0: 0000000080000000-0000000087ffffff = (f=3D1208)

PCI:0000:01:0b.0: = Resource 1: 00000000f1001000-00000000f10010ff = (f=3D101)

PCI:0000:01:0b.0: = Resource 2: 0000000090000000-000000009000ffff = (f=3D200)

PCI:0000:01:0b.1: = Resource 0: 0000000088000000-000000008fffffff = (f=3D1208)

PCI:0000:01:0b.1: = Resource 1: 0000000090010000-000000009001ffff = (f=3D200)

Calling initcall = 0xc036e440: init_qe_ic_sysfs+0x0/0x80()

Calling initcall = 0xc0377300: fbmem_init+0x0/0xd0()

...

Calling initcall = 0xc036ee0c: mpc8360_declare_of_platform_devices+0x0/0x88()

.....

Calling initcall = 0xc0123a70: pci_init+0x0/0x50()

Calling initcall = 0xc037708c: pci_sysfs_init+0x0/0x58()

Calling initcall = 0xc03770e4: pci_proc_init+0x0/0x9c()

Calling initcall = 0xc03777a0: fb_console_init+0x0/0x1ac()

Calling initcall = 0xc037794c: radeonfb_init+0x0/0x1e0()

radeonfb_pci_register BEGIN

videoboot: Booting = PCI video card bus 1, function 0, device 11

RWM = rinfo->name[] ATI Radeon Y`

RWM = rinfo->family 0000000a

RWM = rinfo->chipset 00005960

RWM = rinfo->fb_base_phys 80000000

RWM rinfo->mmio_base_phys 90000000

RWM rinfo->mmio_base d1058000

VENDOR_ID 0f00 =3D = 59601002

DEVICE_ID 0f02 =3D = 00075960

CONFIG_MEMSIZE 00f8 = =3D 00000000

REG_MEM_BASE 0f10 = =3D 80000008

pci_busdev_to_OF_node(1,0x58)

radeonfb = (0000:01:0b.0): Cannot match card to OF node !

aper_base: 80000000 MC_FB_LOC to: 87ff8000, MC_AGP_LOC to: = ffff9000

RWM VideoRAM size = read 00000000

radeonfb = (0000:01:0b.0): Found 0k of SDRAM 64 bits wide videoram

radeonfb = (0000:01:0b.0): cannot map FB

radeonfb: probe of 0000:01:0b.0 failed with error -5

 

 

-Russ

------=_NextPart_000_0001_01C74726.80207A90--