Add instructions to write an AIS image to NAND
by using the u-boot nand tools.

Signed-off-by: Axel Haslam <ahas...@baylibre.com>
---
 board/davinci/da8xxevm/README.da850 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/board/davinci/da8xxevm/README.da850 
b/board/davinci/da8xxevm/README.da850
index 29cb4ec..81b7b58 100644
--- a/board/davinci/da8xxevm/README.da850
+++ b/board/davinci/da8xxevm/README.da850
@@ -47,6 +47,28 @@ U-Boot > sf erase 0 +320000
 U-Boot > tftp u-boot.ais
 U-Boot > sf write c0700000 0 $filesize
 
+Flashing the images to NAND
+===========================
+The AIS image can be written to NAND using the u-boot "nand"
+commands.
+
+Example:
+
+The OMAPL138_LCDK requires the AIS image to be written to block 1 of
+the NAND flash.
+
+ 1 - Find out the block size using "nand info"
+ 2 - Download the AIS image to memory
+ 3 - Write the AIS image form memory to the first block
+
+In the case of the LCDK:
+  U-Boot > nand info
+      Erase size    131072 b (0x20000)
+  U-Boot > tftp u-boot.ais
+      Load address: 0xc0700000
+      Bytes transferred = 477448 (74908 hex)
+  U-Boot > nand write 0xc0700000 0x20000 0x75000
+
 Flashing the images to MMC
 ==========================
 If the boot pins are set to boot from mmc, the RBL will try to load the
-- 
2.9.3

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to