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?
no
> or is it an elf image?
yes.
> 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
Regards,
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
-CFLAGS32+= -DPCBIOS
+# CFLAGS32+= -DPCBIOS
# For prompting and default on timeout
-CFLAGS32+= -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK
+# CFLAGS32+= -DASK_BOOT=3 -DANS_DEFAULT=ANS_NETWORK
# If you prefer the old style rotating bar progress display
# CFLAGS32+= -DBAR_PROGRESS
# 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
-CFLAGS32+= -DTAGGED_IMAGE -DELF_IMAGE
+#CFLAGS32+= -DTAGGED_IMAGE -DELF_IMAGE
# CFLAGS32+= -DAOUT_IMAGE -DIMAGE_MULTIBOOT -DIMAGE_FREEBSD
# CFLAGS32+= -DAOUT_IMAGE -DAOUT_LYNX_KDI
@@ -295,7 +295,7 @@
# CFLAGS32+= -DDOWNLOAD_PROTO_NFS
# Options to make a version of Etherboot that will work under linuxBIOS.
-#CFLAGS32+= -DLINUXBIOS -DCONFIG_TSC_CURRTICKS -DCONSOLE_SERIAL -DCOMCONSOLE=0x3f8 -DCOMPRESERVE -DCONFIG_PCI_DIRECT -DELF_IMAGE
+CFLAGS32+= -DLINUXBIOS -DCONFIG_TSC_CURRTICKS -DCONSOLE_SERIAL -DCOMCONSOLE=0x3f8 -DCOMPRESERVE -DCONFIG_PCI_DIRECT -DELF_IMAGE
# These options affect the loader that is prepended to the Etherboot image
LCONFIG+= -DMOVEROM
@@ -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
ASFLAGS32=
LDFLAGS32+= -N -Ttext $(RELOCADDR) -e _start
More information about the coreboot
mailing list