From patchwork Thu Jul 18 07:34:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1133605 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="oUTAMITR"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45q62M3dljz9s3l for ; Thu, 18 Jul 2019 17:58:19 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 36391C21F90; Thu, 18 Jul 2019 07:48:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 90A33C21FD3; Thu, 18 Jul 2019 07:36:05 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 1BF15C21F50; Thu, 18 Jul 2019 07:35:32 +0000 (UTC) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by lists.denx.de (Postfix) with ESMTPS id 58417C21F48 for ; Thu, 18 Jul 2019 07:35:28 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id n9so6252555pgc.1 for ; Thu, 18 Jul 2019 00:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=OvsYRWzetQrsA/xh/y4BQRfjzmo5iiDWsMZ+CfCC6uI=; b=oUTAMITRXcoV+zvfDG7R50XrPhjE3sqa1pDp/4EIkRboB3ATvGUdb0VqoOrsxPcRSG zsHxpUogymzSfmm8gdxVzjdgcZutfDiYIe4P/jYco6SPQx4l4SdhfjmHKhU3ArQoyzyK tIK00ougCsUf8j7044h+XfRRYeDpqXFZo4vpZqwgWJQA/VXb3MbEkW3xTqWbbJ2D8/Me QlSFS3qUAQOzvag8ntpxACVwnkdfOrQhT38Ht0OhPaKN5yhue5KV7jVSI6gXoPJehZ3+ +9GfiK7Hid3f4aWJNzMZYELVibeULF+s5M92lZv8oK6FwbOgTIWAmpi91F1ndztuEbGP hRZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=OvsYRWzetQrsA/xh/y4BQRfjzmo5iiDWsMZ+CfCC6uI=; b=J8ohsExhw6+7+TNbB0Lby2UgfJEDR5NmcUkUjO7TJQGIRx7pkaPCwCSLdCoLyIerZ1 VM8MJ3tgLKGOk8LyjkBdx7WNmv8HKmW0l6eEUWPyn1EEnikoBCCeoZmnJhEV1VyiNMMM 5jAxv1tsPctNoaQyuEoiItsLXFy/6kqxgfmn0pRu597vIM7Nj8QHXW1+RrLO5C/OXEvc KxGTG/L9g/d6da3NR+zz0mKxMK4AGDK95PiJ1UtJFdUGCUcFZORT7K1eseXykX39klO1 DLl+58hiIOVjnoUU6jqyxQOi5tMiujY7kIJqpLV6Ia/aFRpJtbsGfYiMzDG8o5s2PBsA G33A== X-Gm-Message-State: APjAAAUzWs0qqqIWbcApq3PzbFbeck5cRFTCeXJg9WdH4rBLF6nf50gK djhP3/d2SKMDj+mbllDdPmQ= X-Google-Smtp-Source: APXvYqydiaEdBeg8SdlVdk+lYxTFQ799yV21F/Zr/GfmL5XNjCjuwBdtilwZ6N9SU9nq4csae4Vcbg== X-Received: by 2002:a63:125c:: with SMTP id 28mr12873654pgs.255.1563435322418; Thu, 18 Jul 2019 00:35:22 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id q1sm39859821pfn.178.2019.07.18.00.35.21 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 18 Jul 2019 00:35:21 -0700 (PDT) From: Bin Meng To: Tom Rini , Simon Glass , Wolfgang Denk , Heinrich Schuchardt , Mario Six , U-Boot Mailing List Date: Thu, 18 Jul 2019 00:34:22 -0700 Message-Id: <1563435275-22326-38-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1563435275-22326-1-git-send-email-bmeng.cn@gmail.com> References: <1563435275-22326-1-git-send-email-bmeng.cn@gmail.com> Subject: [U-Boot] [PATCH 37/50] doc: board: Convert README.sh7753evb to reST X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Convert plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Bin Meng --- doc/README.sh7753evb | 67 ---------------------------------- doc/board/renesas/sh7753evb.rst | 79 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+), 67 deletions(-) delete mode 100644 doc/README.sh7753evb create mode 100644 doc/board/renesas/sh7753evb.rst diff --git a/doc/README.sh7753evb b/doc/README.sh7753evb deleted file mode 100644 index 5fe178c..0000000 --- a/doc/README.sh7753evb +++ /dev/null @@ -1,67 +0,0 @@ -======================================== -Renesas SH7753 EVB board -======================================== - -This board specification: -========================= - -The SH7753 EVB (board config name:sh7753evb) has the following device: - - - SH7753 (SH-4A) - - DDR3-SDRAM 512MB - - SPI ROM 8MB - - Gigabit Ethernet controllers - - eMMC 4GB - - -Configuration for This board: -============================= - -You can select the configuration as follows: - - - make sh7753evb_config - - -This board specific command: -============================ - -This board has the following its specific command: - - - write_mac - - -1. write_mac - -You can write MAC address to SPI ROM. - - Usage 1) Write MAC address - - write_mac [GETHERC ch0] [GETHERC ch1] - - For example) - => write_mac 74:90:50:00:33:9e 74:90:50:00:33:9f - *) We have to input the command as a single line - (without carriage return) - *) We have to reset after input the command. - - Usage 2) Show current data - - write_mac - - For example) - => write_mac - GETHERC ch0 = 74:90:50:00:33:9e - GETHERC ch1 = 74:90:50:00:33:9f - - -Update SPI ROM: -============================ - -1. Copy u-boot image to RAM area. -2. Probe SPI device. - => sf probe 0 - SF: Detected MX25L6405D with page size 64KiB, total 8 MiB -3. Erase SPI ROM. - => sf erase 0 80000 -4. Write u-boot image to SPI ROM. - => sf write 0x48000000 0 80000 diff --git a/doc/board/renesas/sh7753evb.rst b/doc/board/renesas/sh7753evb.rst new file mode 100644 index 0000000..c62a824 --- /dev/null +++ b/doc/board/renesas/sh7753evb.rst @@ -0,0 +1,79 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +SH7753 EVB board +================ + +This board specification +------------------------ + +The SH7753 EVB (board config name:sh7753evb) has the following device: + + - SH7753 (SH-4A) + - DDR3-SDRAM 512MB + - SPI ROM 8MB + - Gigabit Ethernet controllers + - eMMC 4GB + + +Configuration for This board +---------------------------- + +You can select the configuration as follows: + + - make sh7753evb_config + + +This board specific command +--------------------------- + +This board has the following its specific command: + +write_mac: + You can write MAC address to SPI ROM. + +Usage 1: Write MAC address + +.. code-block:: none + + write_mac [GETHERC ch0] [GETHERC ch1] + + For example: + => write_mac 74:90:50:00:33:9e 74:90:50:00:33:9f + +* We have to input the command as a single line (without carriage return) +* We have to reset after input the command. + +Usage 2: Show current data + +.. code-block:: none + + write_mac + + For example: + => write_mac + GETHERC ch0 = 74:90:50:00:33:9e + GETHERC ch1 = 74:90:50:00:33:9f + + +Update SPI ROM +-------------- + +1. Copy u-boot image to RAM area. +2. Probe SPI device. + +.. code-block:: none + + => sf probe 0 + SF: Detected MX25L6405D with page size 64KiB, total 8 MiB + +3. Erase SPI ROM. + +.. code-block:: none + + => sf erase 0 80000 + +4. Write u-boot image to SPI ROM. + +.. code-block:: none + + => sf write 0x48000000 0 80000