Hi Peter,<br>   There is an tools[1] which can calculate the checksum. I am not sure if it can help,<br>really hope it can help<br>[1]<a href="http://vps.dorilex.net/pub/scm/usbrom.git">http://vps.dorilex.net/pub/scm/usbrom.git</a><br>
<br><div class="gmail_quote">On Thu, May 14, 2009 at 9:38 PM, Peter Stuge <span dir="ltr"><<a href="mailto:peter@stuge.se">peter@stuge.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Nathan,<br>
<br>
there was some discussion on the coreboot mailing list, and it seems<br>
that the SGABIOS binary doesn't have a checksum calculated for it,<br>
which means that some BIOSes refuse to initialize it.<br>
<br>
The SeaBIOS project maintained by Kevin has a utility for calculating<br>
checksums, available at:<br>
<br>
<a href="http://git.linuxtogo.org/?p=kevin/seabios.git;a=blob;f=tools/checksum.py;h=8c7665d2508d598abf07510234515ffbf198cdff;hb=HEAD" target="_blank">http://git.linuxtogo.org/?p=kevin/seabios.git;a=blob;f=tools/checksum.py;h=8c7665d2508d598abf07510234515ffbf198cdff;hb=HEAD</a><br>

<br>
<br>
Kevin, I can't find that buildrom.py script in seabios.git?<br>
<br>
<br>
//Peter<br>
<br>
----- Forwarded message from Kevin O'Connor <<a href="mailto:kevin@koconnor.net">kevin@koconnor.net</a>> -----<br>
<br>
From: Kevin O'Connor <<a href="mailto:kevin@koconnor.net">kevin@koconnor.net</a>><br>
To: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
Subject: Re: [coreboot] SeaBIOS, serial output, and grub<br>
Date: Thu, 14 May 2009 09:19:33 -0400<br>
<br>
On Wed, May 13, 2009 at 11:23:52PM -0400, Ward Vandewege wrote:<br>
> > which is correct (the last two digits are 00).<br>
><br>
> Huh:<br>
><br>
> $ v ../payloads/sgabios.bin<br>
> -rwxr-xr-x 1 root src 3169 2009-04-29 13:56 ../payloads/sgabios.bin*<br>
> $ tools/checksum.py <../payloads/sgabios.bin<br>
> sum=50b76<br>
<br>
Heh - sgabios isn't properly checksumming.  It was just dumb luck that<br>
my binary summed to zero.<br>
<br>
This is a hack, but you can use seabios' rom building tool to make it<br>
work:<br>
<br>
tools/buildrom.py ../payloads/sgabios.bin sgabios-cksum.bin<br>
<br>
Someone should follow up with google on this..<br>
<br>
-Kevin<br>
<br>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="http://www.coreboot.org/mailman/listinfo/coreboot" target="_blank">http://www.coreboot.org/mailman/listinfo/coreboot</a><br>
<br>
----- End forwarded message -----<br>
<font color="#888888"><br>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="http://www.coreboot.org/mailman/listinfo/coreboot" target="_blank">http://www.coreboot.org/mailman/listinfo/coreboot</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Jason Wang <br>Peking University<br>