AnsweredAssumed Answered

USDPAA installation / activation problem on custom T2081 board

Question asked by ROB WESTFALL on Sep 28, 2018
Latest reply on Oct 5, 2018 by ROB WESTFALL

We have a custom T2081 based CPU based on the T2080RDB design.  We are getting data packet ordering issues with data coming into the board though the 10G Ethernet ports.  The data shows up, but not in the same order that it was transmitted.  Needless to say our application software is confused. 

DPAA seems to be the way to solve this (hash on source/dest addr/port which would route the data for a particular port to a consistent work queue and the various CPUs will pull in order from that), but I can't figure out how to configure it on the board.   I went through the AN4760 - "Frame Manager Configuration Tool", and now I have two xml files, but no place to put them.

 

I have read through lots of FTF presentations and App notes and they all talk about the "fmc" app and the "reflector" test program (and other usdpaa test programs), but we don't have them in our custom kernel build and I can't figure out how to build them and get them into the disk image.   A scan of the files in the yocto build directory doesn't show anything.  We have a "/etc/fmc" directory full of files, but no /usr/etc/fmc.

 

We are running a Yocto 2.3 based kernel (poky-pyro-17.0.1), and have the Freescale meta-freescale layer.  We have USDPAA enabled in the kernel,

 

This is part of our Kernel config file:

CONFIG_FSL_DPA=y
CONFIG_FSL_DPAA_ADVANCED_DRIVERS=y
CONFIG_FSL_DPAA_CS_THRESHOLD_10G=0x10000000
CONFIG_FSL_DPAA_CS_THRESHOLD_1G=0x06000000
CONFIG_FSL_DPAA_ETH_DEBUGFS=y
CONFIG_FSL_DPAA_ETH_JUMBO_FRAME=y
CONFIG_FSL_DPAA_ETH_MAX_BUF_COUNT=128
CONFIG_FSL_DPAA_ETH_REFILL_THRESHOLD=80
CONFIG_FSL_DPAA_ETH_USE_NDO_SELECT_QUEUE=y
CONFIG_FSL_DPAA_GENERIC_DRIVER=y
CONFIG_FSL_DPAA_HOOKS=y
CONFIG_FSL_DPAA_INGRESS_CS_THRESHOLD=0x10000000
CONFIG_FSL_DPAA_OFFLINE_PORTS=y
CONFIG_FSL_DPA_CAN_WAIT=y
CONFIG_FSL_DPA_CAN_WAIT_SYNC=y
CONFIG_FSL_DPA_PIRQ_FAST=y
CONFIG_FSL_DPA_PIRQ_SLOW=y
CONFIG_FSL_DPA_PORTAL_SHARE=y
CONFIG_FSL_SDK_DPAA_ETH=y
CONFIG_FSL_USDPAA=y
# CONFIG_FSL_DPAA_1588 is not set
# CONFIG_FSL_DPAA_CEETM is not set
# CONFIG_FSL_DPAA_DBG_LOOP is not set
# CONFIG_FSL_DPAA_ETH_DEBUG is not set
# CONFIG_FSL_DPAA_MACSEC is not set
# CONFIG_FSL_DPAA_TS is not set
# CONFIG_FSL_DPA_CHECKING is not set
# CONFIG_FSL_DPA_OFFLOAD is not set
# CONFIG_PTP_1588_CLOCK_DPAA is not set

We have also added the following packages into our custom layer
#### Packages for DPAA
IMAGE_INSTALL_append = " dpa-offload"
IMAGE_INSTALL_append = " eth-config"
IMAGE_INSTALL_append = " flib"
IMAGE_INSTALL_append = " fmlib"
IMAGE_INSTALL_append = " fm-ucode"
IMAGE_INSTALL_append = " usdpaa"

What am I missing?


Thanks,

Rob Westfall

Outcomes