]> git.sur5r.net Git - u-boot/commitdiff
sh: Add updating method of SPI ROM to README of sh7757lcr
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Tue, 8 Nov 2011 06:40:08 +0000 (15:40 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Fri, 2 Dec 2011 04:46:21 +0000 (13:46 +0900)
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
doc/README.sh7757lcr

index 49fea5057b6b56f795fd7b5b078daa7497c0366d..109f715cc079f56b4715c9a677b313385e5951ff 100644 (file)
@@ -61,3 +61,17 @@ You can write MAC address to SPI ROM.
                 ETHERC ch1 = 00:00:87:6c:21:81
                GETHERC ch0 = 00:00:87:6c:21:82
                GETHERC ch1 = 00:00:87:6c:21:83
+
+
+Update SPI ROM:
+============================
+
+1. Copy u-boot image to RAM area.
+2. Probe SPI device. 
+   => sf probe 0 
+   8192 KiB M25P64 at 0:0 is now current device
+3. Erase SPI ROM.
+   => sf erase 0 80000  
+4. Write u-boot image to SPI ROM.
+   => sf write 0x89000000 0 80000
+