use filo boot loader

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1430 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Greg Watson 2004-03-17 22:37:43 +00:00
parent 317cde826d
commit f53bbd8908
1 changed files with 19 additions and 10 deletions

View File

@ -16,10 +16,15 @@ uses CONFIG_CHIP_CONFIGURE
uses NO_POST uses NO_POST
uses CONFIG_CONSOLE_SERIAL8250 uses CONFIG_CONSOLE_SERIAL8250
uses TTYS0_BASE uses TTYS0_BASE
uses CONFIG_IDE_STREAM uses CONFIG_IDE
uses IDE_BOOT_DRIVE uses CONFIG_FS_STREAM
uses IDE_SWAB IDE_OFFSET uses CONFIG_FS_EXT2
uses CONFIG_FS_ISO9660
uses CONFIG_FS_FAT
uses AUTOBOOT_CMDLINE
uses PAYLOAD_SIZE
uses ROM_SIZE uses ROM_SIZE
uses ROM_IMAGE_SIZE
uses _RESET uses _RESET
uses _EXCEPTION_VECTORS uses _EXCEPTION_VECTORS
uses _ROMBASE uses _ROMBASE
@ -50,14 +55,18 @@ option DEFAULT_CONSOLE_LOGLEVEL=8
option CONFIG_CONSOLE_SERIAL8250=1 option CONFIG_CONSOLE_SERIAL8250=1
option TTYS0_BASE=0x3f8 option TTYS0_BASE=0x3f8
## Boot linux from IDE ## Load payload using filo
option CONFIG_IDE_STREAM=1 option CONFIG_IDE=1
option IDE_BOOT_DRIVE=0 option CONFIG_FS_STREAM=1
option IDE_SWAB=1 option CONFIG_FS_EXT2=1
option IDE_OFFSET=0 option CONFIG_FS_ISO9660=1
option CONFIG_FS_FAT=1
option AUTOBOOT_CMDLINE="hdc1:/vmlinuz"
# ROM is 1Mb # LinuxBIOS must fit into 128KB
option ROM_SIZE=1048576 option ROM_IMAGE_SIZE=131072
option ROM_SIZE={ROM_IMAGE_SIZE+PAYLOAD_SIZE}
option PAYLOAD_SIZE=262144
# Set stack and heap sizes (stage 2) # Set stack and heap sizes (stage 2)
option STACK_SIZE=0x10000 option STACK_SIZE=0x10000