From 1b5df9d01d70e954db53a43a2bd1dcc237f213e6 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 22 Jun 2011 16:38:26 -0700 Subject: Set more useful defaults for booting chromeos. This change sets the default boot command and Linux command line arguments to what we've been using to successfully boot. To make working on u-boot easier, it also disables autoboot for now by setting the boot delay to -1. BUG=chrome-os-partner:3895 TEST=Booted into u-boot and saw it wait for input. Ran the "boot" command and saw it boot a legacy kernel from the system partition. Change-Id: I54a4c556565e8c9ab3fd357a1848f713fc00ff37 Signed-off-by: Gabe Black Reviewed-on: http://gerrit.chromium.org/gerrit/3057 Reviewed-by: Duncan Laurie Reviewed-by: Stefan Reinauer Reviewed-by: Simon Glass Reviewed-by: Duncan Laurie Tested-by: Gabe Black --- include/configs/coreboot.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 660a06434d8..9aa5ade62ea 100644 --- a/include/configs/coreboot.h +++ b/include/configs/coreboot.h @@ -130,8 +130,17 @@ #define CONFIG_CMD_FAT #define CONFIG_CMD_EXT2 -#define CONFIG_BOOTDELAY 2 -#define CONFIG_BOOTARGS "root=/dev/mtdblock0 console=ttyS0,9600" +#define CONFIG_BOOTDELAY -1 +#define CONFIG_BOOTARGS "console=uart8250,mmio,0xe0401000,115200n8 "\ + "root=/dev/sda3 "\ + "init=/sbin/init "\ + "i915.modeset=1 "\ + "rootwait "\ + "ro "\ + "cros_legacy" + +#define CONFIG_BOOTCOMMAND "fatload ide 0:c 3000000 syslinux/vmlinuz.a; "\ + "zboot 3000000; " #if defined(CONFIG_CMD_KGDB) #define CONFIG_KGDB_BAUDRATE 115200 -- cgit v1.2.3