* [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
* Re: [PATCH] test: arm: modules32_defconfig: increase memory size
2026-02-09 12:41 [PATCH] test: arm: modules32_defconfig: increase memory size Ahmad Fatoum
@ 2026-02-10 9:07 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2026-02-10 9:07 UTC (permalink / raw)
To: barebox, Ahmad Fatoum
On Mon, 09 Feb 2026 13:41:53 +0100, Ahmad Fatoum wrote:
> 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'
>
> [...]
Applied, thanks!
[1/1] test: arm: modules32_defconfig: increase memory size
https://git.pengutronix.de/cgit/barebox/commit/?id=0214a388beb3 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ 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