AnsweredAssumed Answered

LSDK 19.09 Network Problem

Question asked by Carl Jones on Dec 2, 2019
Latest reply on Dec 8, 2019 by Carl Jones

Hello,

 

I've migrated a running code from LSDK 18.03 to 19.09. The compilation has no errors but when the system boots up, the network interface seemed to malfunction. The dpaa2 object dpni seemed not bound to dpmac

[ 4.912099] fsl_dpaa2_eth dpni.1: Linked as a consumer to dpmcp.15
[ 4.943584] fsl_dpaa2_eth dpni.1: Linked as a consumer to dpcon.2
[ 4.952249] fsl_dpaa2_eth dpni.1: Linked as a consumer to dpio.8
[ 4.958799] fsl_dpaa2_eth dpni.1: Linked as a consumer to dpbp.2
[ 4.979758] fsl_dpaa2_eth dpni.1: Probed interface eth0
[ 4.985639] fsl_dpaa2_eth dpni.0: Linked as a consumer to dpmcp.14
[ 5.017118] fsl_dpaa2_eth dpni.0: Linked as a consumer to dpcon.1
[ 5.025813] fsl_dpaa2_eth dpni.0: Linked as a consumer to dpio.8
[ 5.032349] fsl_dpaa2_eth dpni.0: Linked as a consumer to dpbp.1
[ 5.053185] fsl_dpaa2_eth dpni.0: Probed interface eth1
[ 5.059023] dpaa2_mac dpmac.2: Linked as a consumer to dpmcp.13
[ 5.070378] dpaa2_mac dpmac.2: Registered fixed PHY.
[ 5.075932] dpaa2_mac dpmac.1: Linked as a consumer to dpmcp.12
[ 5.086694] dpaa2_mac dpmac.1: Registered fixed PHY.

[ 6.085792] dpaa2_mac dpmac.2 (unnamed net_device) (uninitialized): Link is Up - 1Gbps/Full - flow control off
[ 6.117772] dpaa2_mac dpmac.1 (unnamed net_device) (uninitialized): Link is Up - 1Gbps/Full - flow control off

root@TinyLinux:~# ifconfig eth0 up
[ 393.520834] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
root@TinyLinux:~# ifconfig eth1 up
[ 396.192685] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
root@TinyLinux:~#

Even the restool, ls-listni, ls-listmac api's cannot detect any network interface

root@TinyLinux:~# restool
error: Did not find a device file
root@TinyLinux:~# ls-listni
error: Did not find a device file
Restool wrapper scripts only support the latest major MC version
that currently is MC10.x. Use with caution.
error: Did not find a device file
root@TinyLinux:~# ls-listmac
error: Did not find a device file
Restool wrapper scripts only support the latest major MC version
that currently is MC10.x. Use with caution.
error: Did not find a device file
root@TinyLinux:~#

But the U-boot boot log shows that fsl-mc booted up properly and the dpl & dpc file were loaded.

device 0 offset 0xa00000, size 0x100000
SF: 1048576 bytes @ 0xa00000 Read: OK
device 0 offset 0xe00000, size 0x100000
SF: 1048576 bytes @ 0xe00000 Read: OK
crc32+
fsl-mc: Booting Management Complex ... SUCCESS
fsl-mc: Management Complex booted (version: 10.18.0, boot status: 0x1)
Hit any key to stop autoboot:  0
device 0 offset 0xd00000, size 0x100000
SF: 1048576 bytes @ 0xd00000 Read: OK

Can you help me solve this problem?

 

Thanks,

Carlos

Attachments

Outcomes