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: 868505 X-Patchwork-Delegate: yamada.m@jp.panasonic.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; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="IY+lXbz6"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zXlbK1pW1z9sBW for ; Fri, 2 Feb 2018 16:16:59 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 95617C21D56; 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