From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E5C88C433F5 for ; Tue, 23 Nov 2021 13:15:29 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8043D82F70; Tue, 23 Nov 2021 14:15:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gerhold.net Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gerhold.net header.i=@gerhold.net header.b="HEVfC8un"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 77FAB82F73; Tue, 23 Nov 2021 14:15:25 +0100 (CET) Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [85.215.255.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4535582C6D for ; Tue, 23 Nov 2021 14:15:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gerhold.net Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=stephan@gerhold.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1637673321; s=strato-dkim-0002; d=gerhold.net; h=In-Reply-To:References:Message-ID:Subject:Cc:To:From:Date:Cc:Date: From:Subject:Sender; bh=TmmVy9jb6iJikKJr7u9MlNpxt26RwQY+qWkydmoWUSM=; b=HEVfC8unsOukVb0kOhsSYh1JV8gAjxsPXqI0QhSX1/Bw07QRwIbsK6asMNQmP7teOA tMMevqa6IGLIqXu0I+Eku0u/jDpqcHeQ3FAovvGuSk49W5uTi4v6UEXKoKKcbqi1rd+p 9nppLynaw9xTvIMtUL89rxhEjQfY7DihVaNehATrAwbCO4UhPPCxiX7jNE4u3sHgvhcW 71s75W4wIkrYhBQLsI0c1IXlrobBEWMsHGjT+XDkfOcrTfLviPpRKu5KrRnIqbjETPM6 GUNP8o8xIjNh3wPvqTCIPSe4J2fX6vwmCc4lbWCYEZgTR6nA3jlKHUQqCe6KDCwu2ord 94IA== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":P3gBZUipdd93FF5ZZvYFPugejmSTVR2nRPhVOQ/OcYgojyw4j34+u267FZF9PwpcNKLUrK88/6Y=" X-RZG-CLASS-ID: mo00 Received: from gerhold.net by smtp.strato.de (RZmta 47.34.6 AUTH) with ESMTPSA id x00478xANDFL9dL (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 23 Nov 2021 14:15:21 +0100 (CET) Date: Tue, 23 Nov 2021 14:15:20 +0100 From: Stephan Gerhold To: Linus Walleij Cc: u-boot@lists.denx.de, Tom Rini Subject: Re: [PATCH v2] board: stemmy: Increase boot image to 64 MB Message-ID: References: <20211120225542.2971144-1-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211120225542.2971144-1-linus.walleij@linaro.org> 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 On Sat, Nov 20, 2021 at 11:55:42PM +0100, Linus Walleij wrote: > 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_64MB. > > Cc: Stephan Gerhold > Signed-off-by: Linus Walleij Great, thanks for changing it! :) Reviewed-by: Stephan Gerhold > --- > ChangeLog v1->v2: > - Bump to 64MB instead of 16MB > --- > include/configs/stemmy.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/stemmy.h b/include/configs/stemmy.h > index ed79b1203901..4bba2a627259 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_64M > > /* FIXME: This should be loaded from device tree... */ > #define CONFIG_SYS_L2_PL310 > -- > 2.31.1 >