1b84c1087SHemant Agrawal.. SPDX-License-Identifier: BSD-3-Clause 2b84c1087SHemant Agrawal Copyright 2018 NXP 3b84c1087SHemant Agrawal 4b84c1087SHemant AgrawalNXP QorIQ DPAA2 Board Support Package 5b84c1087SHemant Agrawal===================================== 6b84c1087SHemant Agrawal 7d629b7b5SJohn McNamaraThis doc has information about steps to setup NXP QorIQ DPAA2 platform 8b84c1087SHemant Agrawaland information about common offload hw block drivers of 9b84c1087SHemant Agrawal**NXP QorIQ DPAA2** SoC family. 10b84c1087SHemant Agrawal 11b84c1087SHemant AgrawalSupported DPAA2 SoCs 12b84c1087SHemant Agrawal-------------------- 13b84c1087SHemant Agrawal 14b84c1087SHemant Agrawal- LX2160A 15b84c1087SHemant Agrawal- LS2084A/LS2044A 16b84c1087SHemant Agrawal- LS2088A/LS2048A 17b84c1087SHemant Agrawal- LS1088A/LS1048A 18b84c1087SHemant Agrawal 19b84c1087SHemant AgrawalMore information about SoC can be found at `NXP Official Website 20b84c1087SHemant Agrawal<https://www.nxp.com/products/processors-and-microcontrollers/arm-based- 21b84c1087SHemant Agrawalprocessors-and-mcus/qoriq-layerscape-arm-processors:QORIQ-ARM>`_. 22b84c1087SHemant Agrawal 23b84c1087SHemant Agrawal 24b84c1087SHemant AgrawalCommon Offload HW Block Drivers 25b84c1087SHemant Agrawal------------------------------- 26b84c1087SHemant Agrawal 27443b949eSDavid Marchand#. **Nics Driver** 28b84c1087SHemant Agrawal 29b84c1087SHemant Agrawal See :doc:`../nics/dpaa2` for NXP dpaa2 nic driver information. 30b84c1087SHemant Agrawal 31443b949eSDavid Marchand#. **Cryptodev Driver** 32b84c1087SHemant Agrawal 33b84c1087SHemant Agrawal See :doc:`../cryptodevs/dpaa2_sec` for NXP dpaa2 cryptodev driver information. 34b84c1087SHemant Agrawal 35443b949eSDavid Marchand#. **Eventdev Driver** 36b84c1087SHemant Agrawal 37b84c1087SHemant Agrawal See :doc:`../eventdevs/dpaa2` for NXP dpaa2 eventdev driver information. 38b84c1087SHemant Agrawal 39443b949eSDavid Marchand#. **Rawdev AIOP CMDIF Driver** 40b84c1087SHemant Agrawal 41b84c1087SHemant Agrawal See :doc:`../rawdevs/dpaa2_cmdif` for NXP dpaa2 AIOP command interface driver information. 42b84c1087SHemant Agrawal 43443b949eSDavid Marchand#. **DMA Driver** 448caf8427SNipun Gupta 458caf8427SNipun Gupta See :doc:`../dmadevs/dpaa2` for NXP dpaa2 QDMA driver information. 468caf8427SNipun Gupta 47b84c1087SHemant Agrawal 48b84c1087SHemant AgrawalSteps To Setup Platform 49b84c1087SHemant Agrawal----------------------- 50b84c1087SHemant Agrawal 51d629b7b5SJohn McNamaraThere are four main pre-requisites for executing DPAA2 PMD on a DPAA2 52b84c1087SHemant Agrawalcompatible board: 53b84c1087SHemant Agrawal 54443b949eSDavid Marchand#. **ARM 64 Tool Chain** 55b84c1087SHemant Agrawal 56b84c1087SHemant Agrawal 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>`_. 57b84c1087SHemant Agrawal 58443b949eSDavid Marchand#. **Linux Kernel** 59b84c1087SHemant Agrawal 60b84c1087SHemant Agrawal It can be obtained from `NXP's Github hosting <https://source.codeaurora.org/external/qoriq/qoriq-components/linux>`_. 61b84c1087SHemant Agrawal 62443b949eSDavid Marchand#. **Rootfile system** 63b84c1087SHemant Agrawal 64b84c1087SHemant Agrawal Any *aarch64* supporting filesystem can be used. For example, 65b84c1087SHemant Agrawal Ubuntu 16.04 LTS (Xenial) or 18.04 (Bionic) userland which can be obtained 66b84c1087SHemant Agrawal from `here 67b84c1087SHemant Agrawal <http://cdimage.ubuntu.com/ubuntu-base/releases/18.04/release/ubuntu-base-18.04.1-base-arm64.tar.gz>`_. 68b84c1087SHemant Agrawal 69443b949eSDavid Marchand#. **Resource Scripts** 70b84c1087SHemant Agrawal 71b84c1087SHemant Agrawal DPAA2 based resources can be configured easily with the help of ready scripts 72b84c1087SHemant Agrawal as provided in the DPDK Extra repository. 73b84c1087SHemant Agrawal 74443b949eSDavid Marchand#. **Build Config** 75206b89c7SHemant Agrawal 76206b89c7SHemant Agrawal Use dpaa build configs, they work for both DPAA2 and DPAA platforms. 77206b89c7SHemant Agrawal 78b84c1087SHemant AgrawalAs an alternative method, DPAA2 PMD can also be executed using images provided 79b84c1087SHemant Agrawalas part of SDK from NXP. The SDK includes all the above prerequisites necessary 80b84c1087SHemant Agrawalto bring up a DPAA2 board. 81b84c1087SHemant Agrawal 82b84c1087SHemant AgrawalThe following dependencies are not part of DPDK and must be installed 83b84c1087SHemant Agrawalseparately: 84b84c1087SHemant Agrawal 85b84c1087SHemant Agrawal- **NXP Linux SDK** 86b84c1087SHemant Agrawal 87b84c1087SHemant Agrawal NXP Linux software development kit (SDK) includes support for family 88b84c1087SHemant Agrawal of QorIQ® ARM-Architecture-based system on chip (SoC) processors 89b84c1087SHemant Agrawal and corresponding boards. 90b84c1087SHemant Agrawal 91b84c1087SHemant Agrawal It includes the Linux board support packages (BSPs) for NXP SoCs, 92b84c1087SHemant Agrawal a fully operational tool chain, kernel and board specific modules. 93b84c1087SHemant Agrawal 94b84c1087SHemant Agrawal 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>`_. 95b84c1087SHemant Agrawal 96b84c1087SHemant Agrawal 97b84c1087SHemant Agrawal.. _extra_scripts: 98b84c1087SHemant Agrawal 99b84c1087SHemant Agrawal- **DPDK Extra Scripts** 100b84c1087SHemant Agrawal 101b84c1087SHemant Agrawal DPAA2 based resources can be configured easily with the help of ready scripts 102b84c1087SHemant Agrawal as provided in the DPDK Extra repository. 103b84c1087SHemant Agrawal 104b84c1087SHemant Agrawal `DPDK Extras Scripts <https://source.codeaurora.org/external/qoriq/qoriq-components/dpdk-extras>`_. 105b84c1087SHemant Agrawal 106b84c1087SHemant AgrawalCurrently supported by DPDK: 107b84c1087SHemant Agrawal 108*591200efSGagandeep Singh- NXP SDK **LSDK 21.08++**. 109*591200efSGagandeep Singh- MC Firmware version **10.37.0** and higher. 110b84c1087SHemant Agrawal- Supported architectures: **arm64 LE**. 111b84c1087SHemant Agrawal 112b84c1087SHemant Agrawal- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` 113b84c1087SHemant Agrawal to setup the basic DPDK environment. 114