Device tree with DPAA removes all ethernet interfaces on T1040D4RDB

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Device tree with DPAA removes all ethernet interfaces on T1040D4RDB

707 次查看
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.

标签 (1)
标记 (4)
0 项奖励
回复
3 回复数

626 次查看
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 项奖励
回复

612 次查看
dwilliams
Contributor I

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

Should I be using DPAA instead of USDPAA?

0 项奖励
回复

607 次查看
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 项奖励
回复