<div><br></div><blockquote class="protonmail_quote" type="cite"><div>-------- Original Message --------<br></div><div>Subject: Re: [coreboot] Coreboot on X230 and Dualboot / How to make it work<br></div><div>Local Time: 26 September 2017 12:49 PM<br></div><div>UTC Time: 26 September 2017 10:49<br></div><div>From: one7two99@protonmail.com<br></div><div><br></div><div>Next step is to clean the flashregion_2_intel_me.bin (me.bin) with me_cleaner which is describe well.<br></div></blockquote><div><br></div><div>It seems that ME_cleaner is now included in Coreboot looking at the options in menuconfig. As such I asssume I don't need to manually clean flashregion_2_intel_me.bin (me.bin)<br></div><div><br></div><div>The extracted Blobs are located at ./3rdparty/blobs/mainboard/lenovo/x230 and have been proper renamed and I have enabled the options under "Chipset":<br></div><div><br></div><div>*** Intel Firmware ***<br></div><div>[*] Add Intel descriptor.bin file<br></div><div>   (3rdparty/blobs/mainboard/$(MAINBOARDDIR)/descriptor.bin)<br></div><div>[ ]   Configure IFD for EM100 usage<br></div><div>[*]   Add Intel ME/TXE firmware<br></div><div>(3rdparty/blobs/mainboard/$(MAINBOARDDIR)/me.bin)<br></div><div>[*]     Verify the integrity of the supplied ME/TXE firmware                                          │<br></div><div>[*]     Strip down the Intel ME/TXE firmware<br></div><div>[*]   Add gigabit ethernet firmware<br></div><div>         (3rdparty/blobs/mainboard/$(MAINBOARDDIR)/gbe.bin)<br></div><div><br></div><div>I have enlarged the CBFS under coreboot nconfig in "Mainboard"<br></div><div><br></div><div>ROM chip size (12288 KB (12 MB))<br></div><div>(0x100000) Size of CBFS filesystem in ROM    <br></div><div><br></div><div>0x100000 wasn't enough, so I tried 0x200000 which was enough to add corinfo as secondary payload. Adding also nvramcui would need a bigger CBFS.<br></div><div>The later works if I increase the size of CBFS to 0x400000, as such I've proceed with this CBFS size.<br></div><div><br></div><div>I've read <a href="https://www.coreboot.org/CBFS">https://www.coreboot.org/CBFS</a> but honestly, this information is currently more than I can understand (not a hardware hacker :-).<br></div><div>When I look at the picture from me_cleaner...<br></div><div><a href="https://camo.githubusercontent.com/3ea0ff670edb94372124ad0c36bd5e2b3c522f7e/687474703a2f2f6f6936352e74696e797069632e636f6d2f3130726e3132642e6a7067">https://camo.githubusercontent.com/3ea0ff670edb94372124ad0c36bd5e2b3c522f7e/687474703a2f2f6f6936352e74696e797069632e636f6d2f3130726e3132642e6a7067</a><br></div><div>... the pictures explains to me that the Chips consists of several "areas":<br></div><div>Descriptor / GbE Blob / ME Firmware Blob / BIOS<br></div><div><br></div><div>Is the CBFS something like a "container" within the BIOS, which would mean that if I want to increase the size of the CBFS over a ceratin point I need to shrink ME Firmware (which is covered by the documentation from me_cleaner).<br></div><div>What would be the maximum CBFS size I can use without further modifications to the ME Firmware or will Coreboot reduce the size of the ME Firmware area to gain additional space automatically?<br></div><div><br></div><div>Now the obvious last step is to split the 12 MB coreboot.rom into two parts to flash the upper 4 MB chip and the 8 MB chip (which should include the "cleaned" version of Intel ME, as I have enabled "Strip down the Intel ME/TXE firmware" in the coreboot config).<br></div><div><br></div><div>Getting the last 4 MB of the coreboot.rom is covered by the coreboot wiki:<br></div><div># to flash the upper 4 MB part of the BIOS:<br></div><div>dd of=x230-4mb.rom bs=1M if=build/coreboot.rom skip=8<br></div><div><br></div><div>to flash the 8 mb chip I'll try:<br></div><div>dd of=x230-8mb.tom bs=1M if=build/coreboot.rom count=8<br></div><div><br></div><div>Question:<br></div><div>Is the above approach correct? I tried so already once but it didn't work (short flashing of Power-On-button -> nothing more)<br></div><div><br></div><div>[799]<br></div><div><br></div><div><br></div><div><br></div>