Skip to contentSkip to conversation

arm/gn: update to latest commit

PATCH Applied Jon Mason 3 participants 11 messages May 7, 2024 – May 8, 2024 1 message not in the archive

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/6 arm/gn: update to latest commit

Update to the latest gn commit and remove unnecessary patches and build parameters

Changes in gn between 4bd1a77e67958fb7f6739bd4542641646f264e5d and f284b6b47039a2d7edfcbfc51f52664f82b5a789 f284b6b47039 [src] Add "#include <limits>" in the //src/base/files/file_enumerator_win.cc 155c53952ec2 Get updates to infra/recipes.py from upstream
d823fd85da3f Revert "Teach gn to handle systems with > 64 processors"
f07499aebcf5 [apple] Rename the code-signing properties of create_bundle
415b3b19e094 Fix a typo in "gn help refs" output
93ee9b91423c Revert "[bundle] Use "phony" builtin tool for create_bundle targets"
cfddfffb7913 [bundle] Use "phony" builtin tool for create_bundle targets
06cdcc8e1fa8 [ios] Simplify handling of assets catalog
22581fb46c0c [swift] List all outputs as deps of "source_set" stamp file
59c4bb920542 [swift] Update gn check ... to consider the generated header
dd0927eb34bb [swift] Set restat = 1 to swift build rules
88e8054aff7b Fix build with gcc12
e05c0aa00938 [label_matches] Add new functions label_matches(), filter_labels_include() and filter_labels_exclude() f19d5817e7ba [swift] Remove problematic use of "stamp" tool
6253a39dbc43 Implement new --ninja-outputs-file option.
5787e994aa4c Add NinjaOutputsWriter class
03d10f1657b4 Move InvokePython() function to its own source file.
0cdb7dd27f5c zos: build with -DZOSLIB_OVERRIDE_CLIB to override creat
d4f94f9a6c25 Enable C++ runtime assertions in debug mode.
0a2b8eac80f1 Fix regression in MakeRelativePath()
8b973aa51d02 fix: Fix Windows MakeRelativePath.
a3dcd7a7ad86 Add long path support for windows
a2e2717ea670 Ensure read_file() files are considered by "gn analyze"
fc722252439e apply 2to3 to for some Python scripts
5110a7f03e86 Add rustflags to desc and help output
f99e015ac35f strings: support case insensitive check only in StartsWith/EndsWith
b5adfe5f574d add .git-blame-ignore-revs
d6085ac6a95b use std::{string,string_view}::{starts_with,ends_with}
8bd36a27c076 apply clang-format to all C++ sources
5d76868385b8 add forward declaration in rust_values.h
b8562a4abd95 Add root_patterns list to build configuration.
5fd939de8a66 Use c++20 in GN build
d4be45bb28fb update windows sdk to 2024-01-11
71305b07d708 update windows sdk
85944ebc24a9 Add linux-riscv64.
7367b0df0a0a Update OWNERS list.
92e63272dc04 remove unused function
c7b223bfb225 Ignore build warning -Werror=redundant-move
bc5744174d9e Fix --as=buildfile gn desc deps output.
9a45b6123831 Update recipe engine to 9dea1246.
85bd0a62938b treewide: Fix spelling mistakes
e4702d740906 Optimize base::EscapeJSONString for ASCII inputs.
5d8727f3fbf4 [docs]: Mention implicit names in style guide
182a6eb05d15 Use magenta for warnings
991530ce394e Avoid unnecessary "Regenerating ninja files" step after running "gn gen" c1fc04434c8e Fix variable use tracking for scope subscript accesses.
cc56a0f98bb3 [infra] Link to jemalloc instead of rpmalloc
811d332bd905 Move WriteSourceSetStamp to NinjaCBinaryTargetWriter
3fccef9033b9 [action][data deps] Make data-deps order-only deps of the action outputs 62ac86a938c3 [action] Add test for data_deps of an action target
1029a3b50873 Ninja: Always pass linker flags to rlib-generating command.
fae280eabe5d [serenity] Add SerenityOS port
11e12b0ef870 Remove obsolete comment
1de45d1a11cc Generate a StaticLibrary for rlibs and DynamicLibrary for proc macros
2a92efd396d3 Include library search paths when compiling rlibs
da5fe01bce4a Avoid unused and incorrect linker args in {{rustdeps}}

---
 ...ce-lstat64-stat64-functions-on-linux.patch | 60 -------------------
 meta-arm/recipes-devtools/gn/gn_git.bb        | 11 +---
 2 files changed, 2 insertions(+), 69 deletions(-)
 delete mode 100644 meta-arm/recipes-devtools/gn/gn/0001-Replace-lstat64-stat64-functions-on-linux.patch
