Device tree with DPAA removes all ethernet interfaces on T1040D4RDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Device tree with DPAA removes all ethernet interfaces on T1040D4RDB

209 Views
dwilliams
Contributor I

Hello,

I'm trying to load and use DPAA drivers on Linux running on a T1040D4RDB board.

I'm using Linux as provided from the QorIQ Linux SDK v2.0 PPC64E5500 iso file.

If the provided uImage--4.1-r0-t1040d4rdb-20160515031450.dtb device tree is loaded, everything runs fine, except that the DPAA features don't seem to do anything.  For example, using a coarse classifier doesn't appear to affect the flow of ethernet packets.  On boot, there is an message that would seem to indicate that DPAA would not work:

No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree

 

If instead, the provided uImage--4.1-r0-t1040d4rdb-usdpaa-20160515031450.dtb device tree is loaded, then the following message is seen on boot:

USDPAA region at 1e0000000:10000000(1e0000:10000), 1 TLB1 entries)

But unfortunately, after booting, the only available interface is loopback (eth4 is gone). The Ethernet cable is plugged into the ETH1 jack on the board, although none of the other ports work either.

 

Any assistance on loading DPAA with ethernet on Linux would be appreciated.

Labels (1)
0 Kudos
Reply
3 Replies

128 Views
yipingwang
NXP TechSupport
NXP TechSupport

You are using USDPAA dts file, all these Ethernet ports have been assigned to USDPAA, so in Linux you cannot see them.

0 Kudos
Reply

114 Views
dwilliams
Contributor I

How can I use the Ethernet interfaces if I cannot see them?

Should I be using DPAA instead of USDPAA?

0 Kudos
Reply

109 Views
yipingwang
NXP TechSupport
NXP TechSupport

If you want to use the Ethernet ports in Linux, please use the normal dts file without usdpaa, Kernel space DPAA driver will be used.

If you want to use user space DPAA drivers and applications, you need to boot up the target board with USDPAA dts file. Please refer to Linux SDK user manual for how to use USDPAA applications.

0 Kudos
Reply