[PATCH 3/9] board: stmark2: add sd boot command
Angelo Dureghello
angelo at kernel-space.org
Thu Apr 16 14:14:25 CEST 2026
Add command to boot from sd.
Signed-off-by: Angelo Dureghello <angelo at kernel-space.org>
---
include/configs/stmark2.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/configs/stmark2.h b/include/configs/stmark2.h
index c8a39e191a2..a7afbb3be1f 100644
--- a/include/configs/stmark2.h
+++ b/include/configs/stmark2.h
@@ -14,9 +14,12 @@
board/sysam/stmark2/sbf_dram_init.o (.text*)
#define CFG_EXTRA_ENV_SETTINGS \
+ "boot_sd=load mmc 0:1 ${loadaddr} uImage; " \
+ "load mmc 0:1 ${loadaddr_ramfs} uRamfs\0" \
"kern_size=0x700000\0" \
- "loadaddr=0x40001000\0" \
+ "loadaddr=0x42000000\0" \
"-(rootfs)\0" \
+ "loadaddr_ramfs=0x43000000\0" \
"update_uboot=loady ${loadaddr}; " \
"sf probe 0:1 50000000; " \
"sf erase 0 0x80000; " \
--
2.53.0
More information about the U-Boot
mailing list