Просмотр исходного кода

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 <[email protected]>

SVN-Revision: 48509
Rafał Miłecki 10 лет назад
Родитель
Сommit
1dfa8f37db
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      target/linux/bcm53xx/base-files/lib/upgrade/platform.sh

+ 8 - 0
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"