[coreboot] SeaBIOS, serial output, and grub

Ward Vandewege ward at gnu.org
Fri May 15 17:27:35 CEST 2009


On Thu, May 14, 2009 at 09:19:33AM -0400, Kevin O'Connor wrote:
> On Wed, May 13, 2009 at 11:23:52PM -0400, Ward Vandewege wrote:
> > > which is correct (the last two digits are 00).
> > 
> > Huh:
> > 
> > $ v ../payloads/sgabios.bin 
> > -rwxr-xr-x 1 root src 3169 2009-04-29 13:56 ../payloads/sgabios.bin*
> > $ tools/checksum.py <../payloads/sgabios.bin 
> > sum=50b76
> 
> Heh - sgabios isn't properly checksumming.  It was just dumb luck that
> my binary summed to zero.
> 
> This is a hack, but you can use seabios' rom building tool to make it
> work:
> 
> tools/buildrom.py ../payloads/sgabios.bin sgabios-cksum.bin

Yes, that fixes the sgabios loading. Log files:

with CONFIG_DEBUG_SERIAL set:

  http://ward.vandewege.net/coreboot/seabios/20090515-seabios-sgabios-serial-debug-on.cap

(the seabios serial detection issue still persists)

without CONFIG_DEBUG_SERIAL set:

  http://ward.vandewege.net/coreboot/seabios/20090515-seabios-sgabios-serial-debug-off.cap

Now - the reason why I wanted to use sgabios, was to get the seabios console
output on serial.

As you can see in the logs, sgabios is loaded too late to be much use for
that (after the disk detection, and after seabios prints 'Press F12 for boot
menu').

If sgabios is the way to get seabios to copy console to serial, would it be
possible to load the sgabios option rom (much) earlier?

Thanks,
Ward.

-- 
Ward Vandewege <ward at fsf.org>
Free Software Foundation - Senior Systems Administrator




More information about the coreboot mailing list