Skip to contentSkip to conversation

CI: make qemuarm-secureboot builds more thorough

PATCH Applied Jon Mason 3 participants 4 messages May 11, 2022 – May 24, 2022

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/1 CI: make qemuarm-secureboot builds more thorough

Build all the things that qemuarm64-secureboot builds, removing those that fail to compile (e.g., optee-spdevkit). Unfortunately, clang doesn't work at all.

---
 .gitlab-ci.yml            | 3 ++-
 ci/qemuarm-secureboot.yml | 6 ++++++
 2 files changed, 8 insertions(+), 1 deletion(-)
.gitlab-ci.yml +2 -1
index 40e00fc0..bc9f0801 100644
@@ -191,7 +191,8 @@ qemuarm-secureboot:
   extends: .build
   parallel:
     matrix:
-      - TESTING: testimage
+      - TCLIBC: [glibc, musl]
+        TESTING: testimage
 
 qemuarm:
   extends: .build
ci/qemuarm-secureboot.yml +6 -0
index 2fa8ef08..044661cd 100644
@@ -4,3 +4,9 @@ header:
     - ci/base.yml
 
 machine: qemuarm-secureboot
+
+target:
+  - core-image-base
+  - optee-examples
+  - optee-test
+  - optee-os-tadevkit
Signature · 1 line
2.17.1
#1 lore raw

+ Abdellatif (author of optee-spdevkit recipe), Khem

Hi Jon,

Quoted 3 lines · Jon Mason

Build all the things that qemuarm64-secureboot builds, removing those that fail to compile (e.g., optee-spdevkit).

optee-spdevkit recipe seems to be based on non-upstream OP-TEE tree:

# spdevkit isn't yet merged to master
SRC_URI = "git://git.trustedfirmware.org/OP-TEE/optee_os.git;protocol=https;branch=psa-development"
SRCREV = "f9de2c9520ed97b89760cc4c99424aae440b63f4"
PV = "3.10+git${SRCPV}"

Abdellatif,

Are you aware of any plans to support FFA based secure partitions on 32-bit Arm?

Quoted 3 lines

Unfortunately, clang
doesn't work at all.

This looks related to regression reported by Khem here [1].

[1] https://lists.yoctoproject.org/g/meta-arm/topic/91003714#3373

-Sumit

Quoted 46 lines
---
 .gitlab-ci.yml            | 3 ++-
 ci/qemuarm-secureboot.yml | 6 ++++++
 2 files changed, 8 insertions(+), 1 deletion(-)
.gitlab-ci.yml +2 -1
index 40e00fc0..bc9f0801 100644
@@ -191,7 +191,8 @@ qemuarm-secureboot:
   extends: .build
   parallel:
     matrix:
-      - TESTING: testimage
+      - TCLIBC: [glibc, musl]
+        TESTING: testimage
 
 qemuarm:
   extends: .build
ci/qemuarm-secureboot.yml +6 -1
index 2fa8ef08..044661cd 100644
@@ -4,3 +4,9 @@ header:
     - ci/base.yml
 
 machine: qemuarm-secureboot
+
+target:
+  - core-image-base
+  - optee-examples
+  - optee-test
+  - optee-os-tadevkit
--

2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#3384): https://lists.yoctoproject.org/g/meta-arm/message/3384
Mute This Topic: https://lists.yoctoproject.org/mt/91038263/1777089
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 9 lines · Sumit Garg

+ Abdellatif (author of optee-spdevkit recipe), Khem

Hi Jon,

Quoted 3 lines · Jon Mason

Build all the things that qemuarm64-secureboot builds, removing those that fail to compile (e.g., optee-spdevkit).

Quoted 6 lines

optee-spdevkit recipe seems to be based on non-upstream OP-TEE tree:

# spdevkit isn't yet merged to master
SRC_URI = "git://git.trustedfirmware.org/OP-TEE/optee_os.git;protocol=https;branch=psa-development"
SRCREV = "f9de2c9520ed97b89760cc4c99424aae440b63f4"
PV = "3.10+git${SRCPV}"

Yes, we've recently discovered this too. We'll start appling pressure to get this rebased to the latest version of OPTEE, get it working on arm32, and get it merged upstream.

Thanks,
Jon

Quoted 61 lines

Abdellatif,

Are you aware of any plans to support FFA based secure partitions on 32-bit Arm?

Quoted 3 lines

Unfortunately, clang
doesn't work at all.

This looks related to regression reported by Khem here [1].

[1] https://lists.yoctoproject.org/g/meta-arm/topic/91003714#3373
-Sumit

Quoted 46 lines
---
 .gitlab-ci.yml            | 3 ++-
 ci/qemuarm-secureboot.yml | 6 ++++++
 2 files changed, 8 insertions(+), 1 deletion(-)
.gitlab-ci.yml +2 -1
index 40e00fc0..bc9f0801 100644
@@ -191,7 +191,8 @@ qemuarm-secureboot:
   extends: .build
   parallel:
     matrix:
-      - TESTING: testimage
+      - TCLIBC: [glibc, musl]
+        TESTING: testimage
 
 qemuarm:
   extends: .build
ci/qemuarm-secureboot.yml +6 -1
index 2fa8ef08..044661cd 100644
@@ -4,3 +4,9 @@ header:
     - ci/base.yml
 
 machine: qemuarm-secureboot
+
+target:
+  - core-image-base
+  - optee-examples
+  - optee-test
+  - optee-os-tadevkit
--

2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#3384): https://lists.yoctoproject.org/g/meta-arm/message/3384
Mute This Topic: https://lists.yoctoproject.org/mt/91038263/1777089
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Applied
#3 lore raw
In reply to Jon Mason
Quoted 3 lines · Jon Mason

Build all the things that qemuarm64-secureboot builds, removing those that fail to compile (e.g., optee-spdevkit). Unfortunately, clang doesn't work at all.

Applied, thanks!

[1/1] CI: make qemuarm-secureboot builds more thorough

      commit: 0c4c33de09aa921cafcea2ad4b7bc0e19f844213

Best regards,

Signature · 1 line
Jon Mason <[email protected]>