From: "Juraj Linkeš" <juraj.linkes@pantheon.tech>
To: "s.chandrakant@globaledgesoft.com"
<s.chandrakant@globaledgesoft.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: "zaheer.rm@globaledgesoft.com" <zaheer.rm@globaledgesoft.com>,
"gurusidhesh.gh@globaledgesoft.com"
<gurusidhesh.gh@globaledgesoft.com>,
"sm.supriya@globaledgesoft.com" <sm.supriya@globaledgesoft.com>,
Ruifeng Wang <ruifeng.wang@arm.com>
Subject: RE: [dpdk-dev] [PATCH] Add Armv7 support
Date: Tue, 16 Nov 2021 12:13:38 +0000 [thread overview]
Message-ID: <ba7059b44dd24170a535c4b99457c495@pantheon.tech> (raw)
In-Reply-To: <20210610111839.7481-1-s.chandrakant@globaledgesoft.com>
> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> 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
> <s.chandrakant@globaledgesoft.com>
> Subject: [dpdk-dev] [PATCH] Add Armv7 support
>
> From: Chandrakant Sharpa <s.chandrakant@globaledgesoft.com>
>
> Adding support for Armv7 based platforms.
> Used latest GNU cross compiler toolchain
> version(10.2) for testing.
>
> Signed-off-by: Chandrakant Sharpa <s.chandrakant@globaledgesoft.com>
> ---
> config/arm/arm_armv7a_linux_gcc | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
> create mode 100644 config/arm/arm_armv7a_linux_gcc
>
> 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 = 'arm-none-linux-gnueabi-gcc'
> +cpp = 'arm-none-linux-gnueabi-cpp'
> +ar = 'arm-none-linux-gnueabi-ar'
> +strip = 'arm-none-linux-gnueabi-strip'
> +pkgconfig = 'arm-none-linux-gnueabi-pkg-config'
> +pcap-config = ''
> +
> +[host_machine]
> +system = 'linux'
> +cpu_family = 'arm'
> +cpu = 'armv7-a'
> +endian = 'little'
> +
> +[properties]
> +# Generate binaries that are portable across all Armv7 machines
> +platform = 'generic'
> --
platform = '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' dictionary 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 with what sensible generic config looks like.
> 2.17.1
>
>
> --
> 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.
>
prev parent reply other threads:[~2021-11-16 12:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-10 11:18 s.chandrakant
2021-06-17 7:51 ` Thomas Monjalon
2021-06-18 6:19 ` Supriya Shekhar Mane
2021-06-23 6:35 ` Ruifeng Wang
2021-06-24 6:21 ` Supriya Shekhar Mane
2021-06-24 6:58 ` Ruifeng Wang
2023-07-17 16:50 ` Stephen Hemminger
2023-07-18 3:22 ` Ruifeng Wang
2021-11-16 12:13 ` Juraj Linkeš [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ba7059b44dd24170a535c4b99457c495@pantheon.tech \
--to=juraj.linkes@pantheon.tech \
--cc=dev@dpdk.org \
--cc=gurusidhesh.gh@globaledgesoft.com \
--cc=ruifeng.wang@arm.com \
--cc=s.chandrakant@globaledgesoft.com \
--cc=sm.supriya@globaledgesoft.com \
--cc=zaheer.rm@globaledgesoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).