aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/image/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ipq806x/image/Makefile')
-rw-r--r--target/linux/ipq806x/image/Makefile67
1 files changed, 66 insertions, 1 deletions
diff --git a/target/linux/ipq806x/image/Makefile b/target/linux/ipq806x/image/Makefile
index ff8b2c7d9b..2355fc7550 100644
--- a/target/linux/ipq806x/image/Makefile
+++ b/target/linux/ipq806x/image/Makefile
@@ -86,6 +86,19 @@ define Device/DniImage
endef
DEVICE_VARS += KERNEL_SIZE NETGEAR_BOARD_ID NETGEAR_HW_ID DEVICE_BLOCK_SIZE DEVICE_PAGE_SIZE
+define Device/TpSafeImage
+ PROFILES += $$(DEVICE_NAME)
+ FILESYSTEMS := squashfs
+ KERNEL_SUFFIX := -uImage
+ KERNEL = kernel-bin | append-dtb | uImage none
+ KERNEL_NAME := zImage
+ TPLINK_BOARD_NAME :=
+ IMAGES := factory.bin sysupgrade.bin
+ IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
+ IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
+endef
+DEVICE_VARS += TPLINK_BOARD_NAME
+
define Device/AP148
$(call Device/FitImage)
$(call Device/UbiFit)
@@ -93,6 +106,8 @@ define Device/AP148
BLOCKSIZE := 128KiB
PAGESIZE := 2048
BOARD_NAME := ap148
+ DEVICE_TITLE := Qualcomm AP148
+ DEVICE_PACKAGES := ath10k-firmware-qca99x0
endef
define Device/AP148-legacy
@@ -102,6 +117,19 @@ define Device/AP148-legacy
BLOCKSIZE := 128KiB
PAGESIZE := 2048
BOARD_NAME := ap148
+ DEVICE_TITLE := Qualcomm AP148 (legacy)
+ DEVICE_PACKAGES := ath10k-firmware-qca99x0
+endef
+
+define Device/C2600
+ $(call Device/TpSafeImage)
+ DEVICE_DTS := qcom-ipq8064-c2600
+ BLOCKSIZE := 128KiB
+ PAGESIZE := 2048
+ BOARD_NAME := c2600
+ TPLINK_BOARD_NAME := C2600
+ DEVICE_TITLE := TP-Link Archer C2600
+ DEVICE_PACKAGES := ath10k-firmware-qca99x0
endef
define Device/D7800
@@ -113,6 +141,8 @@ define Device/D7800
BLOCKSIZE := 128KiB
PAGESIZE := 2048
BOARD_NAME := d7800
+ DEVICE_TITLE := Netgear Nighthawk X4 D7800
+ DEVICE_PACKAGES := ath10k-firmware-qca99x0
endef
define Device/DB149
@@ -120,6 +150,26 @@ define Device/DB149
DEVICE_DTS := qcom-ipq8064-db149
KERNEL_INSTALL := 1
BOARD_NAME := db149
+ DEVICE_TITLE := Qualcomm DB149
+ DEVICE_PACKAGES := ath10k-firmware-qca99x0
+endef
+
+define Device/EA8500
+ $(call Device/LegacyImage)
+ DEVICE_DTS := qcom-ipq8064-ea8500
+ PAGESIZE := 2048
+ BLOCKSIZE := 128KiB
+ KERNEL_SIZE := 3145728
+ FILESYSTEMS := squashfs
+ KERNEL = kernel-bin | append-dtb | uImage none | append-file $(KDIR)/root.dummy
+ PROFILES += $$(DEVICE_NAME)
+ BOARD_NAME := ea8500
+ IMAGES := factory.bin sysupgrade.tar
+ IMAGE/factory.bin := append-kernel 3145728 | append-ubi
+ IMAGE/sysupgrade.tar := sysupgrade-nand
+ DEVICE_VARS += DEVICE_DTS KERNEL_SIZE PAGESIZE BLOCKSIZE SUBPAGESIZE
+ DEVICE_TITLE := Linksys EA8500
+ DEVICE_PACKAGES := ath10k-firmware-qca99x0
endef
define Device/R7500
@@ -131,8 +181,23 @@ define Device/R7500
BLOCKSIZE := 128KiB
PAGESIZE := 2048
BOARD_NAME := r7500
+ DEVICE_TITLE := Netgear Nighthawk X4 R7500
+ DEVICE_PACKAGES := ath10k-firmware-qca99x0
+endef
+
+define Device/R7800
+ $(call Device/DniImage)
+ DEVICE_DTS := qcom-ipq8064-r7800
+ KERNEL_SIZE := 2097152
+ NETGEAR_BOARD_ID := R7800
+ NETGEAR_HW_ID := 29764958+0+128+512+4x4+4x4+cascade
+ BLOCKSIZE := 128KiB
+ PAGESIZE := 2048
+ BOARD_NAME := r7800
+ DEVICE_TITLE := Netgear Nighthawk X4S R7800
+ DEVICE_PACKAGES := ath10k-firmware-qca9984
endef
-TARGET_DEVICES += AP148 AP148-legacy D7800 DB149 R7500
+TARGET_DEVICES += AP148 AP148-legacy C2600 D7800 DB149 EA8500 R7500 R7800
$(eval $(call BuildImage))