3. NXP QorIQ DPAA2 Board Support Package
This doc has information about steps to setup NXP QorIQ DPAA2 platform and information about common offload hw block drivers of NXP QorIQ DPAA2 SoC family.
3.1. Supported DPAA2 SoCs
- LX2160A
- LS2084A/LS2044A
- LS2088A/LS2048A
- LS1088A/LS1048A
More information about SoC can be found at NXP Official Website.
3.2. Common Offload HW Block Drivers
Nics Driver
See DPAA2 Poll Mode Driver for NXP dpaa2 nic driver information.
Cryptodev Driver
See NXP DPAA2 CAAM (DPAA2_SEC) for NXP dpaa2 cryptodev driver information.
Eventdev Driver
See NXP DPAA2 Eventdev Driver for NXP dpaa2 eventdev driver information.
Rawdev AIOP CMDIF Driver
See NXP DPAA2 CMDIF Driver for NXP dpaa2 AIOP command interface driver information.
Rawdev QDMA Driver
See NXP DPAA2 QDMA Driver for NXP dpaa2 QDMA driver information.
3.3. Steps To Setup Platform
There are four main pre-requisites for executing DPAA2 PMD on a DPAA2 compatible board:
ARM 64 Tool Chain
For example, the *aarch64* Linaro Toolchain.
Linux Kernel
It can be obtained from NXP’s Github hosting.
Rootfile system
Any aarch64 supporting filesystem can be used. For example, Ubuntu 16.04 LTS (Xenial) or 18.04 (Bionic) userland which can be obtained from here.
Resource Scripts
DPAA2 based resources can be configured easily with the help of ready scripts as provided in the DPDK Extra repository.
As an alternative method, DPAA2 PMD can also be executed using images provided as part of SDK from NXP. The SDK includes all the above prerequisites necessary to bring up a DPAA2 board.
The following dependencies are not part of DPDK and must be installed separately:
NXP Linux SDK
NXP Linux software development kit (SDK) includes support for family of QorIQ® ARM-Architecture-based system on chip (SoC) processors and corresponding boards.
It includes the Linux board support packages (BSPs) for NXP SoCs, a fully operational tool chain, kernel and board specific modules.
SDK and related information can be obtained from: NXP QorIQ SDK.
DPDK Extra Scripts
DPAA2 based resources can be configured easily with the help of ready scripts as provided in the DPDK Extra repository.
Currently supported by DPDK:
- NXP SDK 2.0+ (preferred: LSDK 19.03).
- MC Firmware version 10.14.0 and higher.
- Supported architectures: arm64 LE.
- Follow the DPDK Getting Started Guide for Linux to setup the basic DPDK environment.