mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] test: arm: modules32_defconfig: increase memory size
@ 2026-02-09 12:41 Ahmad Fatoum
  2026-02-10  9:07 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2026-02-09 12:41 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-10  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-09 12:41 [PATCH] test: arm: modules32_defconfig: increase memory size Ahmad Fatoum
2026-02-10  9:07 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox