<div dir="ltr"><div dir="ltr">Hi Jose,<div><br></div><div>Thank you very much for the detail information.</div><div>The output of ifdtool in layout.txt is:</div><div><div>00000000:00000fff fd</div><div>00300000:007fffff bios</div><div>00001000:002fffff me</div></div><div><br></div><div>So the original bios size is 0x500000 = 5MB</div><div><br></div><div>You wrote:</div><div> if the size of the original BIOS is bigger or equal than coreboot build you are good to go ahead.</div><div><br></div><div>The original "ROM chip size" in menuconfig is 2MB. Should I change it to 8MB ?</div><div><br></div><div>I'm aware my board is not identical to the "Bayley Bay FSP-based CRB" </div><div>Should I use another board as reference ?<br></div><div><br></div><div>Best regards,</div><div>Zvika </div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 25, 2018 at 10:16 AM Jose Trujillo <<a href="mailto:ce.autom@protonmail.com">ce.autom@protonmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hello Zvika:<br></div><div><br></div><div>First get the correct original full 8MB FW from the manufacturer or dump it from the board with the command in EFI:<br></div><div>"ftp -d BYT_orig.bin" and double save it.<br></div><div><br></div><div>2.- in coreboot/util/ifdtool do make and sudo make install.<br></div><div>3.- in terminal go to the FW directory and do:    "ifdtool BYT_orig.bin -f fw_layout.txt"<br></div><div>      a).- in "fw_layout.txt" you will get the BIOS area size from the original FW (just substract).<br></div><div>      b).- if the size of the original BIOS is bigger or equal than coreboot build you are good to go ahead.<br></div><div>4.- copy/move "BYT_orig.bin" in the directory which resides the coreboot folder (not inside the coreboot folder) and do:<br></div><div>     ifdtool -i BIOS:./coreboot/build/coreboot.rom CB_baytrail.bin<br></div><div>5.- flash it:   "fpt -f CB_baytrail.bin" booting from UEFI.<br></div><div><br></div><div>If the build was correctly done and followed accurately those steps the system should boot.<br></div><div><br></div><div>Good luck,<br></div><div>Jose Trujillo.<br></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Monday, September 24, 2018 10:18 PM, Zvi Vered <<a href="mailto:veredz72@gmail.com" target="_blank">veredz72@gmail.com</a>> wrote:<br></div><div> <br></div><blockquote type="cite" class="m_-8207924462884583092protonmail_quote"><div dir="ltr"><div>Hello,<br></div><div><br></div><div>I have an Intel's ATOM Bay Trail board. The output of "inteltool" is:<br></div><div><div><br></div><div>CPU: ID 0x30679, Processor Type 0x0, Family 0x6, Model 0x37, Stepping 0x9<br></div><div>Northbridge: 8086:0f00 (Bay Trail)<br></div><div>Southbridge: 8086:0f1c (Bay Trail)<br></div><div>IGD: 8086:0f31 (unknown)<br></div></div><div><br></div><div>In coreboot configuration I selected:<br></div><div>Mainboard -> Mainboard model -> Bayley Bay FSP-based CRB<br></div><div>The default ROM chip size is 2MB. <br></div><div>This is also the size of coreboot.rom created after "make"<br></div><div><br></div><div>The board has 8MB BIOS flash. <br></div><div>It's delivered with a BIOS programming utility that runs under EFI shell.<br></div><div><br></div><div>The original BIOS has 2 versions: rom (5MB) and bin (8MB)<br></div><div>I tried to burn the 2MB coreboot.rom with the vendor's BIOS utlity.<br></div><div> <br></div><div>I got:<br></div><div>3 - Error: ROM file size does not match existing BIOS size. <br></div><div>Should I convert coreboot.rom to coreboot.bin ? How ?<br></div><div>If not, how can I program coreboot.rom ?<br></div><div><br></div><div>Thank you,<br></div><div>Zvika <br></div></div></blockquote><div><br></div></blockquote></div>