mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] test: arm: modules32_defconfig: increase memory size
Date: Mon,  9 Feb 2026 13:41:53 +0100	[thread overview]
Message-ID: <20260209124202.2988120-1-a.fatoum@pengutronix.de> (raw)

While 128M is too much and leads to errors:

  pci_ecam_generic: relocation out of range, section 5 reloc 0
	sym 'dev_request_mem_resource'

  pci_ecam_generic: relocation out of range, section 12 reloc 0
	sym 'platform_driver_register'

Taking 64M as previous power of two is needlessly conservative.
100M seems to work fine, so use that. This will be useful for upcoming
decompression tests as LZ4 decompressions allocates a 8M buffer.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 test/arm/modules32_defconfig.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/arm/modules32_defconfig.yaml b/test/arm/modules32_defconfig.yaml
index aa01881f0ecc..b12042624769 100644
--- a/test/arm/modules32_defconfig.yaml
+++ b/test/arm/modules32_defconfig.yaml
@@ -5,7 +5,7 @@ targets:
         qemu_bin: qemu-system-arm
         machine: virt
         cpu: cortex-a7
-        memory: 64M  # To avoid indirection via (unsupported) PLTs
+        memory: 100M  # To avoid indirection via (unsupported) PLTs
         bios: barebox-qemu-virt.img
         display: qemu-default
       BareboxDriver:
-- 
2.47.3




             reply	other threads:[~2026-02-09 12:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-09 12:41 Ahmad Fatoum [this message]
2026-02-10  9:07 ` 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=20260209124202.2988120-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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