<div dir="ltr">Hi Jose, <div><br></div><div>You wrote:</div><div>"My recommended approach is using the original Intel FW with already included the FD, TXE". </div><div><br></div><div>What is "original intel FW" ?  </div><div>What is FD, TXE ?</div><div><br></div><div>After creating coreboot.rom should I always use the original BIOS with ifdtool to convert rom to bin ?</div><div><br></div><div>Thank you,</div><div>Zvika </div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 26, 2018 at 7:27 PM 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">You are right Nico,<br>
<br>
I just forgot the troubles this caused me.<br>
I am sorry Vika... My mistake.<br>
<br>
I can confirm with Nico:<br>
ROM chip size = 8MB (your case)<br>
CBFS_SIZE = 2 to 5MB (your specific case)<br>
<br>
My recommended approach is using the original Intel FW with already included the FD, TXE.<br>
<br>
I never tested adding regions to coreboot but you can try.<br>
<br>
To have better chances of success you should be dumping hardware settings booting with your original "BIOS" (look for the attached file).<br>
<br>
Check if the system is "Memory down"or/and ECC because it will be needed to edit FSP (if using it).<br>
Dump memory settings with the following commands:<br>
<br>
sudo dnf install i2c-tools-perl<br>
sudo modprobe eeprom<br>
decode-dimms<br>
<br>
If you have not done this already there is still a long way to go.<br>
Don't get intimidated, just do it, if you have questions just ask.... I will try to help<br>
<br>
Good luck,<br>
Jose.<br>
<br>
<br>
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br>
On Wednesday, September 26, 2018 6:28 PM, Nico Huber <<a href="mailto:nico.h@gmx.de" target="_blank">nico.h@gmx.de</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> On 9/26/18 9:19 AM, Jose Trujillo via coreboot wrote:<br>
><br>
> > No, don't change it, you change the size of coreboot only if during the<br>
> > building process "make" complain that there is not enough space but in<br>
> > your case your build was already successful leave it like that.<br>
><br>
> this advice seems very weird to me. I'm not experienced with Bay Trail.<br>
> But unless there is a bug in the Bay Trail code, you should always set<br>
> the correct ROM_SIZE (to the full flash chip size). Otherwise you may<br>
> introduce bugs in code that relies on this setting (e.g. saving the<br>
> MRC cache might fail and so would S3 resume).<br>
><br>
> CBFS_SIZE however is the setting to adjust according to your needs. It<br>
> should be at most the size of the BIOS region.<br>
><br>
> > In the rare circumstance that more space is required you can increase<br>
> > coreboot size to 4MB and istill will fit into your system 5MB of space<br>
> > available.<br>
> > "ifdtool" will inject coreboot in the top of the BYT_orig.bin and save<br>
> > as BYT_orig.bin.new that you can flash to your system.<br>
><br>
> I assume this doesn't work oob if you set ROM_SIZE correctly. But it is<br>
> unnecessary to craft a single file by hand. You can either only flash<br>
> the BIOS region (recommended) or add the other regions in coreboot's<br>
> config (HAVE_{IFD,ME,GBE}_BIN).<br>
><br>
> Nico<br>
<br>
<br>
</blockquote></div>