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: 235 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 456EE40B21 for ; Thu, 18 Apr 2019 16:18:03 +0200 (CEST) Received: by mail-pl1-f199.google.com with SMTP id g92sf1575101plb.9 for ; Thu, 18 Apr 2019 07:18:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1555597082; cv=pass; d=google.com; s=arc-20160816; b=Vu6TzT5pVShNrPc0Q57hM7riQik2JfSd52wGSuR87b3W54HdZbjgF6gX3wWP4qegGV HGG+r07rPCOAlQLAdhnDf8UG3UBjuC4/PI+7P5won318G0aOi48K21iURgPWkXJHKvx9 Er9i/QfofoDFEXJD4Pc8ioTKFQT3SE11mXiM7ZKvFSV/0lxQsnaV9gPGSNlV6IdMJPxq LTyBfYUqT4zWVvzzwQssvtVRxJf/YJ1MwO57/pXyUReyfy12aBaTQGxx/QAY+pGphkVo bwdkUCzBNHTLVCv2oZrvTfMNr1Nv2ZBBbils8JDpdazdQ/NGKAx3OV3//c10tSFd4Ybi X7iA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:message-id:date:subject:cc:to:from :mime-version:dkim-signature; bh=hz/tqP+SH1eW1C7Un9slgQhsNqQ5VtJziB6bMulXgmk=; b=hZ9U9KuoctlVN/C3ejYxO7+CnhduxP2cX4CJLkND4f9gLpi4C8sjljfhQ94VN20DsL EmRxfA1vG0BgiIIfR7lEhqWXlMJGa7I2dfxoXBHidvQia7PtIYiZ5D9qzn5nSGT7LQru d3dbyVsHjum3/vSPxysgMqyIiTLJM5t7iTnOd4UbfGQyiHhV42YvLBc95ekFh7XOxirS LSDY+5PQsU9m9cICH6oYG/ODGfi3SQiXD0ZsWrQA4ZD/L1aQpSEyTu/S5Dypw8EJTx/X JC3NGHKOSVMtns6dX45p2HiEPfZECn/6S+kJ0AzgrgUphodmpnlnv2qNbSR8VgoIelgK QCGg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CATagFO4; spf=pass (google.com: domain of shyam.saini@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=shyam.saini@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:from:to:cc:subject:date:message-id:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=hz/tqP+SH1eW1C7Un9slgQhsNqQ5VtJziB6bMulXgmk=; b=RhvSivhyrnGpunJ6GsI3Gl5UpcpmtrhIU7KDZZisIIiKKa4RvB8vppYSThZJ+L26yI zbP5HfRsknChSXh1lxMoj+ihwaa2e4yPii+B7XC0RDNcNGmVOAq90jbLbrDVowpxCgGB OCqwBclioaRv0Rw4Mp9Oiwn3nB/49XtFTyT2U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=hz/tqP+SH1eW1C7Un9slgQhsNqQ5VtJziB6bMulXgmk=; b=cYA2m6FGMCi3+J0g5xh1CcXPN6SrjmE4il3GpdjeD/bibEC0JCsb+xbH4+m986HY/O +0P+2VhNA1BFO2f9HMhne1ptT7pvqVCcAeRBgXqyHRRaegQ+xLFhZ5c4PadrHUklw8Qo yOmeXvtkGBjMu31pNkFLLuHxYGBNThcsVGLdbtnR1EIkD8rudCp39MPA1cWElYIGtDLD xSfJp19jmGntoCDSzjNxHLI8SwJOhIVhDwqZ2uV14kw1d0W4J1JDg5rYWVkotk2ExozF mw9WkznoBN86GV/9Ft3D1J1CWsGqQ/L0m16t41NnM5zra7YFtkGHYU0Qu6lb5Hf21IuP 4O8Q== X-Gm-Message-State: APjAAAWvNZFGaJc/MpXKfxu9xsa0G2QsmyzQ8Lgk+A6A/pklcjoEFlVJ wqtmsPetAwzHcnsBGzxaM52nVc6/ X-Google-Smtp-Source: APXvYqw+48++cv6KUVCdW472qHEekZxv7eZOrEd3ppPNaEE0oFZisBU56Fuleru46HJF2PoEuP+OSA== X-Received: by 2002:a17:902:121:: with SMTP id 30mr60939098plb.174.1555597082098; Thu, 18 Apr 2019 07:18:02 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:8803:: with SMTP id c3ls728265pfo.15.gmail; Thu, 18 Apr 2019 07:18:01 -0700 (PDT) X-Received: by 2002:a62:1a06:: with SMTP id a6mr96382320pfa.18.1555597081703; Thu, 18 Apr 2019 07:18:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555597081; cv=none; d=google.com; s=arc-20160816; b=TGyzmuMg6rp/gEl9FFHvmflAgxCwn25x8Cbo1VtTd+3OARyaL68x0kYUWkEGJjSV6i j0qTdyQZGmO6/IFvNL6Oot4oB3014R53N68JDDNtlSzOdsDOcgFm3uWFdEvG8znptcNt RfPUdT0nM1ivQ0Vz1Zywb4FmHBV187wrcwby1ut4zuefk9chXICF87i6/hBE4F6qGJ3m rg7Lvab5RjFf/0TQv4/0iRy5efcO6KHW86NZ/4bNOuy6AkzumJlcpyTghBwiun4Coos/ 1iI9Wf+R7RobPPwRcHIRm+FT7c5ujrptQ8Uop9QAzXTK763lYTLOl4oyXxh81mrRFtaD OMxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=EuHCIIWgMx6pq8lhQjKraLZ/edd2GXxt5o9vgKlvJr8=; b=sV732vTdp6k5/kfkhAhkHKxQHam6ANFyxVYwoxryzCKs/XXYu1LiXiYbQ8QxRcNf3R rcUpmMvf/icBcDDXQ7neZ3WiYAI6V/brLMn+gjMxn8KydHKE5fd8evbrAv8AeGVhEUFu +KhpFAXrBWCF32uZvNPiYOzVzALffEAzgnH0QWVVfk1CVK9QOdR58tglnnjBEFumwKqT ZtI8KTXF72WSoBmVtK/KA9GX+H9h1LKNgcDxY46+ls9XNlmRYakJkHXG8W4XaDj/1nng mLmlibyuFb97AvQHLs8lHBXun/K+WP0E1rEe9R4YWtGcJv3aOhgrFgMO9VE2vts1QchW /jiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CATagFO4; spf=pass (google.com: domain of shyam.saini@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=shyam.saini@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id r75sor2418311pfc.49.2019.04.18.07.18.01 for (Google Transport Security); Thu, 18 Apr 2019 07:18:01 -0700 (PDT) Received-SPF: pass (google.com: domain of shyam.saini@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; 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 Cc: philipp.tomsich@theobroma-systems.com, kever.yang@rock-chips.com, sjg@chromium.org, aford173@gmail.com, jagan@amarulasolutions.com, michael@amarulasolutions.com, linux-amarula@amarulasolutions.com, Shyam Saini Subject: [V2 Patch] include: configs: Increase CONFIG_SYS_BOOTM_LEN to 16MB 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 X-Original-Sender: shyam.saini@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CATagFO4; spf=pass (google.com: domain of shyam.saini@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=shyam.saini@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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