summaryrefslogtreecommitdiff
path: root/board/sbc8641d/README
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2015-10-17 16:40:29 -0400
committerTom Rini <trini@konsulko.com>2015-10-19 17:06:18 -0400
commit743d75925a6d11e838a8fbc522745c1e3e005774 (patch)
tree6c9494e9c4d90e9b02ac519125f7a6880c0d123d /board/sbc8641d/README
parent71d5511628932dfcbf947e9efdf3108df11a0385 (diff)
downloadu-boot-imx-743d75925a6d11e838a8fbc522745c1e3e005774.zip
u-boot-imx-743d75925a6d11e838a8fbc522745c1e3e005774.tar.gz
u-boot-imx-743d75925a6d11e838a8fbc522745c1e3e005774.tar.bz2
sbc8641d: add basic flash setup instructions to README file
...so that I don't have to go work them out from scratch again by peering at the manual. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'board/sbc8641d/README')
-rw-r--r--board/sbc8641d/README21
1 files changed, 21 insertions, 0 deletions
diff --git a/board/sbc8641d/README b/board/sbc8641d/README
index a051466..af18088 100644
--- a/board/sbc8641d/README
+++ b/board/sbc8641d/README
@@ -26,3 +26,24 @@ and settings may change with board revisions.
--------------------
PCI:
The PCI command may hang if no boards are present in either slot.
+
+4. Reflashing U-Boot
+--------------------
+The board has two independent flash devices which can be used for dual
+booting, or for u-boot backup and recovery. A two pin jumper on the
+three pin JP10 determines which device is attached to /CS0 line.
+
+Assuming one device has a functional u-boot, and the other device has
+a recently installed non-functional image, to perform a recovery from
+that non-functional image goes essentially as follows:
+
+a) power down the board and jumper JP10 to select the functional image.
+b) power on the board and let it get to u-boot prompt.
+c) while on, using static precautions, move JP10 back to the failed image.
+d) use "md fff00000" to confirm you are looking at the failed image
+e) turn off write protect with "prot off all"
+f) get new image, i.e. "tftp 200000 /somepath/u-boot.bin"
+g) erase failed image: "erase FFF00000 FFF3FFFF"
+h) copy in new image: "cp.b 200000 FFF00000 40000"
+i) ensure new image is written: "md fff00000"
+k) power cycle the board and confirm new image works.