Hi Kevin,
Kevin O'Connor wrote:
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).
Just using an older ld was enough to fix. So it does look to be a binutils problem.
I tried the current git head, it still has the same problem though.
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.
Ahh, thats what I was missing. From the README I thought it was enough to just "make" :-)
I can now generate working seabios.
Thanks Greg
------------------------------------------------------------------------ Greg Ungerer -- Principal Engineer EMAIL: gerg@snapgear.com SnapGear Group, McAfee PHONE: +61 7 3435 2888 8 Gardner Close FAX: +61 7 3217 5323 Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com