Etherboot: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
src/arch/i386/Config | src/arch/i386/Config | ||
#CFLAGS+= -DPCBIOS | |||
CFLAGS+= -DPCBIOS | |||
CFLAGS+= -DCONFIG_X86_64 | CFLAGS+= -DCONFIG_X86_64 | ||
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 | ||
enable VGA | #enable VGA | ||
CFLAGS+= -DCONSOLE_DIRECT_VGA | CFLAGS+= -DCONSOLE_DIRECT_VGA | ||
Line 21: | Line 19: | ||
CFLAGS+= -DBOOT_SECOND=BOOT_DISK | CFLAGS+= -DBOOT_SECOND=BOOT_DISK | ||
enable FILO and Keyboard | #enable FILO and Keyboard | ||
# for direct PC kbd support | # for direct PC kbd support | ||
CFLAGS+= -DCONSOLE_PC_KBD | CFLAGS+= -DCONSOLE_PC_KBD |
Revision as of 19:26, 1 March 2005
Download Etherboot --- Please use 5.2.6
Config changes needed for LinuxBIOS support
src/arch/i386/Config
#CFLAGS+= -DPCBIOS
CFLAGS+= -DCONFIG_X86_64
CFLAGS+= -DLINUXBIOS -DCONFIG_TSC_CURRTICKS -DCONSOLE_SERIAL -DCOMCONSOLE=0x3f8 -DCOMPRESERVE -DCONFIG_PCI_DIRECT -DELF_IMAGE
#enable VGA CFLAGS+= -DCONSOLE_DIRECT_VGA
src/Config
CFLAGS+= -DBOOT_FIRST=BOOT_NIC CFLAGS+= -DBOOT_SECOND=BOOT_DISK
#enable FILO and Keyboard # for direct PC kbd support CFLAGS+= -DCONSOLE_PC_KBD # for FILO support it will make main call pci_init CFLAGS+= -DCONFIG_FILO
src/filo/Config
change you command line as you like
AUTOBOOT_FILE = "hda2:/boot/vmlinuz initrd=/boot/initrd pci=noacpi ro root=/dev/hda2 console=tty0 console=ttyS0,115200"