mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
	BAREBOX <barebox@lists.infradead.org>
Subject: Re: [PATCH 3/3] ARM: k3: k3-r5_defconfig: limit image size to maximum available space
Date: Mon, 18 May 2026 11:37:15 +0200	[thread overview]
Message-ID: <3d28313c-9695-416f-8d86-66ac050624b7@pengutronix.de> (raw)
In-Reply-To: <20260518-k3-am62x-image-size-fixes-v1-3-ab723d79922d@pengutronix.de>

Hello,

On 5/18/26 11:26 AM, Sascha Hauer wrote:
> On the AM62x we have 0x3e000 bytes available for SBL usage. The upper

What's a SBL?

> 0x1000 bytes are used by the DMDATA, so set maximum image size to
> 0x3d000.

Cheers,
Ahmad

> 
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
>  arch/arm/configs/k3-r5_defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/configs/k3-r5_defconfig b/arch/arm/configs/k3-r5_defconfig
> index ece3d00947..6d8391c55e 100644
> --- a/arch/arm/configs/k3-r5_defconfig
> +++ b/arch/arm/configs/k3-r5_defconfig
> @@ -8,7 +8,7 @@ CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
>  CONFIG_NAME="k3-r5_defconfig"
>  CONFIG_ENVIRONMENT_VARIABLES=y
>  CONFIG_IMAGE_COMPRESSION_XZKERN=y
> -CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x10000000
> +CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x3d000
>  CONFIG_MALLOC_SIZE=0x0
>  CONFIG_MALLOC_TLSF=y
>  CONFIG_KALLSYMS=y
> 

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




  reply	other threads:[~2026-05-18  9:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-18  9:26 [PATCH 0/3] k3: am62x: image size fixes Sascha Hauer
2026-05-18  9:26 ` [PATCH 1/3] ARM: k3: am62x: move stack to end of SRAM Sascha Hauer
2026-05-18  9:26 ` [PATCH 2/3] ARM: k3: am62x: make more space for r5 barebox binary Sascha Hauer
2026-05-18  9:41   ` Ahmad Fatoum
2026-05-18  9:26 ` [PATCH 3/3] ARM: k3: k3-r5_defconfig: limit image size to maximum available space Sascha Hauer
2026-05-18  9:37   ` Ahmad Fatoum [this message]
2026-05-18 10:38     ` Sascha Hauer
2026-05-18 13:33 ` [PATCH 0/3] k3: am62x: image size fixes Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3d28313c-9695-416f-8d86-66ac050624b7@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox