-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 05/21/2018 07:35 AM, Youness Alaoui wrote:
Hi Piotr,
Hi Youness,
Great, I'm glad the ucode was indeed the issue, and that I was lucky enough to spot it. I think it doesn't get added correctly because the path might be wrong ? unless you put the ucode bin file in the root directory of coreboot, then it might not find it, or maybe it's another option to actually tell it to add the file to cbfs. See our ucode related configs in : https://code.puri.sm/kakaroto/coreboot-files/src/master/configs/config
.librem13v2
CONFIG_SUPPORT_CPU_UCODE_IN_CBFS=y CONFIG_CPU_MICROCODE_CBFS_GENERATE=y CONFIG_CPU_UCODE_BINARIES="3rdparty/blobs/mainboard/$(MAINBOARDDIR)/cp
u_microcode_blob.bin"
Also note these two options which get passed to the FSP so the microcode can get applied : CONFIG_CPU_MICROCODE_CBFS_LEN=0x18000 CONFIG_CPU_MICROCODE_CBFS_LOC=0xFFE115A0> That location address makes cbfstool add the ucode binary in cbfs at the right offset so it's at that address, and the len has to match (or be superior) to the ucode file size.
I managed to fix things by adding to my defconfig:
CONFIG_USE_BLOBS=y CONFIG_HAVE_IFD_BIN=y CONFIG_HAVE_ME_BIN=y CONFIG_FSP_M_FILE="3rdparty/blobs/mainboard/$(MAINBOARDDIR)/fspm.bin" CONFIG_FSP_S_FILE="3rdparty/blobs/mainboard/$(MAINBOARDDIR)/fsps.bin" CONFIG_CPU_UCODE_BINARIES="3rdparty/blobs/mainboard/$(MAINBOARDDIR)/cpu_ microcode_blob.bin"
Of course I had to create correct directory in blobs repository.
Thanks for help. I know see other issues in log that I have to deal with, but I think I can deal with those now.
Best Regards, - -- Piotr Król Embedded Systems Consultant https://3mdeb.com | @3mdeb_com