Tyan S2462 success (was Re: overflowed source buffer ... segment exceeding memory)

Bill Rugolsky Jr. brugolsky at telemetry-investments.com
Fri Nov 15 12:16:01 CET 2002

On Fri, Nov 15, 2002 at 09:26:13AM -0500, Andrew Kohlsmith wrote:
> > 	LinuxBIOS CVS + compile fixes
> > 		CONFIG_COMPRESS=0  (haven't tested CONFIG_COMPRESS=1 yet)
> > 	etherboot-5.0.7 3c9805.ebi
> > 	mkelfImage-1.18
> > 	Linux-2.4.20-rc1
> > 	RedHat 8 (gcc-3.2 and 2.13.*)
> .ebi -- is that just the .rom file?


> or is it an elf image?


> I was following the howto mentioned at 
> http://www.missl.cs.umd.edu/archives/linuxbios/msg11992.html and they have 
> etherboot making an elf image for natsemi without the use of mkelfimage (I 
> think).

Simply comment out PCBIOS and uncomment -DLINUXBIOS line in Config.
(I used the attached patch), then 

	make bin32/3c9805.ebi


	Bill Rugolsky
-------------- next part --------------
--- etherboot-5.0.7/src/Config~	2002-07-07 04:07:31.000000000 -0400
+++ etherboot-5.0.7/src/Config	2002-11-15 01:54:42.000000000 -0500
@@ -250,10 +250,10 @@
 # You may wish to enable more of the features if the size of your ROM allows.
 # BIOS select don't change unless you know what you are doing
 # For prompting and default on timeout
 # If you prefer the old style rotating bar progress display
 # MOTD and Image Menu are no longer the default, use mk{elf,nbi}-menu instead
@@ -287,7 +287,7 @@
 # Enable tagged image, generic ELF, Multiboot ELF
 # or FreeBSD ELF/a.out boot image support
@@ -295,7 +295,7 @@
 # Options to make a version of Etherboot that will work under linuxBIOS.
 # These options affect the loader that is prepended to the Etherboot image
@@ -316,7 +316,7 @@
 # Otherwise use -O2 (under no circumstance use -O3 or above!).
 CFLAGS32+=	-Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -mcpu=i386
 # Squeeze the code in as little space as possible.
-CFLAGS32+=	-malign-jumps=1 -malign-loops=1 -malign-functions=1
+CFLAGS32+=	-falign-jumps=1 -falign-loops=1 -falign-functions=1
 CFLAGS32+=	-Wall -W -Wno-format -Wno-unused
 LDFLAGS32+=	-N -Ttext $(RELOCADDR) -e _start

More information about the coreboot mailing list