[meta-xilinx] Where are the TUNE_CCARGS when compiling for cortex-a53 with zynqmp
Manjukumar Harthikote Matha
MANJUKUM at xilinx.com
Wed Jul 18 16:11:28 PDT 2018
Hi Maxime,
> -----Original Message-----
> From: meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-
> bounces at yoctoproject.org] On Behalf Of Maxime Roussin-Belanger
> Sent: Friday, July 13, 2018 10:05 AM
> To: nathan at nathanrossi.com
> Cc: meta-xilinx at lists.yoctoproject.org
> Subject: [meta-xilinx] Where are the TUNE_CCARGS when compiling for cortex-
> a53 with zynqmp
>
> Hello!
>
> When are compiling our recipes with a cross aarch64-gcc compiler, we don't see
> any "-march=armv8-a -mtune=cortex-a57.cortex-a53" flags in the Makefiles and in
> the log.do_compile or log.do_configure.
>
> We require tune-zynqmp.conf in our machine configuration and that means we do
> see the aarch64 flags, but not the cortex tune. I didn't find any tune-cortexa53,
> does that mean there is nothing to do for that CPU and that we should just use
> the default aarch64 tune?
>
The require file here
https://github.com/Xilinx/meta-xilinx/blob/master/meta-xilinx-bsp/conf/machine/include/tune-zynqmp.inc#L11
includes all the required tune for aarch64
https://github.com/openembedded/openembedded-core/blob/master/meta/conf/machine/include/arm/arch-arm64.inc
> Are they implicit(the compiler flags) when using an aarch64 cross compiler?
>
Yes
> Do I have to create my own tune file for the cortex-a57.cortex-a53?
>
Don't think so you need one for aarch64
Thanks,
Manju
More information about the meta-xilinx
mailing list