use filo boot loader
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1430 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
317cde826d
commit
f53bbd8908
|
@ -16,10 +16,15 @@ uses CONFIG_CHIP_CONFIGURE
|
|||
uses NO_POST
|
||||
uses CONFIG_CONSOLE_SERIAL8250
|
||||
uses TTYS0_BASE
|
||||
uses CONFIG_IDE_STREAM
|
||||
uses IDE_BOOT_DRIVE
|
||||
uses IDE_SWAB IDE_OFFSET
|
||||
uses CONFIG_IDE
|
||||
uses CONFIG_FS_STREAM
|
||||
uses CONFIG_FS_EXT2
|
||||
uses CONFIG_FS_ISO9660
|
||||
uses CONFIG_FS_FAT
|
||||
uses AUTOBOOT_CMDLINE
|
||||
uses PAYLOAD_SIZE
|
||||
uses ROM_SIZE
|
||||
uses ROM_IMAGE_SIZE
|
||||
uses _RESET
|
||||
uses _EXCEPTION_VECTORS
|
||||
uses _ROMBASE
|
||||
|
@ -50,14 +55,18 @@ option DEFAULT_CONSOLE_LOGLEVEL=8
|
|||
option CONFIG_CONSOLE_SERIAL8250=1
|
||||
option TTYS0_BASE=0x3f8
|
||||
|
||||
## Boot linux from IDE
|
||||
option CONFIG_IDE_STREAM=1
|
||||
option IDE_BOOT_DRIVE=0
|
||||
option IDE_SWAB=1
|
||||
option IDE_OFFSET=0
|
||||
## Load payload using filo
|
||||
option CONFIG_IDE=1
|
||||
option CONFIG_FS_STREAM=1
|
||||
option CONFIG_FS_EXT2=1
|
||||
option CONFIG_FS_ISO9660=1
|
||||
option CONFIG_FS_FAT=1
|
||||
option AUTOBOOT_CMDLINE="hdc1:/vmlinuz"
|
||||
|
||||
# ROM is 1Mb
|
||||
option ROM_SIZE=1048576
|
||||
# LinuxBIOS must fit into 128KB
|
||||
option ROM_IMAGE_SIZE=131072
|
||||
option ROM_SIZE={ROM_IMAGE_SIZE+PAYLOAD_SIZE}
|
||||
option PAYLOAD_SIZE=262144
|
||||
|
||||
# Set stack and heap sizes (stage 2)
|
||||
option STACK_SIZE=0x10000
|
||||
|
|
Loading…
Reference in New Issue