arm: atmel: cpux9k2: increase malloc space to fix crash on start u-boot
PATCH 1/1 arm: atmel: cpux9k2: increase malloc space to fix crash on start u-boot
From: "Jens Scharsig (BuS Elektronik)" <[email protected]>
Since UBIFS is enabled for cpux9k2, more malloc space is needed. For the current uboot 2013.10-rcX the size is to small, this will fix the startup problems by increasing the mallog space.
--- include/configs/eb_cpux9k2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/eb_cpux9k2.h +1 -1
@@ -83,7 +83,7 @@* Size of malloc() pool */ -#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 520*1024) +#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)/* * sdram
Signature · 1 line
1.8.1.4
PATCH 1/1 arm: atmel: cpux9k2: increase malloc space to fix crash on start u-boot
Dear Jens Scharsig,
Quoted 16 lines · Jens Scharsig (BuS Elektronik)
From: "Jens Scharsig (BuS Elektronik)" <[email protected]>
Since UBIFS is enabled for cpux9k2, more malloc space is needed. For the current uboot 2013.10-rcX the size is to small, this will fix the startup problems by increasing the mallog space.
Signed-off-by Jens Scharsig (BuS Elektronik) <[email protected]>--- include/configs/eb_cpux9k2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/configs/eb_cpux9k2.h +0
-0
include/configs/eb_cpux9k2.h line 86
Quoted 5 lines
include/configs/eb_cpux9k2.h +1
-1@@ -83,7 +83,7 @@* Size of malloc() pool */ -#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 520*1024) +#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)
are you sure 1MiB is enough? We had from time to time problems initializing an unsafe closed UBI (about 512MiB). With 4MiB malloc arena however we never had these problems.
Best regards
Andreas Bie?mann
PATCH 1/1 arm: atmel: cpux9k2: increase malloc space to fix crash on start u-boot
Dear Andreas Bie?mann:
Quoted 4 lines
are you sure 1MiB is enough? We had from time to time problems initializing an unsafe closed UBI (about 512MiB). With 4MiB malloc arena however we never had these problems.
Thank you for informations. To prevent future problems, I will send a 4MiB version (V2) tomorrow.
Regards
Jens