* [PATCH][master 1/5] arm/lib/oeqa: fix module lookup
@ 2021-10-20 15:25 Ross Burton
2021-10-20 15:25 ` [PATCH][master 2/5] arm/trusted-firmware-m: enabling PACKAGECONFIG when using CMake Ross Burton
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Ross Burton @ 2021-10-20 15:25 UTC (permalink / raw)
To: meta-arm
As multiple paths can and do provide modules under oeqa.controllers, all
of these paths need to call pkgutil.extend_path() so the lookup works
correctly.
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
meta-arm/lib/oeqa/controllers/__init__.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta-arm/lib/oeqa/controllers/__init__.py b/meta-arm/lib/oeqa/controllers/__init__.py
index e69de29b..df3c142a 100644
--- a/meta-arm/lib/oeqa/controllers/__init__.py
+++ b/meta-arm/lib/oeqa/controllers/__init__.py
@@ -0,0 +1,3 @@
+# This is needed so that multiple locations can provide the same package
+from pkgutil import extend_path
+__path__ = extend_path(__path__, __name__)
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH][master 2/5] arm/trusted-firmware-m: enabling PACKAGECONFIG when using CMake
2021-10-20 15:25 [PATCH][master 1/5] arm/lib/oeqa: fix module lookup Ross Burton
@ 2021-10-20 15:25 ` Ross Burton
2021-10-20 15:25 ` [PATCH][master 3/5] arm/trusted-firmware-m: setting the toolchain file path in PACKAGECONFIG Ross Burton
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Ross Burton @ 2021-10-20 15:25 UTC (permalink / raw)
To: meta-arm
From: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
In case of CMake, PACKAGECONFIG configs take effect when passing
PACKAGECONFIG_CONFARGS to the configure task.
Change-Id: I126ba089c9a5db8e895b8a9545e96ef9fa98ce0d
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
---
.../recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.3.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.3.0.bb b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.3.0.bb
index 7c850b01..de007c10 100644
--- a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.3.0.bb
+++ b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.3.0.bb
@@ -101,7 +101,7 @@ do_patch[postfuncs] += "apply_local_patches"
do_configure[cleandirs] = "${B}"
do_configure() {
- cmake -G"Unix Makefiles" -S ${S} -B ${B} ${EXTRA_OECMAKE}
+ cmake -G"Unix Makefiles" -S ${S} -B ${B} ${EXTRA_OECMAKE} ${PACKAGECONFIG_CONFARGS}
}
# Invoke install here as there's no point in splitting compile from install: the
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH][master 3/5] arm/trusted-firmware-m: setting the toolchain file path in PACKAGECONFIG
2021-10-20 15:25 [PATCH][master 1/5] arm/lib/oeqa: fix module lookup Ross Burton
2021-10-20 15:25 ` [PATCH][master 2/5] arm/trusted-firmware-m: enabling PACKAGECONFIG when using CMake Ross Burton
@ 2021-10-20 15:25 ` Ross Burton
2021-10-20 15:25 ` [PATCH][master 4/5] arm/trusted-firmware-m: upgrade to 1.4.0 Ross Burton
2021-10-20 15:25 ` [PATCH][master 5/5] arm-bsp/musca*: update trusted-firmware-m platform names Ross Burton
3 siblings, 0 replies; 5+ messages in thread
From: Ross Burton @ 2021-10-20 15:25 UTC (permalink / raw)
To: meta-arm
From: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Toolchain files toolchain_GNUARM.cmake and toolchain_ARMCLANG.cmake are
located at trusted-firmware-m source directory.
This commit sets that.
Change-Id: If9c26f65b0c8111a6ff1f1a7d56610563efd501b
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
---
.../trusted-firmware-m/trusted-firmware-m_1.3.0.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.3.0.bb b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.3.0.bb
index de007c10..fa23191f 100644
--- a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.3.0.bb
+++ b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.3.0.bb
@@ -69,8 +69,8 @@ python() {
PACKAGECONFIG ??= "cc-gnuarm"
# What compiler to use
-PACKAGECONFIG[cc-gnuarm] = "-DTFM_TOOLCHAIN_FILE=toolchain_GNUARM.cmake,,gcc-arm-none-eabi-native"
-PACKAGECONFIG[cc-armclang] = "-DTFM_TOOLCHAIN_FILE=toolchain_ARMCLANG.cmake,,armcompiler-native"
+PACKAGECONFIG[cc-gnuarm] = "-DTFM_TOOLCHAIN_FILE=${S}/toolchain_GNUARM.cmake,,gcc-arm-none-eabi-native"
+PACKAGECONFIG[cc-armclang] = "-DTFM_TOOLCHAIN_FILE=${S}/toolchain_ARMCLANG.cmake,,armcompiler-native"
# Whether to integrate the test suite
PACKAGECONFIG[test-secure] = "-DTEST_S=ON,-DTEST_S=OFF"
PACKAGECONFIG[test-nonsecure] = "-DTEST_NS=ON,-DTEST_NS=OFF"
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH][master 4/5] arm/trusted-firmware-m: upgrade to 1.4.0
2021-10-20 15:25 [PATCH][master 1/5] arm/lib/oeqa: fix module lookup Ross Burton
2021-10-20 15:25 ` [PATCH][master 2/5] arm/trusted-firmware-m: enabling PACKAGECONFIG when using CMake Ross Burton
2021-10-20 15:25 ` [PATCH][master 3/5] arm/trusted-firmware-m: setting the toolchain file path in PACKAGECONFIG Ross Burton
@ 2021-10-20 15:25 ` Ross Burton
2021-10-20 15:25 ` [PATCH][master 5/5] arm-bsp/musca*: update trusted-firmware-m platform names Ross Burton
3 siblings, 0 replies; 5+ messages in thread
From: Ross Burton @ 2021-10-20 15:25 UTC (permalink / raw)
To: meta-arm
From: Satish Kumar <satish.kumar01@arm.com>
Update TF-M to version 1.4.0, mbed TLS to 3.0.0, TF-M tests to 1.4.0,
and MCUBoot to TF-Mv1.4-integ tag.
Change-Id: I9172ed9fbf6c6c2ed88303256ef2452dafc665be
Signed-off-by: Satish Kumar <satish.kumar01@arm.com>
---
...-m_1.3.0.bb => trusted-firmware-m_1.4.0.bb} | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
rename meta-arm/recipes-bsp/trusted-firmware-m/{trusted-firmware-m_1.3.0.bb => trusted-firmware-m_1.4.0.bb} (92%)
diff --git a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.3.0.bb b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.4.0.bb
similarity index 92%
rename from meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.3.0.bb
rename to meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.4.0.bb
index fa23191f..14fcbb1b 100644
--- a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.3.0.bb
+++ b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.4.0.bb
@@ -18,18 +18,18 @@ LIC_FILES_CHKSUM = "file://license.rst;md5=07f368487da347f3c7bd0fc3085f3afa \
SRC_URI = "git://git.trustedfirmware.org/TF-M/trusted-firmware-m.git;protocol=https;branch=master;name=tfm;destsuffix=${S} \
git://git.trustedfirmware.org/TF-M/tf-m-tests.git;protocol=https;branch=master;name=tfm-tests;destsuffix=${S}/../tf-m-tests \
git://github.com/ARMmbed/mbedtls.git;protocol=https;branch=master;name=mbedtls;destsuffix=${S}/../mbedtls \
- git://github.com/mcu-tools/mcuboot.git;protocol=https;branch=v1.7-branch;name=mcuboot;destsuffix=${S}/../mcuboot \
+ git://github.com/mcu-tools/mcuboot.git;protocol=https;branch=main;name=mcuboot;destsuffix=${S}/../mcuboot \
"
# The required dependencies are documented in tf-m/config/config_default.cmake
-# TF-Mv1.3.0
-SRCREV_tfm = "aa7d90a23b045e50c26ef66b11250842b665f54b"
-# mbedtls 2.26
-SRCREV_mbedtls = "e483a77c85e1f9c1dd2eb1c5a8f552d2617fe400"
-# tf-m-tests v1.3.0
-SRCREV_tfm-tests = "e7430d13b388a106c9f4cfb534e7340ce1482575"
-# 1.7.2
-SRCREV_mcuboot = "4aa516e7281fc6f9a2dce0b0efda9acc580fa254"
+# TF-Mv1.4.0
+SRCREV_tfm = "7ef9178adad866d48e3af42d8a3129dfab792ed8"
+# mbedtls-3.0.0
+SRCREV_mbedtls = "8df2f8e7b9c7bb9390ac74bb7bace27edca81a2b"
+# TF-Mv1.4.0
+SRCREV_tfm-tests = "e1a8c9fb8394b1f6ea66d2611c070915b0d4b573"
+# TF-Mv1.4-integ
+SRCREV_mcuboot = "4f8091318b4026d14af9e5a7036825bff62fb612"
UPSTREAM_CHECK_GITTAGREGEX = "^TF-Mv(?P<pver>\d+(\.\d+)+)$"
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH][master 5/5] arm-bsp/musca*: update trusted-firmware-m platform names
2021-10-20 15:25 [PATCH][master 1/5] arm/lib/oeqa: fix module lookup Ross Burton
` (2 preceding siblings ...)
2021-10-20 15:25 ` [PATCH][master 4/5] arm/trusted-firmware-m: upgrade to 1.4.0 Ross Burton
@ 2021-10-20 15:25 ` Ross Burton
3 siblings, 0 replies; 5+ messages in thread
From: Ross Burton @ 2021-10-20 15:25 UTC (permalink / raw)
To: meta-arm
With trusted-firmware-m 1.4 the platform names have changed.
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
meta-arm-bsp/conf/machine/musca-b1.conf | 2 +-
meta-arm-bsp/conf/machine/musca-s1.conf | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-arm-bsp/conf/machine/musca-b1.conf b/meta-arm-bsp/conf/machine/musca-b1.conf
index fa1264ec..073c466e 100644
--- a/meta-arm-bsp/conf/machine/musca-b1.conf
+++ b/meta-arm-bsp/conf/machine/musca-b1.conf
@@ -25,4 +25,4 @@ ZEPHYR_BOARD = "v2m_musca_b1"
ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
ARCH:musca-b1 = "arm"
-TFM_PLATFORM = "musca_b1/sse_200"
+TFM_PLATFORM = "arm/musca_b1/sse_200"
diff --git a/meta-arm-bsp/conf/machine/musca-s1.conf b/meta-arm-bsp/conf/machine/musca-s1.conf
index d71cdfec..be15c60e 100644
--- a/meta-arm-bsp/conf/machine/musca-s1.conf
+++ b/meta-arm-bsp/conf/machine/musca-s1.conf
@@ -9,4 +9,4 @@ require conf/machine/include/arm/armv8-m/tune-cortexm33.inc
# GLIBC will not work with Cortex-M.
TCLIBC = "newlib"
-TFM_PLATFORM = "musca_s1"
+TFM_PLATFORM = "arm/musca_s1"
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-10-20 15:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20 15:25 [PATCH][master 1/5] arm/lib/oeqa: fix module lookup Ross Burton
2021-10-20 15:25 ` [PATCH][master 2/5] arm/trusted-firmware-m: enabling PACKAGECONFIG when using CMake Ross Burton
2021-10-20 15:25 ` [PATCH][master 3/5] arm/trusted-firmware-m: setting the toolchain file path in PACKAGECONFIG Ross Burton
2021-10-20 15:25 ` [PATCH][master 4/5] arm/trusted-firmware-m: upgrade to 1.4.0 Ross Burton
2021-10-20 15:25 ` [PATCH][master 5/5] arm-bsp/musca*: update trusted-firmware-m platform names Ross Burton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).