[PATCH u-boot v2019.04-aspeed-openbmc] configs: increasing SPL stack size
Troy Lee
troy_lee at aspeedtech.com
Fri Feb 18 21:01:04 AEDT 2022
With commit 5e8cacaa7096 ("Support UART1/2/3/4 as booting console"),
the SPL requires more memory. Without this patch, the machine will stop
execution right after "Trying to boot from RAM".
Tested with AST2600-A1 and AST2600-A3 evaluation board.
Fixes: 5e8cacaa7096 ("Support UART1/2/3/4 as booting console")
Signed-off-by: Troy Lee <troy_lee at aspeedtech.com>
---
configs/ast2600_openbmc_spl_defconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configs/ast2600_openbmc_spl_defconfig b/configs/ast2600_openbmc_spl_defconfig
index c1ed4f54d5..98aa3f160e 100644
--- a/configs/ast2600_openbmc_spl_defconfig
+++ b/configs/ast2600_openbmc_spl_defconfig
@@ -22,14 +22,14 @@ CONFIG_ASPEED_KERNEL_FIT_DRAM_BASE=0x83000000
CONFIG_TARGET_EVB_AST2600A1=y
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
-CONFIG_SYS_MALLOC_F_LEN=0x800
+CONFIG_SYS_MALLOC_F_LEN=0x2000
CONFIG_SPL_MMC_SUPPORT=y
CONFIG_SPL_SERIAL_SUPPORT=y
CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
CONFIG_ENV_SIZE=0x10000
CONFIG_ENV_OFFSET=0xE0000
CONFIG_SPL=y
-CONFIG_SPL_STACK_R_ADDR=0x90300000
+CONFIG_SPL_STACK_R_ADDR=0x93000000
CONFIG_ARMV7_BOOT_SEC_DEFAULT=y
CONFIG_ARMV7_PSCI_NR_CPUS=2
CONFIG_NR_DRAM_BANKS=1
--
2.25.1
More information about the openbmc
mailing list