openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH u-boot v2019.04-aspeed-openbmc] configs: increasing SPL stack size
@ 2022-02-18 10:01 Troy Lee
  2022-02-18 21:08 ` Patrick Williams
  0 siblings, 1 reply; 2+ messages in thread
From: Troy Lee @ 2022-02-18 10:01 UTC (permalink / raw)
  To: openbmc, joel; +Cc: leetroy, jamin_lin

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@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


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

* Re: [PATCH u-boot v2019.04-aspeed-openbmc] configs: increasing SPL stack size
  2022-02-18 10:01 [PATCH u-boot v2019.04-aspeed-openbmc] configs: increasing SPL stack size Troy Lee
@ 2022-02-18 21:08 ` Patrick Williams
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Williams @ 2022-02-18 21:08 UTC (permalink / raw)
  To: Troy Lee; +Cc: jamin_lin, openbmc, leetroy

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

On Fri, Feb 18, 2022 at 06:01:04PM +0800, Troy Lee wrote:
> 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@aspeedtech.com>
> ---

Tested-by: Patrick Williams <patrick@stwcx.xyz>

-- 
Patrick Williams

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2022-02-18 21:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-18 10:01 [PATCH u-boot v2019.04-aspeed-openbmc] configs: increasing SPL stack size Troy Lee
2022-02-18 21:08 ` Patrick Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).