diff --git a/.circleci/config.yml b/.circleci/config.yml index dc860e79c..f889f23d7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -231,13 +231,17 @@ workflows: requires: - x230-hotp-maximized - # coreboot-git Nitropads on top of coreboot-git librems + # coreboot-git Nitropads depending on x230-hotp-maximized cache + # since kernel is 6.x and coreboot is git is unshared + # We use nitropad's coreboot's fork crossgcc + # No need to wait further for other board's cache. + # We reuse built modules from x230-hotp-maximized cache only - build_and_persist: name: nitropad-nv41 target: nitropad-nv41 subcommand: "" requires: - - librem_14 + - x230-hotp-maximized # coreboot-git Talos II (PPC) - build_and_persist: @@ -548,7 +552,7 @@ workflows: requires: - librem_14 -#coreboot-git Nitrokey NV +#coreboot-git dasharo clevo_release + staging IASL patch - build: name: nitropad-ns50 target: nitropad-ns50 diff --git a/modules/coreboot b/modules/coreboot index aa1e83a2e..d59cdfa07 100644 --- a/modules/coreboot +++ b/modules/coreboot @@ -85,6 +85,14 @@ coreboot-purism_repo := https://source.puri.sm/firmware/coreboot.git coreboot-purism_commit_hash := a899f08d2789db1dd9b02cff34179c4d38e6d0e3 $(eval $(call coreboot_module,purism,)) +#Nitrokey nv41/ns50 are based on Dasharo coreboot port, +# with patches staging under coreboot-clevo_release +coreboot-nitrokey_repo := https://github.com/dasharo/coreboot +coreboot-nitrokey_commit_hash := ae10b20f5c6abc9c23f709b65c46be6525da8c13 +coreboot-nitrokey_patch_version := clevo_release +#We use clevo_release's crossgcc for now, unshared but between nitropad nv41/ns50 +$(eval $(call coreboot_module,nitrokey,4.19)) + # Check that the board configured the coreboot version correctly ifeq "$(CONFIG_COREBOOT_VERSION)" "" $(error "$(BOARD): does not specify coreboot version under CONFIG_COREBOOT_VERSION") @@ -99,6 +107,7 @@ coreboot_dir := $($(coreboot_module)_dir) coreboot_base_dir := $($(coreboot_module)_base_dir) $(coreboot_module)_depends += $(if $(CONFIG_PURISM_BLOBS), purism-blobs) +$(coreboot_module)_depends += $(if $(CONFIG_NITROKEY_BLOBS), nitrokey-blobs) # coreboot builds are specialized on a per-target basis. # The builds are done in a per-target subdirectory diff --git a/patches/coreboot-nitrokey-clevo_release/0001-change_acpica-unix2_location_to_a_mirror.patch b/patches/coreboot-nitrokey-clevo_release/0001-change_acpica-unix2_location_to_a_mirror.patch new file mode 100644 index 000000000..f5dd9ec26 --- /dev/null +++ b/patches/coreboot-nitrokey-clevo_release/0001-change_acpica-unix2_location_to_a_mirror.patch @@ -0,0 +1,23 @@ +From 6328eebb101fd0ded7168e1377da6a1a82a8e2da Mon Sep 17 00:00:00 2001 +From: Markus Meissner +Date: Wed, 19 Jul 2023 20:36:57 +0200 +Subject: [PATCH] change acpica-unix2 location to a mirror + +--- + util/crossgcc/buildgcc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc +index 03c24da1be9..8880c89ea66 100755 +--- a/util/crossgcc/buildgcc ++++ b/util/crossgcc/buildgcc +@@ -52,7 +52,7 @@ MPFR_ARCHIVE="https://ftpmirror.gnu.org/mpfr/mpfr-${MPFR_VERSION}.tar.xz" + MPC_ARCHIVE="https://ftpmirror.gnu.org/mpc/mpc-${MPC_VERSION}.tar.gz" + GCC_ARCHIVE="https://ftpmirror.gnu.org/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.xz" + BINUTILS_ARCHIVE="https://ftpmirror.gnu.org/binutils/binutils-${BINUTILS_VERSION}.tar.xz" +-IASL_ARCHIVE="https://acpica.org/sites/acpica/files/acpica-unix2-${IASL_VERSION}.tar.gz" ++IASL_ARCHIVE="https://gsdview.appspot.com/chromeos-localmirror/distfiles/acpica-unix2-${IASL_VERSION}.tar.gz" + # CLANG toolchain archive locations + LLVM_ARCHIVE="https://github.com/llvm/llvm-project/releases/download/llvmorg-${CLANG_VERSION}/llvm-${CLANG_VERSION}.src.tar.xz" + CLANG_ARCHIVE="https://github.com/llvm/llvm-project/releases/download/llvmorg-${CLANG_VERSION}/clang-${CLANG_VERSION}.src.tar.xz" +