From a89731ad7aa4c9d357947381458735f861b85db7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Mon, 2 Mar 2020 22:03:09 +0100 Subject: [PATCH] bcm53xx: fix ASUS firmwares to use vendor format MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Image building process was missing "asus-trx" step which resulted in raw TRX files (without ASUS footer with device id). Fixes: 0b9de8daa70e ("bcm53xx: add profiles for all other (SoftMAC) devices") Signed-off-by: Rafał Miłecki (cherry picked from commit 0493d57e04774d47921a7d2014b567455d5dc16b) --- target/linux/bcm53xx/image/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/target/linux/bcm53xx/image/Makefile b/target/linux/bcm53xx/image/Makefile index 4f18a9c0a8..3946b47032 100644 --- a/target/linux/bcm53xx/image/Makefile +++ b/target/linux/bcm53xx/image/Makefile @@ -79,7 +79,7 @@ endef define Build/asus-trx $(STAGING_DIR_HOST)/bin/asustrx \ - -p $(PRODUCTID) -i $@ -o $@.new + -p $(ASUS_PRODUCTID) -i $@ -o $@.new mv $@.new $@ endef @@ -107,8 +107,10 @@ define Build/seama-nand -i $@.entity endef -DEVICE_VARS += PRODUCTID SIGNATURE NETGEAR_BOARD_ID NETGEAR_REGION TPLINK_BOARD +DEVICE_VARS += ASUS_PRODUCTID DEVICE_VARS += BUFFALO_TAG_PLATFORM BUFFALO_TAG_VERSION BUFFALO_TAG_MINOR +DEVICE_VARS += SIGNATURE +DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_REGION TPLINK_BOARD DEVICE_VARS += LUXUL_BOARD IEEE8021X := wpad-basic @@ -143,26 +145,34 @@ define Device/asus endef define Device/asus-rt-ac56u + $(call Device/asus) DEVICE_TITLE := Asus RT-AC56U DEVICE_PACKAGES := $(B43) $(USB3_PACKAGES) + ASUS_PRODUCTID := RT-AC56U endef TARGET_DEVICES += asus-rt-ac56u define Device/asus-rt-ac68u + $(call Device/asus) DEVICE_TITLE := Asus RT-AC68U DEVICE_PACKAGES := $(USB3_PACKAGES) + ASUS_PRODUCTID := RT-AC68U endef TARGET_DEVICES += asus-rt-ac68u define Device/asus-rt-ac87u + $(call Device/asus) DEVICE_TITLE := Asus RT-AC87U DEVICE_PACKAGES := $(USB3_PACKAGES) + ASUS_PRODUCTID := RT-AC87U endef TARGET_DEVICES += asus-rt-ac87u define Device/asus-rt-n18u + $(call Device/asus) DEVICE_TITLE := Asus RT-N18U DEVICE_PACKAGES := $(USB3_PACKAGES) + ASUS_PRODUCTID := RT-N18U endef TARGET_DEVICES += asus-rt-n18u -- 2.25.1