Attention is currently required from: Jason Glenesk, Raul Rangel, Matt DeVillier, Fred Reitberger, Felix Held.
Hello build bot (Jenkins), Jason Glenesk, Raul Rangel, Matt DeVillier, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/68122
to look at the new patch set (#2).
Change subject: soc/amd/common/[,block/cpu/]Makefile.inc: Add support for sbin ucode files ......................................................................
soc/amd/common/[,block/cpu/]Makefile.inc: Add support for sbin ucode files
Recent PI releases have been distributing the ucode patch files as sbin files instead of bin files. The sbin uses a 256 byte amd_fw_header to wrap the bin file.
Offset 0x14 of the header is the size field. The can be extracted with hexdump to get the size of the ucode bin file. The bin file can then be extracted with dd and placed in the build directory for inclusion as a cbfs file.
In the case where both an sbin and bin ucode file are present, the sbin file will be added and a note will print at the start of the build about the bin file being skipped.
TEST=chausie/morphius builds with only bin, only sbin, non-matching bin and sbin, matching bin and sbin files
Signed-off-by: Fred Reitberger reitbergerfred@gmail.com Change-Id: I29768ea19543bdc76662e687f59bf31b76f555ae --- M src/soc/amd/common/Makefile.inc M src/soc/amd/common/block/cpu/Makefile.inc 2 files changed, 58 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/22/68122/2