Hi Nico,
Thank you very much for the information.
Best regards, Zvika On Sat, Oct 6, 2018 at 6:18 PM Nico Huber nico.h@gmx.de wrote:
On 10/6/18 2:46 PM, Zvi Vered wrote:
Hello Nathaniel, Nico,
Thank you very much for the detailed answers.
The vendor's bin file starts with the following pattern: 00000000: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 00000010: 5AA5F00F 03000402 0602100B 20002100
Can you confirm that this is the start of IFD ?
Yes, it is (at least the first 20B are distinctive).
There is not much public documentation about it ([1] is all I know) but you might find something less public with Google [2]. There's also a lot of open-source code of programs that can parse it [3][4]. Code is usually more accurate than documentation but it explains less about the configuration bits. You'll have to ask Intel for the SPI Program- ming Guide for your particular platform if you want to fully under- stand it and craft your own.
Nico
[1] https://review.coreboot.org/cgit/flashrom.git/plain/Documentation/mysteries_... [2] "Intel" "SPI" "Programming Guide" *cough [3] https://review.coreboot.org/cgit/flashrom.git/tree/ich_descriptors.c [4] https://review.coreboot.org/cgit/coreboot.git/tree/util/ifdtool/