LSISAS3041E-R PCIe card bring up failed on AMCC Canyonlands

Minh Tuan Duong minhtuanmt1 at gmail.com
Mon Nov 3 14:16:30 EST 2008


Hi all,

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 http://marc.info/?l=linux-netdev&m=121602350226912&w=2 applying
kernel 2.6.26 from kernel.org but nothing is progress. Log file is attached.
Please let me know if you have any idea.

-- 
Thanks and best regards,
Tuan

=====================================================================================================
CPU:   AMCC PowerPC 460EX Rev. A at 800 MHz (PLB=200, OPB=100, EBC=100 MHz)
       Security/Kasumi support
       Bootstrap Option B - Boot ROM Location EBC (16 bits)
       Internal PCI arbiter disabled
       32 kB I-Cache 32 kB D-Cache
Board: Canyonlands - AMCC PPC460EX Evaluation Board, 2*PCIe, Rev. 14
I2C:   ready
DTT:   1 is 48 C
DRAM:  512 MB (ECC not enabled, 400 MHz, CL3)
FLASH: 64 MB
NAND:  128 MiB
PCI:   Bus Dev VenId DevId Class Int
PCIE0: link is not up.
PCIE0: initialization as root-complex failed
PCIE1: successfully set as root-complex
        02  00  1000  0056  0100  00
        01  00  aaa1  bed1  0604  00
Net:   ppc_4xx_eth0, ppc_4xx_eth1

Type run flash_nfs to mount root filesystem over NFS

Hit any key to stop autoboot:  0
=> pci 1
Scanning PCI devices on bus 1
BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
_____________________________________________________________
01.00.00   0xaaa1     0xbed1     Bridge device           0x04
=> pci 2
Scanning PCI devices on bus 2
BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
_____________________________________________________________
02.00.00   0x1000     0x0056     Mass storage controller 0x00
=> run net_nfs
Waiting for PHY auto negotiation to complete.. done
ENET Speed is 100 Mbps - FULL duplex connection (EMAC0)
Using ppc_4xx_eth0 device
TFTP from server 10.38.12.201; our IP address is 10.38.12.229
Filename 'canyonlands/uImage'.
Load address: 0x400000
Loading: #################################################################
         ############################
done
Bytes transferred = 1352171 (14a1eb hex)
ENET Speed is 100 Mbps - FULL duplex connection (EMAC0)
Using ppc_4xx_eth0 device
TFTP from server 10.38.12.201; our IP address is 10.38.12.229
Filename 'canyonlands/canyonlands.dtb'.
Load address: 0xfc1e0000
Loading: #
done
Bytes transferred = 12288 (3000 hex)
## Booting kernel from Legacy Image at 00400000 ...
   Image Name:   Linux-2.6.26
   Created:      2008-10-31  10:38:58 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1352107 Bytes =  1.3 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
## Flattened Device Tree blob at fc1e0000
   Booting using the fdt blob at 0xfc1e0000
   Loading Device Tree to 007fc000, end 007ff188 ... OK
Using Canyonlands machine description
Linux version 2.6.26 (tuan at Saigon) (gcc version 4.0.0 (DENX ELDK 4.1 4.0.0))
#2 Fri Oct 31 17:38:56 ICT 2008
Zone PFN ranges:
  DMA             0 ->   131072
  Normal     131072 ->   131072
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->   131072
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
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
UIC0 (32 IRQ sources) at DCR 0xc0
UIC1 (32 IRQ sources) at DCR 0xd0
UIC2 (32 IRQ sources) at DCR 0xe0
UIC3 (32 IRQ sources) at DCR 0xf0
PID hash table entries: 2048 (order: 11, 8192 bytes)
clocksource: timebase mult[500000] shift[22] registered
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 516608k/524288k available (2648k kernel code, 7440k reserved, 112k
data, 128k bss, 148k init)
SLUB: Genslabs=10, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
net_namespace: 192 bytes
NET: Registered protocol family 16
256k L2-cache enabled
PCIE0: Checking link...
PCIE0: No device detected.
PCI host bridge /plb/pciex at d00000000 (primary) ranges:
 MEM 0x0000000e00000000..0x0000000e7fffffff -> 0x0000000080000000
  IO 0x0000000f80000000..0x0000000f8000ffff -> 0x0000000000000000
4xx PCI DMA offset set to 0x00000000
PCIE0: successfully set as root-complex
PCIE1: Checking link...
PCIE1: Device detected, waiting for link...
PCIE1: link is up !
PCI host bridge /plb/pciex at d20000000 (primary) ranges:
 MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000
  IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000
4xx PCI DMA offset set to 0x00000000
PCIE1: successfully set as root-complex
PCI host bridge /plb/pci at c0ec00000 (primary) ranges:
 MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000
  IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
