On Thu, May 14, 2009 at 03:38:33PM +0200, Peter Stuge wrote:
Hi Nathan,
there was some discussion on the coreboot mailing list, and it seems that the SGABIOS binary doesn't have a checksum calculated for it, which means that some BIOSes refuse to initialize it.
The SeaBIOS project maintained by Kevin has a utility for calculating checksums, available at:
http://git.linuxtogo.org/?p=kevin/seabios.git;a=blob;f=tools/checksum.py;h=8...
Kevin, I can't find that buildrom.py script in seabios.git?
Sorry - it's there now.
It's in "tools/buildrom.py" in the repo at:
git clone git://git.linuxtogo.org/home/kevin/seabios.git
It's also at:
http://git.linuxtogo.org/?p=kevin/seabios.git;a=blob;f=tools/buildrom.py;h=1...
The script pads a rom to 512 bytes, sets the rom length, and uses byte 7 as a checksum. It wasn't designed for sgabios, but looks like it will work.
-Kevin