summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--targets/motorola/sandpoint/Config.lb31
1 files changed, 20 insertions, 11 deletions
diff --git a/targets/motorola/sandpoint/Config.lb b/targets/motorola/sandpoint/Config.lb
index 144713d2e0..80a4abcc50 100644
--- a/targets/motorola/sandpoint/Config.lb
+++ b/targets/motorola/sandpoint/Config.lb
@@ -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
-
-# ROM is 1Mb
-option ROM_SIZE=1048576
+## 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"
+
+# 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