summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tcl/board/sheevaplug.cfg11
1 files changed, 11 insertions, 0 deletions
diff --git a/tcl/board/sheevaplug.cfg b/tcl/board/sheevaplug.cfg
index 1a3f61b8..62b78ee1 100644
--- a/tcl/board/sheevaplug.cfg
+++ b/tcl/board/sheevaplug.cfg
@@ -110,6 +110,17 @@ proc sheevaplug_reflash_uboot { } {
}
+proc sheevaplug_reflash_uboot_env { } {
+
+ # reflash the u-Boot environment variables area
+ sheevaplug_init
+ nand probe 0
+ nand erase 0 0xa0000 0x40000
+ nand write 0 uboot-env.bin 0xa0000 oob_softecc_kw
+ resume
+
+}
+
proc sheevaplug_load_uboot { } {
# load u-Boot into RAM and execute it