<div>Hello Peter,<br></div><div><br></div><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 11:05 AM<br></div><div>From: peter@stuge.se<br></div><div><br></div><div>>> 1) How to get Coreboot running (general part)<br></div><div>> The 1) is quite a large topic.<br></div><div><br></div><div>Strangely that part seems to much easier as there is already excellent documentation available how to install all dependencies, build the toolchain.<br>I've verified this several times by installing coreboot on a freshly installed Ubuntu 16.04.3 LTS.</div><div><br></div><div>>> I"ve followed the howto in the coreboot wiki:<br></div><div>> Sure, but what do the steps in the howto actually mean?<br>> Why are you sure that they are correct?</div><div><br></div><div>I am not sure that is why I am asking :-) And I got already  different answers.<br></div><div><br></div><div>>> honestly I was also wondering why this is working and even more,<br></div><div>>> why I am skipping the first 8MB of the file.<br>> Perfect! Please also *answer* those questions; they are important.</div><div><br></div><div>I good a better understanding after looking at the picture one the me_cleaner site here:<br></div><div>https://github.com/corna/me_cleaner/wiki/External-flashing<br></div><div>This picture shows the content of the Chip:<br></div><div>https://camo.githubusercontent.com/3ea0ff670edb94372124ad0c36bd5e2b3c522f7e/687474703a2f2f6f6936352e74696e797069632e636f6d2f3130726e3132642e6a7067<br></div><div>I got confused in the beginning as the X230 contains two chips which are see as one 12 MB chip.<br></div><div><br></div><div>As I have saved the original content of both of my chips (x230-4mb.rom and x230-8m.rom) I have already looked at the content of the 8 MB chip:<br></div><div><br></div><div>cd ~/coreboot/MyFactoryROM<br></div><div>ifdtool -x x230_8mb.rom<br></div><div><br></div><div>will extract 4 files:<br></div><div>flashregion_0_flashdescriptor.bin (4K) --> renamed to: descriptor.bin<br></div><div>flashregion_1_bios.bin (4,8M) <br></div><div>flashregion_2_intel_me.bin (5,0M)--> renamed to: me.bin<br></div><div>flashregion_3_gbe.bin (8,0K)-- > renamed to: gbe.bin<br></div><div><br></div><div>I have verified the ME image as described here<br></div><div>https://github.com/corna/me_cleaner/wiki/External-flashing<br></div><div><br></div><div>cd ~/coreboot/MyFactoryROM<br></div><div>~/me_cleaner/me_cleaner.py -c x230_8mb.rom<br></div><div><br></div><div>   Full image detected<br></div><div>   The ME/TXE region goes from 0x3000 to 0x500000<br></div><div>   Found FPT header at 0x3010<br></div><div>   Found 23 partition(s)<br></div><div>   Found FTPR header: FTPR partition spans from 0x183000 to 0x24d000<br></div><div>   ME/TXE firmware version 8.1.71.3608<br></div><div>   Checking the FTPR RSA signature... VALID<br></div><div><br></div><div>Strangely the 8MB chips seems to also contains the "flashregion_1_bios.bin".<br></div><div>I tought that the BIOS part is located on the top 4 MB Chip.<br></div><div>I'd like to both files (4MB + 8MB) into one and use that with idftool.<br></div><div>I tried to run idftool with --chip 1 on the extracted x230-4mb.rom but this didn't succeed.<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><div><br></div><div>QUESTION: <br></div><div>what I am really struggling with is, is the size of the CBFS filesystem in ROM (can be set under Mainboard in coreboot make nconfig). I need a bigger CBFS to be able to run payloads but then I can't just flash the upper 4 MB chip.<br></div><div>As such the question is: what do I need to do with the coreboot.bin after compiling to be able to flash the whole 12 MB (4 mb chip + 12 mb chip).<br></div><div>Any help would be great here, as I am currently mainly struggling with this.<br></div><div><br></div><div><br></div><div>[799]<br></div>