Etherboot: Difference between revisions

From coreboot
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


commen out
commen out
     '''''CFLAGS+=      -DPCBIOS'''''
     CFLAGS+=      -DPCBIOS


enable  
enable  
     '''''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


src/Config
src/Config
Line 21: Line 21:
     CFLAGS+=      -DBOOT_SECOND=BOOT_DISK
     CFLAGS+=      -DBOOT_SECOND=BOOT_DISK


enable
enable FILO and Keyboard


     # for direct PC kbd support  
     # for direct PC kbd support  
Line 27: Line 27:
     # for FILO support it will make main call pci_init
     # for FILO support it will make main call pci_init
     CFLAGS+= -DCONFIG_FILO
     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"

Revision as of 19:24, 1 March 2005

Download Etherboot --- Please use 5.2.6

Config changes needed for LinuxBIOS support

src/arch/i386/Config

commen out

   CFLAGS+=       -DPCBIOS

enable

   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"