From patchwork Fri Nov 19 14:33:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 519241 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp2599070imj; Fri, 19 Nov 2021 06:35:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJwLjpw5iTGmFK8+hdnvxr6Btco71s9TYtEvvC5YNE/7cjox+T5pQ4F7HBxegKmcRtJdrl9e X-Received: by 2002:a17:906:dc8d:: with SMTP id cs13mr8332878ejc.109.1637332538519; Fri, 19 Nov 2021 06:35:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637332538; cv=none; d=google.com; s=arc-20160816; b=AEI3k9D5Kr2hp1NN6nN89YfeAvqwcZZsJ1yPhb1iWUVSF3guiUAaeC62dVYsriu4Db +vFHYvvE/mBc8FXk1R87qEHHTvEKTHdONJACObINpOEcXF496YzAp3k5X9gYAkkh77Zn DjB1QTE5T1Fm4rokmW/qRD4P24VQqQwrndeRtVxCkiz2bhLd1YoTnfMIQzNEXeIIwNG6 6Q/3wiMLgbBdPHsw+pMu0/G/MO0zfZnnJ3BYeUrxizkuW7FAI60WW0rXGo3wZqg0I/rr BGeTgsoDoTvVTElWhax6Zg5k4ketGmgyCLq715hz+tRmzFC+W0XjkhUyQalRaeP5/Rfv mjzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=oiILLj4EnEDQfmaj4KPasm4pWRjHx7Jvgkc4jcAJ3Hw=; b=d702fJMqIryIopGHJs9Lo86hipyzeoZu0QJY8mNjso51GdCzVCHqyMemK5MjgiCs87 WvO9tnoXn+jcFw/eoNH9iaxohDo/F8Y3dtzDKX0tan6xXlkfhhNNrx1kNcul/J1J8e54 zvbdHV8x9iRSDBE5gsNHPAx6CFP1cnN/6Y4ovbuKQ7omcAi3cgWD5/40pdFFreXWgKhD OMeF0sC9GUuW9Wr5gvYMQZMiWen1HMEGNCJVl2n5oLPDGJkohV1e7WRHzgI08cm3HT34 efzUtygDRxqSoXYLL6beOPD/eXisA376Xr8/OQQDA19ZEDFiTLp4KRvCUm3b9ZzdU36J Tl8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mp10J6Y3; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id ds20si8455328ejc.535.2021.11.19.06.35.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Nov 2021 06:35:38 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mp10J6Y3; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 312B582B68; Fri, 19 Nov 2021 15:35:34 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="mp10J6Y3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 66A9682FAE; Fri, 19 Nov 2021 15:35:32 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BDB148020E for ; Fri, 19 Nov 2021 15:35:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=linus.walleij@linaro.org Received: by mail-lf1-x129.google.com with SMTP id y26so44200972lfa.11 for ; Fri, 19 Nov 2021 06:35:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oiILLj4EnEDQfmaj4KPasm4pWRjHx7Jvgkc4jcAJ3Hw=; b=mp10J6Y3BZE44pedFwSb3Ih7mxH4P1KbAvRQsO49eIu17jGs++9YhbB8xp75MlsfYT QAwjU6y1I16PDrIjJ3jUDlKKCjNztzngm0U15lTIV5Q50f6L040iDL8YfDJD0QHiqVvW 1+tiAP/dSLnLepEB9ccunSRq3HNdXRViS7rBcIqGgNy/QQfFf8kxbekL6fxD8ByWT70p wFWxIqMbVXqwQUK7zXsM3+3pvc7AMiTfyPhxnaD9Ki/WIoVGYNwEdOANFAIYa/PfElL9 B9yVWaqhyLZBHVPfs+k5ElQT8nFscmnVpQtM2BjCtWHkMTa0uXhgNcNID4rY+JjIFEv5 /Ibw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oiILLj4EnEDQfmaj4KPasm4pWRjHx7Jvgkc4jcAJ3Hw=; b=4NzRt9uUapUKoubjvX15o7FDcgeltcWoInXgP7+wocEgqS30D8sVqXyk1t6rCJ4tS6 x7vzge+2rAdYnx8o/ZK9HKJgDleq5+HvZ3yThH4k1ogXjXIdBPuSgZF9HITwgl87MRtD rZPFqCGL9tTuXo2TmJ7K2JY9OgqoRNm65/tGLVD8Yto9RqzkpgG3WDs/EQAK0NUNEe2v RSI3zP4jRXj+NZNuW9om/Lq7NYJcX0rv8BMym+tZ0U+6Oi/c7BRiv6o4nrqMm5vbVxN5 AUNtXWFNngQOcZDJH1X2OxikvFRLpM5tDroKpHj70aDlHd1lDp/xHCYX9LyHNZlMucDE fq3Q== X-Gm-Message-State: AOAM5322MRkz88jYcjbcnVO5BLDPBSnE2+f+l2hfTgUUxpMugSqn3xrV mQyZDEhVfnVe1P+SoJh9F22Hl+w6C1z9Bw== X-Received: by 2002:a19:c3d5:: with SMTP id t204mr33120174lff.303.1637332526200; Fri, 19 Nov 2021 06:35:26 -0800 (PST) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id p16sm303174ljn.21.2021.11.19.06.35.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Nov 2021 06:35:25 -0800 (PST) From: Linus Walleij To: u-boot@lists.denx.de, Tom Rini Cc: Linus Walleij , Stephan Gerhold Subject: [PATCH] board: stemmy: Increase boot image to 16 MB Date: Fri, 19 Nov 2021 15:33:21 +0100 Message-Id: <20211119143321.2497377-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean When using a recent kernel with a bunch of compiled-in stuff the kernel image easily becomes bigger than 8 MB yielding this error: Loading Kernel Image Image too large: increase CONFIG_SYS_BOOTM_LEN Must RESET board to recover Fix this by bumping to SZ_16MB. Cc: Stephan Gerhold Signed-off-by: Linus Walleij Reviewed-by: Stephan Gerhold --- include/configs/stemmy.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/stemmy.h b/include/configs/stemmy.h index ed79b1203901..f4700a45daf5 100644 --- a/include/configs/stemmy.h +++ b/include/configs/stemmy.h @@ -14,6 +14,7 @@ * bootloader. New images are loaded at the same address for compatibility. */ #define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE +#define CONFIG_SYS_BOOTM_LEN SZ_16M /* FIXME: This should be loaded from device tree... */ #define CONFIG_SYS_L2_PL310