Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/92028/?format=api
http://patches.dpdk.org/api/patches/92028/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1619095749-7948-9-git-send-email-juraj.linkes@pantheon.tech/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1619095749-7948-9-git-send-email-juraj.linkes@pantheon.tech>", "list_archive_url": "https://inbox.dpdk.org/dev/1619095749-7948-9-git-send-email-juraj.linkes@pantheon.tech", "date": "2021-04-22T12:49:09", "name": "[v17,8/8] doc: add aarch32 build guidance", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "15adf9b9e5f8d869d5d9fa26b8c132b8af549a3f", "submitter": { "id": 1626, "url": "http://patches.dpdk.org/api/people/1626/?format=api", "name": "Juraj Linkeš", "email": "juraj.linkes@pantheon.tech" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1619095749-7948-9-git-send-email-juraj.linkes@pantheon.tech/mbox/", "series": [ { "id": 16608, "url": "http://patches.dpdk.org/api/series/16608/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16608", "date": "2021-04-22T12:49:01", "name": "aarch64 -> aarch32 cross compilation support", "version": 17, "mbox": "http://patches.dpdk.org/series/16608/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/92028/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/92028/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 14B36A09E4;\n\tThu, 22 Apr 2021 14:50:12 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 06EB941D88;\n\tThu, 22 Apr 2021 14:49:32 +0200 (CEST)", "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by mails.dpdk.org (Postfix) with ESMTP id CF06841D6F\n for <dev@dpdk.org>; Thu, 22 Apr 2021 14:49:26 +0200 (CEST)", "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id B3672C5F63;\n Thu, 22 Apr 2021 14:49:25 +0200 (CEST)", "from lb.pantheon.sk ([127.0.0.1])\n by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id R8ueYY6YQBhZ; Thu, 22 Apr 2021 14:49:24 +0200 (CEST)", "from service-node1.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id 1AD60C5F64;\n Thu, 22 Apr 2021 14:49:20 +0200 (CEST)" ], "X-Virus-Scanned": "amavisd-new at siecit.sk", "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "To": "thomas@monjalon.net, david.marchand@redhat.com,\n bruce.richardson@intel.com,\n aconole@redhat.com, maicolgabriel@hotmail.com,\n Honnappa.Nagarahalli@arm.com, Ruifeng.Wang@arm.com, jerinj@marvell.com,\n viktorin@rehivetech.com, ajit.khaparde@broadcom.com", "Cc": "juraj.linkes@pantheon.tech,\n\tdev@dpdk.org,\n\tPhil Yang <phil.yang@arm.com>", "Date": "Thu, 22 Apr 2021 14:49:09 +0200", "Message-Id": "<1619095749-7948-9-git-send-email-juraj.linkes@pantheon.tech>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1619095749-7948-1-git-send-email-juraj.linkes@pantheon.tech>", "References": "<1618995020-4775-1-git-send-email-juraj.linkes@pantheon.tech>\n <1619095749-7948-1-git-send-email-juraj.linkes@pantheon.tech>", "Subject": "[dpdk-dev] [PATCH v17 8/8] doc: add aarch32 build guidance", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Phil Yang <phil.yang@arm.com>\n\nAdd cross-compiling guidance for 32-bit aarch32 DPDK on aarch64 host.\n\nSigned-off-by: Phil Yang <phil.yang@arm.com>\nAcked-by: Ruifeng Wang <ruifeng.wang@arm.com>\nAcked-by: Aaron Conole <aconole@redhat.com>\n---\n .../linux_gsg/cross_build_dpdk_for_arm64.rst | 38 +++++++++++++++----\n 1 file changed, 31 insertions(+), 7 deletions(-)", "diff": "diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst\nindex 3857cdefe9..df10383aa8 100644\n--- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst\n+++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst\n@@ -1,15 +1,16 @@\n .. SPDX-License-Identifier: BSD-3-Clause\n- Copyright(c) 2020 ARM Corporation.\n+ Copyright(c) 2021 ARM Corporation.\n \n-Cross compiling DPDK for ARM64\n-==============================\n-This chapter describes how to cross compile DPDK for ARM64 from x86 build hosts.\n+Cross compile DPDK for aarch64 and aarch32\n+==========================================\n+This chapter describes how to cross compile DPDK for aarch64 on x86 build\n+machines and compile 32-bit aarch32 DPDK on aarch64 build machines.\n \n .. note::\n \n- Whilst it is recommended to natively build DPDK on ARM64 (just\n- like with x86), it is also possible to cross compile DPDK for ARM64.\n- An ARM64 cross compiler GNU toolchain or an LLVM/clang toolchain\n+ Whilst it is recommended to natively build DPDK on aarch64 (just\n+ like with x86), it is also possible to cross compile DPDK for aarch64.\n+ An aarch64 cross compiler GNU toolchain or an LLVM/clang toolchain\n may be used for cross-compilation.\n \n \n@@ -54,6 +55,11 @@ To install it in Ubuntu::\n sudo apt install pkg-config-aarch64-linux-gnu\n \n \n+For aarch32, install ``pkg-config-arm-linux-gnueabihf``::\n+\n+ sudo apt install pkg-config-arm-linux-gnueabihf\n+\n+\n GNU toolchain\n -------------\n \n@@ -72,16 +78,30 @@ the following description is an example of this version.\n \n .. code-block:: console\n \n+ # aarch64 binaries\n wget https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz\n \n+.. code-block:: console\n+\n+ # aarch32 binaries\n+ wget https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf.tar.xz\n+\n+\n Unzip and add into the PATH\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~\n \n .. code-block:: console\n \n+ # aarch64\n tar -xvf gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz\n export PATH=$PATH:<cross_install_dir>/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin\n \n+.. code-block:: console\n+\n+ # aarch32\n+ tar -xvf gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf.tar.xz\n+ export PATH=$PATH:<cross_install_dir>/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin\n+\n .. note::\n \n For the host requirements and other info, refer to the release note section: https://releases.linaro.org/components/toolchain/binaries/\n@@ -118,6 +138,10 @@ command::\n meson aarch64-build-gcc --cross-file config/arm/arm64_armv8_linux_gcc\n ninja -C aarch64-build-gcc\n \n+If the target machine is aarch32 we can use the following command::\n+\n+ meson aarch32-build --cross-file config/arm/arm32_armv8a_linux_gcc\n+ ninja -C aarch32-build\n \n LLVM/Clang toolchain\n --------------------\n", "prefixes": [ "v17", "8/8" ] }{ "id": 92028, "url": "