]> git.sur5r.net Git - u-boot/blobdiff - doc/README.sh7757lcr
PXA: Unify vpac270 environment size
[u-boot] / doc / README.sh7757lcr
index cae14e055f85abe3da0840d522772221dabb457c..109f715cc079f56b4715c9a677b313385e5951ff 100644 (file)
@@ -62,3 +62,16 @@ You can write MAC address to SPI ROM.
                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
+