From patchwork Tue Nov 8 06:40:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 124276 X-Patchwork-Delegate: iwamatsu@nigauri.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id EA5371007D4 for ; Tue, 8 Nov 2011 17:46:19 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 260DF29387; Tue, 8 Nov 2011 07:46:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MkIoVn1EosSt; Tue, 8 Nov 2011 07:46:14 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C6E612916B; Tue, 8 Nov 2011 07:46:12 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7789F2916B for ; Tue, 8 Nov 2011 07:46:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nDAkA+wI+dnY for ; Tue, 8 Nov 2011 07:46:07 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by theia.denx.de (Postfix) with ESMTPS id 612E929040 for ; Tue, 8 Nov 2011 07:46:04 +0100 (CET) Received: by ggnv1 with SMTP id v1so218160ggn.3 for ; Mon, 07 Nov 2011 22:46:02 -0800 (PST) Received: by 10.68.37.42 with SMTP id v10mr5254924pbj.22.1320734303718; Mon, 07 Nov 2011 22:38:23 -0800 (PST) Received: from localhost.localdomain (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPS id p6sm1964871pbf.3.2011.11.07.22.38.21 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Nov 2011 22:38:22 -0800 (PST) From: Nobuhiro Iwamatsu To: u-boot@lists.denx.de Date: Tue, 8 Nov 2011 15:40:08 +0900 Message-Id: <1320734408-9360-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> X-Mailer: git-send-email 1.7.7 Cc: Nobuhiro Iwamatsu Subject: [U-Boot] [PATCH] sh: Add updating method of SPI ROM to README of sh7757lcr X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Nobuhiro Iwamatsu --- 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 +