Skip to contentSkip to conversation

configs: evb_ast2700: set default SPI FIT address

PATCH In review Cooper Huang 2 participants 2 messages Oct 20 – Oct 21

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: evb_ast2700: set default SPI FIT address

The AST2700 EVB bootspi command reads the FIT image from ${fdtspiaddr}, but the default environment does not define fdtspiaddr. Set it to the SPI-mapped FIT image address used by the OpenBMC image layout: flash offset 0x420000, right after the environment, in the FMC AHB window at 0x100000000.

Fixes b62b55ba4b2d ("arm: aspeed: add ASPEED AST2700 SoC family support")
---
 include/configs/evb_ast2700.h | 1 +
 1 file changed, 1 insertion(+)
include/configs/evb_ast2700.h +1 -0
index 6b73eddc1af..bf5cda94fe4 100644
@@ -21,6 +21,7 @@
 		"bootm ${loadaddr}; "					\
 		"echo Error loading kernel FIT image\0"			\
 	"loadaddr=" STR(CONFIG_SYS_LOAD_ADDR) "\0"			\
+	"fdtspiaddr=0x100420000\0"					\
 	"bootside=a\0"							\
 	"rootfs=rofs-a\0"						\
 	"setmmcargs=setenv bootargs ${bootargs} "			\
Signature · 1 line
2.34.1
#1 lore raw
Quoted 8 lines · Cooper Huang

The AST2700 EVB bootspi command reads the FIT image from ${fdtspiaddr}, but the default environment does not define fdtspiaddr. Set it to the SPI-mapped FIT image address used by the OpenBMC image layout: flash offset 0x420000, right after the environment, in the FMC AHB window at 0x100000000.

[...]

Applied to openbmc/u-boot.git (v2026.10-openbmc), thanks!

Given that it is v2026.10-openbmc and not being used in OpenBMC master yet I'll not bump the reference. The open CR by Vince has to be updated tho.

[1/1] configs: evb_ast2700: set default SPI FIT address

      https://github.com/openbmc/u-boot/commit/55801cd46f94

Cheers,
Tan