From patchwork Mon Apr 15 13:44:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shyam Saini X-Patchwork-Id: 210 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 46F6640B04 for ; Mon, 15 Apr 2019 15:44:58 +0200 (CEST) Received: by mail-pl1-f198.google.com with SMTP id y17sf11336164plr.15 for ; Mon, 15 Apr 2019 06:44:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1555335896; cv=pass; d=google.com; s=arc-20160816; b=gTVZbi8KSnTivLYkS2aXZD0zZMaMCLITEKATRJwT1ZN6ywjCQUVopA92rMNWYC+Zpy L1wp0QKf2YyPvylnx+oP6b+X2rXcRhb/uoKyjZgNDFjfFh4A9MbVYlYuTpbBIEvixrK0 75B0x8Z5mCmYc/SlHnBcnBRXB5Nk9lYVwEE0UcOW52prfttLl0FFdzYg4xvm4rvm16fn jyrOJ4nQoBh9rckxWaYgJoejM/pXShbpthNdR4dAYI4fYXpAmtleMRl8yTPmSekfvZ6t ojUwY7w7aW4qzemYRsjqak6hlS3Er2wA6nYHjb47cIOy6X2w8mv83Dd2OQPfFtcCP5BY MwfA== 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=B5NBBD2xgDZaLPUkFwE5fzjmOpZ/OUutlPGj8b16lrY=; b=igvCt2KQO55sQXK+PgfVRyhylmjMGawhLkn01mHAwzoFKWdRZXMjIEEnPKeIHeKNJw IqAfDxmACr7ZhrW38VR2Js7+1b0EE6BxoLm9q1m0SZimd0o+qh+HM6PPnsGYHqfGSZ6T tNAbmw+6Hzj0Unup3BWfcrAbmQzZtr9f+w+J3OtmHztcfGR7fA/ibkhiQHCGW2RLSHiA HGDqf22RDcmj7ezAwvJzii2wO0HU6v69hiI4gWvhnr+ind81V+LCr7bIYOQGwujY/W+o 7/E3EZbuXysjn4og5xG5x+i91TSdbOcXJdXweZRGTxGabrRT6CBEKnciQG+IKmfPvWxi Zzrg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="a9StKd/b"; 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=B5NBBD2xgDZaLPUkFwE5fzjmOpZ/OUutlPGj8b16lrY=; b=VidtqsyYFUOmJHkQLKy7bLVE19Gt/nPZan7pJiVlyDnc94tsAIMa/pDK47W3RQGf0a pYCG+zytRB3LHkSXqh0bUJFvMOGc9u4iIEUyewOGEnouynCWj2O/j81MfKOISTFMu7hq E3yEwg4SLSs1eKPgYGZnqQ9TQ4xnYosQoXaRs= 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=B5NBBD2xgDZaLPUkFwE5fzjmOpZ/OUutlPGj8b16lrY=; b=mPmpxs1VNC+PfmXVMCVUAWsmnp4vGxjeZTwViYbRAA9WI8UfvEjUuRtGM4gWD7QyYf k4KoC24bTXU3KXQTx+XsaAQxYJlxNSFw/wkB/yXtxOMSHaYsAMGi48KDmXW6mDALqYp3 gdGgb/kf3Rzmk1UHGdlgKXBcoprzBbXYX1tZqtYSlsAMjwMa5SCjSJ65eXSxKUVMMx1r 0mnG49ZvKNnzRafAlYU0CSnf+w58mUKhSapRnMjKjm2jA9Df7Fjqkdb4uA/zqhxVzcTK rzl7z4zuZqQlp26cYyHljDDHE4PciYMsDEsM5NRVBGYeLt8MekesWd+H3b3SdM/2az1N IG0g== X-Gm-Message-State: APjAAAWKV19TdgqQ16PffjKLzFSPMFmAdOAhe9fCfPbffnJyje5dodIQ ByJlSqRXUITnacM7f0gRdb97hC7t X-Google-Smtp-Source: APXvYqzEzEGeRu4R1ms0H31NG16QGHVYaMKVm3PikLMlSfVaFtQqC5PieRmGiVFFM6Jfq+qHfSzAPA== X-Received: by 2002:a17:902:404:: with SMTP id 4mr1815731ple.60.1555335896184; Mon, 15 Apr 2019 06:44:56 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:45d9:: with SMTP id n86ls4850739pfi.8.gmail; Mon, 15 Apr 2019 06:44:55 -0700 (PDT) X-Received: by 2002:a63:4e5b:: with SMTP id o27mr70686808pgl.204.1555335895810; Mon, 15 Apr 2019 06:44:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555335895; cv=none; d=google.com; s=arc-20160816; b=aLXzYoHnQGpykdGGO/FknToxq4B3AVF2JfbY5fxgElbCRDftc08SztBdVkLQTUmrhk cF1oKgzJ5Te0bRqwFToVOdFqBu2+nExRgK1J+KjXz+qstZM9LOzT7vWsWW62SYakxgeQ Jul01V63kpm0Ut266xW8n5na5+0mky0m702vO23THg36tXPQPNGjbZCL/1L6grXTjOIn 9ad5+KZmmssiWKYSNXwZJN34o9aUsRvarrJ0KLnqWV4FGfr6iYexqd9QNJ+HfA6hpjHc PrlaibFvYYuco3hTEcGdoH50y+u4xc/icoxsmAxD+2+wgYhp07wWpnvwwaOAZB6QbHXU 14UA== 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=TCv0sKm4cNMBzuwfFHEi7GPLoL8+hUr8um7MWvxfjR4=; b=s54zdZwjOXDjAN/8I7ieXj4mUEizGU1Hb+RYRJnFy7qcrRP0yZ2vXOd8o9wKkqk9yY I4BY3oec6fGLPz4iWnaHAAetwnCB4GmNOp+t8NtHB3jNA4SFQ/mxjHScTtPlHKcBZ1lP kjmyOQGWOhJseWmRz5n8RPgpJ52ZmRpfM3twEb/ER0wu57GLvqwt6wRX7NtRfpGKmV96 A5TWkjqioRjoTQDaioKgYH6njCtoAISN+H+jKRbtHVFVrm3aJHba5AgSjM0B5vmcIxbh gXsyDOyfKY2V5v3OzBl/l6nFb1p5pypv8+HxdLycnYfQiR+Cu7b6X0hN4Q+KP+7arUMo nzpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="a9StKd/b"; 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 cl14sor30788388plb.30.2019.04.15.06.44.54 for (Google Transport Security); Mon, 15 Apr 2019 06:44:54 -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:a17:902:d211:: with SMTP id t17mr73085809ply.214.1555335894435; Mon, 15 Apr 2019 06:44:54 -0700 (PDT) Received: from localhost.localdomain ([49.206.201.96]) by smtp.googlemail.com with ESMTPSA id 10sm79974655pft.100.2019.04.15.06.44.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Apr 2019 06:44:53 -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: [PATCH] include: configs: Increase CONFIG_SYS_BOOTM_LEN to 16MB Date: Mon, 15 Apr 2019 19:14:38 +0530 Message-Id: <20190415134438.17459-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="a9StKd/b"; 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. 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 ... Signed-off-by: Shyam Saini Reviewed-by: Jagan Teki --- 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