Hi all,
I am trying to build coreboot for an Apollo Lake platform. I've read the coreboot presentation on Apollo Lake, and some of the threads about the IFWI on the coreboot mailing list: https://www.coreboot.org/images/2/23/Apollolake_SoC.pdf https://mail.coreboot.org/pipermail/coreboot/2017-November/085482.html https://mail.coreboot.org/pipermail/coreboot/2017-September/085217.html
After reading this and digesting the information for a week, I'm still no closer to understanding how the build process is supposed to work.
I have extracted the descriptor from the SPI image, and put the entire 16MB image in the 3rdparty directory. When I try to build coreboot, I'm getting the following error:
Image written successfully to build/cbfs/fallback/ifwi.bin.tmp. Image does not contain sub-partition OBBP(6). Sub-partition IBBP(4) entry IBBL replaced from file build/cbfs/fallback/bootblock.bin. Image written successfully to build/cbfs/fallback/ifwi.bin.tmp. E: Image is missing 'IFWI' region E: The image will be left unmodified. src/soc/intel/apollolake/Makefile.inc:137: recipe for target 'files_added' failed make: *** [files_added] Error 1
Attached is the output of ifdtool and ifwitool for the SPI dump of the vendor firmware for platform I'm working on.
A few interesting observations (from my perspective): - There doesn't seem to be an OBBP in this image. - My ifwitool output seems to match the output of others (e.g. https://mail.coreboot.org/pipermail/coreboot/2017-September/085210.html ) - This platform (CompuLab Fitlet 2) only has SPI flash, no EMMC. My understanding is that IFWI is the same whether it's on EMMC or SPI.
Some open questions I have: - Is it possible to build a flashable image using only coreboot and a dump of the vendor firmware, or does one need to use the Intel FSP and FIT tools and some "stitching" to get a flashable image with a coreboot payload? - Is there any public documentation available describing the FSP 2.0/IFWI flash layout? - Is it possible to obtain FIT for Apollo Lake without having an NDA or corporate account with Intel? It seems that absolutely everything about Apollo Lake is classified as "confidential" on Intel's website: https://www.intel.com/content/www/us/en/design/products-and-solutions/proces...
Can anyone who was working on an FSP 2.0 platform (e.g. Cameron Craig, Paul Penz, Morris) follow up on how they managed to build a flashable image?
Thanks, Hal