Skip to content

Commit 29cd499

Browse files
committed
.circleci/config.yml + blobs/xx80/t480(s)_download_clean_deguard_me_pad_tb.sh : unify and fix t480s from t480 25.09 coreboot version bump
Also fix paths in board configs to targets that were renamed to be different for t480/t480s (This is why we hate bitroting PR) Signed-off-by: Thierry Laurion <insurgo@riseup.net>
1 parent e4a57de commit 29cd499

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

.circleci/config.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -528,23 +528,20 @@ workflows:
528528
requires:
529529
- librem_14
530530

531-
# t480 is based on 25.09 coreboot release, not sharing any buildstack from now, depend on muscl-cross cache
532-
- build:
531+
# t480 is based on 25.09 coreboot release
533532
name: EOL_t480-maximized
534533
target: EOL_t480-maximized
535534
subcommand: ""
536535
requires:
537536
- EOL_t480-hotp-maximized
538537

539-
# t480s is based on 24.12 coreboot release, not sharing any buildstack from now, depend on muslc-cross cache
540538
- build:
541539
name: EOL_t480s-hotp-maximized
542540
target: EOL_t480s-hotp-maximized
543541
subcommand: ""
544542
requires:
545543
- EOL_t480-hotp-maximized
546544

547-
# t480s is based on 24.12 coreboot release, not sharing any buildstack from now, depend on muslc-cross cache
548545
- build:
549546
name: EOL_t480s-maximized
550547
target: EOL_t480s-maximized
@@ -560,7 +557,7 @@ workflows:
560557
requires:
561558
- novacustom-nv4x_adl
562559

563-
#NovaCustom v56 boards are based on coreboot 24.02.01 fork, so depend on x230
560+
#NovaCustom v56 boards are based on coreboot 24.02.01 fork, so depend on nv4x_adl
564561
- build:
565562
name: novacustom-v560tu
566563
target: novacustom-v560tu

blobs/xx80/t480_download_clean_deguard_me_pad_tb.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ function download_and_clean() {
8282
# Some more general info on shrinking:
8383
# https://github.com/corna/me_cleaner/wiki/External-flashing#neutralize-and-shrink-intel-me-useful-only-for-coreboot
8484

85+
# MFS is needed for deguard so we whitelist it here and also do not relocate the FTPR partition
8586
python "$me_cleaner" --whitelist MFS -t -O "$me_output" "${me_installer_filename}_extracted/Firmware/${extracted_me_filename}"
8687
rm -rf ./*
8788
popd || exit

blobs/xx80/t480s_download_clean_deguard_me_pad_tb.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,15 @@ function download_and_clean() {
7272

7373
extracted_me_filename="1 Inspiron_5468_1.3.0 -- 3 Intel Management Engine (Non-VPro) Update v${ME_version}.bin"
7474

75-
# Neutralize and shrink Intel ME. Note that this doesn't include
75+
# Deactivate, partially neuter and shrink Intel ME. Note that this doesn't include
7676
# --soft-disable to set the "ME Disable" or "ME Disable B" (e.g.,
7777
# High Assurance Program) bits, as they are defined within the Flash
7878
# Descriptor.
7979
# However, the HAP bit must be enabled to make the deguarded ME work. We only clean the ME in this function.
80+
# For ME 11.x this means we must keep the rbe, bup, kernel and syslib modules.
81+
# https://github.com/corna/me_cleaner/wiki/How-does-it-work%3F#me-versions-from-11x-skylake-1
82+
# Furthermore, deguard requires keeping the MFS, the HAP bit set, and we cannot relocate the FTPR partition.
83+
# Some more general info on shrinking:
8084
# https://github.com/corna/me_cleaner/wiki/External-flashing#neutralize-and-shrink-intel-me-useful-only-for-coreboot
8185

8286
# MFS is needed for deguard so we whitelist it here and also do not relocate the FTPR partition

boards/EOL_t480-hotp-maximized/EOL_t480-hotp-maximized.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off"
9797
export CONFIG_BOARD_NAME="Thinkpad T480-hotp-maximized"
9898
export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal"
9999

100-
BOARD_TARGETS := xx80_me_blobs
100+
BOARD_TARGETS := t480_me_blobs

boards/EOL_t480-maximized/EOL_t480-maximized.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ export CONFIG_BOOT_KERNEL_REMOVE="intel_iommu=on intel_iommu=igfx_off"
9797
export CONFIG_BOARD_NAME="Thinkpad T480-maximized"
9898
export CONFIG_FLASH_OPTIONS="flashprog --progress --programmer internal"
9999

100-
BOARD_TARGETS := xx80_me_blobs
100+
BOARD_TARGETS := t480_me_blobs

0 commit comments

Comments
 (0)