summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2011-10-25 14:25:55 -0700
committerGerrit <chrome-bot@google.com>2011-11-03 18:16:29 -0700
commitf90cc5660c35c2d28fddad54dc1ac2078adf93a4 (patch)
tree246d68de17d1169fb922d8240370c624a0548169
parentf749f16593e24eaddb3c11017429b2c0751ddf18 (diff)
CHROMIUM: config: Config options to allow us to boot a kernel
With this set of config options we can now boot the kernel. With the kernel I have, it doesn't work yet, but at least it prints out some messages to the UART. BUG=chromium-os:21540 TEST=If I have a reasonable kernel in MMC1, I see that it can boot quite a ways into the kernel w/ autoboot. Change-Id: I5918fff3d48f2ff9f2bac9261c84e08e60a1560a Signed-off-by: Doug Anderson <dianders@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/10675
-rw-r--r--include/configs/tegra3-common.h11
-rw-r--r--include/configs/waluigi.h6
2 files changed, 16 insertions, 1 deletions
diff --git a/include/configs/tegra3-common.h b/include/configs/tegra3-common.h
index 7761c209c7..38d58bd117 100644
--- a/include/configs/tegra3-common.h
+++ b/include/configs/tegra3-common.h
@@ -49,6 +49,10 @@
#define CONFIG_SYS_NO_FLASH
+#define CONFIG_LOADADDR 0x80408000 /* def. location for kernel */
+#define CONFIG_BOOTDELAY 3 /* -1 to disable auto boot */
+#define CONFIG_ZERO_BOOTDELAY_CHECK
+
/* Passed on the kernel command line to specify the console. */
#define CONFIG_LINUXCONSOLE "console=ttyS0,115200n8"
@@ -57,7 +61,12 @@
* doesn't run regen_all) as well as used as part of regen_all.
*/
#define CONFIG_BOOTARGS \
- CONFIG_LINUXCONSOLE
+ CONFIG_LINUXCONSOLE " " \
+ "usbcore.old_scheme_first=1 " \
+ "core_edp_mv=1300 " \
+ TEGRA3_SYSMEM " " \
+ CONFIG_EXTRA_BOOTARGS
+
/*
* Extra bootargs used for direct booting, but not for vboot.
diff --git a/include/configs/waluigi.h b/include/configs/waluigi.h
index 31ccd424db..e54134263c 100644
--- a/include/configs/waluigi.h
+++ b/include/configs/waluigi.h
@@ -35,6 +35,12 @@
#define CONFIG_SYS_SKIP_ARM_RELOCATION
#define CONFIG_SYS_PLLP_BASE_IS_408MHZ
+#define CONFIG_EXTRA_BOOTARGS \
+ "panel=lvds " \
+ "tegraid=30.1.2.0.0 " \
+ "debug_uartport=lsport,3 " \
+ "pmuboard=0x0c08:0x0a01:0x04:0x41:0x08"
+
#include "tegra3-common.h"
#define CONFIG_EXTRA_ENV_SETTINGS \