[U-Boot] Building u-boot.rom for Minnowboard
Saket Sinha
saket.sinha89 at gmail.com
Mon Jun 1 06:55:17 CEST 2015
Hi Bin,
Please find my response inline.
>> >> root at saket-HP-PC:# /u-boot-x86/tools/ifdtool -x BayleyBay/SPI.bin
>> >> Flash Region 0 (Flash Descriptor): 00000000 - 00000fff
>> >> Flash Region 1 (BIOS): 00500000 - 007fffff
>> >> Flash Region 2 (Intel ME): 00001000 - 004fffff
>> >> Flash Region 3 (GbE): 00fff000 - 00000fff (unused)
>> >> Error while writing: Bad address
>> >> Flash Region 4 (Platform Data): 00fff000 - 00000fff (unused)
>> >> Error while writing: Bad address
>> >>
>> >>
>> >> a)./tools/ifdtool -x MNW2MAX1.X64.0073.R02.1409160934.bin
>> >> From the generted files, copying flashregion_0_flashdescriptor.bin as
>> >> board/intel/minnowmax/descriptor.bin
>> >>
>> >> Though the o/p files are generated, I get the following error after
>> >> this command -
>> >> root at saket-PC:# /u-boot-x86/tools/ifdtool -x
>> >> MNW2MAX1.X64.0073.R02.1409160934.bin
>> >> Flash Region 0 (Flash Descriptor): 00000000 - 00000fff
>> >> Flash Region 1 (BIOS): 00500000 - 007fffff
>> >> Flash Region 2 (Intel ME): 00001000 - 004fffff
>> >> Flash Region 3 (GbE): 00000000 - 00000fff
>> >> Flash Region 4 (Platform Data): 00fff000 - 00000fff (unused)
>> >> Error while writing: Bad address
>> >>
>>
>> I've seen this error before. It is a bug of the ifdtool, but I think
>> it can be ignored. I have a patch sent out. Please check
>> http://patchwork.ozlabs.org/patch/478590/
>>
Your patch fixes the Error message but still I do not get any o/p on
serial with the resulting u-boot.rom
>> >> 4. Flashing u-boot.rom to Minnowmax by desiprog sf100
>> >> ./flashrom -p dediprog -w u-boot.rom
>> >>
>>
>> Can you confirm that you have setup the flashrom tool correctly? I
>> don't use flashrom on Linux as I normally do the SPI flash programming
>> on a Windows machine. Can you dump the whole SPI flash image back
>> after you program the u-boot.rom and compare the dumped file with the
>> u-boot.rom you generated to see whether they are exactly the same?
>>
I only way I have dumped SPI flash has been through flashrom only.
How else can I do it on Linux?
As of now I am trying to burn u-boot.rom with SPI programmer/software
on Windows to check the sanity of my flashrom setup.
>> >> 5. Now when I am powering Minnowmax and collecting the output on serial
>> >> -
>> >> Nothing appears.
>> >>
>> >> Kindly let me know, if I am missing something here.
>> >>
>>
>> Sorry but I don't have a MinnowMax board here, so cannot try it on my
>> side.
>
> I'm on holiday but should be able to try this on Monday or Tuesday.
>
Thanks Simon.
Regards,
Saket Sinha
More information about the U-Boot
mailing list