diff mbox series

arm/trusted-firmware-a: add recipe for more-recent-but-not-yet-released source code

Message ID 20240927-tf-a-master-v1-1-733c925c80e4@cherry.de
State New
Headers show
Series arm/trusted-firmware-a: add recipe for more-recent-but-not-yet-released source code | expand

Commit Message

Quentin Schulz Sept. 27, 2024, 11:33 a.m. UTC
From: Quentin Schulz <quentin.schulz@cherry.de>

The point of this recipe is to allow people to quickly test more recent
commits that aren't yet part of any release just yet.

One should really not use it in any product, but it's nice for CI and
development purposes.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
AUTOREV is specifically not used as having it in the recipe would
trigger a network access all the time, even when the recipe is not used.
We may want to add support for this in CI via local.conf modifications
thanks to kas yml files added by the GitLab CI setup, but this doesn't
need to be done in this commit.

Boot tested on RK3588 board on master (styhead) from sometime yesterday.
---
 .../trusted-firmware-a/trusted-firmware-a_git.bb   | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)


---
base-commit: 139e87e119489ad2d10d6389ca2ff913589df4c1
change-id: 20240927-tf-a-master-3915482b3704

Best regards,
diff mbox series

Patch

diff --git a/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_git.bb b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_git.bb
new file mode 100644
index 00000000..91e0f86d
--- /dev/null
+++ b/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_git.bb
@@ -0,0 +1,22 @@ 
+require recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc
+
+# TF-A master
+SRCREV_tfa = "bcce173da397f776fc0ec14e9dac03c13ddeb722"
+SRCBRANCH = "master"
+
+LIC_FILES_CHKSUM += "file://docs/license.rst;md5=83b7626b8c7a37263c6a58af8d19bee1"
+
+# in TF-A src, docs/getting_started/prerequisites.rst lists the expected version mbedtls
+# mbedtls-3.6.1
+SRC_URI_MBEDTLS = "git://github.com/ARMmbed/mbedtls.git;name=mbedtls;protocol=https;destsuffix=git/mbedtls;branch=mbedtls-3.6"
+SRCREV_mbedtls = "71c569d44bf3a8bd53d874c81ee8ac644dd6e9e3"
+
+LIC_FILES_CHKSUM_MBEDTLS = "file://mbedtls/LICENSE;md5=379d5819937a6c2f1ef1630d341e026d"
+
+# continue to boot also without TPM
+SRC_URI += "\
+    file://0001-qemu_measured_boot.c-ignore-TPM-error-and-continue-w.patch \
+"
+
+# Not a release recipe, try our hardest to not pull this in implicitly
+DEFAULT_PREFERENCE = "-1"