Author: rmilecki
Date: 2016-01-27 11:40:58 +0100 (Wed, 27 Jan 2016)
New Revision: 48509

Modified:
   trunk/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
Log:
bcm53xx: detect Seama sysupgrade format

It's used e.g. by D-Link devices. We don't support it yet.

Signed-off-by: Rafa?\197?\130 Mi?\197?\130ecki <[email protected]>

Modified: trunk/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
===================================================================
--- trunk/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh       
2016-01-26 16:45:11 UTC (rev 48508)
+++ trunk/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh       
2016-01-27 10:40:58 UTC (rev 48509)
@@ -44,6 +44,10 @@
                        echo "chk"
                        return
                        ;;
+               "5ea3a417")
+                       echo "seama"
+                       return
+                       ;;
        esac
 
        magic=$(get_magic_long_at "$1" 14)
@@ -95,6 +99,10 @@
                                error=1
                        fi
                ;;
+               "seama")
+                       echo "Seama firmware format is unsupported"
+                       error=1
+               ;;
                "trx")
                        if ! otrx check "$1"; then
                                echo "Invalid (corrupted?) TRX firmware"
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to