summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-24 01:57:13 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-24 01:57:13 +0000
commiteb385b2e7086cd0bb97d99f8253ae16579394663 (patch)
treea1c22682f0785b277d373f1fc58c4556382f2add /src/target
parentc0fc8f93f1eabe8a4adfed7784b1416b257cf035 (diff)
downloadopenocd+libswd-eb385b2e7086cd0bb97d99f8253ae16579394663.tar.gz
openocd+libswd-eb385b2e7086cd0bb97d99f8253ae16579394663.tar.bz2
openocd+libswd-eb385b2e7086cd0bb97d99f8253ae16579394663.tar.xz
openocd+libswd-eb385b2e7086cd0bb97d99f8253ae16579394663.zip
David Brownell <david-b@pacbell.net>:
Update two oddball NAND commands to work with {offset, length} instead of block numbers, matching the other commands as well as usage in U-Boot and the Linux-MTD utilities. Document them accordingly. Update the single in-tree use of those commands (sheevaplug). ALSO: (a) Document the current 2 GByte/chip ceiling for NAND chipsize. (32 bit offset/length values can't represent 4 GBytes.) Maybe after the upcoming release, the code can switch to 64-bits. (b) The "nand check_bad_blocks" should report "bad" blocks. They are not "invalid" blocks; they're "bad" ones. (c) Tweak the "nand info" command to handle the "no arguments" case sanely (show everything, instead of showing garbage) and not listing the blocksize in hex kbytes (duh). git-svn-id: svn://svn.berlios.de/openocd/trunk@1904 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r--src/target/board/sheevaplug.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/board/sheevaplug.cfg b/src/target/board/sheevaplug.cfg
index 276d6f24..61d324d0 100644
--- a/src/target/board/sheevaplug.cfg
+++ b/src/target/board/sheevaplug.cfg
@@ -98,7 +98,7 @@ proc sheevaplug_reflash_uboot { } {
# reflash the u-Boot binary and reboot into it
sheevaplug_init
nand probe 0
- nand erase 0 0 4
+ nand erase 0 0x0 0xa0000
nand write 0 uboot.bin 0 oob_softecc_kw
resume