summaryrefslogtreecommitdiff
path: root/include/configs/solidcard3.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2007-01-16 12:46:35 +0100
committerWolfgang Denk <wd@denx.de>2007-01-16 12:46:35 +0100
commit1bbbbdd20fcec9933697000dcf55ff7972622596 (patch)
tree562292b70faf3cc1298ef87a862658122c752804 /include/configs/solidcard3.h
parentf11033e739017c5c4eac55f859b8b222ee8d602c (diff)
downloadu-boot-imx-1bbbbdd20fcec9933697000dcf55ff7972622596.zip
u-boot-imx-1bbbbdd20fcec9933697000dcf55ff7972622596.tar.gz
u-boot-imx-1bbbbdd20fcec9933697000dcf55ff7972622596.tar.bz2
Update default environment for Solidcard3
Diffstat (limited to 'include/configs/solidcard3.h')
-rw-r--r--include/configs/solidcard3.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/configs/solidcard3.h b/include/configs/solidcard3.h
index 867cba5..d71fcae 100644
--- a/include/configs/solidcard3.h
+++ b/include/configs/solidcard3.h
@@ -96,6 +96,31 @@
#define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTDELAY 3 /* autoboot after 3 seconds */
+#define CONFIG_PREBOOT "echo;" \
+ "echo Type \"run flash_nfs\" to mount root filesystem over NFS;" \
+ "echo"
+
+#undef CONFIG_BOOTARGS
+
+#define CONFIG_EXTRA_ENV_SETTINGS \
+ "netdev=eth0\0" \
+ "nfsargs=setenv bootargs root=/dev/nfs rw " \
+ "nfsroot=${serverip}:${rootpath}\0" \
+ "ramargs=setenv bootargs root=/dev/ram rw\0" \
+ "nand_args=setenv bootargs root=/dev/mtdblock4 rw\0" \
+ "addip=setenv bootargs ${bootargs} " \
+ "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}" \
+ ":${hostname}:${netdev}:off panic=1\0" \
+ "flash_nfs=run nfsargs addip;" \
+ "bootm ${kernel_addr}\0" \
+ "flash_nand=nand_args addip addcon;bootm ${kernel_addr}\0" \
+ "net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0" \
+ "rootpath=/opt/eldk/ppc_4xx\0" \
+ "bootfile=/tftpboot/sc3/uImage\0" \
+ "kernel_addr=FFE08000\0" \
+ ""
+#undef CONFIG_BOOTCOMMAND
+
#define CONFIG_SILENT_CONSOLE 1 /* enable silent startup */
#define CFG_DEVICE_NULLDEV 1 /* include nulldev device */