From patchwork Wed May 10 11:57:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 98975 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp182147qge; Wed, 10 May 2017 04:57:57 -0700 (PDT) X-Received: by 10.80.181.57 with SMTP id y54mr4011021edd.109.1494417477283; Wed, 10 May 2017 04:57:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494417477; cv=none; d=google.com; s=arc-20160816; b=HWfKI63TzRrDSIRk+E2XUwzE766UFWnD/kyub3v4+JLUFMAtqmFyyjlE/jthBUAg0v E3RdvGCbXYPZp7bZrKv+IjRdCQf5TBC0Bju+2AQSo5y0cqVCmHsTInJb5rd7KeQM8rmJ Axdtw8gCX1XZwbjSN8zf1PnSZznbS2+x6pEZzFtNSw3JRRubJpB1yAOJNUsvVzeL34D/ cdYfyPZ6wCGSBnELGbRHzQSqTtwTnfojNIzMgqp0F5aT2C0Y2ZXalPPCeROu9LqR/7nj X38l5A4e32PFH/j/kOP2QP7+61osC//DRTPTRSCOkV+3P/Cqz/9ZgvnbTb0vBwbFxkS5 vcnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :dkim-filter:arc-authentication-results; bh=uQDPQKTWqCkJcH1ZkM5x9Dk7xQV8cuDd4oZ1nRAKDUw=; b=RhB03LsjTpkj2MLs3wRBkePYJB9bIwoeGA8p9CrXHfa6ozXGpHhTeMklEE8f6XL+1f RXddKPfLbh0TPe3cZwoqQn4tvSrcEha3+4fV7yZYfDGymZfE/sv7bTpBn7QzjoYdAEI3 Q9802YDSxu9v4PJEtyBqRZgNc2wJrIjQsm5HB+SOeqk7hHIWIgSBSsVXH0/H2ey1UD/d UvpNaLSo49Fryny9Yqd56w6asREuxxR3Su9lfl8JBJ2VbCwsgfDGXjHv0cmQaUhO9khr ko2ILW/0CxHBFeF0VtbozH83aQXR8pWUPiLUTl5cjpepENXYO/L5rNRmBPxPiSFKEfkr CWdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id 14si3105461edu.184.2017.05.10.04.57.57; Wed, 10 May 2017 04:57:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 81E62C21CD6; Wed, 10 May 2017 11:57:54 +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=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 8342DC21C3F; Wed, 10 May 2017 11:57:52 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C7937C21C3F; Wed, 10 May 2017 11:57:50 +0000 (UTC) Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lists.denx.de (Postfix) with ESMTPS id 9DAD6C21C30 for ; Wed, 10 May 2017 11:57:49 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id v4ABvf3B028718; Wed, 10 May 2017 20:57:41 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v4ABvf3B028718 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1494417461; bh=qbzuKoTqlUYosLJJ29pGEraBKj9ilZrNxsLBOfM54qg=; h=From:To:Cc:Subject:Date:From; b=Ksi9oMM0WjDFRiQwQfF4CWgm1z6DUaAbs1NxoRZwFnUrStM7SyUaZmgtSNz24qRJa j/ue+b9TDjrIZlDiyGgiq8JBHldYLoIZdURxqEzGwqzV3SsBi5QOPAH510SjOoUIGp LQ3MsOLND4N0OXH5bQ0WP5dtsWElrFCCtfZe2N8EISitWKTXtbFtqGPNMye38xuayt MiHz2Wr8jCWEMpiirnjJhV04QXkD3m8Qec7SC7eI/PL3oQfCIizPBswrDexswxXySB 8HyRmTLSGNrXhR2pHbhgRLDKWmrqZiDCYmrNbdT/P/mlqJ1ma+ouzyAzvkmdd4g7kx x//7wu9Iy7ykg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Wed, 10 May 2017 20:57:39 +0900 Message-Id: <1494417459-6215-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Subject: [U-Boot] [PATCH] ARM: uniphier: add usbupdate command 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" This script command will be useful to update boot images in the USB storage. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index cdc5b00..7bd2d8c 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -246,6 +246,11 @@ "nand write $loadaddr 0 0x00020000 && " \ "tftpboot $third_image && " \ "nand write $loadaddr 0x00020000 0x000e0000\0" \ + "usbupdate=usb start &&" \ + "tftpboot $second_image && " \ + "usb write $loadaddr 0 100 && " \ + "tftpboot $third_image && " \ + "usb write $loadaddr 100 700\0" \ BOOT_IMAGES \ LINUXBOOT_ENV_SETTINGS