ramips: add Airlink101 AR725W userland support
[openwrt.git] / target / linux / ramips / base-files / lib / upgrade / platform.sh
index e7087cc..616516b 100755 (executable)
@@ -23,6 +23,7 @@ platform_check_image() {
        all0256n | \
        all5002 | \
        all5003 | \
+       ar725w | \
        asl26555 | \
        awm002-evb | \
        bc2 | \
@@ -48,6 +49,7 @@ platform_check_image() {
        freestation5 | \
        hw550-3g | \
        hg255d | \
+       hlk-rm04 | \
        ip2202 | \
        m3 | \
        m4 | \
@@ -63,6 +65,7 @@ platform_check_image() {
        rp-n53 | \
        rt-g32-b1 | \
        rt-n10-plus | \
+       rt-n14u | \
        rt-n15 | \
        rt-n56u | \
        sl-r7205 | \
@@ -82,6 +85,8 @@ platform_check_image() {
        ur-326n4g |\
        ur-336un |\
        wr512-3gn |\
+       wmr300 |\
+       wrtnode |\
        x5 |\
        x8)
                [ "$magic" != "27051956" ] && {
@@ -90,6 +95,7 @@ platform_check_image() {
                }
                return 0
                ;;
+       dir-610-a1 |\
        dir-645)
                [ "$magic" != "5ea3a417" ] && {
                        echo "Invalid image type."
@@ -97,6 +103,13 @@ platform_check_image() {
                }
                return 0
                ;;
+       br-6475nd)
+               [ "$magic" != "43535953" ] && {
+                       echo "Invalid image type."
+                       return 1
+               }
+               return 0
+               ;;
        esac
 
        echo "Sysupgrade is not yet supported on $board."