From af8d8cda7d639b594f70efde5e52ee712d996c7b Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 3 Sep 2023 19:19:50 +0100 Subject: 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 00000000..e9dd5b64 Binary files /dev/null and b/blobs/ich9m/16_ifd.bin differ diff --git a/blobs/ich9m/4_ifd.bin b/blobs/ich9m/4_ifd.bin new file mode 100644 index 00000000..aa2453b1 Binary files /dev/null and b/blobs/ich9m/4_ifd.bin differ diff --git a/blobs/ich9m/4_ifd_nogbe.bin b/blobs/ich9m/4_ifd_nogbe.bin new file mode 100644 index 00000000..366d316a Binary files /dev/null and b/blobs/ich9m/4_ifd_nogbe.bin differ diff --git a/blobs/ich9m/8_ifd.bin b/blobs/ich9m/8_ifd.bin new file mode 100644 index 00000000..094fc072 Binary files /dev/null and b/blobs/ich9m/8_ifd.bin differ diff --git a/blobs/ich9m/gbe.bin b/blobs/ich9m/gbe.bin new file mode 100644 index 00000000..2f26a275 Binary files /dev/null and b/blobs/ich9m/gbe.bin differ 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}" || \ -- cgit v1.2.1