meta-arm/recipes-devtools/gn/gn/0001-Replace-lstat64-stat64-functions-on-linux.patch deleted +0 -60
deleted file mode 100644
index 159fbaaf9688..000000000000
@@ -1,60 +0,0 @@
-From 25786d356ac391124489f2e55690281c03fa83db Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Thu, 22 Dec 2022 00:30:55 -0800
-Subject: [PATCH] Replace lstat64/stat64 functions on linux
-
-we define -D_FILE_OFFSET_BITS=64 which means lstat is operating on 64bit
-off_t and is same as lstat64, same for stat and stat64 case.
-
-This fixes build with musl where off_t has always been 64bit
-
-Upstream-Status: Submitted [https://gn-review.googlesource.com/c/gn/+/14960]
-Signed-off-by: Khem Raj <[email protected]>
----
- src/base/files/file.h             | 2 +-
- src/base/files/file_posix.cc      | 2 +-
- src/base/files/file_util_posix.cc | 2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/base/files/file.h b/src/base/files/file.h
-index 2c94eb4e..99e87ed9 100644
---- a/src/base/files/file.h
-+++ b/src/base/files/file.h
-@@ -23,7 +23,7 @@ namespace base {
- 
- #if defined(OS_BSD) || defined(OS_MACOSX) || defined(OS_NACL) || \
-     defined(OS_HAIKU) || defined(OS_MSYS) || defined(OS_ZOS) ||  \
--    defined(OS_ANDROID) && __ANDROID_API__ < 21
-+    defined(OS_LINUX) || defined(OS_ANDROID) && __ANDROID_API__ < 21
- typedef struct stat stat_wrapper_t;
- #elif defined(OS_POSIX) || defined(OS_FUCHSIA)
- typedef struct stat64 stat_wrapper_t;
-diff --git a/src/base/files/file_posix.cc b/src/base/files/file_posix.cc
-index b1f9f5e8..049568f0 100644
---- a/src/base/files/file_posix.cc
-+++ b/src/base/files/file_posix.cc
-@@ -26,7 +26,7 @@ namespace {
- 
- #if defined(OS_BSD) || defined(OS_MACOSX) || defined(OS_NACL) || \
-     defined(OS_HAIKU) || defined(OS_MSYS) || defined(OS_ZOS) || \
--    defined(OS_ANDROID) && __ANDROID_API__ < 21
-+    defined(OS_LINUX) || defined(OS_ANDROID) && __ANDROID_API__ < 21
- int CallFstat(int fd, stat_wrapper_t* sb) {
-   return fstat(fd, sb);
- }
-diff --git a/src/base/files/file_util_posix.cc b/src/base/files/file_util_posix.cc
-index aa54731d..53be3d3b 100644
---- a/src/base/files/file_util_posix.cc
-+++ b/src/base/files/file_util_posix.cc
-@@ -61,7 +61,7 @@ namespace {
- 
- #if defined(OS_BSD) || defined(OS_MACOSX) || defined(OS_NACL) || \
-     defined(OS_HAIKU) || defined(OS_MSYS) || defined(OS_ZOS) ||  \
--    defined(OS_ANDROID) && __ANDROID_API__ < 21
-+    defined(OS_LINUX) || defined(OS_ANDROID) && __ANDROID_API__ < 21
- int CallStat(const char* path, stat_wrapper_t* sb) {
-   return stat(path, sb);
- }
--- 
-2.39.0
-
meta-arm/recipes-devtools/gn/gn_git.bb +2 -9
index 7ec340c9d1b8..2bb29cc3bce7 100644
@@ -6,20 +6,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0fca02217a5d49a14dfe2d11837bb34d"
 
 UPSTREAM_CHECK_COMMITS = "1"
 
-SRC_URI = "git://gn.googlesource.com/gn;protocol=https;branch=main \
-           file://0001-Replace-lstat64-stat64-functions-on-linux.patch"
-SRCREV = "4bd1a77e67958fb7f6739bd4542641646f264e5d"
+SRC_URI = "git://gn.googlesource.com/gn;protocol=https;branch=main"
+SRCREV = "f284b6b47039a2d7edfcbfc51f52664f82b5a789"
 PV = "0+git"
 
 S = "${WORKDIR}/git"
 B = "${WORKDIR}/build"
 
-# Work around this fatal warning:
-# ../git/src/gn/desc_builder.cc: In member function 'base::Value {anonymous}::BaseDescBuilder::ToBaseValue(const Scope*)':
-# ../git/src/gn/desc_builder.cc:179:21: error: redundant move in return statement [-Werror=redundant-move]
-#   179 |     return std::move(res);
-CXXFLAGS += "-Wno-error=redundant-move"
-
 # Map from our _OS strings to the GN's platform values.
 def gn_platform(variable, d):
     os = d.getVar(variable)
Signature · 1 line
2.39.3 (Apple Git-146)
author
#1 lore raw

PATCH 2/6 arm-bsp: remove support for n1sdp

---
 .gitlab-ci.yml                                |    6 -
 README.md                                     |    2 +-
 ci/n1sdp-optee.yml                            |   14 -
 ci/n1sdp-ts.yml                               |   16 -
 ci/n1sdp.yml                                  |   12 -
 documentation/trusted-services.md             |    6 +-
 meta-arm-bsp/conf/machine/n1sdp.conf          |   51 -
 meta-arm-bsp/documentation/n1sdp.md           |   78 -
 meta-arm-bsp/documentation/template.md        |    2 +-
 .../images/n1sdp-board-firmware_2022.06.22.bb |   37 -
 .../images/sdcard-image-n1sdp_0.1.bb          |   85 -
 .../scp-firmware/scp-firmware-n1sdp.inc       |   35 -
 .../scp-firmware/scp-firmware_%.bbappend      |    1 -
 .../0001-Reserve-OP-TEE-memory-from-nwd.patch |   42 -
 .../n1sdp/0001-n1sdp-tftf-tests-to-skip.patch |   46 -
 .../0002-Modify-BL32-Location-to-DDR4.patch   |   30 -
 .../n1sdp/0003-Modify-SPMC-Base-to-DDR4.patch |   28 -
 .../trusted-firmware-a/tf-a-tests_%.bbappend  |   10 -
 .../trusted-firmware-a-n1sdp.inc              |   41 -
 .../trusted-firmware-a_%.bbappend             |    1 -
 .../recipes-bsp/uefi/edk2-firmware-n1sdp.inc  |   30 -
 .../recipes-bsp/uefi/edk2-firmware_%.bbappend |    1 -
 ...dp-Add-support-to-parse-NT_FW_CONFIG.patch |  471 ---
 ...dp-Modify-the-IRQ-ID-of-Debug-UART-a.patch |   63 -
 ...erseN1Soc-Enable-SCP-QSPI-flash-regi.patch |   57 -
 ...RM-N1Sdp-NOR-flash-library-for-N1Sdp.patch |  119 -
 ...N1Sdp-NOR-flash-Dxe-Driver-for-N1Sdp.patch | 2538 -----------------
 ...M-N1Sdp-Persistent-storage-for-N1Sdp.patch |   88 -
 ...dp-Enable-FaultTolerantWrite-Dxe-dri.patch |   50 -
 ...dp-manually-poll-QSPI-status-bit-aft.patch |  197 --
 ...1Sdp-Reserve-OP-TEE-Region-from-UEFI.patch |   72 -
 .../bsp/arm-platforms/n1sdp-preempt-rt.scc    |    6 -
 .../bsp/arm-platforms/n1sdp-standard.scc      |    5 -
 .../bsp/arm-platforms/n1sdp/disable-kvm.cfg   |    1 -
 .../linux/linux-arm-platforms.inc             |   25 -
 ...3-workaround-for-ATC_INV_SIZE_ALL-in.patch |   47 -
 ...irk-add-acs-override-for-PCI-devices.patch |  159 --
 ...-for-the-Arm-Neoverse-N1SDP-platform.patch |  324 ---
 ...uirk-support-enabling-remote-chip-PC.patch |  136 -
 ...list-early-Arm-Neoverse-N1-revisions.patch |   33 -
 ...disable-config-options-that-does-not.patch |   57 -
 .../linux-yocto-6.6/n1sdp/enable-nvme.cfg     |    3 -
 .../n1sdp/enable-realtek-R8169.cfg            |    3 -
 .../n1sdp/enable-usb_conn_gpio.cfg            |    2 -
 .../n1sdp/usb_xhci_pci_renesas.cfg            |    2 -
 ...lat-n1sdp-add-N1SDP-platform-support.patch |  237 --
 .../n1sdp/0002-Handle-logging-syscall.patch   |   32 -
 ...lat-n1sdp-register-DRAM1-to-optee-os.patch |   52 -
 ...d-external-device-tree-base-and-size.patch |   44 -
 .../optee/optee-os-generic-n1sdp.inc          |    2 -
 .../recipes-security/optee/optee-os-n1sdp.inc |   29 -
 .../optee/optee-os-tadevkit_4.%.bbappend      |    1 -
 .../optee/optee-os_4.%.bbappend               |    1 -
 .../optee/optee-test_4.%.bbappend             |    1 -
 .../packagegroup-ts-tests.bbappend            |    1 -
 .../trusted-services/ts-arm-platforms.inc     |    3 -
 .../trusted-services/ts-newlib_%.bbappend     |    1 -
 meta-arm-bsp/wic/n1sdp-efidisk.wks            |    9 -
 meta-arm-bsp/wic/n1sdp-grub.cfg               |   18 -
 59 files changed, 4 insertions(+), 5459 deletions(-)
 delete mode 100644 ci/n1sdp-optee.yml
 delete mode 100644 ci/n1sdp-ts.yml
 delete mode 100644 ci/n1sdp.yml
 delete mode 100644 meta-arm-bsp/conf/machine/n1sdp.conf
 delete mode 100644 meta-arm-bsp/documentation/n1sdp.md
 delete mode 100644 meta-arm-bsp/recipes-bsp/images/n1sdp-board-firmware_2022.06.22.bb
 delete mode 100644 meta-arm-bsp/recipes-bsp/images/sdcard-image-n1sdp_0.1.bb
 delete mode 100644 meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware-n1sdp.inc
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/n1sdp/0001-Reserve-OP-TEE-memory-from-nwd.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/n1sdp/0001-n1sdp-tftf-tests-to-skip.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/n1sdp/0002-Modify-BL32-Location-to-DDR4.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/n1sdp/0003-Modify-SPMC-Base-to-DDR4.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-n1sdp.inc
 delete mode 100644 meta-arm-bsp/recipes-bsp/uefi/edk2-firmware-n1sdp.inc
 delete mode 100644 meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0001-Platform-ARM-N1sdp-Add-support-to-parse-NT_FW_CONFIG.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0002-Platform-ARM-N1Sdp-Modify-the-IRQ-ID-of-Debug-UART-a.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0003-Silicon-ARM-NeoverseN1Soc-Enable-SCP-QSPI-flash-regi.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0004-Platform-ARM-N1Sdp-NOR-flash-library-for-N1Sdp.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0005-Platform-ARM-N1Sdp-NOR-flash-Dxe-Driver-for-N1Sdp.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0006-Platform-ARM-N1Sdp-Persistent-storage-for-N1Sdp.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0007-Platform-ARM-N1Sdp-Enable-FaultTolerantWrite-Dxe-dri.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0008-Platform-ARM-N1Sdp-manually-poll-QSPI-status-bit-aft.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0009-Platform-ARM-N1Sdp-Reserve-OP-TEE-Region-from-UEFI.patch
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/n1sdp-preempt-rt.scc
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/n1sdp-standard.scc
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/n1sdp/disable-kvm.cfg
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/0001-iommu-arm-smmu-v3-workaround-for-ATC_INV_SIZE_ALL-in.patch
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/0002-n1sdp-pci_quirk-add-acs-override-for-PCI-devices.patch
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/0003-pcie-Add-quirk-for-the-Arm-Neoverse-N1SDP-platform.patch
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/0004-n1sdp-pcie-add-quirk-support-enabling-remote-chip-PC.patch
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/0005-arm64-kpti-Whitelist-early-Arm-Neoverse-N1-revisions.patch
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/0006-arm64-defconfig-disable-config-options-that-does-not.patch
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/enable-nvme.cfg
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/enable-realtek-R8169.cfg
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/enable-usb_conn_gpio.cfg
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/usb_xhci_pci_renesas.cfg
 delete mode 100644 meta-arm-bsp/recipes-security/optee/files/optee-os/n1sdp/0001-plat-n1sdp-add-N1SDP-platform-support.patch
 delete mode 100644 meta-arm-bsp/recipes-security/optee/files/optee-os/n1sdp/0002-Handle-logging-syscall.patch
 delete mode 100644 meta-arm-bsp/recipes-security/optee/files/optee-os/n1sdp/0003-plat-n1sdp-register-DRAM1-to-optee-os.patch
 delete mode 100644 meta-arm-bsp/recipes-security/optee/files/optee-os/n1sdp/0004-plat-n1sdp-add-external-device-tree-base-and-size.patch
 delete mode 100644 meta-arm-bsp/recipes-security/optee/optee-os-generic-n1sdp.inc
 delete mode 100644 meta-arm-bsp/recipes-security/optee/optee-os-n1sdp.inc
 delete mode 100644 meta-arm-bsp/wic/n1sdp-efidisk.wks
 delete mode 100644 meta-arm-bsp/wic/n1sdp-grub.cfg
.gitlab-ci.yml +0 -6
index 3adea45ea780..506cb4871ea9 100644
@@ -247,12 +247,6 @@ musca-b1:
 musca-s1:
   extends: .build
 
-n1sdp:
-  extends: .build
-  parallel:
-    matrix:
-      - TESTING: [none, n1sdp-ts, n1sdp-optee, tftf]
-
 pending-updates:
   extends: .setup
   artifacts:
README.md +1 -1
index e77e5acd9d10..8acdb029cca9 100644
@@ -8,7 +8,7 @@ This repository contains the Arm layers for OpenEmbedded.
 
 * meta-arm-bsp
 
-  This layer contains machines for Arm reference platforms, for example FVP Base, N1SDP, and Juno.
+  This layer contains machines for Arm reference platforms, for example FVP Base, Corstone1000, and Juno.
 
 * meta-arm-toolchain
 
ci/n1sdp-optee.yml deleted +0 -14
deleted file mode 100644
index 6de4abae5c8c..000000000000
@@ -1,14 +0,0 @@
-# yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas.json
-
-header:
-  version: 14
-
-# Config specific for the optee-xtests
-local_conf_header:
-  optee-test: |
-    # Include ARM FFA
-    MACHINE_FEATURES:append = " arm-ffa"
-    # Include trusted services
-    TEST_SUITES:append = " trusted_services"
-    # Include Optee xtests
-    IMAGE_INSTALL:append = " optee-test"
ci/n1sdp-ts.yml deleted +0 -16
deleted file mode 100644
index b100e240659f..000000000000
@@ -1,16 +0,0 @@
-# yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas.json
-
-header:
-  version: 14
-  includes:
-    - ci/meta-openembedded.yml
-
-local_conf_header:
-  trusted_services: |
-    TEST_SUITES:append = " trusted_services"
-    # Include TS Crypto, TS Protected Storage, TS Internal and Trusted Storage SPs into optee-os image
-    MACHINE_FEATURES:append = " arm-ffa ts-crypto ts-storage ts-its"
-    # Include TS demo/test tools into image
-    IMAGE_INSTALL:append = " packagegroup-ts-tests"
-    # Include TS PSA Arch tests into image
-    IMAGE_INSTALL:append = " packagegroup-ts-tests-psa"
ci/n1sdp.yml deleted +0 -12
deleted file mode 100644
index 2a85d00b6f2b..000000000000
@@ -1,12 +0,0 @@
-# yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas.json
-
-header:
-  version: 14
-  includes:
-    - ci/base.yml
-
-machine: n1sdp
-
-local_conf_header:
-  unsupported_trusted_services: |
-    MACHINE_FEATURES:remove = "ts-smm-gateway"
documentation/trusted-services.md +2 -4
index c37b10bf3c3b..636ccbf3720c 100644
@@ -37,13 +37,11 @@ Other steps depend on your machine/platform definition:
 
 2. optee-os might require platform specific OP-TEE build parameters (for example what SEL the SPM Core is implemented at).
    You can find examples in `meta-arm/recipes-security/optee/optee-os_%.bbappend` for qemuarm64-secureboot machine
-   and in `meta-arm-bsp/recipes-security/optee/optee-os-n1sdp.inc` and `meta-arm-bsp/recipes-security/optee/optee-os-corstone1000-common.inc`
-   for N1SDP and Corstone1000 platforms accordingly.
+   and in `meta-arm-bsp/recipes-security/optee/optee-os-corstone1000-common.inc` for the Corstone1000 platform.
 
 3. trusted-firmware-a might require platform specific TF-A build parameters (SPD and SPMC details on the platform).
    See `meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend` for qemuarm64-secureboot machine
-   and in `meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-n1sdp.inc` and
-   `meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-corstone1000.inc` for N1SDP and Corstone1000 platforms.
+   and in `meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-corstone1000.inc` for theCorstone1000 platform.
 
 4. Trusted Services supports an SPMC agonistic binary format. To build SPs to this format the `TS_ENV` variable is to be
    set to `sp`. The resulting SP binaries should be able to boot under any FF-A v1.1 compliant SPMC implementation.
meta-arm-bsp/conf/machine/n1sdp.conf deleted +0 -51

51 lines not on this page · raw message

meta-arm-bsp/documentation/n1sdp.md deleted +0 -78

78 lines not on this page · raw message

meta-arm-bsp/documentation/template.md +1 -1
index 7beeb5950cad..6f479084b93a 100644
@@ -16,4 +16,4 @@
 
 *A summary of how to deploy or execute the image*
 
-*For example, an overview of the N1SDP SD structure, or FVP arguments*
+*For example, an overview of FVP arguments*
meta-arm-bsp/recipes-bsp/images/n1sdp-board-firmware_2022.06.22.bb deleted +0 -37
deleted file mode 100644
index 1b502e529734..000000000000
@@ -1,37 +0,0 @@
-SUMMARY = "Board Firmware binaries for N1SDP"
-SECTION = "firmware"
-
-LICENSE = "STM-SLA0044-Rev5"
-LIC_FILES_CHKSUM = "file://LICENSES/MB/STM.TXT;md5=1b74d8c842307d03c116f2d71cbf868a"
-
-inherit deploy
-
-INHIBIT_DEFAULT_DEPS = "1"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "n1sdp"
-
-SRC_URI = "git://git.gitlab.arm.com/arm-reference-solutions/board-firmware.git;protocol=https;branch=n1sdp"
-
-SRCREV = "70ba494265eee76747faff38264860c19e214540"
-PV .= "+git"
-
-S = "${WORKDIR}/git"
-
-INSTALL_DIR = "/n1sdp-board-firmware_source"
-
-do_install() {
-    rm -rf ${S}/SOFTWARE
-    install -d ${D}${INSTALL_DIR}
-    cp -Rp --no-preserve=ownership ${S}/* ${D}${INSTALL_DIR}
-}
-
-FILES:${PN}-staticdev += " ${INSTALL_DIR}/LIB/sensor.a"
-FILES:${PN} = "${INSTALL_DIR}"
-SYSROOT_DIRS += "${INSTALL_DIR}"
-
-do_deploy() {
-    install -d ${DEPLOYDIR}${INSTALL_DIR}
-    cp -Rp --no-preserve=ownership ${S}/* ${DEPLOYDIR}${INSTALL_DIR}
-}
-addtask deploy after do_install before do_build
meta-arm-bsp/recipes-bsp/images/sdcard-image-n1sdp_0.1.bb deleted +0 -85

85 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware-n1sdp.inc deleted +0 -35
deleted file mode 100644
index c89b132ce46d..000000000000
@@ -1,35 +0,0 @@
-# N1SDP specific SCP configurations and build instructions
-
-COMPATIBLE_MACHINE:n1sdp = "n1sdp"
-
-SCP_LOG_LEVEL = "INFO"
-
-DEPENDS += "fiptool-native"
-DEPENDS += "trusted-firmware-a"
-DEPENDS += "n1sdp-board-firmware"
-
-# The n1sdp sensor library is needed for building SCP N1SDP Platform
-# https://github.com/ARM-software/SCP-firmware/tree/master/product/n1sdp
-EXTRA_OECMAKE:append = " \
-    -DSCP_N1SDP_SENSOR_LIB_PATH=${RECIPE_SYSROOT}/n1sdp-board-firmware_source/LIB/sensor.a \
-"
-
-do_install:append() {
-   fiptool \
-       create \
-       --scp-fw "${D}/firmware/scp_ramfw.bin" \
-       --blob uuid=cfacc2c4-15e8-4668-82be-430a38fad705,file="${RECIPE_SYSROOT}/firmware/bl1.bin" \
-       "scp_fw.bin"
-
-   # This UUID is FIP_UUID_MCP_BL2 in SCP-Firmware.
-   fiptool \
-       create \
-       --blob uuid=54464222-a4cf-4bf8-b1b6-cee7dade539e,file="${D}/firmware/mcp_ramfw.bin" \
-       "mcp_fw.bin"
-
-   install "scp_fw.bin" "${D}/firmware/scp_fw.bin"
-   install "mcp_fw.bin" "${D}/firmware/mcp_fw.bin"
-
-   ln -sf "scp_romfw.bin" "${D}/firmware/scp_rom.bin"
-   ln -sf "mcp_romfw.bin" "${D}/firmware/mcp_rom.bin"
-}
meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware_%.bbappend +0 -1
index bb1a48c76a06..4421e79c8d51 100644
@@ -3,7 +3,6 @@
 MACHINE_SCP_REQUIRE ?= ""
 
 MACHINE_SCP_REQUIRE:juno = "scp-firmware-juno.inc"
-MACHINE_SCP_REQUIRE:n1sdp = "scp-firmware-n1sdp.inc"
 MACHINE_SCP_REQUIRE:sgi575 = "scp-firmware-sgi575.inc"
 MACHINE_SCP_REQUIRE:tc = "scp-firmware-tc.inc"
 
meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/n1sdp/0001-Reserve-OP-TEE-memory-from-nwd.patch deleted +0 -42

42 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/n1sdp/0001-n1sdp-tftf-tests-to-skip.patch deleted +0 -46

46 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/n1sdp/0002-Modify-BL32-Location-to-DDR4.patch deleted +0 -30
deleted file mode 100644
index 8b2be194d96a..000000000000
@@ -1,30 +0,0 @@
-From 15dab90c3cb8e7677c4f953c2269e8ee1afa01b0 Mon Oct 2 13:45:43 2023
-From: Mariam Elshakfy <[email protected]>
-Date: Mon, 2 Oct 2023 13:45:43 +0000
-Subject: [PATCH] Modify BL32 Location to DDR4
-
-Since OP-TEE start address is changed to run
-from DDR4, this patch changes BL32 entrypoint
-to the correct one.
-
-Upstream-Status: Pending (not yet submitted to upstream)
-Signed-off-by: Mariam Elshakfy <[email protected]>
----
- plat/arm/board/n1sdp/fdts/n1sdp_optee_spmc_manifest.dts | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/plat/arm/board/n1sdp/fdts/n1sdp_optee_spmc_manifest.dts b/plat/arm/board/n1sdp/fdts/n1sdp_optee_spmc_manifest.dts
-index ed870803c..797dfe3a4 100644
---- a/plat/arm/board/n1sdp/fdts/n1sdp_optee_spmc_manifest.dts
-+++ b/plat/arm/board/n1sdp/fdts/n1sdp_optee_spmc_manifest.dts
-@@ -22,8 +22,8 @@
- 		maj_ver = <0x1>;
- 		min_ver = <0x0>;
- 		exec_state = <0x0>;
--		load_address = <0x0 0x08000000>;
--		entrypoint = <0x0 0x08000000>;
-+		load_address = <0x0 0xDE000000>;
-+		entrypoint = <0x0 0xDE000000>;
- 		binary_size = <0x2000000>;
- 	};
- 
meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/n1sdp/0003-Modify-SPMC-Base-to-DDR4.patch deleted +0 -28
deleted file mode 100644
index 9e3271708a8a..000000000000
@@ -1,28 +0,0 @@
-From 9a1d11b9fbadf740c73aee6dca4fd0370b38e4a8 Tue Oct 3 13:49:13 2023
-From: Mariam Elshakfy <[email protected]>
-Date: Tue, 3 Oct 2023 13:49:13 +0000
-Subject: [PATCH] Modify SPMC Base to DDR4
-
-Since OP-TEE start address is changed to run
-from DDR4, this patch changes SPMC base to 
-the correct one.
-
-Upstream-Status: Pending (not yet submitted to upstream)
-Signed-off-by: Mariam Elshakfy <[email protected]>
----
- plat/arm/board/n1sdp/include/platform_def.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/plat/arm/board/n1sdp/include/platform_def.h b/plat/arm/board/n1sdp/include/platform_def.h
-index b3799a7b2..b12c61b61 100644
---- a/plat/arm/board/n1sdp/include/platform_def.h
-+++ b/plat/arm/board/n1sdp/include/platform_def.h
-@@ -118,7 +118,7 @@
- 
- #define PLAT_ARM_MAX_BL31_SIZE		UL(0x40000)
- 
--#define PLAT_ARM_SPMC_BASE		U(0x08000000)
-+#define PLAT_ARM_SPMC_BASE		U(0xDE000000)
- #define PLAT_ARM_SPMC_SIZE		UL(0x02000000)  /* 32 MB */
- 
- 
meta-arm-bsp/recipes-bsp/trusted-firmware-a/tf-a-tests_%.bbappend +0 -10
index ec1158c918f1..8cb5a4c5ab5f 100644
@@ -1,16 +1,6 @@
 # Machine specific TFAs
 
-FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
-
 COMPATIBLE_MACHINE:corstone1000 = "corstone1000"
 EXTRA_OEMAKE:append:corstone1000 = " DEBUG=0"
 EXTRA_OEMAKE:append:corstone1000 = " LOG_LEVEL=30"
 TFTF_MODE:corstone1000 = "release"
-
-COMPATIBLE_MACHINE:n1sdp = "n1sdp"
-EXTRA_OEMAKE:append:n1sdp = " DEBUG=1"
-EXTRA_OEMAKE:append:n1sdp = " LOG_LEVEL=50"
-TFTF_MODE:n1sdp = "debug"
-SRC_URI:append:n1sdp = " \
-			file://0001-n1sdp-tftf-tests-to-skip.patch \
-			"
meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-n1sdp.inc deleted +0 -41

41 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +0 -1
index 214996a97045..444d66cdc91c 100644
@@ -6,7 +6,6 @@ MACHINE_TFA_REQUIRE ?= ""
 MACHINE_TFA_REQUIRE:corstone1000 = "trusted-firmware-a-corstone1000.inc"
 MACHINE_TFA_REQUIRE:fvp-base = "trusted-firmware-a-fvp-base.inc"
 MACHINE_TFA_REQUIRE:juno = "trusted-firmware-a-juno.inc"
-MACHINE_TFA_REQUIRE:n1sdp = "trusted-firmware-a-n1sdp.inc"
 MACHINE_TFA_REQUIRE:sbsa-ref = "trusted-firmware-a-sbsa-ref.inc"
 MACHINE_TFA_REQUIRE:sgi575 = "trusted-firmware-a-sgi575.inc"
 MACHINE_TFA_REQUIRE:tc = "trusted-firmware-a-tc.inc"
meta-arm-bsp/recipes-bsp/uefi/edk2-firmware-n1sdp.inc deleted +0 -30
deleted file mode 100644
index f03e4e5fa5da..000000000000
@@ -1,30 +0,0 @@
-# N1SDP specific EDK2 configurations
-EDK2_BUILD_RELEASE = "0"
-EDK2_PLATFORM      = "n1sdp"
-EDK2_PLATFORM_DSC  = "Platform/ARM/N1Sdp/N1SdpPlatform.dsc"
-EDK2_BIN_NAME      = "BL33_AP_UEFI.fd"
-
-COMPATIBLE_MACHINE = "n1sdp"
-
-# UEFI EDK2 on N1SDP is unable to detect FS2 during boot resulting in launching of
-# EDK2 shell instead of launching grub. The startup.nsh will force launching of grub
-EFIDIR             = "/EFI/BOOT"
-EFI_BOOT_IMAGE     = "bootaa64.efi"
-
-FILESEXTRAPATHS:prepend := "${THISDIR}/files/n1sdp:"
-SRC_URI:append = "\
-    file://0001-Platform-ARM-N1sdp-Add-support-to-parse-NT_FW_CONFIG.patch;patchdir=edk2-platforms \
-    file://0002-Platform-ARM-N1Sdp-Modify-the-IRQ-ID-of-Debug-UART-a.patch;patchdir=edk2-platforms \
-    file://0003-Silicon-ARM-NeoverseN1Soc-Enable-SCP-QSPI-flash-regi.patch;patchdir=edk2-platforms \
-    file://0004-Platform-ARM-N1Sdp-NOR-flash-library-for-N1Sdp.patch;patchdir=edk2-platforms \
-    file://0005-Platform-ARM-N1Sdp-NOR-flash-Dxe-Driver-for-N1Sdp.patch;patchdir=edk2-platforms \
-    file://0006-Platform-ARM-N1Sdp-Persistent-storage-for-N1Sdp.patch;patchdir=edk2-platforms \
-    file://0007-Platform-ARM-N1Sdp-Enable-FaultTolerantWrite-Dxe-dri.patch;patchdir=edk2-platforms \
-    file://0008-Platform-ARM-N1Sdp-manually-poll-QSPI-status-bit-aft.patch;patchdir=edk2-platforms \
-    file://0009-Platform-ARM-N1Sdp-Reserve-OP-TEE-Region-from-UEFI.patch;patchdir=edk2-platforms \
-"
-
-do_deploy:append() {
-    EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g')
-    printf 'FS2:%s\%s\n' "$EFIPATH" "${EFI_BOOT_IMAGE}" > ${DEPLOYDIR}/startup.nsh
-}
meta-arm-bsp/recipes-bsp/uefi/edk2-firmware_%.bbappend +0 -1
index cba484607258..76ffa55521b3 100644
@@ -6,6 +6,5 @@ MACHINE_EDK2_REQUIRE:fvp-base = "edk2-firmware-fvp-base.inc"
 MACHINE_EDK2_REQUIRE:juno = "edk2-firmware-juno.inc"
 MACHINE_EDK2_REQUIRE:sbsa-ref = "edk2-firmware-sbsa-ref.inc"
 MACHINE_EDK2_REQUIRE:sgi575 = "edk2-firmware-sgi575.inc"
-MACHINE_EDK2_REQUIRE:n1sdp = "edk2-firmware-n1sdp.inc"
 
 require ${MACHINE_EDK2_REQUIRE}
meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0001-Platform-ARM-N1sdp-Add-support-to-parse-NT_FW_CONFIG.patch deleted +0 -471

471 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0002-Platform-ARM-N1Sdp-Modify-the-IRQ-ID-of-Debug-UART-a.patch deleted +0 -63

63 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0003-Silicon-ARM-NeoverseN1Soc-Enable-SCP-QSPI-flash-regi.patch deleted +0 -57

57 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0004-Platform-ARM-N1Sdp-NOR-flash-library-for-N1Sdp.patch deleted +0 -119

119 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0005-Platform-ARM-N1Sdp-NOR-flash-Dxe-Driver-for-N1Sdp.patch deleted +0 -2538

1,669 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0006-Platform-ARM-N1Sdp-Persistent-storage-for-N1Sdp.patch deleted +0 -88

88 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0007-Platform-ARM-N1Sdp-Enable-FaultTolerantWrite-Dxe-dri.patch deleted +0 -50

50 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0008-Platform-ARM-N1Sdp-manually-poll-QSPI-status-bit-aft.patch deleted +0 -197

197 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/uefi/files/n1sdp/0009-Platform-ARM-N1Sdp-Reserve-OP-TEE-Region-from-UEFI.patch deleted +0 -72

72 lines not on this page · raw message

meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/n1sdp-preempt-rt.scc deleted +0 -6
deleted file mode 100644
index dc844458bbc6..000000000000

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/n1sdp-standard.scc deleted +0 -5
deleted file mode 100644
index 8536c818c90c..000000000000

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/n1sdp/disable-kvm.cfg deleted +0 -1
deleted file mode 100644
index 617d3e51b1ae..000000000000

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc +0 -25
index 011586ef8196..ae22531f1634 100644

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/0001-iommu-arm-smmu-v3-workaround-for-ATC_INV_SIZE_ALL-in.patch deleted +0 -47

47 lines not on this page · raw message

meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/0002-n1sdp-pci_quirk-add-acs-override-for-PCI-devices.patch deleted +0 -159

159 lines not on this page · raw message

meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/0003-pcie-Add-quirk-for-the-Arm-Neoverse-N1SDP-platform.patch deleted +0 -324

324 lines not on this page · raw message

meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/0004-n1sdp-pcie-add-quirk-support-enabling-remote-chip-PC.patch deleted +0 -136

136 lines not on this page · raw message

meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/0005-arm64-kpti-Whitelist-early-Arm-Neoverse-N1-revisions.patch deleted +0 -33
deleted file mode 100644
index cc9d87170fa7..000000000000

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/0006-arm64-defconfig-disable-config-options-that-does-not.patch deleted +0 -57

57 lines not on this page · raw message

meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/enable-nvme.cfg deleted +0 -3
deleted file mode 100644
index 268103555ed7..000000000000

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/enable-realtek-R8169.cfg deleted +0 -3
deleted file mode 100644
index 7a5747407cb4..000000000000

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/enable-usb_conn_gpio.cfg deleted +0 -2
deleted file mode 100644
index 128c902710d8..000000000000

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-kernel/linux/linux-yocto-6.6/n1sdp/usb_xhci_pci_renesas.cfg deleted +0 -2
deleted file mode 100644
index c06507c0606b..000000000000

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-security/optee/files/optee-os/n1sdp/0001-plat-n1sdp-add-N1SDP-platform-support.patch deleted +0 -237

237 lines not on this page · raw message

meta-arm-bsp/recipes-security/optee/files/optee-os/n1sdp/0002-Handle-logging-syscall.patch deleted +0 -32
deleted file mode 100644
index 0955d99f373a..000000000000

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-security/optee/files/optee-os/n1sdp/0003-plat-n1sdp-register-DRAM1-to-optee-os.patch deleted +0 -52

52 lines not on this page · raw message

meta-arm-bsp/recipes-security/optee/files/optee-os/n1sdp/0004-plat-n1sdp-add-external-device-tree-base-and-size.patch deleted +0 -44

44 lines not on this page · raw message

meta-arm-bsp/recipes-security/optee/optee-os-generic-n1sdp.inc deleted +0 -2
deleted file mode 100644
index c090834c391e..000000000000

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-security/optee/optee-os-n1sdp.inc deleted +0 -29
deleted file mode 100644
index c261ce1651d3..000000000000

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-security/optee/optee-os-tadevkit_4.%.bbappend +0 -1
index c9b48be22da5..13c260da3d1c 100644

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-security/optee/optee-os_4.%.bbappend +0 -1
index 04f7dc913a3c..a69920354a0c 100644

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-security/optee/optee-test_4.%.bbappend +0 -1
index 249d67f08b9f..25654f17201b 100644

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-security/packagegroups/packagegroup-ts-tests.bbappend +0 -1
index 35137220adee..a956106cc283 100644

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-security/trusted-services/ts-arm-platforms.inc +0 -3
index 64d6571417d2..a0071aa8ff46 100644

Lines of this file are not shown. View the raw message.

meta-arm-bsp/recipes-security/trusted-services/ts-newlib_%.bbappend +0 -1
index 77fb7ae26634..708f59862f3d 100644

Lines of this file are not shown. View the raw message.

meta-arm-bsp/wic/n1sdp-efidisk.wks deleted +0 -9
deleted file mode 100644
index b131dd842fb0..000000000000

Lines of this file are not shown. View the raw message.

meta-arm-bsp/wic/n1sdp-grub.cfg deleted +0 -18
deleted file mode 100644
index 7323ec746833..000000000000

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.39.3 (Apple Git-146)

Part of the diff is not shown here. View the raw message.

author
#2 lore raw

PATCH 3/6 arm-bsp: remove unused recipes

In reply to Jon Mason

No references can be found for these recipes in meta-arm-bsp, so removing them.

---
 .../fiptool-native_2.8.6.bb                   | 33 -----------
 .../trusted-firmware-a/tf-a-tests_2.8.0.bb    | 57 -------------------
 .../recipes-bsp/uefi/edk2-firmware_202311.bb  |  7 ---
 .../optee/optee-examples_3.18.0.bb            |  3 -
 .../optee/optee-examples_3.20.0.bb            |  3 -
 .../optee/optee-examples_4.0.0.bb             |  3 -
 6 files changed, 106 deletions(-)
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-a/fiptool-native_2.8.6.bb
 delete mode 100644 meta-arm-bsp/recipes-bsp/trusted-firmware-a/tf-a-tests_2.8.0.bb
 delete mode 100644 meta-arm-bsp/recipes-bsp/uefi/edk2-firmware_202311.bb
 delete mode 100644 meta-arm-bsp/recipes-security/optee/optee-examples_3.18.0.bb
 delete mode 100644 meta-arm-bsp/recipes-security/optee/optee-examples_3.20.0.bb
 delete mode 100644 meta-arm-bsp/recipes-security/optee/optee-examples_4.0.0.bb
meta-arm-bsp/recipes-bsp/trusted-firmware-a/fiptool-native_2.8.6.bb deleted +0 -33
deleted file mode 100644
index 02f338739669..000000000000
@@ -1,33 +0,0 @@
-# Firmware Image Package (FIP)
-# It is a packaging format used by TF-A to package the
-# firmware images in a single binary.
-
-DESCRIPTION = "fiptool - Trusted Firmware tool for packaging"
-LICENSE = "BSD-3-Clause"
-
-SRC_URI_TRUSTED_FIRMWARE_A ?= "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https"
-SRC_URI = "${SRC_URI_TRUSTED_FIRMWARE_A};destsuffix=fiptool-${PV};branch=${SRCBRANCH}"
-LIC_FILES_CHKSUM = "file://docs/license.rst;md5=b2c740efedc159745b9b31f88ff03dde"
-
-# Use fiptool from TF-A v2.8.6
-SRCREV = "ff0bd5f9bb2ba2f31fb9cec96df917747af9e92d"
-SRCBRANCH = "lts-v2.8"
-
-DEPENDS += "openssl-native"
-
-inherit native
-
-EXTRA_OEMAKE = "V=1 HOSTCC='${BUILD_CC}' OPENSSL_DIR=${STAGING_DIR_NATIVE}/${prefix_native}"
-
-do_compile () {
-    # This is still needed to have the native fiptool executing properly by
-    # setting the RPATH
-    sed -i '/^LDLIBS/ s,$, \$\{BUILD_LDFLAGS},' ${S}/tools/fiptool/Makefile
-    sed -i '/^INCLUDE_PATHS/ s,$, \$\{BUILD_CFLAGS},' ${S}/tools/fiptool/Makefile
-
-    oe_runmake fiptool
-}
-
-do_install () {
-    install -D -p -m 0755 tools/fiptool/fiptool ${D}${bindir}/fiptool
-}
meta-arm-bsp/recipes-bsp/trusted-firmware-a/tf-a-tests_2.8.0.bb deleted +0 -57

57 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/uefi/edk2-firmware_202311.bb deleted +0 -7
deleted file mode 100644
index aa11cfd1c680..000000000000
@@ -1,7 +0,0 @@
-SRCREV_edk2           ?= "8736b8fdca85e02933cdb0a13309de14c9799ece"
-SRCREV_edk2-platforms ?= "d61836283a4c9198a02387fe7b31a8242e732f3f"
-
-# FIXME - clang is having issues with antlr
-TOOLCHAIN:aarch64 = "gcc"
-
-require recipes-bsp/uefi/edk2-firmware.inc
meta-arm-bsp/recipes-security/optee/optee-examples_3.18.0.bb deleted +0 -3
deleted file mode 100644
index 7796430c9ac2..000000000000
@@ -1,3 +0,0 @@
-require recipes-security/optee/optee-examples.inc
-
-SRCREV = "f301ee9df2129c0db683e726c91dc2cefe4cdb65"
meta-arm-bsp/recipes-security/optee/optee-examples_3.20.0.bb deleted +0 -3
deleted file mode 100644
index 4a63f951f181..000000000000
@@ -1,3 +0,0 @@
-require recipes-security/optee/optee-examples.inc
-
-SRCREV = "a98d01e1b9168eaed96bcd0bac0df67c44a81081"
meta-arm-bsp/recipes-security/optee/optee-examples_4.0.0.bb deleted +0 -3
deleted file mode 100644
index f082a25d05c7..000000000000
@@ -1,3 +0,0 @@
-require recipes-security/optee/optee-examples.inc
-
-SRCREV = "378dc0db2d5dd279f58a3b6cb3f78ffd6b165035"
Signature · 1 line
2.39.3 (Apple Git-146)
author
#3 lore raw

PATCH 4/6 CI: increase bitbake server timeout

In reply to Jon Mason

On some CI systems, the bitbake server is timing out at 1 mins. Increase to 5 mins, which hopefully should give enough time without letting it run forever.

---
 ci/base.yml | 1 +
 1 file changed, 1 insertion(+)
ci/base.yml +1 -0
index 863159e171db..180d7c4cb0c8 100644
@@ -33,6 +33,7 @@ env:
 local_conf_header:
   base: |
     CONF_VERSION = "2"
+    BB_SERVER_TIMEOUT = "300"
   setup: |
     PACKAGE_CLASSES = "package_ipk"
     PACKAGECONFIG:remove:pn-qemu-system-native = "gtk+ sdl"
Signature · 1 line
2.39.3 (Apple Git-146)
author
#4 lore raw

PATCH 5/6 arm/optee: update to 4.2.0

In reply to Jon Mason

Update to the latest version of OP-TEE and move the 4.1 recipes still being used to meta-arm-bsp

Changes in optee_client between f7e4ced15d1fefd073bbfc484fe0e1f74afe96c2 and 3eac340a781c00ccd61b151b0e9c22a8c6e9f9f0 3eac340a781c libteec: Move OP-TEE defined fields into an imp struct
7749688eb18d libteeacl: add pkgconfig file: teeacl.pc
07d2dfab2ecb libteec: pkgconfig: remove duplicate flags in teec.pc
6f992c52a8df libteec: pkgconfig: rename libteec.pc as teec.pc
cef6c7eca494 tee-supplicant: fix potential crash when TA isn't found
c5b3920f5808 libckteec: one shot encryption/decryption may have no input data
afbd31d9592e android: convert .mk files to .bp
bfe37714c20c libteec: drop benchmark framework support

Changes in optee_os between 18b424c23aa5a798dfe2e4d20b4bde3919dc4e99 and 12d7c4ee4642d2d761e39fbcf21a06fb77141dea 12d7c4ee4642 Update CHANGELOG for 4.2.0
fc57019cb35c plat-sam: add support for Microchip sama7g54-ek board
d10f2b2505b1 plat-sam: rename filename for sama5d2 functions to 'platform_sama5d2.c' a557f87762b1 plat-sam: optimize the macro and makefile for building sama5d2 clocks
3b616eeadd7a drivers: atmel_wdt: update "#include" list of the header files
d8af06119772 drivers: atmel_wdt: remove the unused variable from "struct atmel_wdt" ea9329ec8928 drivers: atmel_wdt: upgrade to support sama7g5 watchdog
a471cdecfb1c core: reset cancellation mask on TA exit
021a43d32b23 ci: add QEMUv7 job
46fdfeea761f vexpress-qemu_armv8a: increase CFG_CORE_HEAP_SIZE to 131072
bdde1c9927e8 drivers: stm32_i2c: protect bus access with a mutex
cbb0a9fc4309 drivers: firewall: stm32_rifsc: remove use of CFG_PM
cc707b8570d3 drivers: stm32_rng: remove use of CFG_PM
299f9bc19fce drivers: crypto: stm32_cryp: add pm to CRYP driver
14d68630950a drivers: crypto: stm32_cryp: add delay when resetting CRYP peripheral. 1d8b1184c370 drivers: crypto: stm32_cryp: remove reset binding requirements
a8cfcdf2387c ci.yml: add a make command to build HPRE code
9e25528294eb drivers: crypto: hisilicon: init HPRE hardware block
ee726ae9537e ci: remame WD to OPTEE_OS_TO_TEST
4f00b5beb8db ci: update QEMUv8 jobs to use newer Docker image
344ef8a4deda core: kernel: Fix typo in __do_panic()
c80790fe23c5 drivers: regulator: use mutex_pm_aware
9a3248fc031e drivers: clk: replace clock main spinlock with a mutex
3a20c6612811 core: kernel: mutex compliant with PM sequences
f6412fbd119a core: kernel: thread spin locking
19ad526cb139 core: spmc, sp: cleanup FF-A ID handling
4c4387dc246e core: riscv: Prepare SATP for each hart
fe9a26822286 core: riscv: Allocate root page table for each hart
6d7d9de348ec ci: qemuv8: add test case with CFG_WITH_PAGER=y
23f867d38149 core: arm64: increase STACK_ABT_SIZE from 1024 to 3072 when log level is 0 1cf7e98d072c core: replace REGISTER_TIME_SOURCE()
63bfec5e264b core: riscv: Apply SM-based boot flow for secondary harts
058cf7120c26 core: riscv: Do not restrict primary hart to hart ID 0 only
1706a2840a9a core: riscv: Change the condition of communication with untrusted domain 83abc78438b4 riscv: plat-virt: Set CFG_RISCV_WITH_M_MODE_SM as 'y'
a30b4486180b core: riscv: Add CFG_RISCV_WITH_M_MODE_SM and dependency checking
ea11f51262ac core: riscv: Apply mask/unmask exceptions when operating page table
d1d1ca2347e7 core: riscv: Apply STATUS helper for RPC resume
de45f2fb6384 core: riscv: Apply exception return to handle_user_mode_panic()
4fe3a3f7bf3c core: riscv: Refine thread trap handler
b5bb30b389ae core: riscv: Refine thread enter/exit user mode
09653bca94ae core: riscv: Apply exception return to resume thread
b2f99d2027f6 core: boot: fix memtag init sequence
5d2d37cd756d ta: pkcs11: Clarify context reference in step_symm_operation()
3844bc9816af core: introduce CFG_NOTIF_TEST_WD
82631bd42041 core: add CFG_CALLOUT
fc59f3d86e9f core: notif: assert callback is unpaged
c5b5aca0eaef core: callout: assert callback is unpaged
fd3f2d693456 core: add missing DECLARE_KEEP_PAGER()
7c9a7b0c779e plat-synquacer: use cpu_spin_lock_xsave() and friend
21773c96f4c2 core: arm: mm: use thread_unmask_exceptions() where applicable
54df46b5c06c core: arm: use cpu_spin_lock_xsave() in generic timer implementation
ad50321f47fd ta: remoteproc: allow remoteproc_load_fw re-entrance
47bcc886c285 core: notif_send_async(): remove debug print
1c3c4a5ffb52 core: tests: add a notification test watchdog
d378a547e848 plat-vexpress: qemu_armv8: define IT_SEC_PHY_TIMER
b008cf009961 plat-vexpress: initialize callout service
5b7afacfba96 core: arm64: implement timer_init_callout_service()
c41db53b5f25 core: define generic callout service initializer
cf707bd0d695 core: add callout service
2d8644ee993a core: arm64: add {read,write}_cntps_cval()
a355270852c7 drivers: clk: clk-stm32mp13: fix memory corruption on oscillator parent 622eef2d5511 plat-synquacer: add initialization value to local variables
b4d1c08a65d6 drivers: regulator: do not cache voltage level value
c4cdfb70e19b core: add __must_check attribute to cpu_spin_lock_xsave()
ccd64a523ab3 core: kernel: add timeout_elapsed_us()
fab37ad7dc71 core: kernel: factorize delay and timeout implementation
51b745fab86c core: riscv: force enable of CFG_CORE_HAS_GENERIC_TIMER
6b0ac81dbe5f core: kernel: describe udelay()/mdelay()
f5305d4dd98c plat-vexpress: disable PL011-specific code when CFG_SEMIHOSTING_CONSOLE=y a9a3bf985e5d core: arm64: implement __do_semihosting() for Aarch64
31bb491f8e7c core: imx: enable TZC380 driver for all i.mx8m socs
d1c9f59a15c8 riscv: sbi_console: prefer SBI v2.0 DBCN ecall over legacy sbi_console_putchar() 76a2df57b630 riscv: sbi_console: remove unused sbi_console_flush()
db96d03011d3 riscv: sbi_console: remove global spinlock
4d36f99e02cb riscv: sbi_console: remove unneeded #ifdef CFG_RISCV_SBI_CONSOLE
2b31189c4c08 riscv: sbi_console: split FID 0 from SBI_EXT_0_1_CONSOLE_PUTCHAR
286e0fd9f01a riscv: sbi: minor cleanup for SBI HSM related definitions
d6a0fc9bb910 dts: at91: add device trees for sama7g54_ek
74fbd2732948 drivers: clk: sam: skip the NULL clocks when getting the clock by name 943d822aac00 drivers: clk: sam: add sama7g5 clock description
8bd542fcb2ae dts: sama5d2: add huk node for the NVMEM hardware unique key
6c6c4d9eb45d dts: sama5d2: add NVMEM die_id node
f673afe436c9 plat-sam: enable NVMEM unique hardware key and die id support
fc7169686724 drivers: nvmem: add nvmem-huk driver
31a85db883c5 drivers: nvmem: add nvmem-die-id driver
458ef4426c2d drivers: Implement semihosting based console driver for log
55ab8f06a831 core: Refactor console_init() and introduce plat_console_init()
6d716a4b4588 core: riscv: Add semihosting.S for semihosting instructions
7e2a10389c25 core: kernel: Add semihosting functions
f459d3c7d2e1 libutils: Import part of sys/fcntl.h
c6a18428f9e3 plat-sam: implement plat_get_freq() for sama7g5
eb3951bffd95 plat-sam: register additional sama7g5 clocks for SCMI usage
609ba8e3128d plat-sam: register sama7g5 clocks for SCMI usage
f8c1dacbeef9 drivers: clk: make API function description more consistent
821cb656cbb2 drivers: clk: get stm32mp13 PLL output clock duty cycle
1bc6d1bc0945 drivers: clk: set stm32mp13 clock flags
8baaac1ce3ac drivers: clk: pre-enable new parent on clock re-parent
8fbc005673cd drivers: clk: get linear rates description
20f97d9841ac drivers: clk: enable clock on rate change
0ba7ae74a1ff drivers: clk: change parent clock rate if needed
05771552b189 drivers: clk: Get duty cycle from parent clock
59db7f68c4d8 drivers: clk: Add clock duty cycle
0d98c255fb4d plat-stm32mp2: add pm support on stm32mp25
9a4ec17240c1 core: pm: add macro for PM_HINT_STATE access
b8514c1376b1 plat-sam: fix static shared memory address and size
58dbe3dff530 plat-mediatek: add support for MT7988 SoC
4318c69fa77d drivers: clk: sam: add PLL clock driver for sama7g5
9aab6fb2f263 drivers: clk: sam: update to support generic clock for sama7g5
5110b3e7ade5 drivers: clk: sam: update to support main system bus clock for sama7g5 40944c5ccf0b .gitignore: Ignore all dot files and folders except the standard ones
5b4a782ebccf .gitignore: Change entries to only ignore in the source root folder
7f124eb8587b core: arm: kernel: add runtime check for CE
f73f678ca5c6 core: arm: add helper functions for checking CE support
a0635f174d2f core: arm: add check in aarch32 for feat_crc32_implemented()
8a4a051b3a76 core: arm64: remove ID_AA64ISAR0_EL1 macros
443b5e0186c0 core: arm: rewrite feat_crc32_implemented()
f9aaf11e8928 core: arm64: add masks for ID_AA64ISAR0_EL1 fields
85c99f3965f6 core: arm: add masks for ID_ISAR5_EL1 fields
4078bcde942c core: virt, ffa: keep guest partition until resources are reclaimed
3e0b361ef4fd core: ffa: store shm_bits in partition for SPMC at S-EL1
070d197fa568 core: ffa: add SPMC_CORE_SEL1_MAX_SHM_COUNT
05c6a7631891 core: thread_spmc.c: add set_simple_ret_val()
27acbe2b64fc ci: add RISC-V build (rv64, PLATFORM=virt)
2825530b3637 mk/lib.mk: add library to link line only when it does contain objects
339a78c2743f libunw: riscv: simplify architecture test
9fed4516d1f0 libunw: arm: unwind_arm32.c should be compiled only for Arm
209c34dc0356 ldelf: riscv: e64_relocate(): tag sym_idx as __maybe_unused
31bcbe52258e riscv: set default cross-compilers
6c2d2e8a2300 core: gic: wait for writes to propagate
9e935234082a core: gic: support to configure PPI interrupts
49d0c90dd69a core: call init_multi_core_panic_handler() earlier
d5dc9152c8ef core: riscv: Fix PTE creation when freeing PTE
e6a66e30cd41 core: riscv: Rename mattr_to_perms() to mattr_to_pte_bits()
da1a293e65b5 drivers: clk: clk-stm32mp13: round up VCO to the nearest frequency
95f2142bf848 drivers: clk: clk-stm32mp13: don't gate/ungate oscillators not wired
e84c299885a7 drivers: clk: clk-stm32mp13: add ADC and SPI clocks
571857c05c40 ta: pkcs11: factorize second operation handle
63778faac4b7 ta: pkcs11: implement AES GCM operations
5fee6cc9826f ta: pkcs11: pkcs11_ta.h: define PKCS11_CKM_AES_GCM
a2c1c8e408d3 core: mmu: add MEM_AREA_ROM_SEC in check_mem_map()
3b3dff5f5652 MAINTAINERS: update NXP i.MX platforms and Crypto Driver Interface
35a9139e779f drivers: caam: add CAAM key support for DH
8993bfd8dbab drivers: caam: add CAAM key support for ECC
014494479f9d drivers: caam: add CAAM key support for DSA
ccbcceeb73c1 drivers: caam: add CAAM key support for RSA
1495f6c4a82a drivers: caam: add CAAM key driver
9d38cd9151e9 drivers: caam: fix DSA_DUMPDESC macro
a5b52f5092a0 drivers: caam: add missing header
2d53e979f05a drivers: caam: add class field to FIFO_ST macro
f8388fdc2f3e core: move CFG_CORE_BIGNUM_MAX_BITS default definition
9e35f116f9bd dts: stm32: add RIFSC compatible to RIFSC node in stm32mp251.dtsi
d6a8ef58da15 dts: stm32: Add RIFSC configuration support for stm32mp257f-ev1
82e290753e45 plat-stm32mp2: conf: enable RIFSC driver
196cb5a09923 dt-bindings: add RIFSC to default bindings config for STM32MP25
066c3a39a4ac dt-bindings: add RIFSC bindings
cd187630b280 drivers: add stm32 RIFSC support
203147e2b737 plat-stm32mp2: conf: support RIF driver
0179d5f8d520 dt-bindings: add RIF to default bindings config for stm32mp25
e1767b3b5dc4 dt-bindings: firewall: add RIF bindings
1506f47af917 drivers: firewall: add stm32_rif driver for common RIF features
98d105a565ce core: io: fix IO_READ32_POLL_TIMEOUT() when delay is 0us
cf2c8f0959af libutils: Implement speculation barrier for RISC-V
407023cade6b plat-stm32mp1: default enable SAES software fallback
03de2c7bb316 drivers: crypto: stm32_saes: fallback to software on 192bit AES keys
99205375555b drivers: crypto: stm32: cleanup cipher operation structure
496497dc1a00 drivers: crypto: stm32: move context allocation/free functions
061e13f64e84 drivers: crypto: stm32: clean function references
57ad00904006 plat-hikey: Replace register_dynamic_shm() with register_ddr()
eee73fd09042 plat-hikey: make DRAM1_BASE configurable
4c2665755e26 drivers: clk: sam: update to support slow clock for sama7g5
afb609395def drivers: clk: sam: add PMC definitions for sama7g5
29f0ec7152e4 drivers: clk: sam: add UTMI clocks for sama7g5 USB PHY
417a10d1fa23 drivers: clk: sam: update UTMI clock for sama7g5
09c44b0d8b97 driver: crypto: hisilicon: fix error handling
4199b52fe3b8 core: notif_register_driver() assert ndrv is nexus memory
7037ff8aaede core: move _time_source into __nex_bss
dcad180014e0 core: add nex_*init-calls
3d52f27cdb77 core: move multi_core_panic_handler into __nex_data
ba4f5940f45a core: add is_nexus() and refactor is_unpaged()
897aaf117e39 ta: pkcs11: fix build warning on unused arguments
d99b271aed2f drivers: se050: fix default configuration for the SE applet
974529332ded core: kernel: fix typo in huk_subkey.h inline comment
a7400fcded79 core: arm: fix lock in virt_add_cookie_to_current_guest()
89853006a609 core: crypto: fix crypto_asym_get_ecc_keypair_ops() stub
fa1950059f41 ci: qemuv8: preventively avoid "no space left on device" errors
ad194957b670 core: pta: widevine: Add the init implementation
64086346d6bc core: dts: lx2160a: add memory region
439c5ecbb68b core: arm: fix integer overflow in generic_timer_{handler,start}()
c847c2c9c62f ci: update actions/checkout@v3 to v4
c83a542f3734 drivers: crypto: stm32: fix SAES key selection
b8f45155eac7 ci: xen: fix "no space left in device" error"
b066e82535aa plat-vexpress: use serial callbacks rx_intr_{en,dis}able()
6d9ff02ee1f3 core: pl011: implement rx_intr_{enable,disable}() callbacks
e934bfa424d2 core: serial: add rx_intr_{enable,disable}() callbacks
fcabe15c7783 core: crypto: fix internal AES-GCM counter implementation
b4d33ca3ff42 core: ltc: add missing string_ext.h include
64a52f9dc228 drivers: clk: fix indentation in stm32mp13 clock driver
f4dba32508be drivers: clk: fix some stm32mp13 clock controls
a32213b8169c drivers: clk: fix stm32mp13 RNG1 parent clock
d615a7e62095 drivers: regulator: list voltages controlled by a GPIO
bbc33e2ad79c core: ls: correct CFG_CORE_ARM64_PA_BITS for LX2160A-RDB/QDS
5a982d0e96be core: dt: provide stubbed dt_getprop_as_number()
55cd94d198a5 core: ffa: add notifications with SPMC at S-EL2 or EL3
4965507859bb core: hfic: fix HF_INTERRUPT HVC calls
e37b526d7289 core: move hafnium.h into hfic.c
6959d59f0966 core: ffa: exit with native interrupts unmasked
55a80fa9b542 core: arm64.h: add DAIFBIT_{NATIVE,FOREIGN}_INTR
012cdca49db3 plat-k3: drivers: sec_proxy: increment while reading trail bytes
cb30e9d11a16 plat-stm32mp2: default enable embedded test
14c31b4fae40 plat-stm32mp2: allow up to 8GB of external RAM
774dc8aa526b ci: do not add $HOME/.cargo/bin to $PATH
d557d174c2d6 drivers: atmel_rstc: add the function to control sama7g5's USB reset
024af21c74ff drivers: atmel_tcb: update to compatible with sama7g5
7a6bbd59ef0b drivers: atmel_pio: update to compatible with sama7g5
f527a3b76ed8 drivers: atmel_shdwc: update to compatible with sama7g5
e5dba60318b1 driver: crypto: hisilicon: update qm init configs
851d05e65f9c core: riscv: Add .sbss and .sdata sections to linker script
e07f9212d5ad plat-stm32mp1: shared_resource: disable MCKPROT if not needed
6f3fc05370ef drivers: caam: sm2 operation fallback
963a90d842b5 drivers: caam: add caam_hal_rng_pr_enabled() for 8QX, 8DX platforms
54d90e3f0b47 plat-stm32mp2: conf: default enable RNG and RNG PTA
b82b7e73f63e drivers: stm32_rng: print RNG version at driver probe time
aa12f203f239 drivers: stm32_rng: put max noise freq in compatible data
5959d83f6f58 drivers: stm32_rng: move RNG configuration to compat data
45da6509d925 drivers: stm32_rng: add stm32mp25 support
59fea6838b20 core: pta: drop benchmark
a6f60e0f08a7 arm: plat: rcar: gen4: adjust memory map
e7dd9fbb056e arm: virtualization: don't allow hypervisor to issue std calls
6370f75d6fcc drivers: sam: use header file "platform_config.h" instead of "sama5d2.h" fd286f75cf55 drivers: atmel_rtc: update to compatible with sama7g5
379dc2ae943d drivers: atmel_rstc: update to compatible with sama7g5
cc105e35cbdc drivers: atmel_trng: update to compatible with sama7g5
4b17205bb971 drivers: atmel_piobu: update compatible with sama7g5
c37489baeb29 core: msg_param: remove recursion in included headers
4584d00c9f44 ldelf: check val for NULL dereference
239fae350391 core: tee: initialize dirfile|tadb_entry objects
a2431e9f66cb ta: pkcs11: check returned value of mbedtls_pk_rsa()
fa21a1fb4c6c core: check if string to uuid conversion succeed
2cc2a44c9fce core: check if binary to bignum conversion succeed
8f3afe0e6e8f core: mmu: assert pointer to manifest device tree
a039ffc675d3 core: kernel: dt: check return values from snprintf()
b51aaa628c7c core: arm: fix dead code when ARM32 is not defined
e33c3ff5e9f0 core: kernel: check device tree property pointer
49286073c91e ldelf: remove unnecessary includes
4bc2a199d122 ta: remove unnecessary includes
5ca2c36555d1 core: remove unnecessary includes
34d6dc2ba938 plat-vexpress: remove unnecessary includes
c344db981197 riscv: mm: Set A/D bits of PTE(page table entry) by default
472c70be1569 core: riscv: Rename thread_return_to_ree() to thread_return_to_udomain() 655625e01f36 core: ffa: Read FF-A version from the SP manifest
602ff4f69104 pta: scmi: remove noisy info level message on message process
3f7122d9c558 drivers: scmi_msg: fix size_t trace format
37fbce01492d drivers: stm32_i2c: fix header file inclusion order
5395fe8961bc drivers: i2c: add missing __unused in stubbed function
8a6ca1480ddc core: arm: get DDR range from embedded DTB
c425380f2021 driver: i2c: stm32_i2c: fix call to stm32_i2c_init()
2b9d76616422 drivers: stm32_i2c: apply pinctrl config at init
87aead6ffab3 drivers: stm32_i2c: analog filter config cannot fail

Changes in optee_test between 2e1e7a9c9d659585566a75fc8802f4758c42bcb2 and 526d5bac1b65f907f67c05cd07beca72fbab88dd 526d5bac1b65 gp: update API files to use the imp field in TEEC_Session
a79e6ee457b6 regression_1025: use the imp field in TEEC_Context
dda3212f244f xtest: add SM4 perf test
3feb4fbbb19d ta: os_test: Unmask cancellation from invoke command handler
a641f180d847 xtest: pkcs11_1030: Test AES GCM processing
ea18800d10ce xtest: pkcs11_1006: Test AES GCM mode flag
96f6dd7db7b9 xtest: pkcs11_1005: Test AES GCM support flag
ac200fe2ae40 xtest: asym_perf: fix indentation issues
79ba734b5ff5 ta: crypto_perf: correct coding style issue in symm tests
babafcabdc2b ta: crypto_perf: fix coding style issues in asymm tests
bad11a957a6d ta: crypto_perf: fix build error on type mismatch
cb5136a47bb3 ta: crypto_perf: fix build warning on unused resources
967368b3c7bf regression_4000: check if the generated DH private key is a CAAM black key 4b4caf762cc2 ci: avoid "No space left on device" error
bcd55831e1f7 xtest: add asymmetric cipher perf test
14a2b2ac3db4 ta: crypto_perf: add asymmetric crypto perf tests
99d5c298ff03 xtest: pkcs11_1001: Test CK_UNAVAILABLE_INFORMATION output value
9d566212b3ce regression 4005: Add GCM counter overflow test vectors

---
 .../0003-optee-enable-clang-support.patch     | 30 +++++++++++++++++++
 .../recipes-security/optee/optee-os_4.1.0.bb  |  0
 ...-client_4.1.0.bb => optee-client_4.2.0.bb} |  2 +-
 ...mples_4.1.0.bb => optee-examples_4.2.0.bb} |  0
 ...it_4.1.0.bb => optee-os-tadevkit_4.2.0.bb} |  0
 .../recipes-security/optee/optee-os_4.2.0.bb  | 10 +++++++
 ...ptee-test_4.1.0.bb => optee-test_4.2.0.bb} |  2 +-
 7 files changed, 42 insertions(+), 2 deletions(-)
 create mode 100644 meta-arm-bsp/recipes-security/optee/optee-os/0003-optee-enable-clang-support.patch
 rename {meta-arm => meta-arm-bsp}/recipes-security/optee/optee-os_4.1.0.bb (100%)
 rename meta-arm/recipes-security/optee/{optee-client_4.1.0.bb => optee-client_4.2.0.bb} (71%)
 rename meta-arm/recipes-security/optee/{optee-examples_4.1.0.bb => optee-examples_4.2.0.bb} (100%)
 rename meta-arm/recipes-security/optee/{optee-os-tadevkit_4.1.0.bb => optee-os-tadevkit_4.2.0.bb} (100%)
 create mode 100644 meta-arm/recipes-security/optee/optee-os_4.2.0.bb
 rename meta-arm/recipes-security/optee/{optee-test_4.1.0.bb => optee-test_4.2.0.bb} (91%)
meta-arm-bsp/recipes-security/optee/optee-os/0003-optee-enable-clang-support.patch new file +30 -0
new file mode 100644
index 000000000000..3c13ce3f028c
@@ -0,0 +1,30 @@
+From 59d4c190eae11c93b26cca5a7b005a17dadc8248 Mon Sep 17 00:00:00 2001
+From: Brett Warren <[email protected]>
+Date: Wed, 23 Sep 2020 09:27:34 +0100
+Subject: [PATCH] optee: enable clang support
+
+When compiling with clang, the LIBGCC_LOCATE_CFLAG variable used
+to provide a sysroot wasn't included, which results in not locating
+compiler-rt. This is mitigated by including the variable as ammended.
+
+Upstream-Status: Pending
+ChangeId: 8ba69a4b2eb8ebaa047cb266c9aa6c2c3da45701
+Signed-off-by: Brett Warren <[email protected]>
+
+---
+ mk/clang.mk | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mk/clang.mk b/mk/clang.mk
+index a045beee8..1ebe2f702 100644
+--- a/mk/clang.mk
++++ b/mk/clang.mk
+@@ -30,7 +30,7 @@ comp-cflags-warns-clang := -Wno-language-extension-token \
+ 
+ # Note, use the compiler runtime library (libclang_rt.builtins.*.a) instead of
+ # libgcc for clang
+-libgcc$(sm)	:= $(shell $(CC$(sm)) $(CFLAGS$(arch-bits-$(sm))) \
++libgcc$(sm)	:= $(shell $(CC$(sm)) $(LIBGCC_LOCATE_CFLAGS) $(CFLAGS$(arch-bits-$(sm))) \
+ 			-rtlib=compiler-rt -print-libgcc-file-name 2> /dev/null)
+ 
+ # Core ASLR relies on the executable being ready to run from its preferred load
meta-arm-bsp/recipes-security/optee/optee-os_4.1.0.bb renamed from meta-arm/recipes-security/optee/optee-os_4.1.0.bb +0 -0
similarity index 100%
rename from meta-arm/recipes-security/optee/optee-os_4.1.0.bb
rename to meta-arm-bsp/recipes-security/optee/optee-os_4.1.0.bb
meta-arm/recipes-security/optee/optee-client_4.2.0.bb renamed from meta-arm/recipes-security/optee/optee-client_4.1.0.bb +1 -1
similarity index 71%
rename from meta-arm/recipes-security/optee/optee-client_4.1.0.bb
rename to meta-arm/recipes-security/optee/optee-client_4.2.0.bb
index 2f9567658262..56494e4cfe66 100644
@@ -1,6 +1,6 @@
 require recipes-security/optee/optee-client.inc
 
-SRCREV = "f7e4ced15d1fefd073bbfc484fe0e1f74afe96c2"
+SRCREV = "3eac340a781c00ccd61b151b0e9c22a8c6e9f9f0"
 
 inherit pkgconfig
 DEPENDS += "util-linux"
meta-arm/recipes-security/optee/optee-examples_4.2.0.bb renamed from meta-arm/recipes-security/optee/optee-examples_4.1.0.bb +0 -0
similarity index 100%
rename from meta-arm/recipes-security/optee/optee-examples_4.1.0.bb
rename to meta-arm/recipes-security/optee/optee-examples_4.2.0.bb
meta-arm/recipes-security/optee/optee-os-tadevkit_4.2.0.bb renamed from meta-arm/recipes-security/optee/optee-os-tadevkit_4.1.0.bb +0 -0
similarity index 100%
rename from meta-arm/recipes-security/optee/optee-os-tadevkit_4.1.0.bb
rename to meta-arm/recipes-security/optee/optee-os-tadevkit_4.2.0.bb
meta-arm/recipes-security/optee/optee-os_4.2.0.bb new file +10 -0
new file mode 100644
index 000000000000..8ae219f415a2
@@ -0,0 +1,10 @@
+require recipes-security/optee/optee-os.inc
+
+DEPENDS += "dtc-native"
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+SRCREV = "12d7c4ee4642d2d761e39fbcf21a06fb77141dea"
+SRC_URI += " \
+    file://0003-optee-enable-clang-support.patch \
+   "
meta-arm/recipes-security/optee/optee-test_4.2.0.bb renamed from meta-arm/recipes-security/optee/optee-test_4.1.0.bb +1 -1
similarity index 91%
rename from meta-arm/recipes-security/optee/optee-test_4.1.0.bb
rename to meta-arm/recipes-security/optee/optee-test_4.2.0.bb
index 1b124550b9d2..6317a72f0b1b 100644
@@ -1,6 +1,6 @@
 require recipes-security/optee/optee-test.inc
 
-SRCREV = "2e1e7a9c9d659585566a75fc8802f4758c42bcb2"
+SRCREV = "526d5bac1b65f907f67c05cd07beca72fbab88dd"
 SRC_URI += "file://0001-xtest-stats-remove-unneeded-stat.h-include.patch"
 
 # Include ffa_spmc test group if the SPMC test is enabled.
Signature · 1 line
2.39.3 (Apple Git-146)
author
#5 lore raw

PATCH 6/6 arm/oeqa: increase optee test timeout

In reply to Jon Mason

OPTEE tests are failing in CI on slower systems due to timing out, but actually finish when given enough time to complete. Increase the timeout value to be roughly 100 seconds longer than the time it is currently taking to finish on the slower systems.

---
 meta-arm/lib/oeqa/runtime/cases/optee.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arm/lib/oeqa/runtime/cases/optee.py +2 -2
index 0a0bc31ed3d8..73bb3894e106 100644
@@ -12,7 +12,7 @@ class OpteeTestSuite(OERuntimeTestCase):
     """
     Run OP-TEE tests (xtest).
     """
-    @OETimeout(800)
+    @OETimeout(1100)
     @OEHasPackage(['optee-test'])
     def test_opteetest_xtest(self):
         # clear storage before executing tests
@@ -20,5 +20,5 @@ class OpteeTestSuite(OERuntimeTestCase):
         status, output = self.target.run(cmd, timeout=60)
         self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
         cmd = "xtest"
-        status, output = self.target.run(cmd, timeout=600)
+        status, output = self.target.run(cmd, timeout=1000)
         self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
Signature · 1 line
2.39.3 (Apple Git-146)
#6 lore raw

Re: [PATCH 6/6] arm/oeqa: increase optee test timeout

Quoted 6 lines · Jon Mason

OPTEE tests are failing in CI on slower systems due to timing out, but actually finish when given enough time to complete. Increase the timeout value to be roughly 100 seconds longer than the time it is currently taking to finish on the slower systems.

This should have:

Fixes d4507866677c ("oeqa runtime: add optee.py test")

Since it is trivial, I'm just going to add to the commit manually (instead of pushing a v2 for just this).

Thanks,
Jon

Quoted 28 lines
---
 meta-arm/lib/oeqa/runtime/cases/optee.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arm/lib/oeqa/runtime/cases/optee.py +2 -2
index 0a0bc31ed3d8..73bb3894e106 100644
@@ -12,7 +12,7 @@ class OpteeTestSuite(OERuntimeTestCase):
     """
     Run OP-TEE tests (xtest).
     """
-    @OETimeout(800)
+    @OETimeout(1100)
     @OEHasPackage(['optee-test'])
     def test_opteetest_xtest(self):
         # clear storage before executing tests
@@ -20,5 +20,5 @@ class OpteeTestSuite(OERuntimeTestCase):
         status, output = self.target.run(cmd, timeout=60)
         self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
         cmd = "xtest"
-        status, output = self.target.run(cmd, timeout=600)
+        status, output = self.target.run(cmd, timeout=1000)
         self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
Signature · 1 line
2.39.3 (Apple Git-146)
Acked-by
#7 lore raw

Re: [meta-arm] [PATCH 6/6] arm/oeqa: increase optee test timeout

Hi,

Quoted 10 lines · Jon Mason via lists.yoctoproject.org
Quoted 6 lines · Jon Mason

OPTEE tests are failing in CI on slower systems due to timing out, but actually finish when given enough time to complete. Increase the timeout value to be roughly 100 seconds longer than the time it is currently taking to finish on the slower systems.

This should have:

Fixes d4507866677c ("oeqa runtime: add optee.py test")

Yes, the optee xtest execution time depends heavily on the target machine, real or emulated with qemu. Also, the number of tests and thus execution time are increasing in every optee release.

Cheers,

-Mikko

A message that is not in the archive (sent off-list or not yet received): [email protected]

#9 lore raw

Re: [meta-arm] [PATCH 6/6] arm/oeqa: increase optee test timeout

Hi,

Quoted 11 lines · Mikko Rapeli via lists.yoctoproject.org

Hi,

Quoted 8 lines · Jon Mason via lists.yoctoproject.org
Quoted 6 lines · Jon Mason

OPTEE tests are failing in CI on slower systems due to timing out, but actually finish when given enough time to complete. Increase the timeout value to be roughly 100 seconds longer than the time it is currently taking to finish on the slower systems.

Quoted 8 lines
Quoted 2 lines

This should have:

Fixes d4507866677c ("oeqa runtime: add optee.py test")

Yes, the optee xtest execution time depends heavily on the target machine, real or emulated with qemu. Also, the number of tests and thus execution time are increasing in every optee release.

Maybe worth mentioning that with our Trusted Substrate firmware

https://gitlab.com/Linaro/trustedsubstrate/meta-ts/

which has TPM support and UEFI secure boot configured with tf-a, u-boot etc for multiple boards, compared to qemuarm64-secureboot and qemuarm-secureboot in meta-arm, we had some hangs with this test under oeqa and qemu. Same hangs did not happen on real HW. Something to do with serial port handling in qemu and how oeqa python framework uses them. Thus we set the timeouts to be quite close to the real execution time to avoid long delays in detecting the error situation. Good thing is that optee xtest does allow to skip/filter out tests which are known to cause problems.

https://gitlab.com/Linaro/trusted-reference-stack/trs/-/blob/main/meta-trs/lib/oeqa/runtime/cases/opteetest.py?ref_type=heads

Cheers,

-Mikko

#10 lore raw

Re: [meta-arm] [PATCH 6/6] arm/oeqa: increase optee test timeout

Quoted 36 lines · Mikko Rapeli

Hi,

Quoted 11 lines · Mikko Rapeli via lists.yoctoproject.org

Hi,

Quoted 8 lines · Jon Mason via lists.yoctoproject.org
Quoted 6 lines · Jon Mason

OPTEE tests are failing in CI on slower systems due to timing out, but actually finish when given enough time to complete. Increase the timeout value to be roughly 100 seconds longer than the time it is currently taking to finish on the slower systems.

Quoted 8 lines
Quoted 2 lines

This should have:

Fixes d4507866677c ("oeqa runtime: add optee.py test")

Yes, the optee xtest execution time depends heavily on the target machine, real or emulated with qemu. Also, the number of tests and thus execution time are increasing in every optee release.

Maybe worth mentioning that with our Trusted Substrate firmware

https://gitlab.com/Linaro/trustedsubstrate/meta-ts/

which has TPM support and UEFI secure boot configured with tf-a, u-boot etc for multiple boards, compared to qemuarm64-secureboot and qemuarm-secureboot in meta-arm, we had some hangs with this test under oeqa and qemu. Same hangs did not happen on real HW. Something to do with serial port handling in qemu and how oeqa python framework uses them. Thus we set the timeouts to be quite close to the real execution time to avoid long delays in detecting the error situation. Good thing is that optee xtest does allow to skip/filter out tests which are known to cause problems.

Quoted 6 lines

https://gitlab.com/Linaro/trusted-reference-stack/trs/-/blob/main/meta-trs/lib/oeqa/runtime/cases/opteetest.py?ref_type=heads

Cheers,

-Mikko

It's still occasionally timing out in my personal CI, with ancient systems. I'm thinking about holding off on this patch and seeing if I can't find a better length of time (or get rid of my ancient systems).

Thanks for the confirmation that it's being seen on your end too.

Thanks,
Jon

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

Update to the latest gn commit and remove unnecessary patches and build parameters

Changes in gn between 4bd1a77e67958fb7f6739bd4542641646f264e5d and f284b6b47039a2d7edfcbfc51f52664f82b5a789 f284b6b47039 [src] Add "#include <limits>" in the //src/base/files/file_enumerator_win.cc 155c53952ec2 Get updates to infra/recipes.py from upstream
d823fd85da3f Revert "Teach gn to handle systems with > 64 processors"
f07499aebcf5 [apple] Rename the code-signing properties of create_bundle
415b3b19e094 Fix a typo in "gn help refs" output
93ee9b91423c Revert "[bundle] Use "phony" builtin tool for create_bundle targets"
cfddfffb7913 [bundle] Use "phony" builtin tool for create_bundle targets
06cdcc8e1fa8 [ios] Simplify handling of assets catalog
22581fb46c0c [swift] List all outputs as deps of "source_set" stamp file
59c4bb920542 [swift] Update gn check ... to consider the generated header
dd0927eb34bb [swift] Set restat = 1 to swift build rules
88e8054aff7b Fix build with gcc12
e05c0aa00938 [label_matches] Add new functions label_matches(), filter_labels_include() and filter_labels_exclude() f19d5817e7ba [swift] Remove problematic use of "stamp" tool
6253a39dbc43 Implement new --ninja-outputs-file option.
5787e994aa4c Add NinjaOutputsWriter class
03d10f1657b4 Move InvokePython() function to its own source file.
0cdb7dd27f5c zos: build with -DZOSLIB_OVERRIDE_CLIB to override creat
d4f94f9a6c25 Enable C++ runtime assertions in debug mode.
0a2b8eac80f1 Fix regression in MakeRelativePath()
8b973aa51d02 fix: Fix Windows MakeRelativePath.
a3dcd7a7ad86 Add long path support for windows
a2e2717ea670 Ensure read_file() files are considered by "gn analyze"
fc722252439e apply 2to3 to for some Python scripts
5110a7f03e86 Add rustflags to desc and help output
f99e015ac35f strings: support case insensitive check only in StartsWith/EndsWith
b5adfe5f574d add .git-blame-ignore-revs
d6085ac6a95b use std::{string,string_view}::{starts_with,ends_with}
8bd36a27c076 apply clang-format to all C++ sources
5d76868385b8 add forward declaration in rust_values.h
b8562a4abd95 Add root_patterns list to build configuration.
5fd939de8a66 Use c++20 in GN build
d4be45bb28fb update windows sdk to 2024-01-11
71305b07d708 update windows sdk
85944ebc24a9 Add linux-riscv64.
7367b0df0a0a Update OWNERS list.
92e63272dc04 remove unused function
c7b223bfb225 Ignore build warning -Werror=redundant-move
bc5744174d9e Fix --as=buildfile gn desc deps output.
9a45b6123831 Update recipe engine to 9dea1246.
85bd0a62938b treewide: Fix spelling mistakes
e4702d740906 Optimize base::EscapeJSONString for ASCII inputs.
5d8727f3fbf4 [docs]: Mention implicit names in style guide
182a6eb05d15 Use magenta for warnings
991530ce394e Avoid unnecessary "Regenerating ninja files" step after running "gn gen" c1fc04434c8e Fix variable use tracking for scope subscript accesses.
cc56a0f98bb3 [infra] Link to jemalloc instead of rpmalloc
811d332bd905 Move WriteSourceSetStamp to NinjaCBinaryTargetWriter
3fccef9033b9 [action][data deps] Make data-deps order-only deps of the action outputs 62ac86a938c3 [action] Add test for data_deps of an action target
1029a3b50873 Ninja: Always pass linker flags to rlib-generating command.
fae280eabe5d [serenity] Add SerenityOS port
11e12b0ef870 Remove obsolete comment
1de45d1a11cc Generate a StaticLibrary for rlibs and DynamicLibrary for proc macros
2a92efd396d3 Include library search paths when compiling rlibs
da5fe01bce4a Avoid unused and incorrect linker args in {{rustdeps}}

Quoted 1 line

[...]

Applied, thanks!

[1/6] arm/gn: update to latest commit

      commit: e623cc3b0d337858b582e07aa176956320917325
[2/6] arm-bsp: remove support for n1sdp
      commit: 6db139e1fd7b724c7a5caacb07a4151411be877f
[3/6] arm-bsp: remove unused recipes
      commit: c366c322a715f790e2ea6ce5470d9a7caff2b6c7
[4/6] CI: increase bitbake server timeout
      commit: ac517cbaa3abfe345c1075e4b1e3d0552ce79d72
[5/6] arm/optee: update to 4.2.0
      commit: 6d6fa14744b4e453eedb2c37891259b55557dcbf
[6/6] arm/oeqa: increase optee test timeout
      commit: 6b996c4629f1880d2124ddeefb84e91856e5270d

Best regards,

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