Skip to contentSkip to conversation

x86: qemu-x86_defconfig: Increase CONFIG_SYS_MALLOC_F_LEN

PATCH New Stefan Roese 2 participants 2 messages Aug 25, 2020 – Aug 30, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: qemu-x86_defconfig: Increase CONFIG_SYS_MALLOC_F_LEN

With the upcoming increase of the malloc area in U-Boot ("pci: pci-uclass: Dynamically allocate the PCI regions"), the CI QEMU x86 test fails:

U-Boot 2020.10-rc2-g0a668f6d38 (Aug 25 2020 - 06:12:51 +0000)

alloc space exhausted
Error binding driver 'cpu_qemu': -12
Some drivers failed to bind
alloc space exhausted
initcall sequence fff6a760 failed at call fff13b3d (err=-19)

This patch now increases CONFIG_SYS_MALLOC_F_LEN to 0x1000, which is already used on qemu-x86_64_defconfig.

Cc Tom Rini <[email protected]>
Cc Simon Glass <[email protected]>
Cc Bin Meng <[email protected]>
---
 configs/qemu-x86_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/qemu-x86_defconfig +1 -0
index 6493fef835..218026b739 100644
@@ -1,5 +1,6 @@
 CONFIG_X86=y
 CONFIG_SYS_TEXT_BASE=0xFFF00000
+CONFIG_SYS_MALLOC_F_LEN=0x1000
 CONFIG_NR_DRAM_BANKS=8
 CONFIG_ENV_SIZE=0x40000
 CONFIG_MAX_CPUS=2
Signature · 1 line
2.28.0
#1 lore raw

PATCH 1/1 x86: qemu-x86_defconfig: Increase CONFIG_SYS_MALLOC_F_LEN

Quoted 16 lines · Stefan Roese

With the upcoming increase of the malloc area in U-Boot ("pci: pci-uclass: Dynamically allocate the PCI regions"), the CI QEMU x86 test fails:

U-Boot 2020.10-rc2-g0a668f6d38 (Aug 25 2020 - 06:12:51 +0000)

alloc space exhausted
Error binding driver 'cpu_qemu': -12
Some drivers failed to bind
alloc space exhausted
initcall sequence fff6a760 failed at call fff13b3d (err=-19)

This patch now increases CONFIG_SYS_MALLOC_F_LEN to 0x1000, which is already used on qemu-x86_64_defconfig.

Quoted 7 lines
Cc Tom Rini <[email protected]>
Cc Simon Glass <[email protected]>
Cc Bin Meng <[email protected]>
---
 configs/qemu-x86_defconfig | 1 +
 1 file changed, 1 insertion(+)