From patchwork Fri Feb 2 05:16:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 126610 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp306448ljc; Thu, 1 Feb 2018 21:16:56 -0800 (PST) X-Google-Smtp-Source: AH8x225+hoYikADlBTGLKZwmmhE1qohhuO7dWCNWH3SofXHe665w9D4sjQfKVdIDn1fbyY0iF9xH X-Received: by 10.80.144.169 with SMTP id c38mr66340690eda.210.1517548616369; Thu, 01 Feb 2018 21:16:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517548616; cv=none; d=google.com; s=arc-20160816; b=WzRRfr9G0+XCpTZGMycTN988s744BAQ9Xas9pZ4qyWLfL6G82sJBTh3ZfK8niYvAck PUU8iyOQYvZEXqQgBom63Hw24woNftJp7UEPmItNnLWTrP01pK7ZI3cVae16n7rQCC6F tQJFylG0DkqAF2pe26DkN4FQuYlTu0gg0XEblwrlzjzLOgZO6JrxknoNS6w+IMAhfNs9 Ee59+OWDj0l2Z9txNTBzBe5n3M/PT87nhEVgK3piSHZj/wYT3B2fF+TUWlhww8Pd2NBW nhSSjnmdflyjEWro9A587FZUMpxM3aiGU9ng4oinJL0UWI+y1yyR/Bkyr1/GJ0H+d+Ox i6tQ== 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=Ydf8cEgAvnvK8MZzQ8RYGbdKFkFIsM1kS5gfSe0PFkc=; b=qN+X1/DPe9GI+slXfnRl7P2/Y28JLOZIJcrnIMooxj0NTJwPdtyBXSZqycPZHoxfAK kpcS1HtyIK/2BMwmjZ0Y0pK5X+rRw+hh2PtRd/slBBnu04dWKhgM0ztqj+iwbinU2iqY BJIrf3kHd4QC3FH/mVSSeZIwWbXOFa+gjUuBSWYZ1YjQHXV2q90BwpG8ErcK23ac0YVb qJ38/rU6L18ovLK9Zpu23Oicqzwh3O5loou353q0obBhPWnfJVDC+lQD1I/XnE6m/Zi3 19Yuo3N8/J5ffvpvNqutsqF0JiHRsw4evQBDeRkvs9/hDyvqutqt8rDPj3t2hQMvmAaM DcUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=IY+lXbz6; 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 n46si1554093edn.262.2018.02.01.21.16.55; Thu, 01 Feb 2018 21:16:56 -0800 (PST) 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 header.s=dec2015msa header.b=IY+lXbz6; 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 50873C21E4B; Fri, 2 Feb 2018 05:16: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=RCVD_IN_DNSWL_BLOCKED, 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 43069C21D56; Fri, 2 Feb 2018 05:16:52 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 56732C21D56; Fri, 2 Feb 2018 05:16:50 +0000 (UTC) Received: from conuserg-12.nifty.com (conuserg-12.nifty.com [210.131.2.79]) by lists.denx.de (Postfix) with ESMTPS id 0E724C21C3F for ; Fri, 2 Feb 2018 05:16:48 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id w125GeAb015295; Fri, 2 Feb 2018 14:16:40 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w125GeAb015295 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1517548600; bh=NLla9NBPDZAAvPouxrIFGNwTCML9CWENW2EKBNIKY0w=; h=From:To:Cc:Subject:Date:From; b=IY+lXbz67ZUH2K10GLSjJlDZ6b/ezMCt7RxmDuqJZBHOswj+oSGPYf1npm+aDv/jo +nH5Vs1z87w0CX16DjdudKR7PO3cT3ow6kWyFREcfYJw4bfKt+eXw/X1q/v+XpN0P7 XQT4WEaB7fzF8J1Vf5G++MYk3xXewyc1YyuzJvxKr0/e2WAaIm28iQrqT5uzs3fghj 4iYtsmCqou8P3Ke7KSZBSAXF+R+Ha8nQka8Aoko4LOTO7UGzaxgE3etE58Qsu+Suga lyx5GAV7IBQSv1JSXRq5Ch3JAxLC36v+AMXhmI2knE+catmwL0msKKdGZ8OVi5EvBz ehwJ2mroPVNSA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Fri, 2 Feb 2018 14:16:36 +0900 Message-Id: <1517548597-4584-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Subject: [U-Boot] [PATCH] uniphier: increase the firmware size in update command environment 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" If a bigger EL32 is used, fip.bin can be larger than the currently assumed boot firmware size. Adjust the update commands. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index 5ab06f6..920e9b6 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -197,17 +197,17 @@ "tftpboot $second_image && " \ "mmc write $loadaddr 0 100 && " \ "tftpboot $third_image && " \ - "mmc write $loadaddr 100 700\0" \ + "mmc write $loadaddr 100 f00\0" \ "nandupdate=nand erase 0 0x00100000 &&" \ "tftpboot $second_image && " \ "nand write $loadaddr 0 0x00020000 && " \ "tftpboot $third_image && " \ - "nand write $loadaddr 0x00020000 0x000e0000\0" \ + "nand write $loadaddr 0x00020000 0x001e0000\0" \ "usbupdate=usb start &&" \ "tftpboot $second_image && " \ "usb write $loadaddr 0 100 && " \ "tftpboot $third_image && " \ - "usb write $loadaddr 100 700\0" \ + "usb write $loadaddr 100 f00\0" \ BOOT_IMAGES \ LINUXBOOT_ENV_SETTINGS