[coreboot] SGABIOS checksum [kevin at koconnor.net: Re: SeaBIOS, serial output, and grub]
Kevin O'Connor
kevin at koconnor.net
Fri May 15 01:15:15 CEST 2009
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=8c7665d2508d598abf07510234515ffbf198cdff;hb=HEAD
>
>
> 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=19b715adfe491aa0fd54fbae4d35b1d1a0abf346;hb=HEAD
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
More information about the coreboot
mailing list