-----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 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE4DCbLYWmfoRjKeNLsu5x6WeqnkwFAlsDKvIACgkQsu5x6Weq nkymcQ/8CxwALrrbnjWRN11z98v2Dd+gG52HEcD4nR/hemFsvTvRpLkQes77gQrn TIuTtJw8jYafWmzimsd4ghwChdXfGH80U/DaNgTKmpg6t2zJaxMOJA94rkce46I/ udauUmNT9SKK62qfIE60mmxBJOJtxgBmrL3n1ABqce5QQm5r4/o7o5bF16iTtNwd c943QOOHRqW5/P44MvFNO70aXXIXyIUXNHnUPR/UIek33Sjn6955cEe7uP60Osu7 NKVY3pYmzMPjbVeLxGm+hcZyuZCLy4G3RwfqtAM3/Sjoi8tCrVjjNw6s52vji7iv 2yoTdIqUAKR0E0f8q9Q8+X9VAROLqTcllzxZ27u7wAIkLlz72umFUJDjq/7Znum/ uUjIMLfIe1Agy+hR2BqZZFb9/18ZwYUZ6bBW5b+rWjRNLG5o8Gy5g6FnBrgnVihe MJs3Hs6akWGltrgjOZ0IusHwk2pl86gCqCRr3vcgVUaJOMvff3exNwSEIesSMDc0 1f6RzTCj3KiYuPEu4urajJmzenqrI65S/1MkCy2XYLDYikkM3f4HICViLWTYSTvj 4hCXZ8b1C7l0zMHeQ5da2gQdt7Ko+q1aI8xE+CdmFhkUJW+1+fBe/s+O03+8GUjB OYKVB9sFvLehGgus4OVh7LUn4ciSIplw5jcCb9SEI2J8AeRfxTk= =QWlj -----END PGP SIGNATURE----- -- coreboot mailing list: coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot