[OE-core] [zeus] tune-cortexa72-cortexa53: Add tunes

ayaka ayaka at soulik.info
Mon Jan 6 11:22:02 UTC 2020



Sent from my iPad

> On Jan 6, 2020, at 6:57 PM, Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com> wrote:
> 
> From: Joshua Watt <jpewhacker at gmail.com>
> 
> Adds tunes for Cortex-A72 Cortex-A53 big.LITTLE SoCs (with and without
> crypto extensions), e.g. Rockchip RK3399
I wonder whether adding an extra script to handle those big little tunes would be better or there would be endless combines for them
> 
> (From OE-Core rev: 78a555b324c30b2970eaa046c5d86de7980e678a)
> 
> Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> ---
> .../machine/include/tune-cortexa72-cortexa53.inc   | 23 ++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
> create mode 100644 meta/conf/machine/include/tune-cortexa72-cortexa53.inc
> 
> diff --git a/meta/conf/machine/include/tune-cortexa72-cortexa53.inc b/meta/conf/machine/include/tune-cortexa72-cortexa53.inc
> new file mode 100644
> index 0000000..0d43531
> --- /dev/null
> +++ b/meta/conf/machine/include/tune-cortexa72-cortexa53.inc
> @@ -0,0 +1,23 @@
> +DEFAULTTUNE ?= "cortexa72-cortexa53"
> +
> +require conf/machine/include/arm/arch-armv8a.inc
> +
> +TUNEVALID[cortexa72-cortexa53] = "Enable big.LITTLE Cortex-A72.Cortex-A53 specific processor optimizations"
> +
> +TUNECONFLICTS[aarch64] = "armv4 armv5 armv6 armv7 armv7a"
> +
> +MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "cortexa72-cortexa53", "cortexa72-cortexa53:", "" ,d)}"
> +
> +TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa72-cortexa53", " -mtune=cortex-a72.cortex-a53", "", d)}"
> +
> +# cortexa72.cortexa53 implies crc support
> +AVAILTUNES += "cortexa72-cortexa53 cortexa72-cortexa53-crypto"
> +ARMPKGARCH_tune-cortexa72-cortexa53                  = "cortexa72-cortexa53"
> +ARMPKGARCH_tune-cortexa72-cortexa53-crypto           = "cortexa72-cortexa53"
> +TUNE_FEATURES_tune-cortexa72-cortexa53               = "${TUNE_FEATURES_tune-armv8a-crc}"
> +TUNE_FEATURES_tune-cortexa72-cortexa53-crypto        = "${TUNE_FEATURES_tune-armv8a-crc-crypto}"
> +PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53         = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc}        cortexa72-cortexa53"
> +PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53-crypto  = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72-cortexa53 cortexa72-cortexa53-crypto"
> +BASE_LIB_tune-cortexa72-cortexa53                    = "lib64"
> +BASE_LIB_tune-cortexa72-cortexa53-crypto             = "lib64"
> +
> -- 
> 2.7.4
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list