From patchwork Thu Apr 18 14:17:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shyam Saini X-Patchwork-Id: 1087628 X-Patchwork-Delegate: ykai007@gmail.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=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="CATagFO4"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44lLmk2R40z9s3l for ; Fri, 19 Apr 2019 00:18:12 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 2E73FC21DB3; Thu, 18 Apr 2019 14:18:07 +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_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 29567C21C50; Thu, 18 Apr 2019 14:18:05 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id DDC10C21C50; Thu, 18 Apr 2019 14:18:03 +0000 (UTC) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by lists.denx.de (Postfix) with ESMTPS id 486BFC21BE5 for ; Thu, 18 Apr 2019 14:18:03 +0000 (UTC) Received: by mail-pg1-f193.google.com with SMTP id d31so1269529pgl.7 for ; Thu, 18 Apr 2019 07:18:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id; bh=EuHCIIWgMx6pq8lhQjKraLZ/edd2GXxt5o9vgKlvJr8=; b=CATagFO4zJUmyqICMOXtm7hD20zaZh15zFVu7QYvMUJgjEPhnPy068KYESebiVy/4K Wp+f4RFg3hVPLl9FeRZS+BOzEeLij+vaCmk9KJ4XuezgQ7BqMh4sWyj29JbX4W76haIB R9kzkZ3vHQhcItq+BmTm+1t9ULtCqXed7LeXg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=EuHCIIWgMx6pq8lhQjKraLZ/edd2GXxt5o9vgKlvJr8=; b=aRC1SU1sbiirgm/cU7gNkF7KXUO6pJQC8HxU7VV1Y+6jYJ8se/qlPTh4ZVf0SvMW1r eaY4KvhMbGmv9n4cIt2M3n7+4F4dfpWprHv2AsymNFMJ0BYJqld4PPZsLByO6vUl59E2 KNUpoeJab8zZxKAH+Fa11QLaE/PWB+nNF09EnTAJEPM823SQWNJMaFNhakBz8oVSuMAr y1D071u22Vg0bJnXytqrHPiZkNJsc0cEFQMB4CMBasap5eUikIc0iQ553FSgQZlniYXN cVmCCHhmwZUhxQNMeFMYN09LQdFlFEZdCBSs6UaPt7+O+ZfoS5zMU7PDfq6GDrli0Q5s EffA== X-Gm-Message-State: APjAAAXB5PLRhE1v7zxkj0DYpv6/vWunwGJKecBVrf2e2jwdNSoR2bRl nKrfH1fkG/hPZeGdLPW8ZkW4qiGdjVI= X-Google-Smtp-Source: APXvYqwGzH3YEIs8q+PAycptih/2UoNHVSmXZiy1vswJILlKvN17Oj/LnWvnMegWlY8X0xIGvqbcDw== X-Received: by 2002:aa7:8284:: with SMTP id s4mr97832983pfm.235.1555597081296; Thu, 18 Apr 2019 07:18:01 -0700 (PDT) Received: from localhost.localdomain ([183.82.229.80]) by smtp.googlemail.com with ESMTPSA id l10sm4579706pfc.46.2019.04.18.07.17.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Apr 2019 07:18:00 -0700 (PDT) From: Shyam Saini To: u-boot@lists.denx.de Date: Thu, 18 Apr 2019 19:47:39 +0530 Message-Id: <20190418141739.23769-1-shyam.saini@amarulasolutions.com> X-Mailer: git-send-email 2.11.0 Cc: linux-amarula@amarulasolutions.com Subject: [U-Boot] [V2 Patch] include: configs: Increase CONFIG_SYS_BOOTM_LEN to 16MB 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" The default value of CONFIG_SYS_BOOTM_LEN is 0x800000 i.e, 8MB which causes board reset because of larger uImage size. This was tested on rk3288 Amarula Vyasa and rk3288 Asus Tinker boards. Error log snippet: Booting using the fdt blob at 0x1f00000 Loading Kernel Image ... Image too large: increase CONFIG_SYS_BOOTM_LEN Must RESET board to recover resetting ... Reviewed-by: Jagan Teki Signed-off-by: Shyam Saini --- Changelog: V1->V2: Include board and soc details in the commit message --- include/configs/rk3288_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h index 72a54bc0ab..eab7cf4d86 100644 --- a/include/configs/rk3288_common.h +++ b/include/configs/rk3288_common.h @@ -9,6 +9,8 @@ #include #include "rockchip-common.h" +#define CONFIG_SYS_BOOTM_LEN (16 << 20) /* 16MB */ + #define CONFIG_SKIP_LOWLEVEL_INIT_ONLY #define CONFIG_SYS_MALLOC_LEN (32 << 20) #define CONFIG_SYS_CBSIZE 1024