1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00

bcm53xx: detect Seama sysupgrade format

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

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48509
This commit is contained in:
Rafał Miłecki 2016-01-27 10:40:58 +00:00
parent 81e8e02289
commit 1dfa8f37db

@ -44,6 +44,10 @@ platform_identify() {
echo "chk" echo "chk"
return return
;; ;;
"5ea3a417")
echo "seama"
return
;;
esac esac
magic=$(get_magic_long_at "$1" 14) magic=$(get_magic_long_at "$1" 14)
@ -95,6 +99,10 @@ platform_check_image() {
error=1 error=1
fi fi
;; ;;
"seama")
echo "Seama firmware format is unsupported"
error=1
;;
"trx") "trx")
if ! otrx check "$1"; then if ! otrx check "$1"; then
echo "Invalid (corrupted?) TRX firmware" echo "Invalid (corrupted?) TRX firmware"