Trouble with etherboot-5.2.2
Dave Ashley
linuxbios at xdr.com
Wed Jan 7 12:28:00 CET 2004
Ron wrote:
>Dave, could you send me those two config files? I can try to write the
>top-level doco if you want.
Here is a diff of the 2 config files I changed. My changes are pretty
trivial, and the comments in the Config files explain everything.
-Dave
diff -Nur etherboot-5.2.2/src/Config /ram/etherboot-5.2.2/src/Config
--- etherboot-5.2.2/src/Config 2003-10-04 18:00:54.000000000 -0700
+++ /ram/etherboot-5.2.2/src/Config 2004-01-07 07:55:33.000000000 -0800
@@ -241,7 +241,7 @@
CFLAGS+= -DCONFIG_PCI -DCONFIG_ISA
# For prompting and default on timeout
-CFLAGS+= -DASK_BOOT=3 -DBOOT_FIRST=BOOT_NIC
+CFLAGS+= -DASK_BOOT=0 -DBOOT_FIRST=BOOT_NIC
# If you would like to attempt to boot from other devices as well as the network.
# CFLAGS+= -DBOOT_SECOND=BOOT_FLOPPY
# CFLAGS+= -DBOOT_THIRD=BOOT_DISK
@@ -275,7 +275,7 @@
# Limit the delay on packet loss/congestion to a more bearable value. See
# description above. If unset, do not limit the delay between resend.
-CFLAGS+= -DBACKOFF_LIMIT=7 -DCONGESTED
+CFLAGS+= -DBACKOFF_LIMIT=2 -DCONGESTED
# More optional features
# CFLAGS+= -DCAN_BOOT_DISK -DTRY_FLOPPY_FIRST=4
@@ -283,9 +283,13 @@
# For a serial console, which can run in parallel with FIRMWARE console
# CFLAGS+= -DCONSOLE_DUAL -DCOMCONSOLE=0x3F8 -DCONSPEED=9600
+CFLAGS += -DCONSOLE_SERIAL -DCOMCONSOLE=0x3f8 -DCONSPEED=115200
+
+CFLAGS+= -DCONSOLE_DIRECT_VGA
+
# Enable tagged image, generic ELF, Multiboot ELF
# or FreeBSD ELF/a.out boot image support
-CFLAGS+= -DTAGGED_IMAGE -DELF_IMAGE
+CFLAGS+= -DELF_IMAGE
# CFLAGS+= -DAOUT_IMAGE -DIMAGE_MULTIBOOT -DIMAGE_FREEBSD
# CFLAGS+= -DAOUT_IMAGE -DAOUT_LYNX_KDI
diff -Nur etherboot-5.2.2/src/arch/i386/Config /ram/etherboot-5.2.2/src/arch/i386/Config
--- etherboot-5.2.2/src/arch/i386/Config 2003-08-01 20:00:16.000000000 -0700
+++ /ram/etherboot-5.2.2/src/arch/i386/Config 2004-01-07 07:35:19.000000000 -0800
@@ -79,13 +79,13 @@
# @/OptionDescription@
# BIOS select don't change unless you know what you are doing
-CFLAGS+= -DPCBIOS
+#CFLAGS+= -DPCBIOS
# Compile in k8/hammer support
#CFLAGS+= -DCONFIG_X86_64
# Options to make a version of Etherboot that will work under linuxBIOS.
-#CFLAGS+= -DLINUXBIOS -DCONFIG_TSC_CURRTICKS -DCONSOLE_SERIAL -DCOMCONSOLE=0x3f8 -DCOMPRESERVE -DCONFIG_PCI_DIRECT -DELF_IMAGE
+CFLAGS+= -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
More information about the coreboot
mailing list