sheevaplug: add a basic readme
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 16 Aug 2018 20:11:39 +0000 (22:11 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 17 Aug 2018 14:51:10 +0000 (16:51 +0200)
Describing how to update the board.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
board/sheevaplug/readme.txt [new file with mode: 0644]

diff --git a/board/sheevaplug/readme.txt b/board/sheevaplug/readme.txt
new file mode 100644 (file)
index 0000000..e0ed268
--- /dev/null
@@ -0,0 +1,36 @@
+Sheevaplug
+==========
+
+Once the build process is finished you will have the following files
+in the output/images/ directory:
+
+- u-boot.kwb
+- uImage.kirkwood-sheevaplug
+- rootfs.jffs2
+
+Copy these to a TFTP server, connect ethernet and mini-USB cable and
+power up the board. Stop the board in U-Boot and update U-Boot by
+executing:
+
+setenv serverip <ipaddress-of-tftp-server>
+setenv bootfile <path/to/u-boot.kwb>
+bootp
+nand erase 0x0 0x80000
+nand write $fileaddr 0x0 0x80000
+reset
+
+Once the new U-Boot boots up, stop it again and update Linux kernel
+and rootfs by:
+
+setenv serverip <ipaddress-of-tftp-server>
+setenv bootfile <path/to/uImage.kirkwood-sheevaplug>
+bootp
+nand erase.part kernel
+nand write $fileaddr kernel 0x400000
+
+setenv bootfile <path/to/rootfs.jffs2>
+bootp
+nand erase.part rootfs
+nand write $fileaddr rootfs $filesize
+
+reset