From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1C9A9A0C43; Tue, 16 Nov 2021 13:13:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C9D2140141; Tue, 16 Nov 2021 13:13:41 +0100 (CET) Received: from mailgw01.pantheon.sk (mailgw01.pantheon.sk [46.229.239.26]) by mails.dpdk.org (Postfix) with ESMTP id 6879340040 for ; Tue, 16 Nov 2021 13:13:40 +0100 (CET) Received: from mailgw01.pantheon.sk (localhost.localdomain [127.0.0.1]) by mailgw01.pantheon.sk (Proxmox) with ESMTP id 0F55A2021EA; Tue, 16 Nov 2021 13:13:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; h=cc:cc:content-transfer-encoding:content-type:content-type :date:from:from:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=dkim; bh=mdqoYciGvjzdb/ZuZ9Nx Rv0eyome/W27vmahEqBVlLU=; b=lhFytspyPZv8NSGJXKKZ7/agA/OUijG2G2RR PxANinwml5zcfZfdThUIp6pWbjNapTUnU4d/TWASolO+FOJ/zBUimWGK4pvoxfmz nILiMuvFBoYZ2rQzF9tmms6G9vMaHM21xuFeSx7xxpk1dpJ6CIlazAHmpLixmmpU 2Nge2Jc+iWofuV/7pwSNUGZggynC6pQA9sK0esE/lIoa1N2fEgCFc2mzsWaypInh B38YFx8H7ASI5DicfdZWRnZUw2WHlLvhYdKGk9dqGslSfyK5cQyO7fm8iAr2Fzet iBg9yemK+S+4XWaFYIYdLQ1DBxgpiPoLJvxyrjHu3ArFG22o/g== From: =?iso-8859-2?Q?Juraj_Linke=B9?= To: "s.chandrakant@globaledgesoft.com" , "dev@dpdk.org" CC: "zaheer.rm@globaledgesoft.com" , "gurusidhesh.gh@globaledgesoft.com" , "sm.supriya@globaledgesoft.com" , Ruifeng Wang Subject: RE: [dpdk-dev] [PATCH] Add Armv7 support Thread-Topic: [dpdk-dev] [PATCH] Add Armv7 support Thread-Index: AQHXXeppwqs0KPn7Yk2n8IdtM+e/x6wHCUmA Date: Tue, 16 Nov 2021 12:13:38 +0000 Message-ID: References: <20210610111839.7481-1-s.chandrakant@globaledgesoft.com> In-Reply-To: <20210610111839.7481-1-s.chandrakant@globaledgesoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.101.4.10] Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: dev On Behalf Of > s.chandrakant@globaledgesoft.com > Sent: Thursday, June 10, 2021 1:19 PM > To: dev@dpdk.org > Cc: zaheer.rm@globaledgesoft.com; gurusidhesh.gh@globaledgesoft.com; > sm.supriya@globaledgesoft.com; Chandrakant Sharpa > > Subject: [dpdk-dev] [PATCH] Add Armv7 support >=20 > From: Chandrakant Sharpa >=20 > Adding support for Armv7 based platforms. > Used latest GNU cross compiler toolchain > version(10.2) for testing. >=20 > Signed-off-by: Chandrakant Sharpa > --- > config/arm/arm_armv7a_linux_gcc | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 config/arm/arm_armv7a_linux_gcc >=20 > diff --git a/config/arm/arm_armv7a_linux_gcc > b/config/arm/arm_armv7a_linux_gcc new file mode 100644 index > 000000000..65949cc83 > --- /dev/null > +++ b/config/arm/arm_armv7a_linux_gcc > @@ -0,0 +1,17 @@ > +[binaries] > +c =3D 'arm-none-linux-gnueabi-gcc' > +cpp =3D 'arm-none-linux-gnueabi-cpp' > +ar =3D 'arm-none-linux-gnueabi-ar' > +strip =3D 'arm-none-linux-gnueabi-strip' > +pkgconfig =3D 'arm-none-linux-gnueabi-pkg-config' > +pcap-config =3D '' > + > +[host_machine] > +system =3D 'linux' > +cpu_family =3D 'arm' > +cpu =3D 'armv7-a' > +endian =3D 'little' > + > +[properties] > +# Generate binaries that are portable across all Armv7 machines > +platform =3D 'generic' > -- platform =3D 'generic' will select the aarch64 generic build configuration,= so that's probably not what we want here. I'd suggest create a new soc (such as generic_armv7) in the 'soc' dictionar= y in arm/meson.build and follow the existing structure: 1. Create the soc dictionary 2. Create an implementer for the soc (we need a new one for armv7, such as = implementer_generic_armv7) 3. Create a generic part_number_config And populate it with generic armv7 config - Ruifeng may be able to help wit= h what sensible generic config looks like. > 2.17.1 >=20 >=20 > -- > Disclaimer:This message is intended only for the designated recipient(s). > It may contain confidential or proprietary information and may be subject > to other confidentiality protections. If you are not a designated > recipient, you may not review, copy or distribute this message. Please > notify the sender by e-mail and delete this message. GlobalEdge does not > accept any liability for virus infected mails. >=20