From patchwork Sat Nov 20 22:55:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 519281 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp4683192imj; Sat, 20 Nov 2021 14:57:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwJ65NdDF+xBYJ9F/dQf1g6ydlji096FDDdiwJyPnDIYp5Jv+FGvTyhRddKZ/jWI1a5jxi5 X-Received: by 2002:a05:6402:5158:: with SMTP id n24mr42681753edd.230.1637449076375; Sat, 20 Nov 2021 14:57:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637449076; cv=none; d=google.com; s=arc-20160816; b=YHKpexTNX1A+bJTGgXMIr2DqZTelrFX93Hs2ofNJ2c+keQyLLfaFjkmFi7R016GT1J a6USbqp08FlSQqXxzEx1iNwz6H14/COzb0DjhJ02jSf3W3UYBQKz4mWNE4VT2hn8L5E3 Tr1r7YQQuOM6U1ielIDLOXjd/O+hnHlqTlK2JH+rSSsumOHQ/+IGG7tQOigFSZ/v7nFn lZoYxTdBCzDd54hyiWfFCR3dZUpYyPa8fNzqw+K/oAsHaLUL8Xj8T27fCJscM1TOM/kJ YuL3vf8Yy6YaowBlU7LIvva/u4rvdqFlaeWTx+YZGkyJIMrivndZ8zeJotR8diIItovY wgVQ== 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=cZQZeZNsUuSmg950dx1Ngb9Y2LEA+/6Ipb1aDeauk/A=; b=0ktedJcxAksUXOQUavGTejbXMZ5RwfmoaYq52Jg4rxS0Ejzqom3HY6JoCiyP9i3WGo +h9SIubnftcGfUoncarTrBKy+eVHNqcX2K4hOc7AAs/N+93AlFpiGBh5pRhXIrFczRG0 YaKG9pDMqX6gmgLU66EEdNUYaWeG3CDfQ9wT/FQAWvWJhiH5L1O8MDT2SsddypFSi2Ly dlpRqPsHXsi2OMslih+9VSQ85phNL8zp6asXPpOMluWBKjDIFz+Gq/raJEsZKE5HDPGg blRweFbsLnei3+MiDuB2esr1nuiRWe5i3HJzxNFL7YBb1GGyJe+nGeyCoZqZJ7B5qoJa OwKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fOT9Xxsp; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id sd30si13847807ejc.764.2021.11.20.14.57.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Nov 2021 14:57:56 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fOT9Xxsp; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 C67C382A64; Sat, 20 Nov 2021 23:57:52 +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="fOT9Xxsp"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AF66282F3E; Sat, 20 Nov 2021 23:57:51 +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 6993E82849 for ; Sat, 20 Nov 2021 23:57:48 +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 bi37so61202583lfb.5 for ; Sat, 20 Nov 2021 14:57:48 -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=cZQZeZNsUuSmg950dx1Ngb9Y2LEA+/6Ipb1aDeauk/A=; b=fOT9XxspHl3xy/xh6AeNPUVIVQge80OnCTqGwc0aRDejYU2YXRKNvxsQD5cc0nH7YH zgQp8HGbSrBt+b3+Tyfjxzgm4xmPrh2TOxZ0mzaSyRGndwxg0dK3spnX73U0CHHwG/W+ JcYikPXkKt1qJv8jSAcRHeyZKuzMff8SJTykTv3NalDvDJ2tFQyOFOhl/lcReq4HkM38 s4oFnkWMw78ct10yk6NNywPYDohuCZ2puB7IVzTkR0uPthcHKbr9BgG9jlgc4TbNC1g2 3hEDqLemPdXYqC67mXDtJlWQi3ySvVjuYhqT8q3VdElECRToMUyAh40OKWI+6AJtsRKR TDtg== 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=cZQZeZNsUuSmg950dx1Ngb9Y2LEA+/6Ipb1aDeauk/A=; b=pDxb9QEXPqb3W/pnYWOkheMzaMHzV6Wn8rvLPtyP3trgiA3QKPJA4WC8taGao20WTR UBhLctIQ/Y7bc4eiBYoiNnsFmQXimYJgAPv5w2mZVdoBpbj5JOzHY/JMprK85MRbnuwj yrvHFB2+vtJPbgXCZnMlGMtRgpyoaIYgAf7VlSzrVoTGAibkNT/8jskpQPe/Fc4qYmQf 8BSjJeGG/hhaWDGXuX4MkX5LgrFLKn0Us9ETD/Z9Ftta6AQ4IGK9K/QXF5OjVE2zOxjh VLB9otXume+GRKCBKrB9xiIMG9BZ4cv3CWP3WQr5WwSH5AG0C5VjeCHT0O5vnA1Yjpjb Q8KA== X-Gm-Message-State: AOAM533qn9cjVRkF6j1bJ0NZu+PmTXhOB3JQTqp45Y1t8F5zbz+cUQIH UVCYvMI8IqyKKG3g0SpypbywJrF272L7Vg== X-Received: by 2002:a05:6512:3402:: with SMTP id i2mr45365822lfr.447.1637449067113; Sat, 20 Nov 2021 14:57:47 -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 c23sm343808ljr.85.2021.11.20.14.57.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Nov 2021 14:57:45 -0800 (PST) From: Linus Walleij To: u-boot@lists.denx.de, Tom Rini Cc: Linus Walleij , Stephan Gerhold Subject: [PATCH v2] board: stemmy: Increase boot image to 64 MB Date: Sat, 20 Nov 2021 23:55:42 +0100 Message-Id: <20211120225542.2971144-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_64MB. Cc: Stephan Gerhold Signed-off-by: Linus Walleij Reviewed-by: Tom Rini 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