[PATCH] ARM: imx: imx8mn-evk: define default dfu_alt_info for emmc updates

Oleksandr Suvorov oleksandr.suvorov at foundries.io
Wed Aug 17 12:41:29 CEST 2022


From: Michael Scott <mike at foundries.io>

Define dfu_alt_info to allow updating SPL/imx-boot and u-boot.itb via
DFU (which is also used by EFI capsule updates).

Signed-off-by: Michael Scott <mike at foundries.io>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov at foundries.io>
---

 include/configs/imx8mn_evk.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/imx8mn_evk.h b/include/configs/imx8mn_evk.h
index ae7fcb1027a..53fd9effddf 100644
--- a/include/configs/imx8mn_evk.h
+++ b/include/configs/imx8mn_evk.h
@@ -38,6 +38,8 @@
 	BOOTENV \
 	"console=ttymxc1,115200\0" \
 	"boot_fit=no\0" \
+	"dfu_alt_info=mmc 2=imx-boot raw 0x0 0x300 mmcpart 1;" \
+		"u-boot-itb raw 0x300 0xD00 mmcpart 1\0" \
 	"fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \
 	"bootm_size=0x10000000\0" \
 	"mmcpart=1\0" \
-- 
2.37.2



More information about the U-Boot mailing list