Hi all,<br><br>I am having some problems with AMCC Canyonlands' PCIe. I've tried to bring up LSISAS3041E-R PCIe card with Canyonlands but failed. It seems PCIe card can be detected in U-boot but Linux (kernel linux-2.6-denx). I also followed advice at <a href="http://marc.info/?l=linux-netdev&m=121602350226912&w=2">http://marc.info/?l=linux-netdev&m=121602350226912&w=2</a> applying kernel 2.6.26 from <a href="http://kernel.org">kernel.org</a> but nothing is progress. Log file is attached.<br>
Please let me know if you have any idea.<br><br>-- <br>Thanks and best regards,<br>Tuan<br><br>=====================================================================================================<br>CPU: AMCC PowerPC 460EX Rev. A at 800 MHz (PLB=200, OPB=100, EBC=100 MHz)<br>
Security/Kasumi support<br> Bootstrap Option B - Boot ROM Location EBC (16 bits)<br> Internal PCI arbiter disabled<br> 32 kB I-Cache 32 kB D-Cache<br>Board: Canyonlands - AMCC PPC460EX Evaluation Board, 2*PCIe, Rev. 14<br>
I2C: ready<br>DTT: 1 is 48 C<br>DRAM: 512 MB (ECC not enabled, 400 MHz, CL3)<br>FLASH: 64 MB<br>NAND: 128 MiB<br>PCI: Bus Dev VenId DevId Class Int<br>PCIE0: link is not up.<br>PCIE0: initialization as root-complex failed<br>
PCIE1: successfully set as root-complex<br> 02 00 1000 0056 0100 00<br> 01 00 aaa1 bed1 0604 00<br>Net: ppc_4xx_eth0, ppc_4xx_eth1<br><br>Type run flash_nfs to mount root filesystem over NFS<br><br>
Hit any key to stop autoboot: 0<br>=> pci 1<br>Scanning PCI devices on bus 1<br>BusDevFun VendorId DeviceId Device Class Sub-Class<br>_____________________________________________________________<br>01.00.00 0xaaa1 0xbed1 Bridge device 0x04<br>
=> pci 2<br>Scanning PCI devices on bus 2<br>BusDevFun VendorId DeviceId Device Class Sub-Class<br>_____________________________________________________________<br>02.00.00 0x1000 0x0056 Mass storage controller 0x00<br>
=> run net_nfs<br>Waiting for PHY auto negotiation to complete.. done<br>ENET Speed is 100 Mbps - FULL duplex connection (EMAC0)<br>Using ppc_4xx_eth0 device<br>TFTP from server <a href="http://10.38.12.201">10.38.12.201</a>; our IP address is <a href="http://10.38.12.229">10.38.12.229</a><br>
Filename 'canyonlands/uImage'.<br>Load address: 0x400000<br>Loading: #################################################################<br> ############################<br>done<br>Bytes transferred = 1352171 (14a1eb hex)<br>
ENET Speed is 100 Mbps - FULL duplex connection (EMAC0)<br>Using ppc_4xx_eth0 device<br>TFTP from server <a href="http://10.38.12.201">10.38.12.201</a>; our IP address is <a href="http://10.38.12.229">10.38.12.229</a><br>
Filename 'canyonlands/canyonlands.dtb'.<br>Load address: 0xfc1e0000<br>Loading: #<br>done<br>Bytes transferred = 12288 (3000 hex)<br>## Booting kernel from Legacy Image at 00400000 ...<br> Image Name: Linux-2.6.26<br>
Created: 2008-10-31 10:38:58 UTC<br> Image Type: PowerPC Linux Kernel Image (gzip compressed)<br> Data Size: 1352107 Bytes = 1.3 MB<br> Load Address: 00000000<br> Entry Point: 00000000<br> Verifying Checksum ... OK<br>
Uncompressing Kernel Image ... OK<br>## Flattened Device Tree blob at fc1e0000<br> Booting using the fdt blob at 0xfc1e0000<br> Loading Device Tree to 007fc000, end 007ff188 ... OK<br>Using Canyonlands machine description<br>
Linux version 2.6.26 (tuan@Saigon) (gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)) #2 Fri Oct 31 17:38:56 ICT 2008<br>Zone PFN ranges:<br> DMA 0 -> 131072<br> Normal 131072 -> 131072<br>Movable zone start PFN for each node<br>
early_node_map[1] active PFN ranges<br> 0: 0 -> 131072<br>Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048<br>Kernel command line: root=/dev/nfs rw nfsroot=10.38.12.201:/opt/eldk/ppc_4xxFP ip=10.38.12.229:10.38.12.201:10.38.12.1:255.255.252.0:canyonlands:eth0:off panic=1 console=ttyS0,115200<br>
UIC0 (32 IRQ sources) at DCR 0xc0<br>UIC1 (32 IRQ sources) at DCR 0xd0<br>UIC2 (32 IRQ sources) at DCR 0xe0<br>UIC3 (32 IRQ sources) at DCR 0xf0<br>PID hash table entries: 2048 (order: 11, 8192 bytes)<br>clocksource: timebase mult[500000] shift[22] registered<br>
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)<br>Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)<br>Memory: 516608k/524288k available (2648k kernel code, 7440k reserved, 112k data, 128k bss, 148k init)<br>
SLUB: Genslabs=10, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1<br>Mount-cache hash table entries: 512<br>net_namespace: 192 bytes<br>NET: Registered protocol family 16<br>256k L2-cache enabled<br>PCIE0: Checking link...<br>
PCIE0: No device detected.<br>PCI host bridge /plb/pciex@d00000000 (primary) ranges:<br> MEM 0x0000000e00000000..0x0000000e7fffffff -> 0x0000000080000000<br> IO 0x0000000f80000000..0x0000000f8000ffff -> 0x0000000000000000<br>
4xx PCI DMA offset set to 0x00000000<br>PCIE0: successfully set as root-complex<br>PCIE1: Checking link...<br>PCIE1: Device detected, waiting for link...<br>PCIE1: link is up !<br>PCI host bridge /plb/pciex@d20000000 (primary) ranges:<br>
MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000<br> IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000<br>4xx PCI DMA offset set to 0x00000000<br>PCIE1: successfully set as root-complex<br>
PCI host bridge /plb/pci@c0ec00000 (primary) ranges:<br> MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000<br> IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000<br>4xx PCI DMA offset set to 0x00000000<br>
PCI: Probing PCI hardware<br>PCI: Hiding 4xx host bridge resources 0000:40:00.0<br>PCI: Hiding 4xx host bridge resources 0001:80:00.0<br>PCI: Bridge: 0000:40:00.0<br> IO window: disabled.<br> MEM window: disabled.<br> PREFETCH window: disabled.<br>
PCI: Bridge: 0001:80:00.0<br> IO window: disabled.<br> MEM window: disabled.<br> PREFETCH window: disabled.<br>SCSI subsystem initialized<br>NET: Registered protocol family 2<br>IP route cache hash table entries: 16384 (order: 4, 65536 bytes)<br>
TCP established hash table entries: 65536 (order: 7, 524288 bytes)<br>TCP bind hash table entries: 65536 (order: 6, 262144 bytes)<br>TCP: Hash tables configured (established 65536 bind 65536)<br>TCP reno registered<br>NET: Registered protocol family 1<br>
msgmni has been set to 1009<br>io scheduler noop registered<br>io scheduler anticipatory registered (default)<br>io scheduler deadline registered<br>io scheduler cfq registered<br>assign_interrupt_mode Found MSI capability<br>
assign_interrupt_mode Found MSI capability<br>aer: probe of 0000:40:00.0:pcie01 failed with error -38<br>aer: probe of 0001:80:00.0:pcie01 failed with error -38<br>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled<br>
serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 18) is a 16550A<br>console [ttyS0] enabled<br>serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 19) is a 16550A<br>serial8250.0: ttyS2 at MMIO 0x4ef600500 (irq = 29) is a 16550A<br>
serial8250.0: ttyS3 at MMIO 0x4ef600600 (irq = 20) is a 16550A<br>4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 18) is a 16550A<br>4ef600400.serial: ttyS1 at MMIO 0x4ef600400 (irq = 19) is a 16550A<br>4ef600500.serial: ttyS2 at MMIO 0x4ef600500 (irq = 29) is a 16550A<br>
4ef600600.serial: ttyS3 at MMIO 0x4ef600600 (irq = 20) is a 16550A<br>brd: module loaded<br>PPC 4xx OCP EMAC driver, version 3.54<br>MAL v2 /plb/mcmal, 2 TX channels, 16 RX channels<br>ZMII /plb/opb/emac-zmii@ef600d00 initialized<br>
RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support<br>TAH /plb/opb/emac-tah@ef601350 initialized<br>TAH /plb/opb/emac-tah@ef601450 initialized<br>/plb/opb/emac-rgmii@ef601500: input 0 in RGMII mode<br>eth0: EMAC-0 /plb/opb/ethernet@ef600e00, MAC 00:10:ec:00:f9:f6<br>
eth0: found Generic MII PHY (0x00)<br>/plb/opb/emac-rgmii@ef601500: input 1 in RGMII mode<br>eth1: EMAC-1 /plb/opb/ethernet@ef600f00, MAC 00:10:ec:80:f9:f6<br>eth1: found Generic MII PHY (0x01)<br>Fusion MPT base driver 3.04.06<br>
Copyright (c) 1999-2007 LSI Corporation<br>Fusion MPT SPI Host driver 3.04.06<br>Fusion MPT FC Host driver 3.04.06<br>Fusion MPT SAS Host driver 3.04.06<br>Fusion MPT misc device (ioctl) driver 3.04.06<br>mptctl: Registered with Fusion MPT base driver<br>
mptctl: /dev/mptctl @ (major,minor=10,220)<br>TCP cubic registered<br>NET: Registered protocol family 17<br>RPC: Registered udp transport module.<br>RPC: Registered tcp transport module.<br>eth0: link is down<br>IP-Config: Complete:<br>
device=eth0, addr=<a href="http://10.38.12.229">10.38.12.229</a>, mask=<a href="http://255.255.252.0">255.255.252.0</a>, gw=<a href="http://10.38.12.1">10.38.12.1</a>,<br> host=canyonlands, domain=, nis-domain=(none),<br>
bootserver=<a href="http://10.38.12.201">10.38.12.201</a>, rootserver=<a href="http://10.38.12.201">10.38.12.201</a>, rootpath=<br>Looking up port of RPC 100003/2 on <a href="http://10.38.12.201">10.38.12.201</a><br>
eth0: link is up, 100 FDX, pause enabled<br>Looking up port of RPC 100005/1 on <a href="http://10.38.12.201">10.38.12.201</a><br>VFS: Mounted root (nfs filesystem).<br>Freeing unused kernel memory: 148k init<br>modprobe: FATAL: Could not load /lib/modules/2.6.26/modules.dep: No such file or directory<br>
<br>modprobe: FATAL: Could not load /lib/modules/2.6.26/modules.dep: No such file or directory<br><br>INIT: version 2.85 booting<br> Welcome to DENX Embedded Linux Environment<br> Press 'I' to enter interactive startup.<br>
Building the cache [ OK ]<br> storage network audio done[ OK ]<br>modprobe: FATAL: Could not load /lib/modules/2.6.26/modules.dep: No such file or directory<br><br>Cannot access the Hardware Clock via any known method.<br>
Use the --debug option to see the details of our search for an access method.<br>Setting clock : Thu Jan 1 00:00:05 UTC 1970 [ OK ]<br>Setting hostname canyonlands: [ OK ]<br>Mounting local filesystems: [ OK ]<br>
Enabling swap space: [ OK ]<br>INIT: Entering runlevel: 3<br>Entering non-interactive startup<br>Bringing up loopback interface: [ OK ]<br>Starting system logger: [ OK ]<br>Starting kernel logger: [ OK ]<br>Starting portmap: [ OK ]<br>
Mounting NFS filesystems: [ OK ]<br>Mounting other filesystems: [ OK ]<br>Starting xinetd: [ OK ]<br><br>DENX ELDK version 4.1 build 2007-01-19<br>Linux 2.6.26 on a ppc<br><br>canyonlands login: root<br>Last login: Sat Jul 12 02:53:28 on console<br>
bash-3.00# uname -r<br>2.6.26<br>bash-3.00# lspci<br>40:00.0 PCI bridge: Unknown device aaa0:bed0 (rev 01)<br>80:00.0 PCI bridge: Unknown device aaa1:bed1 (rev 01)<br>bash-3.00# cat /proc/interrupts<br> CPU0<br>
18: 252 UIC Level serial<br> 21: 6032 UIC Level MAL TX EOB<br> 22: 11737 UIC Level MAL RX EOB<br> 23: 0 UIC Edge L2C<br> 24: 0 UIC Level MAL SERR<br>
25: 0 UIC Level MAL TX DE<br> 26: 0 UIC Level MAL RX DE<br> 27: 0 UIC Level EMAC<br>BAD: 0<br>bash-3.00# cat /proc/devices<br>Character devices:<br> 1 mem<br> 2 pty<br>
3 ttyp<br> 4 ttyS<br> 5 /dev/tty<br> 5 /dev/console<br> 5 /dev/ptmx<br> 10 misc<br> 21 sg<br>128 ptm<br>136 pts<br><br>Block devices:<br> 1 ramdisk<br>bash-3.00#<br><br>=====================================================================================================<br>
<br>