aboutsummaryrefslogtreecommitdiffstats
path: root/freedom-maker/flashing-notes
diff options
context:
space:
mode:
authorRuna A. Sandvik <runa.sandvik@gmail.com>2011-08-19 20:31:46 +0100
committerRuna A. Sandvik <runa.sandvik@gmail.com>2011-08-19 20:31:46 +0100
commitb1b7684e861effe1db69a9bcd253ccad21c49fb2 (patch)
treed8f96899c0e6a101bffc47ca801d03153b51134d /freedom-maker/flashing-notes
parentb67bbdcbf32737a30da937b9e995195fddf75903 (diff)
downloadtorouter-b1b7684e861effe1db69a9bcd253ccad21c49fb2.tar.gz
torouter-b1b7684e861effe1db69a9bcd253ccad21c49fb2.zip
we want to fork the freedom-maker script for the torouter
Diffstat (limited to 'freedom-maker/flashing-notes')
-rw-r--r--freedom-maker/flashing-notes28
1 files changed, 28 insertions, 0 deletions
diff --git a/freedom-maker/flashing-notes b/freedom-maker/flashing-notes
new file mode 100644
index 0000000..def3f61
--- /dev/null
+++ b/freedom-maker/flashing-notes
@@ -0,0 +1,28 @@
+Jason <u-boot@lakedaemon.net> says:
+
+ Sort of. The openocd config for the sheevaplug/guruplug is what I use,
+ and is distributed on the dreamplug download page [1]. It does _not_
+ have support for the SPI flash. You can also use the sheevaplug.cfg
+ shipped with openocd. So, I use openocd or tftp to transfer to RAM,
+ then use u-boot to write to flash.
+
+ To test images, or to reflash, I load the known-good u-boot into RAM via
+ openocd, then I'll either reflash it or load a new testing one from
+ there.
+
+ To write a u-boot.kwb test image to flash, here is what I do:
+
+ openocd$ sheevaplug_init
+ openocd$ load_image u-boot # known good from Marvell
+ openocd$ load_image u-boot.kwb 0x00800000 # monster I created
+ openocd$ resume 0x00600000 # run the known good
+
+ then, in u-boot
+
+ u-boot$ sf probe 0
+ u-boot$ sf erase 0x0 0x100000
+ u-boot$ sf write 0x00800000 0x0 0x100000
+
+ If time allows, I'd like to add SPI flash support to OpenOCD.
+ Unfortunately, time is short and the above process works.
+