head.S: move skl_info and bootloader_data fields back#25
head.S: move skl_info and bootloader_data fields back#25m-iwanicki wants to merge 1 commit intoskl-loader-amdsl-noblobfrom
Conversation
Fixes issue: ``` loader/slaunch/skl.c:117:slaunch: Possible SKL module measures bootloader data: 16424 (measured prefix) > 170 (data offset) error: SKL module isn't correct. ``` Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com>
|
I think this should be changed on GRUB side instead. The size of |
|
I agree that updating this in GRUB a better place in the long run. Can use this modification for testing though since commits are WIP anyway and it should be easier than bumping GRUB. |
|
By the way, it may be useful to try to change those (presumed) CPUIDs to match the CPU used for testing. I didn't find any documentation as to what those are used by, it may be possible that PSP validates those somehow, but maybe they were meant for whatever loads the binary (GRUB in our case). |
Changed when testing on MZ33-AR1 (AMD EPYC 9015). CPUID: >>> import cpuid
>>> eax, *_ = cpuid.cpuid(1)
>>> f"{eax:#010x}"
'0x00b00f21'I tested with |
Fixes issue:
Tested with
tb-devGRUB (meta-trenchboot)