4xx PCI DMA offset set to 0x00000000
PCI: Probing PCI hardware
PCI: Hiding 4xx host bridge resources 0000:40:00.0
PCI: Hiding 4xx host bridge resources 0001:80:00.0
PCI: Bridge: 0000:40:00.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0001:80:00.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
NET: Registered protocol family 1
msgmni has been set to 1009
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
assign_interrupt_mode Found MSI capability
assign_interrupt_mode Found MSI capability
aer: probe of 0000:40:00.0:pcie01 failed with error -38
aer: probe of 0001:80:00.0:pcie01 failed with error -38
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 18) is a 16550A
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 19) is a 16550A
serial8250.0: ttyS2 at MMIO 0x4ef600500 (irq = 29) is a 16550A
serial8250.0: ttyS3 at MMIO 0x4ef600600 (irq = 20) is a 16550A
4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 18) is a 16550A
4ef600400.serial: ttyS1 at MMIO 0x4ef600400 (irq = 19) is a 16550A
4ef600500.serial: ttyS2 at MMIO 0x4ef600500 (irq = 29) is a 16550A
4ef600600.serial: ttyS3 at MMIO 0x4ef600600 (irq = 20) is a 16550A
brd: module loaded
PPC 4xx OCP EMAC driver, version 3.54
MAL v2 /plb/mcmal, 2 TX channels, 16 RX channels
ZMII /plb/opb/emac-zmii at ef600d00 initialized
RGMII /plb/opb/emac-rgmii at ef601500 initialized with MDIO support
TAH /plb/opb/emac-tah at ef601350 initialized
TAH /plb/opb/emac-tah at ef601450 initialized
/plb/opb/emac-rgmii at ef601500: input 0 in RGMII mode
eth0: EMAC-0 /plb/opb/ethernet at ef600e00, MAC 00:10:ec:00:f9:f6
eth0: found Generic MII PHY (0x00)
/plb/opb/emac-rgmii at ef601500: input 1 in RGMII mode
eth1: EMAC-1 /plb/opb/ethernet at ef600f00, MAC 00:10:ec:80:f9:f6
eth1: found Generic MII PHY (0x01)
Fusion MPT base driver 3.04.06
Copyright (c) 1999-2007 LSI Corporation
Fusion MPT SPI Host driver 3.04.06
Fusion MPT FC Host driver 3.04.06
Fusion MPT SAS Host driver 3.04.06
Fusion MPT misc device (ioctl) driver 3.04.06
mptctl: Registered with Fusion MPT base driver
mptctl: /dev/mptctl @ (major,minor=10,220)
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
eth0: link is down
IP-Config: Complete:
     device=eth0, addr=10.38.12.229, mask=255.255.252.0, gw=10.38.12.1,
     host=canyonlands, domain=, nis-domain=(none),
     bootserver=10.38.12.201, rootserver=10.38.12.201, rootpath=
Looking up port of RPC 100003/2 on 10.38.12.201
eth0: link is up, 100 FDX, pause enabled
Looking up port of RPC 100005/1 on 10.38.12.201
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 148k init
modprobe: FATAL: Could not load /lib/modules/2.6.26/modules.dep: No such
file or directory

modprobe: FATAL: Could not load /lib/modules/2.6.26/modules.dep: No such
file or directory

INIT: version 2.85 booting
                Welcome to DENX Embedded Linux Environment
                Press 'I' to enter interactive startup.
Building the cache [  OK  ]
 storage network audio done[  OK  ]
modprobe: FATAL: Could not load /lib/modules/2.6.26/modules.dep: No such
file or directory

Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access
method.
Setting clock : Thu Jan  1 00:00:05 UTC 1970 [  OK  ]
Setting hostname canyonlands:  [  OK  ]
Mounting local filesystems:  [  OK  ]
Enabling swap space:  [  OK  ]
INIT: Entering runlevel: 3
Entering non-interactive startup
Bringing up loopback interface:  [  OK  ]
Starting system logger: [  OK  ]
Starting kernel logger: [  OK  ]
Starting portmap: [  OK  ]
Mounting NFS filesystems:  [  OK  ]
Mounting other filesystems:  [  OK  ]
Starting xinetd: [  OK  ]

DENX ELDK version 4.1 build 2007-01-19
Linux 2.6.26 on a ppc

canyonlands login: root
Last login: Sat Jul 12 02:53:28 on console
bash-3.00# uname -r
2.6.26
bash-3.00# lspci
40:00.0 PCI bridge: Unknown device aaa0:bed0 (rev 01)
80:00.0 PCI bridge: Unknown device aaa1:bed1 (rev 01)
bash-3.00# cat /proc/interrupts
           CPU0
 18:        252   UIC   Level     serial
 21:       6032   UIC   Level     MAL TX EOB
 22:      11737   UIC   Level     MAL RX EOB
 23:          0   UIC   Edge      L2C
 24:          0   UIC   Level     MAL SERR
 25:          0   UIC   Level     MAL TX DE
 26:          0   UIC   Level     MAL RX DE
 27:          0   UIC   Level     EMAC
BAD:          0
bash-3.00# cat /proc/devices
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
 10 misc
 21 sg
128 ptm
136 pts

Block devices:
  1 ramdisk
bash-3.00#

=====================================================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20081103/ea4e538d/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log.txt
URL: <http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20081103/ea4e538d/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config
Type: application/octet-stream
Size: 19170 bytes
Desc: not available
URL: <http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20081103/ea4e538d/attachment-0001.obj>


More information about the Linuxppc-embedded mailing list