arm/trusted-services: Fix trusted-service license file paths
PATCH 1/6 arm/trusted-services: Fix trusted-service license file paths
From: Norbert Kocsis <[email protected]>
Use UNPACKDIR instead of relative paths.
--- .../trusted-services/trusted-services-src.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
meta-arm/recipes-security/trusted-services/trusted-services-src.inc +6 -6
@@ -24,32 +24,32 @@ UPSTREAM_CHECK_COMMITS = "1" # DTC, tag "v1.6.1" SRC_URI += "git://github.com/dgibson/dtc;name=dtc;protocol=https;branch=main;destsuffix=dtc" SRCREV_dtc = "b6910bec11614980a21e46fbccc35934b671bd81" -LIC_FILES_CHKSUM += "file://../dtc/README.license;md5=a1eb22e37f09df5b5511b8a278992d0e" +LIC_FILES_CHKSUM += "file://${UNPACKDIR}/dtc/README.license;md5=a1eb22e37f09df5b5511b8a278992d0e" # MbedTLS, tag "v3.6.0" SRC_URI += "gitsm://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=https;branch=master;destsuffix=mbedtls" SRCREV_mbedtls = "2ca6c285a0dd3f33982dd57299012dacab1ff206" -LIC_FILES_CHKSUM += "file://../mbedtls/LICENSE;md5=379d5819937a6c2f1ef1630d341e026d" +LIC_FILES_CHKSUM += "file://${UNPACKDIR}/mbedtls/LICENSE;md5=379d5819937a6c2f1ef1630d341e026d" # Nanopb, tag "nanopb-0.4.8" plus some further fixes SRC_URI += "git://github.com/nanopb/nanopb.git;name=nanopb;protocol=https;branch=master;destsuffix=nanopb" SRCREV_nanopb = "6cfe48d6f1593f8fa5c0f90437f5e6522587745e" -LIC_FILES_CHKSUM += "file://../nanopb/LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f" +LIC_FILES_CHKSUM += "file://${UNPACKDIR}/nanopb/LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f" # qcbor, tag "v1.0.0" SRC_URI += "git://github.com/laurencelundblade/QCBOR.git;name=qcbor;protocol=https;branch=master;destsuffix=qcbor" SRCREV_qcbor = "56b17bf9f74096774944bcac0829adcd887d391e" -LIC_FILES_CHKSUM += "file://../qcbor/README.md;md5=e8ff2e88a722cdc55eddd0bb9aeca002" +LIC_FILES_CHKSUM += "file://${UNPACKDIR}/qcbor/README.md;md5=e8ff2e88a722cdc55eddd0bb9aeca002" # T_Cose SRC_URI += "git://github.com/laurencelundblade/t_cose.git;name=tcose;protocol=https;branch=master;destsuffix=tcose" SRCREV_tcose = "fc3a4b2c7196ff582e8242de8bd4a1bc4eec577f" -LIC_FILES_CHKSUM += "file://../tcose/LICENSE;md5=b2ebdbfb82602b97aa628f64cf4b65ad" +LIC_FILES_CHKSUM += "file://${UNPACKDIR}/tcose/LICENSE;md5=b2ebdbfb82602b97aa628f64cf4b65ad" # CppUTest, tag "v3.8" SRC_URI += "git://github.com/cpputest/cpputest.git;name=cpputest;protocol=https;branch=master;destsuffix=cpputest" SRCREV_cpputest = "e25097614e1c4856036366877a02346c4b36bb5b" -LIC_FILES_CHKSUM += "file://../cpputest/COPYING;md5=ce5d5f1fe02bcd1343ced64a06fd4177" +LIC_FILES_CHKSUM += "file://${UNPACKDIR}/cpputest/COPYING;md5=ce5d5f1fe02bcd1343ced64a06fd4177" SRCREV_FORMAT = "trusted-services_dtc_mbedtls_nanopb_qcbor_tcose_cpputest"
Signature · 1 line
2.39.5 (Apple Git-154)
PATCH 2/6 arm/gn: disable uninitialized variable warning
An uninitialized variable warning is occurring when compiling gn. However, since Wall is being used in gn, this is being logged as an error. Pass the no-error flag for this case to workaround this issue.
--- meta-arm/recipes-devtools/gn/gn_git.bb | 1 + 1 file changed, 1 insertion(+)
meta-arm/recipes-devtools/gn/gn_git.bb +1 -0
@@ -43,3 +43,4 @@ do_install() { BBCLASSEXTEND = "native" COMPATIBLE_HOST = "^(?!riscv32).*" +CFLAGS += "-Wno-error=maybe-uninitialized"
Signature · 1 line
2.39.5 (Apple Git-154)
PATCH 3/6 arm/gn: update to the latest SHA
In reply to Jon MasonUpdate gn to the latest SHA (commit from 08 Aug 2025). There are 66 commits between the previous SHA and the new one.
--- meta-arm/recipes-devtools/gn/gn_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm/recipes-devtools/gn/gn_git.bb +1 -1
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0fca02217a5d49a14dfe2d11837bb34d" UPSTREAM_CHECK_COMMITS = "1" SRC_URI = "git://gn.googlesource.com/gn;protocol=https;branch=main" -SRCREV = "ab638bd7cbb9ac8468bf2fbe60c74ed4706a14a7" +SRCREV = "4ce861fc06ec87ff74eb6a17ebbd55e4755ebdeb" PV = "0+git" B = "${WORKDIR}/build"
Signature · 1 line
2.39.5 (Apple Git-154)
PATCH 4/6 arm/arch-armv9*: Fix PACKAGE_EXTRA_ARCHS reference
In reply to Jon MasonPACKAGE_EXTRA_ARCHS references armv8 instead of armv9
--- meta-arm/conf/machine/include/arm/arch-armv9-1a.inc | 2 +- meta-arm/conf/machine/include/arm/arch-armv9-2a.inc | 2 +- meta-arm/conf/machine/include/arm/arch-armv9-3a.inc | 2 +- meta-arm/conf/machine/include/arm/arch-armv9-4a.inc | 2 +- meta-arm/conf/machine/include/arm/arch-armv9-5a.inc | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
meta-arm/conf/machine/include/arm/arch-armv9-1a.inc +1 -1
@@ -9,5 +9,5 @@ require conf/machine/include/arm/arch-armv9a.inc AVAILTUNES += "armv9-1a" ARMPKGARCH:tune-armv9-1a ?= "armv9-1a" TUNE_FEATURES:tune-armv9-1a = "aarch64 armv9-1a" -PACKAGE_EXTRA_ARCHS:tune-armv9-1a = "${PACKAGE_EXTRA_ARCHS:tune-armv8a} armv9-1a" +PACKAGE_EXTRA_ARCHS:tune-armv9-1a = "${PACKAGE_EXTRA_ARCHS:tune-armv9a} armv9-1a" BASE_LIB:tune-armv9-1a = "lib64"
meta-arm/conf/machine/include/arm/arch-armv9-2a.inc +1 -1
@@ -9,5 +9,5 @@ require conf/machine/include/arm/arch-armv9a.inc AVAILTUNES += "armv9-2a" ARMPKGARCH:tune-armv9-2a ?= "armv9-2a" TUNE_FEATURES:tune-armv9-2a = "aarch64 armv9-2a" -PACKAGE_EXTRA_ARCHS:tune-armv9-2a = "${PACKAGE_EXTRA_ARCHS:tune-armv8a} armv9-2a" +PACKAGE_EXTRA_ARCHS:tune-armv9-2a = "${PACKAGE_EXTRA_ARCHS:tune-armv9a} armv9-2a" BASE_LIB:tune-armv9-2a = "lib64"
meta-arm/conf/machine/include/arm/arch-armv9-3a.inc +1 -1
@@ -9,5 +9,5 @@ require conf/machine/include/arm/arch-armv9a.inc AVAILTUNES += "armv9-3a" ARMPKGARCH:tune-armv9-3a ?= "armv9-3a" TUNE_FEATURES:tune-armv9-3a = "aarch64 armv9-3a" -PACKAGE_EXTRA_ARCHS:tune-armv9-3a = "${PACKAGE_EXTRA_ARCHS:tune-armv8a} armv9-3a" +PACKAGE_EXTRA_ARCHS:tune-armv9-3a = "${PACKAGE_EXTRA_ARCHS:tune-armv9a} armv9-3a" BASE_LIB:tune-armv9-3a = "lib64"
meta-arm/conf/machine/include/arm/arch-armv9-4a.inc +1 -1
@@ -9,5 +9,5 @@ require conf/machine/include/arm/arch-armv9a.inc AVAILTUNES += "armv9-4a" ARMPKGARCH:tune-armv9-4a ?= "armv9-4a" TUNE_FEATURES:tune-armv9-4a = "aarch64 armv9-4a" -PACKAGE_EXTRA_ARCHS:tune-armv9-4a = "${PACKAGE_EXTRA_ARCHS:tune-armv8a} armv9-4a" +PACKAGE_EXTRA_ARCHS:tune-armv9-4a = "${PACKAGE_EXTRA_ARCHS:tune-armv9a} armv9-4a" BASE_LIB:tune-armv9-4a = "lib64"
meta-arm/conf/machine/include/arm/arch-armv9-5a.inc +1 -1
@@ -9,5 +9,5 @@ require conf/machine/include/arm/arch-armv9a.inc AVAILTUNES += "armv9-5a" ARMPKGARCH:tune-armv9-5a ?= "armv9-5a" TUNE_FEATURES:tune-armv9-5a = "aarch64 armv9-5a" -PACKAGE_EXTRA_ARCHS:tune-armv9-5a = "${PACKAGE_EXTRA_ARCHS:tune-armv8a} armv9-5a" +PACKAGE_EXTRA_ARCHS:tune-armv9-5a = "${PACKAGE_EXTRA_ARCHS:tune-armv9a} armv9-5a" BASE_LIB:tune-armv9-5a = "lib64"
Signature · 1 line
2.39.5 (Apple Git-154)
PATCH 5/6 arm-bsp/fvp-base: remove console workaround
In reply to Jon MasonRemove the KERNEL_CONSOLE workaround, as that has now been upstreamed should should no longer be needed.
--- meta-arm-bsp/conf/machine/fvp-base.conf | 2 -- 1 file changed, 2 deletions(-)
meta-arm-bsp/conf/machine/fvp-base.conf +0 -2
@@ -17,8 +17,6 @@ IMAGE_FSTYPES += "wic" WKS_FILE ?= "efi-disk.wks.in" SERIAL_CONSOLES = "115200;ttyAMA0" -# FIXME - This is being upstreamed. Remove once that has occurred. -KERNEL_CONSOLE ?= "${@','.join(d.getVar('SERIAL_CONSOLES').split(' ')[0].split(';')[::-1]) or 'ttyS0'}" PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" KERNEL_DTB_NAME = "fvp-base-revc.dtb"
Signature · 1 line
2.39.5 (Apple Git-154)
PATCH 6/6 arm/optee-os: remove CFG_CORE_BTI from EXTRA_OEMAKE
In reply to Jon Masoncommit a3a2c49b2149606f314b2ee0aeba7d6becd12545 corrected a typo that was preventing arm-branch-protection flags from being enabled. However, since making this change, fvp-base with trusted services enabled no longer boots. However, the flag that seems to be the problem on fvp base is CFG_TA_BTI. Since this is the only use case for arm-branch-protection machine feature, remove it from the common file until this issue can be properly sorted.
--- meta-arm/recipes-security/optee/optee-os.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm/recipes-security/optee/optee-os.inc +1 -1
@@ -31,7 +31,7 @@ EXTRA_OEMAKE += " HOST_PREFIX=${HOST_PREFIX}" EXTRA_OEMAKE += " CROSS_COMPILE64=${HOST_PREFIX}" # Enable BTI in optee -EXTRA_OEMAKE += "${@bb.utils.contains('MACHINE_FEATURES', 'arm-branch-protection', ' CFG_CORE_BTI=1 CFG_TA_BTI=1 CFG_CORE_PAUTH=y CFG_TA_PAUTH=y', '', d)}" +EXTRA_OEMAKE += "${@bb.utils.contains('MACHINE_FEATURES', 'arm-branch-protection', ' CFG_TA_BTI=1 CFG_CORE_PAUTH=y CFG_TA_PAUTH=y', '', d)}" LDFLAGS[unexport] = "1" CPPFLAGS[unexport] = "1"
Signature · 1 line
2.39.5 (Apple Git-154)
Sorry all, I forgot to rebase my branch before sending. Disregard this series of emails.
Thanks,
Jon
Quoted 66 lines · Jon Mason via lists.yoctoproject.org
From: Norbert Kocsis <[email protected]>
Use UNPACKDIR instead of relative paths.
Signed-off-by Norbert Kocsis <[email protected]>Signed-off-by Jon Mason <[email protected]>--- .../trusted-services/trusted-services-src.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)meta-arm/recipes-security/trusted-services/trusted-services-src.inc +6
-7@@ -24,32 +24,32 @@ UPSTREAM_CHECK_COMMITS = "1" # DTC, tag "v1.6.1" SRC_URI += "git://github.com/dgibson/dtc;name=dtc;protocol=https;branch=main;destsuffix=dtc" SRCREV_dtc = "b6910bec11614980a21e46fbccc35934b671bd81" -LIC_FILES_CHKSUM += "file://../dtc/README.license;md5=a1eb22e37f09df5b5511b8a278992d0e" +LIC_FILES_CHKSUM += "file://${UNPACKDIR}/dtc/README.license;md5=a1eb22e37f09df5b5511b8a278992d0e" # MbedTLS, tag "v3.6.0" SRC_URI += "gitsm://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=https;branch=master;destsuffix=mbedtls" SRCREV_mbedtls = "2ca6c285a0dd3f33982dd57299012dacab1ff206" -LIC_FILES_CHKSUM += "file://../mbedtls/LICENSE;md5=379d5819937a6c2f1ef1630d341e026d" +LIC_FILES_CHKSUM += "file://${UNPACKDIR}/mbedtls/LICENSE;md5=379d5819937a6c2f1ef1630d341e026d" # Nanopb, tag "nanopb-0.4.8" plus some further fixes SRC_URI += "git://github.com/nanopb/nanopb.git;name=nanopb;protocol=https;branch=master;destsuffix=nanopb" SRCREV_nanopb = "6cfe48d6f1593f8fa5c0f90437f5e6522587745e" -LIC_FILES_CHKSUM += "file://../nanopb/LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f" +LIC_FILES_CHKSUM += "file://${UNPACKDIR}/nanopb/LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f" # qcbor, tag "v1.0.0" SRC_URI += "git://github.com/laurencelundblade/QCBOR.git;name=qcbor;protocol=https;branch=master;destsuffix=qcbor" SRCREV_qcbor = "56b17bf9f74096774944bcac0829adcd887d391e" -LIC_FILES_CHKSUM += "file://../qcbor/README.md;md5=e8ff2e88a722cdc55eddd0bb9aeca002" +LIC_FILES_CHKSUM += "file://${UNPACKDIR}/qcbor/README.md;md5=e8ff2e88a722cdc55eddd0bb9aeca002" # T_Cose SRC_URI += "git://github.com/laurencelundblade/t_cose.git;name=tcose;protocol=https;branch=master;destsuffix=tcose" SRCREV_tcose = "fc3a4b2c7196ff582e8242de8bd4a1bc4eec577f" -LIC_FILES_CHKSUM += "file://../tcose/LICENSE;md5=b2ebdbfb82602b97aa628f64cf4b65ad" +LIC_FILES_CHKSUM += "file://${UNPACKDIR}/tcose/LICENSE;md5=b2ebdbfb82602b97aa628f64cf4b65ad" # CppUTest, tag "v3.8" SRC_URI += "git://github.com/cpputest/cpputest.git;name=cpputest;protocol=https;branch=master;destsuffix=cpputest" SRCREV_cpputest = "e25097614e1c4856036366877a02346c4b36bb5b" -LIC_FILES_CHKSUM += "file://../cpputest/COPYING;md5=ce5d5f1fe02bcd1343ced64a06fd4177" +LIC_FILES_CHKSUM += "file://${UNPACKDIR}/cpputest/COPYING;md5=ce5d5f1fe02bcd1343ced64a06fd4177" SRCREV_FORMAT = "trusted-services_dtc_mbedtls_nanopb_qcbor_tcose_cpputest" --2.39.5 (Apple Git-154)
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6674): https://lists.yoctoproject.org/g/meta-arm/message/6674
Mute This Topic: https://lists.yoctoproject.org/mt/114834935/3616920
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Jon Mason
AppliedQuoted 3 lines · Jon Mason
Use UNPACKDIR instead of relative paths.
Applied, thanks!
[1/6] arm/trusted-services: Fix trusted-service license file paths
commit: 9e6671a222acf1a3c9ff736fbcc784f092c624a1
[2/6] arm/gn: disable uninitialized variable warning
commit: d8f0ab517b8bfe47a9e6d011711013877413cc4e
[3/6] arm/gn: update to the latest SHA
commit: 6ec4a039a35c9f0947b82873b577b8a148473242
[4/6] arm/arch-armv9*: Fix PACKAGE_EXTRA_ARCHS reference
commit: 05b2de0e7a9b71e61c16f7607546b846fb87648c
[5/6] arm-bsp/fvp-base: remove console workaround
commit: 5442973e13df30e4cde0fab23b2dbafd03a3407d
[6/6] arm/optee-os: remove CFG_CORE_BTI from EXTRA_OEMAKE
commit: e517e47d2ed44c79ecbdff2a0ef43fc62783b05fBest regards,
Signature · 1 line
Jon Mason <[email protected]>