From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 4/6] sbc8641d: add basic flash setup instructions to README file
Date: Sat, 17 Oct 2015 16:40:29 -0400 [thread overview]
Message-ID: <1445114431-9524-5-git-send-email-paul.gortmaker@windriver.com> (raw)
In-Reply-To: <1445114431-9524-1-git-send-email-paul.gortmaker@windriver.com>
...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>
---
board/sbc8641d/README | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/board/sbc8641d/README b/board/sbc8641d/README
index a051466a11b0..af180888182d 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.
--
2.1.0
next prev parent reply other threads:[~2015-10-17 20:40 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-17 20:40 [U-Boot] [PATCH 0/6] sbc8641d: misc fixes and generic board enablement Paul Gortmaker
2015-10-17 20:40 ` [U-Boot] [PATCH v2 1/6] sbc8641d: enable command line editing Paul Gortmaker
2015-10-20 0:07 ` [U-Boot] [U-Boot,v2,1/6] " Tom Rini
2015-10-17 20:40 ` [U-Boot] [PATCH v2 2/6] sbc8641d: increase malloc pool size to a sane default Paul Gortmaker
2015-10-20 0:07 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-10-17 20:40 ` [U-Boot] [PATCH v2 3/6] sbc8641d: set proper environment sector size Paul Gortmaker
2015-10-20 0:07 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-10-17 20:40 ` Paul Gortmaker [this message]
2015-10-20 0:07 ` [U-Boot] [U-Boot, v2, 4/6] sbc8641d: add basic flash setup instructions to README file Tom Rini
2015-10-17 20:40 ` [U-Boot] [PATCH v2 5/6] sbc8641d: enable and test CONFIG_SYS_GENERIC_BOARD Paul Gortmaker
2015-10-20 0:07 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-10-20 14:49 ` Paul Gortmaker
2015-10-17 20:40 ` [U-Boot] [PATCH v2 6/6] sbc8641d: increase monitor size from 256k to 384k Paul Gortmaker
2015-10-20 0:07 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-10-17 21:50 ` [U-Boot] [PATCH 0/6] sbc8641d: misc fixes and generic board enablement Tom Rini
2015-10-17 22:50 ` Paul Gortmaker
2015-10-17 23:11 ` Paul Gortmaker
2015-10-17 23:58 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1445114431-9524-5-git-send-email-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox