Attention is currently required from: Felix Held, Jason Glenesk, Martin Roth, Matt DeVillier, Maximilian Brune, Patrick Rudolph, Raul Rangel.
Maximilian Brune has uploaded a new patch set (#9) to the change originally created by Fred Reitberger. ( https://review.coreboot.org/c/coreboot/+/68122?usp=email )
Change subject: soc/amd/common: Support sbin ucode files ......................................................................
soc/amd/common: Support 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 od 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 bin file will be added and a note will print at the start of the build about the sbin file being skipped.
TEST=builds with only bin, only sbin, non-matching bin and sbin, matching bin and sbin files
Signed-off-by: Fred Reitberger reitbergerfred@gmail.com Signed-off-by: Maximilian Brune maximilian.brune@9elements.com Change-Id: I29768ea19543bdc76662e687f59bf31b76f555ae --- M src/soc/amd/common/Makefile.mk M src/soc/amd/common/block/cpu/Makefile.mk 2 files changed, 45 insertions(+), 13 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/22/68122/9