CI: build trusted-firmware-rmm for qemuarm64
PATCH 1/2 CI: build trusted-firmware-rmm for qemuarm64
The trusted-firmware-rmm recipe is not currently covered by CI builds. Since the recipe already supports qemuarm64, add it to the qemuarm64 CI targets to ensure that it is regularly built and checked for regressions.
Switch the CI image to core-image-minimal to reduce the number of packages built and improve build times.
Also, disable the buildpaths QA check for trusted-firmware-rmm and its debug package to work around TMPDIR references in the build output.
--- ci/qemuarm64.yml | 4 ++++ .../trusted-firmware-rmm/trusted-firmware-rmm_0.6.0.bb | 5 +++++ 2 files changed, 9 insertions(+)
ci/qemuarm64.yml +4 -0
@@ -6,3 +6,7 @@ header: - ci/base.yml machine: qemuarm64 + +target: + - core-image-minimal + - trusted-firmware-rmm
meta-arm/recipes-bsp/trusted-firmware-rmm/trusted-firmware-rmm_0.6.0.bb +5 -0
@@ -44,3 +44,8 @@ do_deploy() { } addtask deploy after do_install + +# FIXME - The RMM build embeds TMPDIR paths in the generated binaries. +# Skip the buildpaths QA check until these references can be removed. +INSANE_SKIP:${PN} += "buildpaths" +INSANE_SKIP:${PN}-dbg += "buildpaths"
Signature · 1 line
2.54.0 (Apple Git-157)
PATCH 2/2 arm/cot-dt2c: disable version checking
The tooling uses trusted-firmware-a version when attempting to detect a new release, which results in a fault comparison of:
cot-dt2c 0.1.0 2.15.0 None da738d5eae93af342fdc4995dd3c05acb4c9d757
The version of cot-dt2c is actually found within the pyproject.toml, see
https://github.com/ARM-software/arm-trusted-firmware/blob/master/tools/cot_dt2c/pyproject.toml#L8
Disable the check to avoid this issue.
--- meta-arm/recipes-bsp/trusted-firmware-a/cot-dt2c_0.1.0.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-arm/recipes-bsp/trusted-firmware-a/cot-dt2c_0.1.0.bb +4 -0
@@ -12,6 +12,10 @@ LIC_FILES_CHKSUM = "file://docs/license.rst;md5=6ed7bace7b0bc63021c6eba7b524039e SRCREV = "da738d5eae93af342fdc4995dd3c05acb4c9d757" SRCBRANCH = "master" +# The tools use the TF-A source when performing a version check, not +# the version of this within the source. So, disable checking +UPSTREAM_VERSION_UNKNOWN = "1" + inherit python_poetry_core BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.54.0 (Apple Git-157)