arm/gn: update to latest commit
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 upstreamd823fd85da3f Revert "Teach gn to handle systems with > 64 processors"f07499aebcf5 [apple] Rename the code-signing properties of create_bundle415b3b19e094 Fix a typo in "gn help refs" output93ee9b91423c Revert "[bundle] Use "phony" builtin tool for create_bundle targets"cfddfffb7913 [bundle] Use "phony" builtin tool for create_bundle targets06cdcc8e1fa8 [ios] Simplify handling of assets catalog22581fb46c0c [swift] List all outputs as deps of "source_set" stamp file59c4bb920542 [swift] Update gn check ... to consider the generated headerdd0927eb34bb [swift] Set restat = 1 to swift build rules88e8054aff7b Fix build with gcc12e05c0aa00938 [label_matches] Add new functions label_matches(), filter_labels_include() and filter_labels_exclude() f19d5817e7ba [swift] Remove problematic use of "stamp" tool6253a39dbc43 Implement new --ninja-outputs-file option.5787e994aa4c Add NinjaOutputsWriter class03d10f1657b4 Move InvokePython() function to its own source file.0cdb7dd27f5c zos: build with -DZOSLIB_OVERRIDE_CLIB to override creatd4f94f9a6c25 Enable C++ runtime assertions in debug mode.0a2b8eac80f1 Fix regression in MakeRelativePath()8b973aa51d02 fix: Fix Windows MakeRelativePath.a3dcd7a7ad86 Add long path support for windowsa2e2717ea670 Ensure read_file() files are considered by "gn analyze"fc722252439e apply 2to3 to for some Python scripts5110a7f03e86 Add rustflags to desc and help outputf99e015ac35f strings: support case insensitive check only in StartsWith/EndsWithb5adfe5f574d add .git-blame-ignore-revsd6085ac6a95b use std::{string,string_view}::{starts_with,ends_with}8bd36a27c076 apply clang-format to all C++ sources5d76868385b8 add forward declaration in rust_values.hb8562a4abd95 Add root_patterns list to build configuration.5fd939de8a66 Use c++20 in GN buildd4be45bb28fb update windows sdk to 2024-01-1171305b07d708 update windows sdk85944ebc24a9 Add linux-riscv64.7367b0df0a0a Update OWNERS list.92e63272dc04 remove unused functionc7b223bfb225 Ignore build warning -Werror=redundant-movebc5744174d9e Fix --as=buildfile gn desc deps output.9a45b6123831 Update recipe engine to 9dea1246.85bd0a62938b treewide: Fix spelling mistakese4702d740906 Optimize base::EscapeJSONString for ASCII inputs.5d8727f3fbf4 [docs]: Mention implicit names in style guide182a6eb05d15 Use magenta for warnings991530ce394e 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 rpmalloc811d332bd905 Move WriteSourceSetStamp to NinjaCBinaryTargetWriter3fccef9033b9 [action][data deps] Make data-deps order-only deps of the action outputs 62ac86a938c3 [action] Add test for data_deps of an action target1029a3b50873 Ninja: Always pass linker flags to rlib-generating command.fae280eabe5d [serenity] Add SerenityOS port11e12b0ef870 Remove obsolete comment1de45d1a11cc Generate a StaticLibrary for rlibs and DynamicLibrary for proc macros2a92efd396d3 Include library search paths when compiling rlibsda5fe01bce4a 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
@@ -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
@@ -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)
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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
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
Lines of this file are not shown. View the raw message.
meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc +0 -25
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
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
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
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
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
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
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
Lines of this file are not shown. View the raw message.
meta-arm-bsp/recipes-security/optee/optee-os-n1sdp.inc deleted +0 -29
Lines of this file are not shown. View the raw message.
meta-arm-bsp/recipes-security/optee/optee-os-tadevkit_4.%.bbappend +0 -1
Lines of this file are not shown. View the raw message.
meta-arm-bsp/recipes-security/optee/optee-os_4.%.bbappend +0 -1
Lines of this file are not shown. View the raw message.
meta-arm-bsp/recipes-security/optee/optee-test_4.%.bbappend +0 -1
Lines of this file are not shown. View the raw message.
meta-arm-bsp/recipes-security/packagegroups/packagegroup-ts-tests.bbappend +0 -1
Lines of this file are not shown. View the raw message.
meta-arm-bsp/recipes-security/trusted-services/ts-arm-platforms.inc +0 -3
Lines of this file are not shown. View the raw message.
meta-arm-bsp/recipes-security/trusted-services/ts-newlib_%.bbappend +0 -1
Lines of this file are not shown. View the raw message.
meta-arm-bsp/wic/n1sdp-efidisk.wks deleted +0 -9
Lines of this file are not shown. View the raw message.
meta-arm-bsp/wic/n1sdp-grub.cfg deleted +0 -18
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.
PATCH 3/6 arm-bsp: remove unused recipes
In reply to Jon MasonNo 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,3 +0,0 @@ -require recipes-security/optee/optee-examples.inc - -SRCREV = "378dc0db2d5dd279f58a3b6cb3f78ffd6b165035"
Signature · 1 line
2.39.3 (Apple Git-146)
PATCH 4/6 CI: increase bitbake server timeout
In reply to Jon MasonOn 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
@@ -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)
PATCH 5/6 arm/optee: update to 4.2.0
In reply to Jon MasonUpdate 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 struct7749688eb18d libteeacl: add pkgconfig file: teeacl.pc07d2dfab2ecb libteec: pkgconfig: remove duplicate flags in teec.pc6f992c52a8df libteec: pkgconfig: rename libteec.pc as teec.pccef6c7eca494 tee-supplicant: fix potential crash when TA isn't foundc5b3920f5808 libckteec: one shot encryption/decryption may have no input dataafbd31d9592e android: convert .mk files to .bpbfe37714c20c libteec: drop benchmark framework support
Changes in optee_os between 18b424c23aa5a798dfe2e4d20b4bde3919dc4e99 and 12d7c4ee4642d2d761e39fbcf21a06fb77141dea 12d7c4ee4642 Update CHANGELOG for 4.2.0fc57019cb35c plat-sam: add support for Microchip sama7g54-ek boardd10f2b2505b1 plat-sam: rename filename for sama5d2 functions to 'platform_sama5d2.c' a557f87762b1 plat-sam: optimize the macro and makefile for building sama5d2 clocks3b616eeadd7a drivers: atmel_wdt: update "#include" list of the header filesd8af06119772 drivers: atmel_wdt: remove the unused variable from "struct atmel_wdt" ea9329ec8928 drivers: atmel_wdt: upgrade to support sama7g5 watchdoga471cdecfb1c core: reset cancellation mask on TA exit021a43d32b23 ci: add QEMUv7 job46fdfeea761f vexpress-qemu_armv8a: increase CFG_CORE_HEAP_SIZE to 131072bdde1c9927e8 drivers: stm32_i2c: protect bus access with a mutexcbb0a9fc4309 drivers: firewall: stm32_rifsc: remove use of CFG_PMcc707b8570d3 drivers: stm32_rng: remove use of CFG_PM299f9bc19fce drivers: crypto: stm32_cryp: add pm to CRYP driver14d68630950a drivers: crypto: stm32_cryp: add delay when resetting CRYP peripheral. 1d8b1184c370 drivers: crypto: stm32_cryp: remove reset binding requirementsa8cfcdf2387c ci.yml: add a make command to build HPRE code9e25528294eb drivers: crypto: hisilicon: init HPRE hardware blockee726ae9537e ci: remame WD to OPTEE_OS_TO_TEST4f00b5beb8db ci: update QEMUv8 jobs to use newer Docker image344ef8a4deda core: kernel: Fix typo in __do_panic()c80790fe23c5 drivers: regulator: use mutex_pm_aware9a3248fc031e drivers: clk: replace clock main spinlock with a mutex3a20c6612811 core: kernel: mutex compliant with PM sequencesf6412fbd119a core: kernel: thread spin locking19ad526cb139 core: spmc, sp: cleanup FF-A ID handling4c4387dc246e core: riscv: Prepare SATP for each hartfe9a26822286 core: riscv: Allocate root page table for each hart6d7d9de348ec ci: qemuv8: add test case with CFG_WITH_PAGER=y23f867d38149 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 harts058cf7120c26 core: riscv: Do not restrict primary hart to hart ID 0 only1706a2840a9a 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 checkingea11f51262ac core: riscv: Apply mask/unmask exceptions when operating page tabled1d1ca2347e7 core: riscv: Apply STATUS helper for RPC resumede45f2fb6384 core: riscv: Apply exception return to handle_user_mode_panic()4fe3a3f7bf3c core: riscv: Refine thread trap handlerb5bb30b389ae core: riscv: Refine thread enter/exit user mode09653bca94ae core: riscv: Apply exception return to resume threadb2f99d2027f6 core: boot: fix memtag init sequence5d2d37cd756d ta: pkcs11: Clarify context reference in step_symm_operation()3844bc9816af core: introduce CFG_NOTIF_TEST_WD82631bd42041 core: add CFG_CALLOUTfc59f3d86e9f core: notif: assert callback is unpagedc5b5aca0eaef core: callout: assert callback is unpagedfd3f2d693456 core: add missing DECLARE_KEEP_PAGER()7c9a7b0c779e plat-synquacer: use cpu_spin_lock_xsave() and friend21773c96f4c2 core: arm: mm: use thread_unmask_exceptions() where applicable54df46b5c06c core: arm: use cpu_spin_lock_xsave() in generic timer implementationad50321f47fd ta: remoteproc: allow remoteproc_load_fw re-entrance47bcc886c285 core: notif_send_async(): remove debug print1c3c4a5ffb52 core: tests: add a notification test watchdogd378a547e848 plat-vexpress: qemu_armv8: define IT_SEC_PHY_TIMERb008cf009961 plat-vexpress: initialize callout service5b7afacfba96 core: arm64: implement timer_init_callout_service()c41db53b5f25 core: define generic callout service initializercf707bd0d695 core: add callout service2d8644ee993a 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 variablesb4d1c08a65d6 drivers: regulator: do not cache voltage level valuec4cdfb70e19b core: add __must_check attribute to cpu_spin_lock_xsave()ccd64a523ab3 core: kernel: add timeout_elapsed_us()fab37ad7dc71 core: kernel: factorize delay and timeout implementation51b745fab86c core: riscv: force enable of CFG_CORE_HAS_GENERIC_TIMER6b0ac81dbe5f core: kernel: describe udelay()/mdelay()f5305d4dd98c plat-vexpress: disable PL011-specific code when CFG_SEMIHOSTING_CONSOLE=y a9a3bf985e5d core: arm64: implement __do_semihosting() for Aarch6431bb491f8e7c core: imx: enable TZC380 driver for all i.mx8m socsd1c9f59a15c8 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 spinlock4d36f99e02cb riscv: sbi_console: remove unneeded #ifdef CFG_RISCV_SBI_CONSOLE2b31189c4c08 riscv: sbi_console: split FID 0 from SBI_EXT_0_1_CONSOLE_PUTCHAR286e0fd9f01a riscv: sbi: minor cleanup for SBI HSM related definitionsd6a0fc9bb910 dts: at91: add device trees for sama7g54_ek74fbd2732948 drivers: clk: sam: skip the NULL clocks when getting the clock by name 943d822aac00 drivers: clk: sam: add sama7g5 clock description8bd542fcb2ae dts: sama5d2: add huk node for the NVMEM hardware unique key6c6c4d9eb45d dts: sama5d2: add NVMEM die_id nodef673afe436c9 plat-sam: enable NVMEM unique hardware key and die id supportfc7169686724 drivers: nvmem: add nvmem-huk driver31a85db883c5 drivers: nvmem: add nvmem-die-id driver458ef4426c2d drivers: Implement semihosting based console driver for log55ab8f06a831 core: Refactor console_init() and introduce plat_console_init()6d716a4b4588 core: riscv: Add semihosting.S for semihosting instructions7e2a10389c25 core: kernel: Add semihosting functionsf459d3c7d2e1 libutils: Import part of sys/fcntl.hc6a18428f9e3 plat-sam: implement plat_get_freq() for sama7g5eb3951bffd95 plat-sam: register additional sama7g5 clocks for SCMI usage609ba8e3128d plat-sam: register sama7g5 clocks for SCMI usagef8c1dacbeef9 drivers: clk: make API function description more consistent821cb656cbb2 drivers: clk: get stm32mp13 PLL output clock duty cycle1bc6d1bc0945 drivers: clk: set stm32mp13 clock flags8baaac1ce3ac drivers: clk: pre-enable new parent on clock re-parent8fbc005673cd drivers: clk: get linear rates description20f97d9841ac drivers: clk: enable clock on rate change0ba7ae74a1ff drivers: clk: change parent clock rate if needed05771552b189 drivers: clk: Get duty cycle from parent clock59db7f68c4d8 drivers: clk: Add clock duty cycle0d98c255fb4d plat-stm32mp2: add pm support on stm32mp259a4ec17240c1 core: pm: add macro for PM_HINT_STATE accessb8514c1376b1 plat-sam: fix static shared memory address and size58dbe3dff530 plat-mediatek: add support for MT7988 SoC4318c69fa77d drivers: clk: sam: add PLL clock driver for sama7g59aab6fb2f263 drivers: clk: sam: update to support generic clock for sama7g55110b3e7ade5 drivers: clk: sam: update to support main system bus clock for sama7g5 40944c5ccf0b .gitignore: Ignore all dot files and folders except the standard ones5b4a782ebccf .gitignore: Change entries to only ignore in the source root folder7f124eb8587b core: arm: kernel: add runtime check for CEf73f678ca5c6 core: arm: add helper functions for checking CE supporta0635f174d2f core: arm: add check in aarch32 for feat_crc32_implemented()8a4a051b3a76 core: arm64: remove ID_AA64ISAR0_EL1 macros443b5e0186c0 core: arm: rewrite feat_crc32_implemented()f9aaf11e8928 core: arm64: add masks for ID_AA64ISAR0_EL1 fields85c99f3965f6 core: arm: add masks for ID_ISAR5_EL1 fields4078bcde942c core: virt, ffa: keep guest partition until resources are reclaimed3e0b361ef4fd core: ffa: store shm_bits in partition for SPMC at S-EL1070d197fa568 core: ffa: add SPMC_CORE_SEL1_MAX_SHM_COUNT05c6a7631891 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 objects339a78c2743f libunw: riscv: simplify architecture test9fed4516d1f0 libunw: arm: unwind_arm32.c should be compiled only for Arm209c34dc0356 ldelf: riscv: e64_relocate(): tag sym_idx as __maybe_unused31bcbe52258e riscv: set default cross-compilers6c2d2e8a2300 core: gic: wait for writes to propagate9e935234082a core: gic: support to configure PPI interrupts49d0c90dd69a core: call init_multi_core_panic_handler() earlierd5dc9152c8ef core: riscv: Fix PTE creation when freeing PTEe6a66e30cd41 core: riscv: Rename mattr_to_perms() to mattr_to_pte_bits()da1a293e65b5 drivers: clk: clk-stm32mp13: round up VCO to the nearest frequency95f2142bf848 drivers: clk: clk-stm32mp13: don't gate/ungate oscillators not wirede84c299885a7 drivers: clk: clk-stm32mp13: add ADC and SPI clocks571857c05c40 ta: pkcs11: factorize second operation handle63778faac4b7 ta: pkcs11: implement AES GCM operations5fee6cc9826f ta: pkcs11: pkcs11_ta.h: define PKCS11_CKM_AES_GCMa2c1c8e408d3 core: mmu: add MEM_AREA_ROM_SEC in check_mem_map()3b3dff5f5652 MAINTAINERS: update NXP i.MX platforms and Crypto Driver Interface35a9139e779f drivers: caam: add CAAM key support for DH8993bfd8dbab drivers: caam: add CAAM key support for ECC014494479f9d drivers: caam: add CAAM key support for DSAccbcceeb73c1 drivers: caam: add CAAM key support for RSA1495f6c4a82a drivers: caam: add CAAM key driver9d38cd9151e9 drivers: caam: fix DSA_DUMPDESC macroa5b52f5092a0 drivers: caam: add missing header2d53e979f05a drivers: caam: add class field to FIFO_ST macrof8388fdc2f3e core: move CFG_CORE_BIGNUM_MAX_BITS default definition9e35f116f9bd dts: stm32: add RIFSC compatible to RIFSC node in stm32mp251.dtsid6a8ef58da15 dts: stm32: Add RIFSC configuration support for stm32mp257f-ev182e290753e45 plat-stm32mp2: conf: enable RIFSC driver196cb5a09923 dt-bindings: add RIFSC to default bindings config for STM32MP25066c3a39a4ac dt-bindings: add RIFSC bindingscd187630b280 drivers: add stm32 RIFSC support203147e2b737 plat-stm32mp2: conf: support RIF driver0179d5f8d520 dt-bindings: add RIF to default bindings config for stm32mp25e1767b3b5dc4 dt-bindings: firewall: add RIF bindings1506f47af917 drivers: firewall: add stm32_rif driver for common RIF features98d105a565ce core: io: fix IO_READ32_POLL_TIMEOUT() when delay is 0uscf2c8f0959af libutils: Implement speculation barrier for RISC-V407023cade6b plat-stm32mp1: default enable SAES software fallback03de2c7bb316 drivers: crypto: stm32_saes: fallback to software on 192bit AES keys99205375555b drivers: crypto: stm32: cleanup cipher operation structure496497dc1a00 drivers: crypto: stm32: move context allocation/free functions061e13f64e84 drivers: crypto: stm32: clean function references57ad00904006 plat-hikey: Replace register_dynamic_shm() with register_ddr()eee73fd09042 plat-hikey: make DRAM1_BASE configurable4c2665755e26 drivers: clk: sam: update to support slow clock for sama7g5afb609395def drivers: clk: sam: add PMC definitions for sama7g529f0ec7152e4 drivers: clk: sam: add UTMI clocks for sama7g5 USB PHY417a10d1fa23 drivers: clk: sam: update UTMI clock for sama7g509c44b0d8b97 driver: crypto: hisilicon: fix error handling4199b52fe3b8 core: notif_register_driver() assert ndrv is nexus memory7037ff8aaede core: move _time_source into __nex_bssdcad180014e0 core: add nex_*init-calls3d52f27cdb77 core: move multi_core_panic_handler into __nex_databa4f5940f45a core: add is_nexus() and refactor is_unpaged()897aaf117e39 ta: pkcs11: fix build warning on unused argumentsd99b271aed2f drivers: se050: fix default configuration for the SE applet974529332ded core: kernel: fix typo in huk_subkey.h inline commenta7400fcded79 core: arm: fix lock in virt_add_cookie_to_current_guest()89853006a609 core: crypto: fix crypto_asym_get_ecc_keypair_ops() stubfa1950059f41 ci: qemuv8: preventively avoid "no space left on device" errorsad194957b670 core: pta: widevine: Add the init implementation64086346d6bc core: dts: lx2160a: add memory region439c5ecbb68b core: arm: fix integer overflow in generic_timer_{handler,start}()c847c2c9c62f ci: update actions/checkout@v3 to v4c83a542f3734 drivers: crypto: stm32: fix SAES key selectionb8f45155eac7 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}() callbackse934bfa424d2 core: serial: add rx_intr_{enable,disable}() callbacksfcabe15c7783 core: crypto: fix internal AES-GCM counter implementationb4d33ca3ff42 core: ltc: add missing string_ext.h include64a52f9dc228 drivers: clk: fix indentation in stm32mp13 clock driverf4dba32508be drivers: clk: fix some stm32mp13 clock controlsa32213b8169c drivers: clk: fix stm32mp13 RNG1 parent clockd615a7e62095 drivers: regulator: list voltages controlled by a GPIObbc33e2ad79c core: ls: correct CFG_CORE_ARM64_PA_BITS for LX2160A-RDB/QDS5a982d0e96be core: dt: provide stubbed dt_getprop_as_number()55cd94d198a5 core: ffa: add notifications with SPMC at S-EL2 or EL34965507859bb core: hfic: fix HF_INTERRUPT HVC callse37b526d7289 core: move hafnium.h into hfic.c6959d59f0966 core: ffa: exit with native interrupts unmasked55a80fa9b542 core: arm64.h: add DAIFBIT_{NATIVE,FOREIGN}_INTR012cdca49db3 plat-k3: drivers: sec_proxy: increment while reading trail bytescb30e9d11a16 plat-stm32mp2: default enable embedded test14c31b4fae40 plat-stm32mp2: allow up to 8GB of external RAM774dc8aa526b ci: do not add $HOME/.cargo/bin to $PATHd557d174c2d6 drivers: atmel_rstc: add the function to control sama7g5's USB reset024af21c74ff drivers: atmel_tcb: update to compatible with sama7g57a6bbd59ef0b drivers: atmel_pio: update to compatible with sama7g5f527a3b76ed8 drivers: atmel_shdwc: update to compatible with sama7g5e5dba60318b1 driver: crypto: hisilicon: update qm init configs851d05e65f9c core: riscv: Add .sbss and .sdata sections to linker scripte07f9212d5ad plat-stm32mp1: shared_resource: disable MCKPROT if not needed6f3fc05370ef drivers: caam: sm2 operation fallback963a90d842b5 drivers: caam: add caam_hal_rng_pr_enabled() for 8QX, 8DX platforms54d90e3f0b47 plat-stm32mp2: conf: default enable RNG and RNG PTAb82b7e73f63e drivers: stm32_rng: print RNG version at driver probe timeaa12f203f239 drivers: stm32_rng: put max noise freq in compatible data5959d83f6f58 drivers: stm32_rng: move RNG configuration to compat data45da6509d925 drivers: stm32_rng: add stm32mp25 support59fea6838b20 core: pta: drop benchmarka6f60e0f08a7 arm: plat: rcar: gen4: adjust memory mape7dd9fbb056e arm: virtualization: don't allow hypervisor to issue std calls6370f75d6fcc drivers: sam: use header file "platform_config.h" instead of "sama5d2.h" fd286f75cf55 drivers: atmel_rtc: update to compatible with sama7g5379dc2ae943d drivers: atmel_rstc: update to compatible with sama7g5cc105e35cbdc drivers: atmel_trng: update to compatible with sama7g54b17205bb971 drivers: atmel_piobu: update compatible with sama7g5c37489baeb29 core: msg_param: remove recursion in included headers4584d00c9f44 ldelf: check val for NULL dereference239fae350391 core: tee: initialize dirfile|tadb_entry objectsa2431e9f66cb ta: pkcs11: check returned value of mbedtls_pk_rsa()fa21a1fb4c6c core: check if string to uuid conversion succeed2cc2a44c9fce core: check if binary to bignum conversion succeed8f3afe0e6e8f core: mmu: assert pointer to manifest device treea039ffc675d3 core: kernel: dt: check return values from snprintf()b51aaa628c7c core: arm: fix dead code when ARM32 is not definede33c3ff5e9f0 core: kernel: check device tree property pointer49286073c91e ldelf: remove unnecessary includes4bc2a199d122 ta: remove unnecessary includes5ca2c36555d1 core: remove unnecessary includes34d6dc2ba938 plat-vexpress: remove unnecessary includesc344db981197 riscv: mm: Set A/D bits of PTE(page table entry) by default472c70be1569 core: riscv: Rename thread_return_to_ree() to thread_return_to_udomain() 655625e01f36 core: ffa: Read FF-A version from the SP manifest602ff4f69104 pta: scmi: remove noisy info level message on message process3f7122d9c558 drivers: scmi_msg: fix size_t trace format37fbce01492d drivers: stm32_i2c: fix header file inclusion order5395fe8961bc drivers: i2c: add missing __unused in stubbed function8a6ca1480ddc core: arm: get DDR range from embedded DTBc425380f2021 driver: i2c: stm32_i2c: fix call to stm32_i2c_init()2b9d76616422 drivers: stm32_i2c: apply pinctrl config at init87aead6ffab3 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_Sessiona79e6ee457b6 regression_1025: use the imp field in TEEC_Contextdda3212f244f xtest: add SM4 perf test3feb4fbbb19d ta: os_test: Unmask cancellation from invoke command handlera641f180d847 xtest: pkcs11_1030: Test AES GCM processingea18800d10ce xtest: pkcs11_1006: Test AES GCM mode flag96f6dd7db7b9 xtest: pkcs11_1005: Test AES GCM support flagac200fe2ae40 xtest: asym_perf: fix indentation issues79ba734b5ff5 ta: crypto_perf: correct coding style issue in symm testsbabafcabdc2b ta: crypto_perf: fix coding style issues in asymm testsbad11a957a6d ta: crypto_perf: fix build error on type mismatchcb5136a47bb3 ta: crypto_perf: fix build warning on unused resources967368b3c7bf regression_4000: check if the generated DH private key is a CAAM black key 4b4caf762cc2 ci: avoid "No space left on device" errorbcd55831e1f7 xtest: add asymmetric cipher perf test14a2b2ac3db4 ta: crypto_perf: add asymmetric crypto perf tests99d5c298ff03 xtest: pkcs11_1001: Test CK_UNAVAILABLE_INFORMATION output value9d566212b3ce 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
@@ -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
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
@@ -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
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
meta-arm/recipes-security/optee/optee-os_4.2.0.bb new file +10 -0
@@ -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
@@ -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)
PATCH 6/6 arm/oeqa: increase optee test timeout
In reply to Jon MasonOPTEE 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
@@ -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)
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.
Signed-off-by Jon Mason <[email protected]>
This should have:
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@@ -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)
Mikko Rapeli
Acked-byRe: [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.
Signed-off-by Jon Mason <[email protected]>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]
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.
Signed-off-by Jon Mason <[email protected]>
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.
Acked-by Mikko Rapeli <[email protected]>
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.
Cheers,
-Mikko
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.
Signed-off-by Jon Mason <[email protected]>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.
Acked-by Mikko Rapeli <[email protected]>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
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
Jon Mason
AppliedQuoted 61 lines · Jon Mason
Update to the latest gn commit and remove unnecessary patches and build parameters
Changes in gn between
4bd1a77e67958fb7f6739bd4542641646f264e5dandf284b6b47039a2d7edfcbfc51f52664f82b5a789f284b6b47039[src] Add "#include <limits>" in the //src/base/files/file_enumerator_win.cc155c53952ec2Get updates toinfra/recipes.pyfrom upstreamd823fd85da3fRevert "Teach gn to handle systems with > 64 processors"f07499aebcf5[apple] Rename the code-signing properties ofcreate_bundle415b3b19e094Fix a typo in "gn help refs" output93ee9b91423cRevert "[bundle] Use "phony" builtin tool forcreate_bundletargets"cfddfffb7913[bundle] Use "phony" builtin tool forcreate_bundletargets06cdcc8e1fa8[ios] Simplify handling of assets catalog22581fb46c0c[swift] List all outputs as deps of "source_set" stamp file59c4bb920542[swift] Updategn check ...to consider the generated headerdd0927eb34bb[swift] Setrestat = 1to swift build rules88e8054aff7bFix build with gcc12e05c0aa00938[label_matches] Add new functionslabel_matches(),filter_labels_include()andfilter_labels_exclude()f19d5817e7ba[swift] Remove problematic use of "stamp" tool6253a39dbc43Implement new --ninja-outputs-file option.5787e994aa4cAdd NinjaOutputsWriter class03d10f1657b4MoveInvokePython()function to its own source file.0cdb7dd27f5czos: build with -DZOSLIB_OVERRIDE_CLIB to override creatd4f94f9a6c25Enable C++ runtime assertions in debug mode.0a2b8eac80f1Fix regression inMakeRelativePath()8b973aa51d02fix: Fix Windows MakeRelativePath.a3dcd7a7ad86Add long path support for windowsa2e2717ea670Ensureread_file()files are considered by "gn analyze"fc722252439eapply 2to3 to for some Python scripts5110a7f03e86Add rustflags to desc and help outputf99e015ac35fstrings: support case insensitive check only in StartsWith/EndsWithb5adfe5f574dadd .git-blame-ignore-revsd6085ac6a95buse std::{string,string_view}::{starts_with,ends_with}8bd36a27c076apply clang-format to all C++ sources5d76868385b8add forward declaration inrust_values.hb8562a4abd95Addroot_patternslist to build configuration.5fd939de8a66Use c++20 in GN buildd4be45bb28fbupdate windows sdk to 2024-01-1171305b07d708update windows sdk85944ebc24a9Add linux-riscv64.7367b0df0a0aUpdate OWNERS list.92e63272dc04remove unused functionc7b223bfb225Ignore build warning -Werror=redundant-movebc5744174d9eFix --as=buildfilegn desc depsoutput.9a45b6123831Update recipe engine to9dea1246.85bd0a62938btreewide: Fix spelling mistakese4702d740906Optimizebase::EscapeJSONStringfor ASCII inputs.5d8727f3fbf4[docs]: Mention implicit names in style guide182a6eb05d15Use magenta for warnings991530ce394eAvoid unnecessary "Regenerating ninja files" step after running "gn gen"c1fc04434c8eFix variable use tracking for scope subscript accesses.cc56a0f98bb3[infra] Link to jemalloc instead of rpmalloc811d332bd905Move WriteSourceSetStamp to NinjaCBinaryTargetWriter3fccef9033b9[action][data deps] Make data-deps order-only deps of the action outputs62ac86a938c3[action] Add test fordata_depsof an action target1029a3b50873Ninja: Always pass linker flags to rlib-generating command.fae280eabe5d[serenity] Add SerenityOS port11e12b0ef870Remove obsolete comment1de45d1a11ccGenerate a StaticLibrary for rlibs and DynamicLibrary for proc macros2a92efd396d3Include library search paths when compiling rlibsda5fe01bce4aAvoid 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: 6b996c4629f1880d2124ddeefb84e91856e5270dBest regards,
Signature · 1 line
Jon Mason <[email protected]>