commit | 5d476dac7ee9fdfd90a1962ed01fb32070c4e6f6 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Mon Jun 13 11:42:18 2022 +0800 |
committer | developer <developer@mediatek.com> | Thu Jun 30 11:49:40 2022 +0800 |
tree | e851848ff63bdd78c483c3b9b3dfd4f9d4d71d1a | |
parent | 9ff6765a415c4f0f7d70a4823c5789ea7b228bca [diff] |
[][OpenWrt Dev][Add dual-boot support for mt7981] [Description] Add dual-boot support for mt7981 [Release-log] N/A Change-Id: Ibc1342b0fd1f285c84bc38159c96cabcbcc135a7 Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6105795
diff --git a/target/linux/mediatek/mt7981/base-files/lib/upgrade/platform.sh b/target/linux/mediatek/mt7981/base-files/lib/upgrade/platform.sh index 2cbde5c..29f970f 100644 --- a/target/linux/mediatek/mt7981/base-files/lib/upgrade/platform.sh +++ b/target/linux/mediatek/mt7981/base-files/lib/upgrade/platform.sh
@@ -1,10 +1,10 @@ -RAMFS_COPY_BIN='mkfs.f2fs blkid blockdev' +RAMFS_COPY_BIN='mkfs.f2fs blkid blockdev fw_printenv fw_setenv' platform_do_upgrade() { local board=$(board_name) case "$board" in *snand*) - nand_do_upgrade "$1" + ubi_do_upgrade "$1" ;; *emmc*) mtk_mmc_do_upgrade "$1"