From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smf.keti.re.kr (unknown [203.253.128.44]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 49490DDE39 for ; Sat, 24 Feb 2007 15:37:54 +1100 (EST) From: =?ks_c_5601-1987?B?sei/tciv?= To: Subject: prblem Initializing the PCIe Bridge at u-boot Date: Sat, 24 Feb 2007 13:37:43 +0900 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01C75818.F63730E0" Message-Id: <20070224043755.49490DDE39@ozlabs.org> 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_0004_01C75818.F63730E0 Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: quoted-printable Hi, I am using to the LSI SAS MEGARAID SAS 8480E adapter. And I am under debugging u-boot-1.2.0. u-boot-1.2.0 and kernel-2.6.20(denx's git) don't include the code to scan and setup under pcie bridge, Right? I have checked the LSI adapter at general linux system. The structure = of the LSI Adapter is the following. I don=A1=AFt know exactly why only = bridge find and setup at u-boot. Help me please. =20 =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =3D=3D=3D=3D=3D=3D=3D=3D=3D [root@node-5 ~]# lspci=20 =20 06:08.0 SCSI storage controller: LSI Logic / Symbios Logic: Unknown = device 0054 (rev 01) Subsystem: LSI Logic / Symbios Logic: Unknown device 1000 Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11 I/O ports at d000 [size=3D256] Memory at dfffc000 (64-bit, non-prefetchable) [size=3D16K] Memory at dffe0000 (64-bit, non-prefetchable) [size=3D64K] Expansion ROM at dfc00000 [disabled] [size=3D2M] Capabilities: [50] Power Management version 2 Capabilities: [98] Message Signalled Interrupts: 64bit+ = Queue=3D0/0 Enable- Capabilities: [68] PCI-X non-bridge device. =20 06:0e.0 Memory controller: Intel Corp.: Unknown device 0374 Flags: bus master, stepping, 66Mhz, medium devsel, latency 64, = IRQ 6 Memory at e7000000 (64-bit, prefetchable) [size=3D16M] Capabilities: [c0] Power Management version 2 Capabilities: [d0] Message Signalled Interrupts: 64bit+ = Queue=3D0/1 Enable- Capabilities: [e0] PCI-X non-bridge device. =20 [root@node-5 ~]# lspci -t -[0000:00]-+-00.0 +-01.0-[0000:07]----00.0 +-1b.0 +-1c.0-[0000:04-06]--+-00.0-[0000:06]--+-08.0 | | \-0e.0 | \-00.2-[0000:05]-- +-1c.4-[0000:03]----00.0 +-1c.5-[0000:02]----00.0 +-1d.0 +-1d.1 +-1d.2 +-1d.3 +-1d.7 +-1e.0-[0000:01]--+-03.0 | \-04.0 +-1f.0 +-1f.1 +-1f.2 \-1f.3 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =3D=3D=3D=3D=3D=3D=3D=3D=3D The following text is printing at u-boot =20 =20 U-Boot 1.2.0 (Feb 24 2007 - 12:11:00) =20 CPU: AMCC PowerPC 440SPe Rev. B at 533.328 MHz (PLB=3D133, OPB=3D66, = EBC=3D66 MHz) =20 RAID 6 support I2C boot EEPROM enabled Bootstrap Option D - Boot ROM Location I2C (Addr 0x50) Internal PCI arbiter enabled 32 kB I-Cache 32 kB D-Cache Board: Yucca - AMCC 440SPe Evaluation Board I2C: ready DRAM: DIMM slot 0: DDR2 SDRAM detected DIMM slot 1: DDR2 SDRAM detected 1024 MB Now running in RAM - U-Boot at: 3ffb2000 FLASH: 5 MB *** Warning - bad CRC, using default environment =20 PCI: Bus Dev VenId DevId Class Int PCI Autoconfig: Memory region: [80000000-8fffffff] PCI Autoconfig: I/O region: [0-ffff] PCIE:1 successfully set as rootpoint PCI Autoconfig: Memory region: [b1000000-b1ffffff] PCI Scan: Found Bus 1, Device 1, Function 0 PCI Autoconfig: BAR 0, I/O, size=3D0x4, No resource PCI Autoconfig: Found P2P bridge, device 1 PCI Scan: Found Bus 1, Device 1, Function 0 PCI Autoconfig: BAR 0, I/O, size=3D0x4, No resource PCI Autoconfig: Found P2P bridge, device 1 PCI Scan: Found Bus 2, Device 1, Function 0 PCI Autoconfig: BAR 0, I/O, size=3D0x4, No resource PCI Autoconfig: Found P2P bridge, device 1 PCI Scan: Found Bus 3, Device 1, Function 0 PCI Autoconfig: BAR 0, I/O, size=3D0x4, No resource PCI Autoconfig: Found P2P bridge, device 1 PCI Scan: Found Bus 4, Device 1, Function 0 PCI Autoconfig: BAR 0, I/O, size=3D0x4, No resource PCI Autoconfig: Found P2P bridge, device 1 PCI Scan: Found Bus 5, Device 1, Function 0 PCI Autoconfig: BAR 0, I/O, size=3D0x4, No resource PCI Autoconfig: Found P2P bridge, device 1 PCI Scan: Found Bus 6, Device 1, Function 0 PCI Autoconfig: BAR 0, I/O, size=3D0x4, No resource PCI Autoconfig: Found P2P bridge, device 1 PCI Scan: Found Bus 7, Device 1, Function 0 PCI Autoconfig: BAR 0, I/O, size=3D0x4, No resource =A1=A6=A1=A6=A1=A6=A1=A6=A1=A6=A1=A6=A1=A6=A1=A6=A1=A6=A1=A6.. =20 =20 ------=_NextPart_000_0004_01C75818.F63730E0 Content-Type: text/html; charset="ks_c_5601-1987" Content-Transfer-Encoding: quoted-printable

Hi,

I am = using to the LSI SAS MEGARAID SAS 8480E adapter. And I am under debugging = u-boot-1.2.0. u-boot-1.2.0 and kernel-2.6.20(denx's git) don't include the code to scan and setup = under pcie bridge, Right?

 I have checked the LSI adapter at general linux system. The structure of the = LSI Adapter is the following. I don=A1=AFt know exactly why only bridge find = and setup at u-boot. Help me please.

 

 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

[root@node-5 ~]# lspci

 

06:08.0 SCSI storage controller: LSI Logic / Symbios Logic: = Unknown device 0054 (rev 01)

        Subsystem: LSI Logic / Symbios Logic: Unknown device = 1000

        Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ = 11

        I/O ports at d000 [size=3D256]

        Memory at dfffc000 (64-bit, non-prefetchable) = [size=3D16K]

        Memory at dffe0000 (64-bit, non-prefetchable) = [size=3D64K]

        Expansion ROM at dfc00000 [disabled] = [size=3D2M]

        Capabilities: [50] Power Management version = 2

        Capabilities: [98] Message Signalled Interrupts: 64bit+ Queue=3D0/0 = Enable-

        Capabilities: [68] PCI-X non-bridge device.

 

06:0e.0 Memory controller: Intel Corp.: Unknown device = 0374

        Flags: bus master, stepping, 66Mhz, medium devsel, latency 64, IRQ = 6

        Memory at e7000000 (64-bit, prefetchable) = [size=3D16M]

        Capabilities: [c0] Power Management version = 2

        Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=3D0/1 = Enable-

        Capabilities: [e0] PCI-X non-bridge device.

 

[root@node-5 ~]# lspci -t

-[0000:00]-+-00.0

=

       &nbs= p;   +-01.0-[0000:07]----00.0

       &nbs= p;   +-1b.0

       &nbs= p;   +-1c.0-[0000:04-06]--+-00.0-[0000:06]--+-08.0

      =      |            =         |          =        \-0e.0

      =      |            =         \-00.2-[0000:05]--

       &nbs= p;   +-1c.4-[0000:03]----00.0

       &nbs= p;   +-1c.5-[0000:02]----00.0

       &nbs= p;   +-1d.0

       &nbs= p;   +-1d.1

       &nbs= p;   +-1d.2

       &nbs= p;   +-1d.3

       &nbs= p;   +-1d.7

       &nbs= p;   +-1e.0-[0000:01]--+-03.0

       &nbs= p;   |            =      \-04.0

       &nbs= p;   +-1f.0

       &nbs= p;   +-1f.1

       &nbs= p;   +-1f.2

       &nbs= p;   \-1f.3

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

The = following text is printing at u-boot

 

 

U-Boot 1.2.0 (Feb 24 2007 - 12:11:00)       = ;            =             &= nbsp;          

       &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;          

CPU:   AMCC PowerPC 440SPe Rev. B at 533.328 MHz (PLB=3D133, OPB=3D66, EBC=3D66 = MHz) 

       RAID 6 support           =             &= nbsp;           &n= bsp;           &nb= sp;          

       I2C boot EEPROM enabled           =             &= nbsp;           &n= bsp;           &nb= sp; 

       Bootstrap Option D - Boot ROM Location I2C (Addr 0x50)           &n= bsp;      

       Internal PCI arbiter enabled           =             &= nbsp;           &n= bsp;        

       32 kB I-Cache 32 kB D-Cache           =             &= nbsp;           &n= bsp;         

Board: Yucca - AMCC 440SPe Evaluation Board           &n= bsp;           &nb= sp;           &nbs= p;

I2C:   ready           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =        

DRAM:  DIMM slot 0: DDR2 SDRAM detected           = ;            =             &= nbsp;    

DIMM = slot 1: DDR2 SDRAM detected           = ;            =             &= nbsp;           

1024 MB            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           

Now = running in RAM - U-Boot at: 3ffb2000           = ;            =             &= nbsp;   

FLASH:  5 MB            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;      

*** = Warning - bad CRC, using default environment          &n= bsp;           &nb= sp;        

       &nbs= p;            = ;                  &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;     

PCI:   Bus Dev VenId DevId Class Int           &nbs= p;            = ;            =        

PCI = Autoconfig: Memory region: [80000000-8fffffff]         =             &= nbsp;       

PCI = Autoconfig: I/O region: [0-ffff]   =             &= nbsp;           &n= bsp;           &nb= sp;    

PCIE:1 successfully set as rootpoint          &nbs= p;            = ;            =         

PCI = Autoconfig: Memory region: [b1000000-b1ffffff]         =             &= nbsp;       

PCI = Scan: Found Bus 1, Device 1, Function = 0         =             &= nbsp;           &n= bsp;   

PCI = Autoconfig: BAR 0, I/O, size=3D0x4, No resource           = ;            =        

PCI = Autoconfig: Found P2P bridge, device 1            =             &= nbsp;           &n= bsp;

PCI = Scan: Found Bus 1, Device 1, Function 0            =                       &= nbsp;  

PCI = Autoconfig: BAR 0, I/O, size=3D0x4, No resource           = ;            =        

PCI = Autoconfig: Found P2P bridge, device 1            =             &= nbsp;           &n= bsp;

PCI = Scan: Found Bus 2, Device 1, Function 0            =             &= nbsp;            

PCI = Autoconfig: BAR 0, I/O, size=3D0x4, No resource           = ;            =        

PCI = Autoconfig: Found P2P bridge, device 1            =             &= nbsp;           &n= bsp;

PCI = Scan: Found Bus 3, Device 1, Function 0            =             &= nbsp;           

PCI = Autoconfig: BAR 0, I/O, size=3D0x4, No resource           = ;            =        

PCI = Autoconfig: Found P2P bridge, device 1            =             &= nbsp;           &n= bsp;

PCI = Scan: Found Bus 4, Device 1, Function 0            =             &= nbsp;           

PCI = Autoconfig: BAR 0, I/O, size=3D0x4, No resource           = ;            =        

PCI = Autoconfig: Found P2P bridge, device 1            =             &= nbsp;           &n= bsp;

PCI = Scan: Found Bus 5, Device 1, Function 0            =             &= nbsp;           

PCI = Autoconfig: BAR 0, I/O, size=3D0x4, No resource           = ;            =        

PCI = Autoconfig: Found P2P bridge, device 1            =             &= nbsp;           &n= bsp;

PCI = Scan: Found Bus 6, Device 1, Function 0            =             &= nbsp;           

PCI = Autoconfig: BAR 0, I/O, size=3D0x4, No = resource           = ;            =        

PCI = Autoconfig: Found P2P bridge, device 1            =             &= nbsp;           &n= bsp;

PCI = Scan: Found Bus 7, Device 1, Function 0            =             &= nbsp;           

PCI = Autoconfig: BAR 0, I/O, size=3D0x4, No resource

=A1=A6=A1=A6=A1=A6=A1=A6=A1=A6=A1=A6=A1=A6=A1=A6= =A1=A6=A1=A6..

 

 

------=_NextPart_000_0004_01C75818.F63730E0--