summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-03-03 12:36:49 +0100
committerWolfgang Denk <wd@denx.de>2008-03-03 12:36:49 +0100
commit5b0b2b6fc9fe22e3864c2a57316d91a2507ec215 (patch)
tree8bde58a0e8727938bde153f142b8fc73114f360d
parent91c82076ae492bb1f9d9c47a481314631d32dc8e (diff)
downloadu-boot-imx-5b0b2b6fc9fe22e3864c2a57316d91a2507ec215.zip
u-boot-imx-5b0b2b6fc9fe22e3864c2a57316d91a2507ec215.tar.gz
u-boot-imx-5b0b2b6fc9fe22e3864c2a57316d91a2507ec215.tar.bz2
ADS5121: Fix default environment.
Signed-off-by: Wolfgang Denk <wd@denx.de>
-rw-r--r--include/configs/ads5121.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/include/configs/ads5121.h b/include/configs/ads5121.h
index 65dc97e..c147424 100644
--- a/include/configs/ads5121.h
+++ b/include/configs/ads5121.h
@@ -377,6 +377,7 @@
#define CONFIG_HOSTNAME ads5121
#define CONFIG_BOOTFILE ads5121/uImage
+#define CONFIG_ROOTPATH /opt/eldk/pcc_6xx
#define CONFIG_LOADADDR 400000 /* default location for tftp and bootm */
@@ -386,16 +387,16 @@
#define CONFIG_BAUDRATE 115200
#define CONFIG_PREBOOT "echo;" \
- "echo Type \"run flash_nfs\" to mount root filesystem over NFS;" \
+ "echo Type \\\"run flash_nfs\\\" to mount root filesystem over NFS;" \
"echo"
#define CONFIG_EXTRA_ENV_SETTINGS \
"u-boot_addr_r=200000\0" \
- "kernel_addr_r=200000\0" \
+ "kernel_addr_r=300000\0" \
"fdt_addr_r=400000\0" \
"ramdisk_addr_r=500000\0" \
"u-boot_addr=FFF00000\0" \
- "kernel_addr=FC000000\0" \
+ "kernel_addr=FC040000\0" \
"fdt_addr=FC2C0000\0" \
"ramdisk_addr=FC300000\0" \
"ramdiskfile=ads5121/uRamdisk\0" \
@@ -412,7 +413,7 @@
"addtty=setenv bootargs ${bootargs} " \
"console=${consdev},${baudrate}\0" \
"flash_nfs=run nfsargs addip addtty;" \
- "bootm ${kernel_addr_r} - ${fdt_addr}\0" \
+ "bootm ${kernel_addr} - ${fdt_addr}\0" \
"flash_self=run ramargs addip addtty;" \
"bootm ${kernel_addr} ${ramdisk_addr} ${fdt_addr}\0" \
"net_nfs=tftp ${kernel_addr_r} ${bootfile};" \
@@ -421,10 +422,10 @@
"bootm ${kernel_addr_r} - ${fdt_addr_r}\0" \
"net_self=tftp ${kernel_addr_r} ${bootfile};" \
"tftp ${ramdisk_addr_r} ${ramdiskfile};" \
- "tftp ${fdt_addr} ${fdtfile};" \
+ "tftp ${fdt_addr_r} ${fdtfile};" \
"run ramargs addip addtty;" \
- "bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr}\0"\
- "load=tftp ${u-boot_addr} ${u-boot}\0" \
+ "bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}\0"\
+ "load=tftp ${u-boot_addr_r} ${u-boot}\0" \
"update=protect off ${u-boot_addr} +${filesize};" \
"era ${u-boot_addr} +${filesize};" \
"cp.b ${u-boot_addr_r} ${u-boot_addr} ${filesize}\0" \