Skip to contentSkip to conversation

configs: evb_ast2700: set default SPI FIT address

PATCH In review Cooper Huang 3 participants 3 messages Oct 16 – Oct 30

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} "			\

---
base-commit: 65a7532545336e4b73e049a69436e255da7df961
change-id: 20261016-ast2700-fdtspiaddr-c0c1187925b6

Best regards,

Signature · 1 line
Cooper Huang <[email protected]>
Reviewed-by on v1 1/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.

[...]

Signature · 1 line
Tan Siewert <[email protected]>
#2 lore raw
In reply to Cooper Huang
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 u-boot/main, thanks!

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

      commit: 5ccb662220096fe2378acd4314f7e29f512340e4
Signature · 1 line
Tom