diff options
author | John Crispin <john@phrozen.org> | 2020-07-16 09:16:34 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2020-07-16 09:16:34 +0200 |
commit | 5a5031e70b3eefc4d4bf1be4f4529e2cfa159f98 (patch) | |
tree | ac71ac4f9bf3f90661fff22bf3719dfce327507a /target/linux/mediatek/mt7622/base-files | |
parent | ea2884e018a61a1d45ed9b7cfc916be35c3198e1 (diff) | |
download | upstream-5a5031e70b3eefc4d4bf1be4f4529e2cfa159f98.tar.gz upstream-5a5031e70b3eefc4d4bf1be4f4529e2cfa159f98.tar.bz2 upstream-5a5031e70b3eefc4d4bf1be4f4529e2cfa159f98.zip |
mediatek: generate UBI images for the rev board
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/mediatek/mt7622/base-files')
-rwxr-xr-x | target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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" ;; |