From af8d8cda7d639b594f70efde5e52ee712d996c7b Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 3 Sep 2023 19:19:50 +0100 Subject: [PATCH] add ich9m ifd/gbe files a follow-up patch will make use of these, rather than ich9gen, and ich9gen will be deleted. these files were in fact generated *by* ich9gen. coreboot has ifdtool and bincfg, the latter of which can generate both ifd and gbe files for ich9m. that, and nvmutil which is part of libreboot, can change gbe mac addresses. i was going to replace ich9gen with a script that would run bincfg, ifdtool and nvmutil, to greatly reduce code size, because ich9gen is about 3k sloc. however, in practise we would always generate the same ifd config, and basically only change the mac address if that's what the user wants; nvmutil can already do that just fine. so, just include the binaries directly. Signed-off-by: Leah Rowe --- blobs/ich9m/16_ifd.bin | Bin 0 -> 4096 bytes blobs/ich9m/4_ifd.bin | Bin 0 -> 4096 bytes blobs/ich9m/4_ifd_nogbe.bin | Bin 0 -> 4096 bytes blobs/ich9m/8_ifd.bin | Bin 0 -> 4096 bytes blobs/ich9m/gbe.bin | Bin 0 -> 8192 bytes script/build/release/src | 4 ++-- 6 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 blobs/ich9m/16_ifd.bin create mode 100644 blobs/ich9m/4_ifd.bin create mode 100644 blobs/ich9m/4_ifd_nogbe.bin create mode 100644 blobs/ich9m/8_ifd.bin create mode 100644 blobs/ich9m/gbe.bin diff --git a/blobs/ich9m/16_ifd.bin b/blobs/ich9m/16_ifd.bin new file mode 100644 index 0000000000000000000000000000000000000000..e9dd5b64d37b7994194e5b52a69ab4246efa9dc8 GIT binary patch literal 4096 zcma!A`hlO3frW{UNq|X#k%2*%!GHk<{u2Q}YMB}S^Z%D;U|?imVgS*|+87w*fg%hH z5=qj?oYp4S~@R7!85Z5Eu=C(GVC7fzc2c z4S~@RphE~8QV?fgRbW+kZvdg?Js2276+{(4R=;CoVDRyDat(3}aixP(2Bj4MH`qj?oYp4S~@R7!85Z5Eu=C(GVC7fzc2c z4S~@RphE~8QV?fgRbW+kZvdg?Js2276+{(4R=;CoVDRyDat(3}aixP(2Bj4MTrig8 literal 0 HcmV?d00001 diff --git a/blobs/ich9m/4_ifd_nogbe.bin b/blobs/ich9m/4_ifd_nogbe.bin new file mode 100644 index 0000000000000000000000000000000000000000..366d316a2c857cd83a0bf1a6eb10063428e23b79 GIT binary patch literal 4096 zcma!A`hlO3frXKcNq|X#k%2*)!GHk<{u2Q}Y8e^+Gyj)oV1Q#JeGClpKp6%G2__B> zB;i5B>`Y-`00scVpm7kL9a2kY`$nxB4S~@R7!85Z5Eu=C(GVC7fzc2c4S~@R7!3hh ug}@;NaRyceR)zNl5L(`Yfk9M3Q~_k)J2nOeA5SOOAjc3_TG>C?%>@7qj?oYp4S~@R7!85Z5Eu=C(GVC7fzc2c z4S~@RphE~8QV?fgRbW+kZvdg?Js2276+{(4R=;CoVDRyDat(3}aixP(2Bj4MDwCG+ literal 0 HcmV?d00001 diff --git a/blobs/ich9m/gbe.bin b/blobs/ich9m/gbe.bin new file mode 100644 index 0000000000000000000000000000000000000000..2f26a2752e53b04618026b7ca21c2f0fb989b7b9 GIT binary patch literal 8192 zcmeI#F$%&!5QX6vAsU3hfQ6RnZM=aCUQ7_uh!+v|0%;U1Jwm`Eq}zI()Uixq@juup z9?KM8H~Pe99#rLgvFxdQzHDgj+hpxoDr$MkwmE1mU2ltJ*q^*f7Q18*pKpJ$8-M*w zp|IPm!nk{yV?XU^5I_I{1Q0*~0R#|0009ILKwxeGasSUv%02`TKmY**5I_I{1Q0*~ J0R;X|;0r0lO@aUb literal 0 HcmV?d00001 diff --git a/script/build/release/src b/script/build/release/src index 1af827a4..719b0043 100755 --- a/script/build/release/src +++ b/script/build/release/src @@ -134,8 +134,8 @@ copy_blobs() err "copy_blobs: !mkdir -p ${srcdir}/blobs" # do not copy intel ME etc, but do copy ifd/gbe files for i in t440p xx20 xx30 hp8200sff hp_ivybridge hp_sandybridge \ - hp8300usdt t1650 e6430; do - for j in ifd gbe 4_ifd 8_ifd 12_ifd 16_ifd; do + hp8300usdt t1650 e6430 ich9m; do + for j in ifd gbe 4_ifd_nogbe 4_ifd 8_ifd 12_ifd 16_ifd; do [ -f "blobs/${i}/${j}.bin" ] || continue [ -e "${srcdir}/blobs/${i}" ] || \ mkdir -p "${srcdir}/blobs/${i}" || \