AnsweredAssumed Answered

DPAA ethernet driver not probed

Question asked by Y Z on Jul 23, 2017

Hi, I have an issue about LS1043ARDB board. 

The builtin nor bank0 can start the board and everything seems works fine, I tried to build an  "fsl-image-core" and start from SD card, u-boot at sdcard block 8, fman fw at sdcard block 0x820, but I can't let the dpaa driver probed, command "ifconfig -a" shows only  "lo" and "sit0" interface in linux.  here is some log, only these I think useful:

 

NOR BANK0 BOOT LOG:

 

U-Boot 2016.092.0+g199df35 (Nov 20 2016 - 13:27:10 +0800)

...
Reset Configuration Word (RCW):
00000000: 08100010 0a000000 00000000 00000000
00000010: 14550002 80004012 e0025000 c1002000
00000020: 00000000 00000000 00000000 00038800
00000030: 00000000 00001101 00000096 00000001
Board: LS1043ARDB, boot from vBank 0
...
SEC0: RNG instantiated
PPA Firmware: Version 0.2
Firmware 'Microcode version 0.0.1 for LS1021a r1.0' for 1021 V1.0
QE: uploading microcode 'Microcode for LS1021a r1.0' version 0.0.1
...
Net: Fman1: Uploading microcode version 106.4.18
...
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1

...

Starting kernel ...

...

[ 0.490255] fsl_mac 1af0000.ethernet: FMan MEMAC
[ 0.494864] fsl_mac 1af0000.ethernet: FMan MAC address: 00:04:9f:04:f3:7a
[ 0.501722] fsl_dpa: FSL DPAA Ethernet driver
[ 0.510184] fsl_dpa: fsl_dpa: Probed interface eth0
[ 0.519307] fsl_dpa: fsl_dpa: Probed interface eth1
[ 0.529014] fsl_dpa: fsl_dpa: Probed interface eth2
[ 0.539296] fsl_dpa: fsl_dpa: Probed interface eth3
[ 0.550189] fsl_dpa: fsl_dpa: Probed interface eth4
[ 0.561636] fsl_dpa: fsl_dpa: Probed interface eth5
[ 0.573692] fsl_dpa: fsl_dpa: Probed interface eth6
[ 0.578643] fsl_advanced: FSL DPAA Advanced drivers:
[ 0.583609] fsl_proxy: FSL DPAA Proxy initialization driver
[ 0.589374] ata1: SATA link down (SStatus 0 SControl 300)
[ 0.589381] fsl_dpa_shared: FSL DPAA Shared Ethernet driver
[ 0.589482] fsl_dpa_macless: FSL DPAA MACless Ethernet driver
[ 0.589564] fsl_oh: FSL FMan Offline Parsing port driver

 

 

 

SD BOOT LOG:

U-Boot 2016.092.0+ga06b209 (Jul 13 2017 - 12:54:52 -0700)

...
Reset Configuration Word (RCW):
00000000: 08100010 0a000000 00000000 00000000
00000010: 14550002 80004012 60040000 c1002000
00000020: 00000000 00000000 00000000 00038800
00000030: 00000000 00001100 00000096 00000001
Board: LS1043ARDB, boot from SD
CPLD: V1.5
PCBA: V3.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
I2C: ready
DRAM: Detected UDIMM Fixed DDR on board
2 GiB (DDR4, 32-bit, CL=11, ECC off)
SEC0: RNG instantiated
FSL_SDHC: 0
SEC Firmware: Bad firmware image (not a FIT image)
PSCI: PSCI does not exist.
Waking secondary cores to start from ffd06000
All (4) cores are up.
Using SERDES1 Protocol: 5205 (0x1455)
Flash: 128 MiB
NAND: 512 MiB
MMC: EEPROM: NXID v1
In: serial
Out: serial
Err: serial
Net:
MMC read: dev # 0, block # 2080, count 128 ...
Fman1: Uploading microcode version 106.4.18
PCIe0: pcie@3400000 disabled
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 Root Complex: no link

 

Starting kernel ...

...

[ 1.288886] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[ 1.294805] fsl_mac 1ae0000.ethernet: FMan MEMAC
[ 1.299419] fsl_mac 1ae0000.ethernet: FMan MAC address: 00:04:9f:04:f3:74
[ 1.306495] fsl_mac 1ae2000.ethernet: FMan MEMAC
[ 1.311105] fsl_mac 1ae2000.ethernet: FMan MAC address: 00:04:9f:04:f3:75
[ 1.317935] fsl_mac 1ae4000.ethernet: FMan MEMAC
[ 1.322544] fsl_mac 1ae4000.ethernet: FMan MAC address: 00:04:9f:04:f3:76
[ 1.329378] fsl_mac 1ae6000.ethernet: FMan MEMAC
[ 1.333992] fsl_mac 1ae6000.ethernet: FMan MAC address: 00:04:9f:04:f3:77
[ 1.341064] fsl_mac 1ae8000.ethernet: FMan MEMAC
[ 1.345680] fsl_mac 1ae8000.ethernet: FMan MAC address: 00:04:9f:04:f3:78
[ 1.352750] fsl_mac 1aea000.ethernet: FMan MEMAC
[ 1.357365] fsl_mac 1aea000.ethernet: FMan MAC address: 00:04:9f:04:f3:79
[ 1.364199] fsl_mac 1af0000.ethernet: FMan MEMAC
[ 1.368808] fsl_mac 1af0000.ethernet: FMan MAC address: 00:04:9f:04:f3:7a
[ 1.375665] fsl_dpa: FSL DPAA Ethernet driver
[ 1.380097] fsl_advanced: FSL DPAA Advanced drivers:
[ 1.385058] fsl_proxy: FSL DPAA Proxy initialization driver
[ 1.391031] fsl_proxy-proxy fsl,dpaa:ethernet@0: probed MAC device with MAC address: 00:04:9f:04:f3:74
[ 1.400645] fsl_proxy-proxy fsl,dpaa:ethernet@1: probed MAC device with MAC address: 00:04:9f:04:f3:75
[ 1.410264] fsl_proxy-proxy fsl,dpaa:ethernet@2: probed MAC device with MAC address: 00:04:9f:04:f3:76
[ 1.419882] fsl_proxy-proxy fsl,dpaa:ethernet@3: probed MAC device with MAC address: 00:04:9f:04:f3:77
[ 1.429500] fsl_proxy-proxy fsl,dpaa:ethernet@4: probed MAC device with MAC address: 00:04:9f:04:f3:78
[ 1.439116] fsl_proxy-proxy fsl,dpaa:ethernet@5: probed MAC device with MAC address: 00:04:9f:04:f3:79
[ 1.448735] fsl_proxy-proxy fsl,dpaa:ethernet@8: probed MAC device with MAC address: 00:04:9f:04:f3:7a
[ 1.458065] fsl_dpa_shared: FSL DPAA Shared Ethernet driver
[ 1.463706] fsl_dpa_macless: FSL DPAA MACless Ethernet driver
[ 1.469525] fsl_oh: FSL FMan Offline Parsing port driver

...

 

root@ls1043ardb:~# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:700 (700.0 B) TX bytes:700 (700.0 B)

sit0 Link encap:UNSPEC HWaddr 00-00-00-00-3A-30-30-30-00-00-00-00-00-00-00-00
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@ls1043ardb:~# ls /dev

Original Attachment has been moved to: NOR-bank0-boot-log.txt.zip

Original Attachment has been moved to: SD-boot-log.txt.zip

Outcomes