Hi,
I have set up a mickledore build environment for my RSB3720(A2) board using:
EULA=1 MACHINE=imx8mprsb3720a2 UBOOT_CONFIG=4G DISTRO=fsl-imx-xwayland source imx-setup-release.sh -b build
When I look at the DEFAULTTUNE variable with bitbake -e
, I see it being set correctly to "cortexa53-crypto"
in the meta-advantech
layer, but then it gets overridden by the meta-imx
layer:
# $DEFAULTTUNE [27 operations]
# set /home/adv/adv-release-bsp/build_tmp/conf/local.conf:24
# "cortexa53-crypto"
# set? /home/adv/adv-release-bsp/sources/poky/meta/conf/machine/include/arm/armv8a/tune-cortexa53.inc:1
# "cortexa53"
# set? /home/adv/adv-release-bsp/sources/poky/meta/conf/machine/include/arm/arch-armv8a.inc:1
# "armv8a-crc"
# set? /home/adv/adv-release-bsp/sources/poky/meta/conf/machine/include/arm/arch-arm64.inc:1
# "aarch64"
# set? /home/adv/adv-release-bsp/sources/poky/meta/conf/machine/include/arm/arch-armv7ve.inc:1
# "armv7vethf"
# set? /home/adv/adv-release-bsp/sources/poky/meta/conf/machine/include/arm/arch-armv7a.inc:1
# "armv7athf"
# set? /home/adv/adv-release-bsp/sources/poky/meta/conf/machine/include/arm/arch-armv6.inc:1
# "armv6hf"
# set? /home/adv/adv-release-bsp/sources/poky/meta/conf/machine/include/arm/arch-armv5.inc:1
# "armv5"
# set? /home/adv/adv-release-bsp/sources/poky/meta/conf/machine/include/arm/arch-armv4.inc:1
# "armv4"
# override[mx6-generic-bsp]:set? /home/adv/adv-release-bsp/sources/meta-freescale/conf/machine/include/imx-base.inc:157
# "cortexa9thf-neon"
# override[mx6ul-generic-bsp]:set? /home/adv/adv-release-bsp/sources/meta-freescale/conf/machine/include/imx-base.inc:158
# "cortexa7thf-neon"
# override[mx6ull-generic-bsp]:set? /home/adv/adv-release-bsp/sources/meta-freescale/conf/machine/include/imx-base.inc:159
# "cortexa7thf-neon"
# override[mx6ulz-generic-bsp]:set? /home/adv/adv-release-bsp/sources/meta-freescale/conf/machine/include/imx-base.inc:160
# "cortexa7thf-neon"
# override[mx7-generic-bsp]:set? /home/adv/adv-release-bsp/sources/meta-freescale/conf/machine/include/imx-base.inc:161
# "cortexa7thf-neon"
# override[vf-generic-bsp]:set? /home/adv/adv-release-bsp/sources/meta-freescale/conf/machine/include/imx-base.inc:162
# "cortexa5thf-neon"
# override[mx8m-generic-bsp]:set? /home/adv/adv-release-bsp/sources/meta-freescale/conf/machine/include/imx-base.inc:164
# "cortexa53-crypto"
# override[mx8qm-generic-bsp]:set? /home/adv/adv-release-bsp/sources/meta-freescale/conf/machine/include/imx-base.inc:165
# "cortexa72-cortexa53-crypto"
# override[mx8x-generic-bsp]:set? /home/adv/adv-release-bsp/sources/meta-freescale/conf/machine/include/imx-base.inc:166
# "cortexa35-crypto"
# override[mx8ulp-generic-bsp]:set? /home/adv/adv-release-bsp/sources/meta-freescale/conf/machine/include/imx-base.inc:167
# "cortexa35-crypto"
# override[mx93-generic-bsp]:set? /home/adv/adv-release-bsp/sources/meta-freescale/conf/machine/include/imx-base.inc:168
# "cortexa55"
# override[use-mainline-bsp]:set /home/adv/adv-release-bsp/sources/meta-advantech/meta-fsl-imx/conf/machine/include/adv-imx8mp-evk.inc:9
# "cortexa53-crypto"
# override[mx8-nxp-bsp]:set? /home/adv/adv-release-bsp/sources/meta-imx/meta-sdk/conf/distro/include/fsl-imx-base.inc:23
# "armv8a-crc-crypto"
# override[mx8m-nxp-bsp]:set? /home/adv/adv-release-bsp/sources/meta-imx/meta-sdk/conf/distro/include/fsl-imx-base.inc:24
# "armv8a-crc-crypto"
# override[mx8qm-nxp-bsp]:set? /home/adv/adv-release-bsp/sources/meta-imx/meta-sdk/conf/distro/include/fsl-imx-base.inc:25
# "armv8a-crc-crypto"
# override[mx8x-nxp-bsp]:set? /home/adv/adv-release-bsp/sources/meta-imx/meta-sdk/conf/distro/include/fsl-imx-base.inc:26
# "armv8a-crc-crypto"
# override[mx8ulp-nxp-bsp]:set? /home/adv/adv-release-bsp/sources/meta-imx/meta-sdk/conf/distro/include/fsl-imx-base.inc:27
# "armv8a-crc-crypto"
# override[mx93-nxp-bsp]:set? /home/adv/adv-release-bsp/sources/meta-imx/meta-sdk/conf/distro/include/fsl-imx-base.inc:28
# "armv8a-crc-crypto"
# pre-expansion value:
# "armv8a-crc-crypto"
DEFAULTTUNE="armv8a-crc-crypto"
As a result, my TARGET_FPU
is not set to "hard"
and TUNE_FEATURES
does not include neon
, etc.
I have tried adding a DEFAULTTUNE = "cortexa53-crypto"
in my overall conf/local.conf
, but it also gets overridden by meta-imx
.
How do I get around this and make sure the proper machine optimizations are enabled?