1 .. SPDX-License-Identifier: BSD-3-Clause
4 NXP QorIQ DPAA2 Board Support Package
5 =====================================
7 This doc has information about steps to setup NXP QorIQ DPAA2 platform
8 and information about common offload hw block drivers of
9 **NXP QorIQ DPAA2** SoC family.
19 More information about SoC can be found at `NXP Official Website
20 <https://www.nxp.com/products/processors-and-microcontrollers/arm-based-
21 processors-and-mcus/qoriq-layerscape-arm-processors:QORIQ-ARM>`_.
24 Common Offload HW Block Drivers
25 -------------------------------
29 See :doc:`../nics/dpaa2` for NXP dpaa2 nic driver information.
31 2. **Cryptodev Driver**
33 See :doc:`../cryptodevs/dpaa2_sec` for NXP dpaa2 cryptodev driver information.
35 3. **Eventdev Driver**
37 See :doc:`../eventdevs/dpaa2` for NXP dpaa2 eventdev driver information.
39 4. **Rawdev AIOP CMDIF Driver**
41 See :doc:`../rawdevs/dpaa2_cmdif` for NXP dpaa2 AIOP command interface driver information.
43 5. **Rawdev QDMA Driver**
45 See :doc:`../rawdevs/dpaa2_qdma` for NXP dpaa2 QDMA driver information.
48 Steps To Setup Platform
49 -----------------------
51 There are four main pre-requisites for executing DPAA2 PMD on a DPAA2
54 1. **ARM 64 Tool Chain**
56 For example, the `*aarch64* Linaro Toolchain <https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05/aarch64-linux-gnu/gcc-linaro-7.3.1-2018.05-i686_aarch64-linux-gnu.tar.xz>`_.
60 It can be obtained from `NXP's Github hosting <https://source.codeaurora.org/external/qoriq/qoriq-components/linux>`_.
62 3. **Rootfile system**
64 Any *aarch64* supporting filesystem can be used. For example,
65 Ubuntu 16.04 LTS (Xenial) or 18.04 (Bionic) userland which can be obtained
67 <http://cdimage.ubuntu.com/ubuntu-base/releases/18.04/release/ubuntu-base-18.04.1-base-arm64.tar.gz>`_.
69 4. **Resource Scripts**
71 DPAA2 based resources can be configured easily with the help of ready scripts
72 as provided in the DPDK Extra repository.
76 Use dpaa build configs, they work for both DPAA2 and DPAA platforms.
78 As an alternative method, DPAA2 PMD can also be executed using images provided
79 as part of SDK from NXP. The SDK includes all the above prerequisites necessary
80 to bring up a DPAA2 board.
82 The following dependencies are not part of DPDK and must be installed
87 NXP Linux software development kit (SDK) includes support for family
88 of QorIQ® ARM-Architecture-based system on chip (SoC) processors
89 and corresponding boards.
91 It includes the Linux board support packages (BSPs) for NXP SoCs,
92 a fully operational tool chain, kernel and board specific modules.
94 SDK and related information can be obtained from: `NXP QorIQ SDK <http://www.nxp.com/products/software-and-tools/run-time-software/linux-sdk/linux-sdk-for-qoriq-processors:SDKLINUX>`_.
99 - **DPDK Extra Scripts**
101 DPAA2 based resources can be configured easily with the help of ready scripts
102 as provided in the DPDK Extra repository.
104 `DPDK Extras Scripts <https://source.codeaurora.org/external/qoriq/qoriq-components/dpdk-extras>`_.
106 Currently supported by DPDK:
108 - NXP SDK **LSDK 19.09++**.
109 - MC Firmware version **10.18.0** and higher.
110 - Supported architectures: **arm64 LE**.
112 - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>`
113 to setup the basic DPDK environment.