mention refcode fix for hp 820 g2

Signed-off-by: Leah Rowe <info@minifree.org>
master
Leah Rowe 2024-12-31 15:20:18 +00:00
parent 935e5aec14
commit 32c80dae9c
1 changed files with 28 additions and 7 deletions

View File

@ -73,13 +73,34 @@ Please build this from source with lbmk:
./mk -b coreboot hp820g2_12mb
More information is available in the [build guide](../build/), including how
to install build dependencies. Building from source is required, because there
aren't any ROM images for this board, in regular Libreboot releases. The
reason is that the vendor inject scripts don't currently work, because coreboot
compresses the refcode when inserting it at build time, and the process of
compression is not yet reproducible; it's not feasible to do so, and making
it not be compressed in flash would not be ideal either, so this is simply
a source-only port in Libreboot.
to install build dependencies.
Pre-compiled images now possible!
--------------------------------
From Libreboot 20241206 **revision 8** onwards, pre-compiled ROM images *are*
now available. Previous releases excluded images for this board, because vendor
file insertion was not reproducible, so you would get checksum errors. This
has been fixed with the following patch:
<https://browse.libreboot.org/lbmk.git/commit/?id=e8799310db26df89720e8476a701f1904932234b>
The refcode is inserted uncompressed, whereas upstream uses LZMA compression.
We can't predict how the implementation will change in the future, and any
behavioural changes would probably affect the checksum on insertion. Older
releases also didn't handle `rmodtool` on refcode insertion, which is used
to make the file relocatable in CBFS. See:
<https://doc.coreboot.org/lib/rmodules.html>
As of Libreboot 20241206 rev8, you can now use pre-compiled release images
and [insert vendor files](ivy_has_common.md).
The lack of refcode compression costs about 110KB, because the refcode file is
about 180KB uncompressed, but would be about 70KB compressed in flash. We
insert it uncompressed, so it's 180KB in flash. This is a small sacrifice,
considering that you still have about 10MB of unused flash space left, at least
as of the 20241206 rev8 release.
HP Sure Start
=============