I did this exact thing while porting heads to a new motherboard, as the 4mb SPI was too small. Heres the steps, and they work.
Ok now I'm a bit confused. Can you elaborate on what some of your steps do?
- When you set chip size to 16MB but use the stock descriptor, you've basically got a coreboot build with an empty / unused top half? So then step 3 tells the IFD to actually use the rest, so to speak? - I need to adjust my FMAP in addition to performing step 5? I think that's what I was missing in my initial assumptions. - In step 6, can one not modify the IFD without doing it through the actual ROM image?
Thanks, R
On Tue, Jan 14, 2020 at 9:26 AM Simon Newton simon.newton@gmail.com wrote:
re-sending to coreboot list due to a problem with my gmail subscription.
On Tue, Jan 14, 2020 at 10:32 AM Nico Huber nico.h@gmx.de wrote:
The IFD also contains a small table about flash chips (e.g. to know the erase opcode / block size). I'm not sure if you need to adapt it or if the PCH would fall back to automatic discovery via SFDP. Might also depend on the PCH generation. I would match it with the new chip to be on the safe side.
This is an optional step. This table is more about letting ME know how to write to the specific chip. see https://github.com/corna/me_cleaner/issues/80
IMHO, the worst thing you can do is to assume that it will work on the first try. Better be prepared for more external flashing
It doesnt work on the first try, take it from me. I found the easiest way to do it was to use the stock factory rom, modify that with IFDtool and then use the newly modified IFD to build coreboot (while specifying new CBFS size inside of coreboot menuconfig)
I did this exact thing while porting heads to a new motherboard, as the 4mb SPI was too small. Heres the steps, and they work.
https://github.com/osresearch/heads/issues/547#issuecomment-485887948
Step2 is optional and makes no difference to coreboot functionality. As noted above, its purely for ME. _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org