|
@@ -22,6 +22,22 @@ define Build/lzma-d16
|
|
|
mv [email protected] $@
|
|
|
endef
|
|
|
|
|
|
+# Similar to Build/tplink-safeloader but uses TRX instead of clean kernel
|
|
|
+define Build/bcm53xx-tplink-safeloader
|
|
|
+ $(STAGING_DIR_HOST)/bin/trx \
|
|
|
+ -o [email protected] \
|
|
|
+ -m 33554432 \
|
|
|
+ -f $(IMAGE_KERNEL) -a 1024
|
|
|
+ $(STAGING_DIR_HOST)/bin/tplink-safeloader \
|
|
|
+ -B $(TPLINK_BOARD) \
|
|
|
+ -k [email protected] \
|
|
|
+ -r $@ \
|
|
|
+ -j \
|
|
|
+ -o [email protected]
|
|
|
+ mv [email protected] $@
|
|
|
+ rm [email protected]
|
|
|
+endef
|
|
|
+
|
|
|
define Build/trx-serial
|
|
|
$(STAGING_DIR_HOST)/bin/trx \
|
|
|
-o [email protected] \
|
|
@@ -68,7 +84,7 @@ define Build/seama-nand
|
|
|
-i [email protected]
|
|
|
endef
|
|
|
|
|
|
-DEVICE_VARS += PRODUCTID SIGNATURE NETGEAR_BOARD_ID NETGEAR_REGION
|
|
|
+DEVICE_VARS += PRODUCTID SIGNATURE NETGEAR_BOARD_ID NETGEAR_REGION TPLINK_BOARD
|
|
|
|
|
|
BRCMFMAC_43602A1 := kmod-brcmfmac brcmfmac-firmware-43602a1-pcie
|
|
|
BRCMFMAC_4366B1 := kmod-brcmfmac brcmfmac-firmware-4366b1-pcie
|
|
@@ -229,6 +245,15 @@ define Device/tenda-ac9
|
|
|
endef
|
|
|
TARGET_DEVICES += tenda-ac9
|
|
|
|
|
|
+define Device/tplink-archer-c9-v1
|
|
|
+ DEVICE_TITLE := TP-LINK Archer C9 V1
|
|
|
+ DEVICE_PACKAGES := $(USB3_PACKAGES)
|
|
|
+ IMAGES := bin
|
|
|
+ IMAGE/bin := append-rootfs | bcm53xx-tplink-safeloader
|
|
|
+ TPLINK_BOARD := ARCHERC9
|
|
|
+endef
|
|
|
+TARGET_DEVICES += tplink-archer-c9-v1
|
|
|
+
|
|
|
TARGET_DEVICES += \
|
|
|
netgear-r6250 netgear-r6300-v2 netgear-r8000 \
|
|
|
smartrg-sr400ac
|