ar71xx: add support for 8devices Rambutan development board
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index 2f0228b823b776ed94f5095b84514b112f65aba5..8ebdea3018918e578af6b27d9465d0324fc17530 100755 (executable)
@@ -111,7 +111,7 @@ tplink_pharos_check_image() {
        # is accepted (loading the first 1.5M of a remote image for this check seems
        # a bit extreme)
        dd if="$1" bs=1 skip=1511432 count=1024 2>/dev/null | while read line; do
-               [ "$line" == "$model_string" ] && break
+               [ "$line" = "$model_string" ] && break
        done || {
                echo "Unsupported image (model not in support-list)"
                return 1
@@ -283,6 +283,7 @@ platform_check_image() {
        wpj342|\
        wpj344|\
        wpj531|\
+       wpj563|\
        wrt400n|\
        wrtnode2q|\
        wzr-450hp2|\
@@ -507,6 +508,7 @@ platform_check_image() {
        rb-951g-2hnd|\
        rb-951ui-2hnd|\
        rb-2011l|\
+       rb-2011il|\
        rb-2011uas|\
        rb-2011uias|\
        rb-2011uas-2hnd|\
@@ -519,6 +521,7 @@ platform_check_image() {
        c-60|\
        nbg6716|\
        r6100|\
+       rambutan|\
        wndr3700v4|\
        wndr4300)
                nand_do_platform_check $board $1
@@ -661,6 +664,7 @@ platform_pre_upgrade() {
        c-60|\
        nbg6716|\
        r6100|\
+       rambutan|\
        rb-411|\
        rb-411u|\
        rb-433|\
@@ -681,6 +685,7 @@ platform_pre_upgrade() {
        rb-912uag-5hpnd|\
        rb-951g-2hnd|\
        rb-951ui-2hnd|\
+       rb-2011il|\
        rb-2011l|\
        rb-2011uas|\
        rb-2011uias|\