[SeaBIOS] [PATCH] src/Kconfig: Add note that boot interface is needed

Kevin O'Connor kevin at koconnor.net
Wed Mar 20 03:18:55 CET 2013


On Wed, Mar 20, 2013 at 12:59:53AM +0100, Paul Menzel wrote:
> Am Dienstag, den 19.03.2013, 19:05 -0400 schrieb Kevin O'Connor:
> > Basically everything under the "BIOS interfaces" menu is low-level and
> > should not be changed without understanding the implications.  (If one
> > disables the "boot" interface, it should not be surprising that the
> > machine can not "boot".)
> 
> Again as in the other thread this probably stems from the fact that I
> have the (wrong(?)) assumption that BIOS interfaces are not needed for
> GRUB or Linux.

Both grub and Linux can invoke BIOS calls.  Grub 1 will certainly
require bios calls; it may be possible to compile grub 2 so that it
doesn't require bios calls, but that's not going to be anything out of
the box.

> > Maybe if you explain what it is you're trying to accomplish then some
> > direction could be given.
> 
> I want to make the SeaBIOS payload for coreboot as small as possible and
> still want to boot from my AHCI hard drive (SATA) using GRUB 2 from
> Debian Sid/unstable (with working graphics, that means loading the
> option ROM for AMD/ATI wrestler.

If you want a smaller payload - use lzma compression.  With
compression the SeaBIOS payload uses ~50K of rom space.  If your using
the onboard VGA - be sure to lzma compress the vga option ROM as well.
If for some reason 50K is still too big then it is possible to disable
unneeded drivers under the "Hardware Support" menu.  However, I'd be
curious to why 50K is too big on the ASRock - that should have a
plenty large rom.  For space reductions, you'd almost certainly find
bigger wins slimming down coreboot than trying to cut features out of
seabios.

-Kevin



More information about the SeaBIOS mailing list