From 5a5031e70b3eefc4d4bf1be4f4529e2cfa159f98 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 16 Jul 2020 09:16:34 +0200 Subject: mediatek: generate UBI images for the rev board Signed-off-by: John Crispin --- target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target/linux/mediatek/mt7622/base-files') diff --git a/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh b/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh index 24b71ece63..8144476943 100755 --- a/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh +++ b/target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh @@ -7,6 +7,9 @@ platform_do_upgrade() { #of eMMC and to the location of the kernel get_image "$1" | dd of=/dev/mmcblk0 bs=2097152 seek=1 conv=fsync ;; + mediatek,mt7622,ubi) + nand_do_upgrade "$1" + ;; *) default_do_upgrade "$1" ;; -- cgit v1.2.3