From 67ffb5134c5238295591bbc3f3260d5651a0a89a Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 10 Oct 2023 06:04:47 +0100 Subject: build/fw/coreboot: warning about bin/ versus elf/ also rename elf/coreboot to something scary some users were flashing roms built under elf/, which lack payloads. lbmk builds no-payload roms (and payloads) under elf/ then inserts them, creating full (flashable) images under bin/ Signed-off-by: Leah Rowe --- script/build/fw/coreboot | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'script/build/fw') diff --git a/script/build/fw/coreboot b/script/build/fw/coreboot index 8efa39c3..ba66d856 100755 --- a/script/build/fw/coreboot +++ b/script/build/fw/coreboot @@ -62,6 +62,12 @@ main() [ -z "${targets}" ] && err "No ROM images were compiled" printf "\nROM images available in these directories:\n" printf "${targets}^^ ROM images available in these directories.\n\n" + + printf "WARNING!!!!!!! PLEASE READ:\n\n" + + printf "DO NOT flash ROM images contained under elf/, because they lack" + printf "payloads and will BRICK your machine. Please flash ROM images" + printf "contained under bin/ instead. YOU HAVE BEEN WARNED.\n\n" } check_target() @@ -216,7 +222,7 @@ build_roms() x_ ./update project trees -b coreboot ${board} - _cbrom="elf/coreboot/${board}/${initmode}_${displaymode}" + _cbrom="elf/coreboot_nopayload_DO_NOT_FLASH/${board}/${initmode}_${displaymode}" [ "${initmode}" = "normal" ] && \ _cbrom="${_cbrom%_${displaymode}}" _cbrom="${_cbrom}/coreboot.rom" -- cgit v1.2.1