Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/75941/?format=api
http://patches.dpdk.org/api/patches/75941/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1598360684-8975-6-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": "<1598360684-8975-6-git-send-email-juraj.linkes@pantheon.tech>", "list_archive_url": "https://inbox.dpdk.org/dev/1598360684-8975-6-git-send-email-juraj.linkes@pantheon.tech", "date": "2020-08-25T13:04:44", "name": "[v8,5/5] doc: add aarch32 build guidance", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "98ff9e3b34ca33ff4303202f4b216c62437df5a0", "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/1598360684-8975-6-git-send-email-juraj.linkes@pantheon.tech/mbox/", "series": [ { "id": 11781, "url": "http://patches.dpdk.org/api/series/11781/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11781", "date": "2020-08-25T13:04:40", "name": "aarch64 -> aarch32 cross compilation support", "version": 8, "mbox": "http://patches.dpdk.org/series/11781/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/75941/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/75941/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D1BB4A04B1;\n\tTue, 25 Aug 2020 15:05:42 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id BB88B1C0CF;\n\tTue, 25 Aug 2020 15:04:58 +0200 (CEST)", "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by dpdk.org (Postfix) with ESMTP id 132D91BECC\n for <dev@dpdk.org>; Tue, 25 Aug 2020 15:04:54 +0200 (CEST)", "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id 8A210970B1;\n Tue, 25 Aug 2020 15:04:53 +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 cgMW5pBvvv6P; Tue, 25 Aug 2020 15:04:48 +0200 (CEST)", "from service-node1.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id 9B583970B6;\n Tue, 25 Aug 2020 15:04:46 +0200 (CEST)" ], "X-Virus-Scanned": "amavisd-new at siecit.sk", "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>", "To": "bruce.richardson@intel.com, aconole@redhat.com, maicolgabriel@hotmail.com", "Cc": "dev@dpdk.org,\n\tjuraj.linkes@pantheon.tech,\n\tPhil Yang <phil.yang@arm.com>", "Date": "Tue, 25 Aug 2020 15:04:44 +0200", "Message-Id": "<1598360684-8975-6-git-send-email-juraj.linkes@pantheon.tech>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1598360684-8975-1-git-send-email-juraj.linkes@pantheon.tech>", "References": "<1597401092-13713-1-git-send-email-juraj.linkes@pantheon.tech>\n <1598360684-8975-1-git-send-email-juraj.linkes@pantheon.tech>", "Subject": "[dpdk-dev] [PATCH v8 5/5] doc: add aarch32 build guidance", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "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>\n---\n .../linux_gsg/cross_build_dpdk_for_arm64.rst | 30 ++++++++++++++-----\n 1 file changed, 23 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 c5875a6d5..07085e3ea 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) 2018 ARM Corporation.\n \n-Cross compile 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 from x86 build hosts and compile\n+32-bit aarch32 DPDK from aarch64 build hosts.\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-build DPDK for ARM64. An\n- ARM64 cross compile GNU toolchain is used for this.\n+ Whilst it is recommended to natively build DPDK on aarch64 (just\n+ like with x86), it is also possible to cross-build DPDK for aarch64.\n+ An aarch64 cross compile GNU toolchain is used for this.\n \n Obtain the cross tool chain\n ---------------------------\n@@ -88,18 +89,33 @@ To install it in Ubuntu::\n \n sudo apt-get install pkg-config-aarch64-linux-gnu\n \n+.. note::\n+\n+ Some aarch64 platforms support EL0 aarch32 mode, which means the 32-bit aarch32 applications\n+ can run on aarch64. The armhf architecture toolchain ``gcc-arm-linux-gnueabihf`` is required\n+ for aarch32 on aarch64. To install it in Ubuntu::\n+\n+ sudo dpkg --add-architecture armhf\n+ sudo apt-get update\n+ sudo apt-get install -y gcc gcc-arm-linux-gnueabihf libc6:armhf make binutils\n+\n To cross-compile DPDK on a desired target machine we can use the following\n command::\n \n \tmeson cross-build --cross-file <target_machine_configuration>\n \tninja -C cross-build\n \n-For example if the target machine is arm64 we can use the following\n+For example if the target machine is aarch64 we can use the following\n command::\n \n \tmeson arm64-build --cross-file config/arm/arm64_armv8_linux_gcc\n \tninja -C arm64-build\n \n+If the target machine is aarch32 we can use the following command::\n+\n+\tmeson arm32-build --cross-file config/arm/arm32_armv8a_linux_gcc\n+\tninja -C arm32-build\n+\n Configure and Cross Compile DPDK using Make\n -------------------------------------------\n To configure a build, choose one of the target configurations, like arm64-dpaa-linux-gcc and arm64-thunderx-linux-gcc.\n", "prefixes": [ "v8", "5/5" ] }{ "id": 75941, "url": "