[U-Boot] [PATCH v1 12/21] display5: config: Provide 'tftp_mmc_rootfs_bkp' command to write BACKUP rootfs
Lukasz Majewski
lukma at denx.de
Fri May 11 14:51:10 UTC 2018
Signed-off-by: Lukasz Majewski <lukma at denx.de>
---
include/configs/display5.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/configs/display5.h b/include/configs/display5.h
index 9e3c7f547b..1e0383de46 100644
--- a/include/configs/display5.h
+++ b/include/configs/display5.h
@@ -354,7 +354,12 @@
"rootfs_part_active=2\0" \
"rootfs_part_backup=4\0" \
"rootfs_file=core-image-lwn-display5.ext4\0" \
+ "rootfs_file_backup=core-image-lwn-backup-display5.ext4\0" \
__TFTP_UPDATE_ROOTFS \
+ "tftp_mmc_rootfs_bkp=" \
+ "setenv rootfs_part ${rootfs_part_backup};" \
+ "setenv rootfs_file ${rootfs_file_backup};" \
+ "run tftp_mmc_rootfs\0" \
TFTP_UPDATE_RECOVERY_SWU_KERNEL \
TFTP_UPDATE_RECOVERY_SWU_INITRAMFS \
"\0" \
--
2.11.0
More information about the U-Boot
mailing list