<div dir="ltr">Hello to community,<div><br></div><div>I finally, after 3 days of additional very hard struggle, found out why I have (while I am in the last stage of building CBFS) nonsense while building APL-I Coreboot coreboot.rom?!</div><div><br></div><div>Please, read carefully this announcement.</div><div><br></div><div>For last three days I came to hard stop because of this failure:</div><div><br></div><div><div style="font-size:12.8px">Just quick look into the final failure (all passed, but last stage - IFD failed):</div><div style="font-size:12.8px"><br></div><div><div style="font-size:12.8px">    Compile IFDTOOL</div><div style="font-size:12.8px">    HOSTCC     util/ifdfake/ifdfake</div><div style="font-size:12.8px">    DD         Adding Intel Firmware Descriptor</div><div style="font-size:12.8px">    IFDTOOL    Unlocking Management Engine</div><div style="font-size:12.8px">File build/coreboot.pre is 8388608 bytes</div><div style="font-size:12.8px">No Flash Descriptor found in this image</div><div style="font-size:12.8px"><i><u><font color="#ff0000"><b>src/southbridge/intel/common/<wbr>firmware/Makefile.inc:50: recipe for target 'add_intel_firmware' failed</b></font></u></i></div><div style="font-size:12.8px"><i><u><font color="#ff0000"><b>make: *** [add_intel_firmware] Error 1</b></font></u></i></div><div style="font-size:12.8px">[user@localhost coreboot]$ </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">At first, I suspect that culprit my .config file, but I have checked it several times (maybe > dozen), and I could NOT find any problem with it (except minor doubts).</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Then I switched to inspect -southbridge- setup, but these is none, since (simplified explanation/view) APL-I is SoC.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The next phase was to inspect <span style="font-size:12.8px"><b style="text-decoration:underline;font-style:italic"><font color="#000000">src/southbridge/intel/common/<wbr>firmware/Makefile.inc</font></b><font color="#000000"> , but there (although my make scripting is rusty) I could NOT find any problem...</font></span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><font color="#000000"><br></font></span></div><div><span style="font-size:12.8px"><font color="#000000">Finally, somewhere around 2:00 AM I noticed/determined the root cause of the problem: the </font></span><font color="#000000"><span style="font-size:12.8px">util/ifdtool/ifdtool.c, line:</span></font></div></div></div><div><span style="font-size:12.8px"><font color="#000000">          if (*(uint32_t *) (image + i) == </font><b><i><u><font color="#ff0000">0x0FF0A55A</font></u></i></b><font color="#000000">) {</font></span><br></div><div><span style="color:rgb(0,0,0);font-size:12.8px"><br></span></div><div><span style="color:rgb(0,0,0);font-size:12.8px">YET another INTEL IOTG PED hidden road bomb: the latest APL-I FSP: </span><span style="font-size:12.8px">APL-I_</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">FSP/ApolloLakeFspBinPkg/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">FspBin/ApolloLakeFsp.fd</span><span style="color:rgb(0,0,0);font-size:12.8px"> does NOT have pattern </span><span style="font-size:12.8px"><b><i><u><font color="#ff0000">0x0FF0A55A</font></u></i></b><font color="#000000"> embedded in it (I have checked with HxD WIN tool).</font></span></div><div><span style="color:rgb(0,0,0);font-size:12.8px"><br></span></div><div><span style="color:rgb(0,0,0);font-size:12.8px">Then, modifying the C f-n </span><font color="#000000"><span style="font-size:12.8px">static fdbar_t *find_fd(char *image, int size), finally I've got success! :-(</span></font></div><div><span style="color:rgb(0,0,0);font-size:12.8px"><br></span></div><div><span style="color:rgb(0,0,0);font-size:12.8px">Hello Martin,</span></div><div><span style="color:rgb(0,0,0);font-size:12.8px"><br></span></div><div><span style="color:rgb(0,0,0);font-size:12.8px">Thank you for unselfish help.</span></div><div><span style="color:rgb(0,0,0);font-size:12.8px"><br></span></div><div><span style="color:rgb(0,0,0);font-size:12.8px">Best Regards,</span></div><div><span style="color:rgb(0,0,0);font-size:12.8px">Zoran Stojsavljevic</span></div><div><span style="color:rgb(0,0,0);font-size:12.8px"><br></span></div></div>