Duncan wrote...

I have the binary file for the original system BIOS for this platform and so have manage to use ifdtool to extract the 4KB flash descriptor which I am in the process of adding to the image with CONFIG_HAVE_IFD_BIN and CONFIG_IFD_BIN_PATH. Does that save me having to worry about anything other than defining the CONFIG_HAVE_EC_BIN and CONFIG_EC_BIN_PATH values?


Yes that should hopefully make it straightforward.
If only things were that easy!  When I try this, I get a build error:

    IFDTOOL    ec.bin -> coreboot.pre
    Platform is: cnl
    File build/coreboot.pre is 16777216 bytes
    Region EC is disabled in target. Not injecting.
src/southbridge/intel/common/firmware/Makefile.inc:31: recipe for target 'add_intel_firmware' failed
    make: *** [add_intel_firmware] Error 1

I’m not sure where the “Platform is: cnl” is coming from. I have defined a custom mainboard but it is derived from Intel’s Coffee Lake / Comet Lake not from Cannon Lake which is the closest thing I can find for “cnl”.

My board specific configuration options include:

    select MAINBOARD_USES_IFD_EC_REGION
    select HAVE_IFD_BIN
    select EC_SDC_IT8987
    select HAVE_EC_BIN

These look correct to me but am happy to informed otherwise!

-Andy.
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to