doc: add patch dependency syntax to contributing guide
[dpdk.git] / doc / guides / platform / dpaa2.rst
1 ..  SPDX-License-Identifier: BSD-3-Clause
2     Copyright 2018 NXP
3
4 NXP QorIQ DPAA2 Board Support Package
5 =====================================
6
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.
10
11 Supported DPAA2 SoCs
12 --------------------
13
14 - LX2160A
15 - LS2084A/LS2044A
16 - LS2088A/LS2048A
17 - LS1088A/LS1048A
18
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>`_.
22
23
24 Common Offload HW Block Drivers
25 -------------------------------
26
27 1. **Nics Driver**
28
29    See :doc:`../nics/dpaa2` for NXP dpaa2 nic driver information.
30
31 2. **Cryptodev Driver**
32
33    See :doc:`../cryptodevs/dpaa2_sec` for NXP dpaa2 cryptodev driver information.
34
35 3. **Eventdev Driver**
36
37    See :doc:`../eventdevs/dpaa2` for NXP dpaa2 eventdev driver information.
38
39 4. **Rawdev AIOP CMDIF Driver**
40
41    See :doc:`../rawdevs/dpaa2_cmdif` for NXP dpaa2 AIOP command interface driver information.
42
43 5. **Rawdev QDMA Driver**
44
45    See :doc:`../rawdevs/dpaa2_qdma` for NXP dpaa2 QDMA driver information.
46
47
48 Steps To Setup Platform
49 -----------------------
50
51 There are four main pre-requisites for executing DPAA2 PMD on a DPAA2
52 compatible board:
53
54 1. **ARM 64 Tool Chain**
55
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>`_.
57
58 2. **Linux Kernel**
59
60    It can be obtained from `NXP's Github hosting <https://source.codeaurora.org/external/qoriq/qoriq-components/linux>`_.
61
62 3. **Rootfile system**
63
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
66    from `here
67    <http://cdimage.ubuntu.com/ubuntu-base/releases/18.04/release/ubuntu-base-18.04.1-base-arm64.tar.gz>`_.
68
69 4. **Resource Scripts**
70
71    DPAA2 based resources can be configured easily with the help of ready scripts
72    as provided in the DPDK Extra repository.
73
74 5. **Build Config**
75
76    Use dpaa build configs, they work for both DPAA2 and DPAA platforms.
77
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.
81
82 The following dependencies are not part of DPDK and must be installed
83 separately:
84
85 - **NXP Linux SDK**
86
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.
90
91   It includes the Linux board support packages (BSPs) for NXP SoCs,
92   a fully operational tool chain, kernel and board specific modules.
93
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>`_.
95
96
97 .. _extra_scripts:
98
99 - **DPDK Extra Scripts**
100
101   DPAA2 based resources can be configured easily with the help of ready scripts
102   as provided in the DPDK Extra repository.
103
104   `DPDK Extras Scripts <https://source.codeaurora.org/external/qoriq/qoriq-components/dpdk-extras>`_.
105
106 Currently supported by DPDK:
107
108 - NXP SDK **LSDK 19.09++**.
109 - MC Firmware version **10.18.0** and higher.
110 - Supported architectures:  **arm64 LE**.
111
112 - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>`
113   to setup the basic DPDK environment.