commit | af92c9aa765468cc9ecffc7ae4af063395d6adec | [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 | 9737040f5878107fbe674d502f0207b0d27dc2fd [diff] [blame] |
[][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"