ath79: don't include tl-wdr3600 image build code for tl-wdr4300
[openwrt/openwrt.git] / target / linux / ath79 / image / generic-tp-link.mk
1 include ./common-tp-link.mk
2
3 define Device/tplink_archer-c7-v2
4 $(Device/tplink-16mlzma)
5 ATH_SOC := qca9558
6 DEVICE_TITLE := TP-LINK Archer C7 v2
7 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x
8 TPLINK_HWID := 0xc7000002
9 IMAGES := sysupgrade.bin factory.bin factory-us.bin factory-eu.bin
10 IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
11 IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
12 endef
13 TARGET_DEVICES += tplink_archer-c7-v2
14
15 define Device/tplink_tl-re450-v2
16 $(Device/tplink)
17 ATH_SOC := qca9563
18 IMAGE_SIZE := 6016k
19 DEVICE_TITLE := TP-LINK RE450 v2
20 DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x
21 TPLINK_HWID := 0x0
22 TPLINK_HWREV := 0
23 TPLINK_BOARD_ID := RE450-V2
24 LOADER_TYPE := elf
25 KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header -O
26 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \
27 append-metadata | check-size $$$$(IMAGE_SIZE)
28 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
29 endef
30 TARGET_DEVICES += tplink_tl-re450-v2
31
32 define Device/tplink_tl-wdr3600
33 $(Device/tplink-8mlzma)
34 ATH_SOC := ar9344
35 DEVICE_TITLE := TP-LINK TL-WDR3600
36 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
37 TPLINK_HWID := 0x36000001
38 SUPPORTED_DEVICES += tl-wdr3600
39 endef
40 TARGET_DEVICES += tplink_tl-wdr3600
41
42 define Device/tplink_tl-wdr4300
43 $(Device/tplink-8mlzma)
44 ATH_SOC := ar9344
45 DEVICE_TITLE := TP-LINK TL-WDR4300
46 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
47 TPLINK_HWID := 0x43000001
48 SUPPORTED_DEVICES += tl-wdr4300
49 endef
50 TARGET_DEVICES += tplink_tl-wdr4300
51
52 define Device/tplink_tl-wr1043nd-v1
53 $(Device/tplink-8m)
54 ATH_SOC := ar9132
55 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v1
56 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
57 TPLINK_HWID := 0x10430001
58 SUPPORTED_DEVICES += tl-wr1043nd
59 endef
60 TARGET_DEVICES += tplink_tl-wr1043nd-v1
61
62 define Device/tplink_tl-wr1043nd-v2
63 $(Device/tplink-8mlzma)
64 ATH_SOC := qca9558
65 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v2
66 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
67 TPLINK_HWID := 0x10430002
68 SUPPORTED_DEVICES += tl-wr1043nd-v2
69 endef
70 TARGET_DEVICES += tplink_tl-wr1043nd-v2
71
72 define Device/tplink_tl-wr1043nd-v3
73 $(Device/tplink-8mlzma)
74 ATH_SOC := qca9558
75 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v3
76 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
77 TPLINK_HWID := 0x10430003
78 SUPPORTED_DEVICES += tl-wr1043nd-v3
79 endef
80 TARGET_DEVICES += tplink_tl-wr1043nd-v3
81
82 define Device/tplink_tl-wr1043nd-v4
83 $(Device/tplink)
84 ATH_SOC := qca9563
85 IMAGE_SIZE := 15552k
86 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v4
87 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
88 TPLINK_HWID := 0x10430004
89 TPLINK_BOARD_ID := TLWR1043NDV4
90 KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header -O
91 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \
92 append-metadata | check-size $$$$(IMAGE_SIZE)
93 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
94 SUPPORTED_DEVICES += tl-wr1043nd-v4
95 endef
96 TARGET_DEVICES += tplink_tl-wr1043nd-v4
97
98 define Device/tplink_tl-wr2543-v1
99 $(Device/tplink-8mlzma)
100 ATH_SOC := ar7242
101 DEVICE_TITLE := TP-LINK TL-WR2543N/ND v1
102 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
103 TPLINK_HWID := 0x25430001
104 IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade -v 3.13.99 | \
105 append-metadata | check-size $$$$(IMAGE_SIZE)
106 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -v 3.13.99
107 SUPPORTED_DEVICES += tl-wr2543-v1
108 endef
109 TARGET_DEVICES += tplink_tl-wr2543-v1