Skip to content
Snippets Groups Projects
Commit 297f5705 authored by Leah Rowe's avatar Leah Rowe
Browse files

document bootblock copy bug on 20231021


add to post-release errata, and the install guide

Signed-off-by: default avatarLeah Rowe <leah@libreboot.org>
parent 81919523
No related merge requests found
......@@ -360,6 +360,19 @@ example of the push pin as a proof of concept:
#### ThinkPad X60/X60S/X60T/T60 with Lenovo BIOS {#flashrom_lenovobios}
**WARNING: Libreboot 20231021 and likely other 2023 releases do not have the
bootblock copied in release ROMs, so the bucts trick below will actually cause
a brick. This is fixed in lbmk as of 25 October 2023 onward, but you should
do this on 20231021 release ROMs before following the instructions below:**
dd if=libreboot.rom of=bootblock.bin bs=1 \
skip=$(($(stat -c %s libreboot.rom) - 0x10000)) count=64k
And then do this:
dd if=bootblock.bin of=libreboot.rom bs=1 \
seek=$(($(stat -c %s libreboot.rom) - 0x20000)) count=64k conv=notrunc
**NOTE: This section partially relates to `utils` release archive in
Libreboot 20160907, which contains static compiled binaries for things like
bucts and flashrom. It will *still* work on modern distros, and thus is
......
......@@ -1132,3 +1132,38 @@ added:
The second patch changes where Libreboot's build system downloads acpica from,
because the main mirror that it downloads from was offline during the build,
so the relevant acpica tarball was mirrored to Libreboot rsync at last minute.
Post-release errata
===================
Empty PIKE2008 ROMs not inserted in KCMA-D8 and KGPE-D16 ROMs.
The 64KB bootblock isn't copied on ThinkPad X60 and T60 ROM images. This has
been fixed with the following patch:
<https://browse.libreboot.org/lbmk.git/commit/?id=5f6ba01d414e2d98d7db049347b8c5c5d125ba61>
If you're flashing the X60/T60 ROMs from LenovoBIOS (internal flashing), please
do this on the ROM image first (ROM image named `libreboot.rom` in this example):
dd if=libreboot.rom of=bootblock.bin bs=1 \
skip=$(($(stat -c %s libreboot.rom) - 0x10000)) count=64k
And then do this:
dd if=bootblock.bin of=libreboot.rom bs=1 \
seek=$(($(stat -c %s libreboot.rom) - 0x20000)) count=64k conv=notrunc
If you're using SeaBIOS and have a PIKE2008 module installed, on KCMA-D8
or KGPE-D16, please do this:
touch empty.rom
./cbfstool libreboot.rom add -f empty.rom -n pci1000,0072.rom -t raw
./cbfstool libreboot.rom add -f empty.rom -n pci1000,3050.rom -t raw
Without the empty PIKE2008 ROM, SeaBIOS will hang on those AMD boards.
And without the bootblock copied on X60/T60 ROMs, flashing will result in a brick
under these conditions: bucts not reset and ROM flashed successfully, and/or
flashing the ROM from LenovoBIOS to Libreboot.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment