[LinuxBIOS] Winflashrom -- Current Status

Darmawan Salihun darmawan.salihun at gmail.com
Fri Jul 13 11:29:31 CEST 2007

Peter Stuge wrote:
>> There are still a few issues with this code.
>> 1. I've tested it on ICH-5 board. However, the BIOS binary that it
>> reads from it is 514KB. It should be only 512KB.
>> I'm still trying to find out the bug. Any info from ICH-x code
>> maintainer?
> This is probably because Win32 does LF->CR+LF translation when the
> fopen() mode is "r" or "w" - Win32 introduces "rb" and "wb" for
> binary files.
Anyway, I have a question about the rom layout file (rom.layout). Is it
being read as binary or text file?
Looking at the code and the rom.layout itself (with hex editor) suggests
that it's read as text file.

--Darmawan MS

More information about the coreboot mailing list