[SeaBIOS] compiling a working Seabios
Kevin O'Connor
kevin at koconnor.net
Thu Feb 18 00:20:57 CET 2010
On Wed, Feb 17, 2010 at 03:30:36PM +1000, Greg Ungerer wrote:
> My host build system is a Ubuntu 9.10 x86_64 install (using the most
> up to date packages). This a gcc-4.4.1 and binutils-2.20 setup.
>
> If I get the source seabios-0.5.1 package from Kevin's download
> page and compile that I end up with a bios.bin.elf that is:
>
> -rwxr-xr-x 1 gerg gerg 1048716 2010-02-17 15:11 bios.bin.elf
This looks like a binutils quirk that others have run into - a work
around was recently added to SeaBIOS git (after the 0.5.1 release).
> If I instead use a binutils-2.18 "ld" that I have lying around
> (doing "make LD=i386-linux-ld") then I end up with a more
> reasonable sized bios.bin.elf of 82060 bytes. But this bios.bin.elf
> just hangs after being loaded by coreboot on my target.
That's odd. Did you follow the instructions at:
http://www.coreboot.org/SeaBIOS#SeaBIOS
In particular, make sure the proper changes are made to the
src/config.h file.
-Kevin
More information about the SeaBIOS
mailing list