> -----Original Message-----
> From: dev <dev-boun...@dpdk.org> On Behalf Of
> s.chandrak...@globaledgesoft.com
> Sent: Thursday, June 10, 2021 1:19 PM
> To: dev@dpdk.org
> Cc: zaheer...@globaledgesoft.com; gurusidhesh...@globaledgesoft.com;
> sm.supr...@globaledgesoft.com; Chandrakant Sharpa
> <s.chandrak...@globaledgesoft.com>
> Subject: [dpdk-dev] [PATCH] Add Armv7 support
> 
> From: Chandrakant Sharpa <s.chandrak...@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.chandrak...@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.
> 


Reply via email to