diff options
author | Gabe Black <gabeblack@chromium.org> | 2011-06-22 16:38:26 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-29 10:39:33 -0700 |
commit | 1b5df9d01d70e954db53a43a2bd1dcc237f213e6 (patch) | |
tree | 37b73708be5bcf39ef65d81a0a17bafac92d3e47 /include | |
parent | 6b98ba3f267dcbbc3285de2e9d6fdd6107a9a4ca (diff) |
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 <gabeblack@google.com>
Reviewed-on: http://gerrit.chromium.org/gerrit/3057
Reviewed-by: Duncan Laurie <dlaurie@google.com>
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/coreboot.h | 13 |
1 files changed, 11 insertions, 2 deletions
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 |