firmware-utils: tplink-safeloader: switch tl-wr1043nd-v4 to dynamic partitions
[openwrt/openwrt.git] / target / linux / ath79 / image / generic-tp-link.mk
1 include ./common-tp-link.mk
2
3 define Device/tl-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 SUPPORTED_DEVICES := tplink,tl-archer-c7-v2
10 IMAGES := sysupgrade.bin factory.bin factory-us.bin factory-eu.bin
11 IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
12 IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
13 endef
14 TARGET_DEVICES += tl-archer-c7-v2
15
16 define Device/tl-wdr3600
17 $(Device/tplink-8mlzma)
18 ATH_SOC := ar9344
19 DEVICE_TITLE := TP-LINK TL-WDR3600
20 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
21 TPLINK_HWID := 0x36000001
22 SUPPORTED_DEVICES := tplink,tl-wdr3600 tl-wdr3600
23 endef
24 TARGET_DEVICES += tl-wdr3600
25
26 define Device/tl-wdr4300
27 $(Device/tl-wdr3600)
28 DEVICE_TITLE := TP-LINK TL-WDR4300
29 TPLINK_HWID := 0x43000001
30 SUPPORTED_DEVICES := tplink,tl-wdr4300 tl-wdr4300
31 endef
32 TARGET_DEVICES += tl-wdr4300
33
34 define Device/tl-wr1043nd-v1
35 $(Device/tplink-8m)
36 ATH_SOC := ar9132
37 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v1
38 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
39 TPLINK_HWID := 0x10430001
40 SUPPORTED_DEVICES := tplink,tl-wr1043nd-v1 tl-wr1043nd
41 endef
42 TARGET_DEVICES += tl-wr1043nd-v1
43
44 define Device/tl-wr1043nd-v2
45 $(Device/tplink-8mlzma)
46 ATH_SOC := qca9558
47 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v2
48 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
49 TPLINK_HWID := 0x10430002
50 SUPPORTED_DEVICES := tplink,tl-wr1043nd-v2 tl-wr1043nd-v2
51 endef
52 TARGET_DEVICES += tl-wr1043nd-v2
53
54 define Device/tl-wr1043nd-v3
55 $(Device/tplink-8mlzma)
56 ATH_SOC := qca9558
57 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v3
58 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
59 TPLINK_HWID := 0x10430003
60 SUPPORTED_DEVICES := tplink,tl-wr1043nd-v3 tl-wr1043nd-v3
61 endef
62 TARGET_DEVICES += tl-wr1043nd-v3
63
64 define Device/tl-wr1043nd-v4
65 $(Device/tplink)
66 ATH_SOC := qca9563
67 IMAGE_SIZE := 15552k
68 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v4
69 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
70 TPLINK_HWID := 0x10430004
71 TPLINK_BOARD_ID := TLWR1043NDV4
72 KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header -O
73 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
74 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
75 SUPPORTED_DEVICES := tplink,tl-wr1043nd-v4 tl-wr1043nd-v4
76 endef
77 TARGET_DEVICES += tl-wr1043nd-v4
78
79 define Device/tl-wr2543-v1
80 $(Device/tplink-8mlzma)
81 ATH_SOC := ar7242
82 DEVICE_TITLE := TP-LINK TL-WR2543N/ND v1
83 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
84 TPLINK_HWID := 0x25430001
85 IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade -v 3.13.99 | \
86 append-metadata | check-size $$$$(IMAGE_SIZE)
87 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -v 3.13.99
88 SUPPORTED_DEVICES := tplink,tl-wr2543-v1 tl-wr2543-v1
89 endef
90 TARGET_DEVICES += tl-wr2543-v1