diff mbox

[U-Boot] sh: Add updating method of SPI ROM to README of sh7757lcr

Message ID 1320734408-9360-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com
State Accepted
Commit c67ce954331d70ff5a9412b35333194014600713
Delegated to: Nobuhiro Iwamatsu
Headers show

Commit Message

Nobuhiro Iwamatsu Nov. 8, 2011, 6:40 a.m. UTC
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
---
 doc/README.sh7757lcr |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

Comments

Nobuhiro Iwamatsu Nov. 15, 2011, 4:21 a.m. UTC | #1
Applied, thanks.

2011/11/8 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>:
> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
> ---
>  doc/README.sh7757lcr |   14 ++++++++++++++
>  1 files changed, 14 insertions(+), 0 deletions(-)
>
> diff --git a/doc/README.sh7757lcr b/doc/README.sh7757lcr
> index 49fea50..78a9b8f 100644
> --- a/doc/README.sh7757lcr
> +++ b/doc/README.sh7757lcr
> @@ -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
> +
> --
> 1.7.7
>
>
diff mbox

Patch

diff --git a/doc/README.sh7757lcr b/doc/README.sh7757lcr
index 49fea50..78a9b8f 100644
--- a/doc/README.sh7757lcr
+++ b/doc/README.sh7757lcr
@@ -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
+