[coreboot] Re: Embedding EC firmware

2020-10-05 Thread Felix Held
Hi Andy!   Flash Region 1 (BIOS): 0040 - 00ff   Flash Region 8 (EC): 07fff000 - 0fff (unused) Looking at the contents of flash.bin then the EC firmware is located at offset 0x40 which would appear to put it at the start of the IFD BIOS partition. Yep, the EC firmware is at

[coreboot] Re: Embedding EC firmware

2020-10-05 Thread Andy Pont
Hi Felix... Does the EC firmware of your system reside in the IFD EC partition or in the IFD BIOS partition? The former doesn't seem to be the case, since ifdtool complains about nor IFD EC region being present in the IFD. For the latter have a look at 51nb/x210 and mb/amd/mandolin where an F

[coreboot] Re: Embedding EC firmware

2020-10-05 Thread Felix Held
Hi Andy! Does the EC firmware of your system reside in the IFD EC partition or in the IFD BIOS partition? The former doesn't seem to be the case, since ifdtool complains about nor IFD EC region being present in the IFD. For the latter have a look at 51nb/x210 and mb/amd/mandolin where an FMAP

[coreboot] Re: Embedding EC firmware

2020-10-05 Thread Andy Pont
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 abo

[coreboot] Re: Embedding EC firmware

2020-10-02 Thread Duncan Laurie
On Fri, Oct 2, 2020 at 8:40 AM Andy Pont wrote: > Duncan wrote... > > You can enable CONFIG_HAVE_EC_BIN and define CONFIG_EC_BIN_PATH ( > https://review.coreboot.org/plugins/gitiles/coreboot/+/refs/heads/master/src/southbridge/intel/common/firmware/Kconfig#115) > to point to the EC binary and the

[coreboot] Re: Embedding EC firmware

2020-10-02 Thread Andy Pont
Duncan wrote... You can enable CONFIG_HAVE_EC_BIN and define CONFIG_EC_BIN_PATH (https://review.coreboot.org/plugins/gitiles/coreboot/+/refs/heads/master/src/southbridge/intel/common/firmware/Kconfig#115) to point to the EC binary and the build system will use ifdtool to inject the binary at t

[coreboot] Re: Embedding EC firmware

2020-10-02 Thread Duncan Laurie
On Fri, Oct 2, 2020 at 3:51 AM Andy Pont wrote: > Hello, > > I have a binary file that is the firmware for the embedded controller on > the laptop platform that I am working on. In the regular BIOS provided > by the hardware vendor this 128KB binary is located at offset 0x40 > in the BIOS im