From afd9bb96f544c65ee13ba9d11ae721cf1e6dca9d Mon Sep 17 00:00:00 2001 From: zzh <838331105@qq.com> Date: Mon, 1 Jun 2026 11:42:56 +0800 Subject: [PATCH] support /system ota --- target/d211/demo128_nand/swupdate/sw-description | 6 ++++++ target/d211/demo128_nand/swupdate/sw-images.cfg | 2 ++ 2 files changed, 8 insertions(+) diff --git a/target/d211/demo128_nand/swupdate/sw-description b/target/d211/demo128_nand/swupdate/sw-description index 9af5e1a0a..2fdff2ba9 100644 --- a/target/d211/demo128_nand/swupdate/sw-description +++ b/target/d211/demo128_nand/swupdate/sw-description @@ -97,6 +97,12 @@ software = installed-directly = true; sha256 = "@rootfs"; }, + { + filename = "system"; + volume = "system"; + installed-directly = true; + sha256 = "@system"; + }, { filename = "data"; volume = "data"; diff --git a/target/d211/demo128_nand/swupdate/sw-images.cfg b/target/d211/demo128_nand/swupdate/sw-images.cfg index 7ae15d125..b727e0752 100644 --- a/target/d211/demo128_nand/swupdate/sw-images.cfg +++ b/target/d211/demo128_nand/swupdate/sw-images.cfg @@ -4,7 +4,9 @@ ${BINARIES_DIR}/recovery.itb:recovery ${BINARIES_DIR}/kernel.itb:kernel ${BINARIES_DIR}/logo.itb:logo ${BINARIES_DIR}/rootfs_page_2k_block_128k.ubifs:rootfs +${BINARIES_DIR}/system_page_2k_block_128k.ubifs:system ${BINARIES_DIR}/data_page_2k_block_128k.ubifs:data #${BINARIES_DIR}/rootfs_page_4k_block_256k.ubifs:rootfs +#${BINARIES_DIR}/system_page_4k_block_256k.ubifs:system #${BINARIES_DIR}/data_page_4k_block_256k.ubifs:data )