How to demonstrate LS1043A-VNP' DPAA function?

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

How to demonstrate LS1043A-VNP' DPAA function?

Jump to solution
1,750 Views
d-z-c
Contributor III

How to demonstrate  DPAA function on the LS1043A-VNP board?

 

I only refer to this manual: MPC-LS-VNP-RD-UM.pdf to burn the firmware: RDB-EAR0.1-Binaries

All the steps are same as the manual,except the dtb file.

One burn the default dtb file: fsl-ls1043a-rdb-sdk.dtb in  emmc block.the kernel boot logs and the rootfs ifconfig result are in this file: ls1043_vnp_without_dpaa_001.txt.   And the ifconfig result looks normal.

Another burn the usdpaa dtb file: fsl-ls1043a-rdb-usdpaa.dtb (from LSDK source) in emmc block, and fix the uboot mmcboot string. the kernel boot logs and the rootfs ifconfig result are in this file: ls1043_vnp_usdpaa_001.txt. And the ifconfig result looks abnormal: a lot of net devices like eth0 ... are lost.

Have a good day.
0 Kudos
1 Solution
1,652 Views
yipingwang
NXP TechSupport
NXP TechSupport

The dts fsl-ls1043a-rdb-usdpaa.dts is used for DPDK, all Ethernet ports are assigned to the user space. DPDK is an user space packet processing framework.

File fsl-ls1043a-rdb-sdk.dtb is the normal dts file for Linux Kernel.

DPAA is the hardware mechanism to provide hardware acceleration of packet queues. DPAA module cannot be disabled in networking packets processing.

 

View solution in original post

5 Replies
1,721 Views
yipingwang
NXP TechSupport
NXP TechSupport

When you use USDPAA dts file  fsl-ls1043a-rdb-usdpaa.dtb, all Ethernet ports have been assigned to USDPAA, so you cannot see any Ethernet port in Linux.

In fsl,dpaa device node definition in arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts, if you delete  ethernet@0 definition, you will find eth0 is assigned to Linux, 

 

Thanks,

Yiping

 

1,718 Views
d-z-c
Contributor III

Hi, YiPing

 Thank for you answer

 I could understand why there are no any ethernet port on Linux.

And do you have any idea to build a simple demo about the DPAA function(uboot,kernel configure,Linux rootfs references, and so on),I just want to know how to use it and How does it work.

 

Thanks

TIC.

Have a good day.
0 Kudos
1,702 Views
yipingwang
NXP TechSupport
NXP TechSupport

DPAA driver is enabled in Linux Kernel by default. You could run any networking related application(eg. ping, iperf).

You could refer to section "8.2 DPAA1-specific Software" in LSDK 20.04 user manual for how DPAA1 works.

1,692 Views
d-z-c
Contributor III

Hi YiPing:
Do you mean both the two dtbs:fsl-ls1043a-rdb-sdk.dtb and fsl-ls1043a-rdb-usdpaa.dts
are DPAA driver enabled in Linux Kernel by default?

And How to enable / disable the DPAA function? then we could Compare their effects.

Thanks,

TIC

Have a good day.
0 Kudos
1,653 Views
yipingwang
NXP TechSupport
NXP TechSupport

The dts fsl-ls1043a-rdb-usdpaa.dts is used for DPDK, all Ethernet ports are assigned to the user space. DPDK is an user space packet processing framework.

File fsl-ls1043a-rdb-sdk.dtb is the normal dts file for Linux Kernel.

DPAA is the hardware mechanism to provide hardware acceleration of packet queues. DPAA module cannot be disabled in networking packets processing.