summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Dureghello <[email protected]>2026-03-23 22:32:23 +0100
committerAngelo Dureghello <[email protected]>2026-05-04 22:19:49 +0200
commita38b3fca74fe87a99e4516f62dcaa98fa718ed57 (patch)
treee95e5fd692c1117b0745d924fb2c12a00555ce1e
parent81b7e4da508c9557880204c070c56f5ff5048bb7 (diff)
board: stmark2: add sd boot command
Add command to boot from sd. Signed-off-by: Angelo Dureghello <[email protected]>
-rw-r--r--include/configs/stmark2.h5
1 files changed, 4 insertions, 1 deletions
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; " \