From dc6677b7328edad5f109329fff029edf40470100 Mon Sep 17 00:00:00 2001 From: rmilecki Date: Wed, 27 Jan 2016 10:40:58 +0000 Subject: [PATCH] bcm53xx: detect Seama sysupgrade format MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It's used e.g. by D-Link devices. We don't support it yet. Signed-off-by: Rafał Miłecki git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48509 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/bcm53xx/base-files/lib/upgrade/platform.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh index eff7affe04..e9a3dc4950 100644 --- a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh @@ -44,6 +44,10 @@ platform_identify() { echo "chk" return ;; + "5ea3a417") + echo "seama" + return + ;; esac magic=$(get_magic_long_at "$1" 14) @@ -95,6 +99,10 @@ platform_check_image() { error=1 fi ;; + "seama") + echo "Seama firmware format is unsupported" + error=1 + ;; "trx") if ! otrx check "$1"; then echo "Invalid (corrupted?) TRX firmware" -- 2.11.0