X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/19be413163addfaf3dad614b98d7c90173475e5f..ac19ad9ae47b97d9e0cd9d7775cbb3589c5602bf:/target/linux/ar71xx/base-files/lib/upgrade/platform.sh diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index ae68db6fc..a53c73dca 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -15,7 +15,7 @@ platform_find_partitions() { while read dev size erasesize name; do name=${name#'"'}; name=${name%'"'} case "$name" in - vmlinux.bin.l7|vmlinux|kernel|linux|rootfs) + vmlinux.bin.l7|vmlinux|kernel|linux|rootfs|filesystem) if [ -z "$first" ]; then first="$name" else @@ -79,6 +79,7 @@ platform_check_image() { ;; alfa-ap96 | \ alfa-nx | \ + ap113 | \ ap121 | \ ap121-mini | \ ap96 | \ @@ -96,10 +97,12 @@ platform_check_image() { ap83 | \ dir-600-a1 | \ dir-615-c1 | \ + dir-615-e4 | \ dir-825-b1 | \ mzk-w04nu | \ mzk-w300nh | \ tew-632brp | \ + tew-673gru | \ wrt400n | \ airrouter | \ bullet-m | \ @@ -121,6 +124,7 @@ platform_check_image() { } return 0 ;; + tl-mr11u | \ tl-mr3020 | \ tl-mr3220 | \ tl-mr3420 | \ @@ -175,7 +179,8 @@ platform_check_image() { pb42 | \ pb44 | \ eap7660d | \ - ja76pf ) + ja76pf | \ + ja76pf2) [ "$magic" != "4349" ] && { echo "Invalid image. Use *-sysupgrade.bin files on this board" return 1 @@ -208,7 +213,8 @@ platform_do_upgrade() { eap7660d | \ pb42 | \ pb44 | \ - ja76pf) + ja76pf | \ + ja76pf2) platform_do_upgrade_combined "$ARGV" ;; all0258n )