summaryrefslogtreecommitdiffstats
path: root/include/configs/km/keymile-common.h
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@keymile.com>2011-07-04 21:52:52 +0000
committerWolfgang Denk <wd@denx.de>2011-07-27 23:43:33 +0200
commitb648bfc212c0e62dae47b8f09a0c4e49bbd89106 (patch)
tree36a4688fbcf68ff9fde05fdc20057cc654b31701 /include/configs/km/keymile-common.h
parent0333cfe618eb3ba8ce1001106bf5c3b9fe9af36e (diff)
downloadtalos-obmc-uboot-b648bfc212c0e62dae47b8f09a0c4e49bbd89106.tar.gz
talos-obmc-uboot-b648bfc212c0e62dae47b8f09a0c4e49bbd89106.zip
km/common: simplify debug environment
The debug environment which is stored in textfiles in the scripts directory was reworked. Two usecase are now present which can be executed simply from the default environment: run develop: this configures the environment to setup the rootfs via nfs run ramfs: this configures the environment to setup the rootfs in ram Each architecture now has a "arch" variable which is used to load the architecture specific debug scripts and to set the rootpath for NFS. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/configs/km/keymile-common.h')
-rw-r--r--include/configs/km/keymile-common.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h
index c40a5417b1..c0df6d81b0 100644
--- a/include/configs/km/keymile-common.h
+++ b/include/configs/km/keymile-common.h
@@ -159,10 +159,14 @@
#define CONFIG_KM_DEF_ENV_BOOTTARGETS \
"subbootcmds=ubiattach ubicopy cramfsloadfdt cramfsloadkernel " \
"flashargs add_default addpanic boot\0" \
- "debug_env=" \
- "tftp 200000 " CONFIG_KM_ARCH_DBG_FILE " && " \
+ "develop=" \
+ "tftp 200000 scripts/develop-${arch}.txt && " \
"env import -t 200000 ${filesize} && " \
- "run debug_env_common\0" \
+ "run setup_debug_env\0" \
+ "ramfs=" \
+ "tftp 200000 scripts/ramfs-${arch}.txt && " \
+ "env import -t 200000 ${filesize} && " \
+ "run setup_debug_env\0" \
""
/*
OpenPOWER on IntegriCloud