Difference between revisions of "Etherboot"

From coreboot
Jump to: navigation, search
Line 5: Line 5:
 
src/Config
 
src/Config
  
'''''# Select which buses etherboot should support
+
## Select which buses etherboot should support
 
CFLAGS+=        -DCONFIG_PCI
 
CFLAGS+=        -DCONFIG_PCI
 
#CFLAGS+=      -DCONFIG_PCMCIA
 
#CFLAGS+=      -DCONFIG_PCMCIA
  
# For prompting and default on timeout
+
## For prompting and default on timeout
#CFLAGS+=      -DASK_BOOT=3 -DBOOT_FIRST=BOOT_NIC
+
##CFLAGS+=      -DASK_BOOT=3 -DBOOT_FIRST=BOOT_NIC
 
CFLAGS+=      -DBOOT_FIRST=BOOT_NIC
 
CFLAGS+=      -DBOOT_FIRST=BOOT_NIC
 
CFLAGS+=      -DBOOT_SECOND=BOOT_DISK # If you would like to attempt to boot from other devices as well as the network.
 
CFLAGS+=      -DBOOT_SECOND=BOOT_DISK # If you would like to attempt to boot from other devices as well as the network.
# CFLAGS+=      -DBOOT_SECOND=BOOT_FLOPPY
+
## CFLAGS+=      -DBOOT_SECOND=BOOT_FLOPPY
# CFLAGS+=      -DBOOT_THIRD=BOOT_DISK
+
## CFLAGS+=      -DBOOT_THIRD=BOOT_DISK
# CFLAGS+=      -DBOOT_INDEX=0'''''
+
## CFLAGS+=      -DBOOT_INDEX=0
  
  
  
# for btext console support
+
## for btext console support
#CFLAGS+= -DCONSOLE_BTEXT  
+
##CFLAGS+= -DCONSOLE_BTEXT  
# for direct PC kbd support  
+
## for direct PC kbd support  
 
CFLAGS+= -DCONSOLE_PC_KBD
 
CFLAGS+= -DCONSOLE_PC_KBD
# 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
  
  
 
arch/i386/Config
 
arch/i386/Config
'''''
 
#CFLAGS+=      -DPCBIOS
 
  
# Compile in k8/hammer support
+
##CFLAGS+=      -DPCBIOS
 +
 
 +
## Compile in k8/hammer support
 
CFLAGS+= -DCONFIG_X86_64
 
CFLAGS+= -DCONFIG_X86_64
  
# Options to make a version of Etherboot that will work under linuxBIOS.
+
## 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
#VGA
+
##VGA
 
CFLAGS+= -DCONSOLE_DIRECT_VGA'''''
 
CFLAGS+= -DCONSOLE_DIRECT_VGA'''''

Revision as of 19:13, 1 March 2005

Download Etherboot --- Please use 5.2.6

Config changes needed for LinuxBIOS support

src/Config

    1. Select which buses etherboot should support

CFLAGS+= -DCONFIG_PCI

  1. CFLAGS+= -DCONFIG_PCMCIA
    1. For prompting and default on timeout
    2. CFLAGS+= -DASK_BOOT=3 -DBOOT_FIRST=BOOT_NIC

CFLAGS+= -DBOOT_FIRST=BOOT_NIC CFLAGS+= -DBOOT_SECOND=BOOT_DISK # If you would like to attempt to boot from other devices as well as the network.

    1. CFLAGS+= -DBOOT_SECOND=BOOT_FLOPPY
    2. CFLAGS+= -DBOOT_THIRD=BOOT_DISK
    3. CFLAGS+= -DBOOT_INDEX=0


    1. for btext console support
    2. CFLAGS+= -DCONSOLE_BTEXT
    3. for direct PC kbd support

CFLAGS+= -DCONSOLE_PC_KBD

    1. for FILO support it will make main call pci_init

CFLAGS+= -DCONFIG_FILO


arch/i386/Config

    1. CFLAGS+= -DPCBIOS
    1. Compile in k8/hammer support

CFLAGS+= -DCONFIG_X86_64

    1. 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

    1. VGA

CFLAGS+= -DCONSOLE_DIRECT_VGA