123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376 |
- include ./common-tp-link.mk
- define Device/archer-cxx
- $(Device/tplink-safeloader)
- KERNEL := kernel-bin | patch-cmdline | lzma | uImageArcher lzma
- endef
- define Device/archer-c5-v1
- $(Device/tplink-16mlzma)
- DEVICE_TITLE := TP-LINK Archer C5 v1
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- BOARDNAME := ARCHER-C5
- DEVICE_PROFILE := ARCHERC7
- TPLINK_HWID := 0xc5000001
- endef
- TARGET_DEVICES += archer-c5-v1
- define Device/archer-c7-v1
- $(Device/tplink-8mlzma)
- DEVICE_TITLE := TP-LINK Archer C7 v1
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- BOARDNAME := ARCHER-C7
- DEVICE_PROFILE := ARCHERC7
- TPLINK_HWID := 0x75000001
- endef
- TARGET_DEVICES += archer-c7-v1
- define Device/archer-c7-v2
- $(Device/tplink-16mlzma)
- DEVICE_TITLE := TP-LINK Archer C7 v2
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- BOARDNAME := ARCHER-C7-V2
- DEVICE_PROFILE := ARCHERC7
- TPLINK_HWID := 0xc7000002
- IMAGES := sysupgrade.bin factory.bin factory-us.bin factory-eu.bin
- IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
- IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
- endef
- TARGET_DEVICES += archer-c7-v2
- define Device/archer-c7-v2-il
- $(Device/tplink-16mlzma)
- DEVICE_TITLE := TP-LINK Archer C7 v2 (IL)
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- BOARDNAME := ARCHER-C7-V2
- DEVICE_PROFILE := ARCHERC7
- TPLINK_HWID := 0xc7000002
- TPLINK_HWREV := 0x494c0001
- endef
- TARGET_DEVICES += archer-c7-v2-il
- define Device/cpe510-520-v1
- DEVICE_TITLE := TP-LINK CPE510/520 v1
- BOARDNAME := CPE510
- TPLINK_BOARD_ID := CPE510
- LOADER_TYPE := elf
- LOADER_FLASH_OFFS := 0x43000
- COMPILE := loader-$(1).elf
- COMPILE/loader-$(1).elf := loader-okli-compile
- KERNEL := kernel-bin | lzma | uImage lzma -M 0x4f4b4c49 | loader-okli $(1) 12288
- IMAGES += factory.bin
- IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
- IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
- DEVICE_PACKAGES := rssileds
- MTDPARTS := spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,1792k(kernel),5888k(rootfs),192k(config)ro,64k(ART)ro,7680k@0x40000(firmware)
- IMAGE_SIZE := 7680k
- endef
- TARGET_DEVICES += cpe510-520-v1
- define Device/cpe510-v2
- $(Device/cpe510-520-v1)
- DEVICE_TITLE := TP-LINK CPE510 v2
- BOARDNAME := CPE510V2
- TPLINK_BOARD_ID := CPE510V2
- endef
- TARGET_DEVICES += cpe510-v2
- define Device/cpe210-220-v1
- $(Device/cpe510-520-v1)
- DEVICE_TITLE := TP-LINK CPE210/220 v1
- BOARDNAME := CPE210
- TPLINK_BOARD_ID := CPE210
- endef
- TARGET_DEVICES += cpe210-220-v1
- define Device/cpe210-v2
- $(Device/tplink-safeloader)
- DEVICE_TITLE := TP-LINK CPE210 v2
- BOARDNAME := CPE210V2
- TPLINK_BOARD_ID := CPE210V2
- TPLINK_HWID := 0x0
- TPLINK_HWREV := 0
- MTDPARTS := spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,7680k(firmware),192k(config)ro,64k(ART)ro
- IMAGE_SIZE := 7680k
- KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header -O
- KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | tplink-v1-header
- DEVICE_PACKAGES := rssileds
- endef
- TARGET_DEVICES += cpe210-v2
- define Device/cpe210-v3
- $(Device/tplink-safeloader)
- DEVICE_TITLE := TP-LINK CPE210 v3
- BOARDNAME := CPE210V3
- TPLINK_BOARD_ID := CPE210V3
- TPLINK_HWID := 0x0
- TPLINK_HWREV := 0
- MTDPARTS := spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,7680k(firmware),192k(config)ro,64k(ART)ro
- IMAGE_SIZE := 7680k
- KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header -O
- KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | tplink-v1-header
- DEVICE_PACKAGES := rssileds
- endef
- TARGET_DEVICES += cpe210-v3
- define Device/wbs210-v1
- $(Device/cpe510-520-v1)
- DEVICE_TITLE := TP-LINK WBS210 v1
- BOARDNAME := WBS210
- TPLINK_BOARD_ID := WBS210
- endef
- TARGET_DEVICES += wbs210-v1
- define Device/wbs510-v1
- $(Device/cpe510-520-v1)
- DEVICE_TITLE := TP-LINK WBS510 v1
- BOARDNAME := WBS510
- TPLINK_BOARD_ID := WBS510
- endef
- TARGET_DEVICES += wbs510-v1
- define Device/eap120-v1
- DEVICE_TITLE := TP-LINK EAP120 v1
- MTDPARTS := spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,1536k(kernel),14336k(rootfs),192k(config)ro,64k(ART)ro,15872k@0x40000(firmware)
- IMAGE_SIZE := 15872k
- BOARDNAME := EAP120
- TPLINK_BOARD_ID := EAP120
- DEVICE_PROFILE := EAP120
- LOADER_TYPE := elf
- KERNEL := kernel-bin | patch-cmdline | lzma | loader-kernel
- IMAGES := sysupgrade.bin factory.bin
- IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
- IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
- endef
- TARGET_DEVICES += eap120-v1
- define Device/tl-mr6400-v1
- $(Device/tplink-8mlzma)
- DEVICE_TITLE := TP-LINK TL-MR6400 v1
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-net kmod-usb-net-rndis kmod-usb-serial kmod-usb-serial-option adb-enablemodem
- BOARDNAME := TL-MR6400
- DEVICE_PROFILE := TLMR6400
- TPLINK_HWID := 0x64000001
- endef
- TARGET_DEVICES += tl-mr6400-v1
- define Device/tl-wdr3500-v1
- $(Device/tplink-8mlzma)
- DEVICE_TITLE := TP-LINK TL-WDR3500 v1
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- BOARDNAME := TL-WDR3500
- DEVICE_PROFILE := TLWDR4300
- TPLINK_HWID := 0x35000001
- endef
- TARGET_DEVICES += tl-wdr3500-v1
- define Device/tl-wdr3600-v1
- $(Device/tl-wdr3500-v1)
- DEVICE_TITLE := TP-LINK TL-WDR3600 v1
- BOARDNAME := TL-WDR4300
- TPLINK_HWID := 0x36000001
- IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C US
- endef
- TARGET_DEVICES += tl-wdr3600-v1
- define Device/tl-wdr4300-v1
- $(Device/tl-wdr3600-v1)
- DEVICE_TITLE := TP-LINK TL-WDR4300 v1
- TPLINK_HWID := 0x43000001
- endef
- TARGET_DEVICES += tl-wdr4300-v1
- define Device/tl-wdr4300-v1-il
- $(Device/tl-wdr3500-v1)
- DEVICE_TITLE := TP-LINK TL-WDR4300 v1 (IL)
- BOARDNAME := TL-WDR4300
- TPLINK_HWID := 0x43008001
- endef
- TARGET_DEVICES += tl-wdr4300-v1-il
- define Device/tl-wdr4310-v1
- $(Device/tl-wdr4300-v1-il)
- DEVICE_TITLE := TP-LINK TL-WDR4310 v1
- TPLINK_HWID := 0x43100001
- endef
- TARGET_DEVICES += tl-wdr4310-v1
- define Device/tl-wdr4900-v2
- $(Device/tplink-8mlzma)
- DEVICE_TITLE := TP-LINK TL-WDR4900 v2
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- BOARDNAME := TL-WDR4900-v2
- DEVICE_PROFILE := TLWDR4900V2
- TPLINK_HWID := 0x49000002
- endef
- TARGET_DEVICES += tl-wdr4900-v2
- define Device/mw4530r-v1
- $(Device/tl-wdr4300-v1)
- DEVICE_TITLE := Mercury MW4530R v1
- TPLINK_HWID := 0x45300001
- endef
- TARGET_DEVICES += mw4530r-v1
- define Device/tl-wr1043n-v5
- $(Device/archer-cxx)
- DEVICE_TITLE := TP-LINK TL-WR1043N v5
- BOARDNAME := TL-WR1043N-v5
- SUPPORTED_DEVICES := tl-wr1043n-v5
- DEVICE_PROFILE := TLWR1043
- MTDPARTS := spi0.0:128k(factory-uboot)ro,128k(u-boot)ro,15104k(firmware),128k(product-info)ro,640k(config)ro,64k(partition-table)ro,128k(logs)ro,64k(art)ro
- IMAGE_SIZE := 15104k
- TPLINK_BOARD_ID := TLWR1043NV5
- endef
- TARGET_DEVICES += tl-wr1043n-v5
- define Device/tl-wr1043nd-v1
- $(Device/tplink-8m)
- DEVICE_TITLE := TP-LINK TL-WR1043N/ND v1
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- BOARDNAME := TL-WR1043ND
- DEVICE_PROFILE := TLWR1043
- TPLINK_HWID := 0x10430001
- endef
- TARGET_DEVICES += tl-wr1043nd-v1
- define Device/tl-wr1043nd-v2
- $(Device/tplink-8mlzma)
- DEVICE_TITLE := TP-LINK TL-WR1043N/ND v2
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- BOARDNAME := TL-WR1043ND-v2
- DEVICE_PROFILE := TLWR1043
- TPLINK_HWID := 0x10430002
- endef
- TARGET_DEVICES += tl-wr1043nd-v2
- define Device/tl-wr1043nd-v3
- $(Device/tl-wr1043nd-v2)
- DEVICE_TITLE := TP-LINK TL-WR1043N/ND v3
- TPLINK_HWID := 0x10430003
- endef
- TARGET_DEVICES += tl-wr1043nd-v3
- define Device/tl-wr1043nd-v4
- $(Device/tplink-safeloader)
- DEVICE_TITLE := TP-LINK TL-WR1043N/ND v4
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- BOARDNAME := TL-WR1043ND-v4
- DEVICE_PROFILE := TLWR1043
- TPLINK_HWID := 0x10430004
- MTDPARTS := spi0.0:128k(u-boot)ro,15552k(firmware),128k(product-info)ro,320k(config)ro,64k(partition-table)ro,128k(logs)ro,64k(ART)ro
- IMAGE_SIZE := 15552k
- TPLINK_BOARD_ID := TLWR1043NDV4
- KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header -O
- KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | tplink-v1-header
- endef
- TARGET_DEVICES += tl-wr1043nd-v4
- define Device/tl-wr2543-v1
- $(Device/tplink-8mlzma)
- DEVICE_TITLE := TP-LINK TL-WR2543N/ND v1
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- BOARDNAME := TL-WR2543N
- DEVICE_PROFILE := TLWR2543
- TPLINK_HWID := 0x25430001
- IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade -v 3.13.99
- IMAGE/factory.bin := append-rootfs | mktplinkfw factory -v 3.13.99
- endef
- TARGET_DEVICES += tl-wr2543-v1
- define Device/tl-wr710n-v1
- $(Device/tplink-8mlzma)
- DEVICE_TITLE := TP-LINK TL-WR710N v1
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2
- BOARDNAME := TL-WR710N
- DEVICE_PROFILE := TLWR710
- TPLINK_HWID := 0x07100001
- CONSOLE := ttyATH0,115200
- IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C US
- endef
- TARGET_DEVICES += tl-wr710n-v1
- define Device/tl-wr710n-v2.1
- $(Device/tl-wr710n-v1)
- DEVICE_TITLE := TP-LINK TL-WR710N v2.1
- TPLINK_HWID := 0x07100002
- TPLINK_HWREV := 0x00000002
- endef
- TARGET_DEVICES += tl-wr710n-v2.1
- define Device/tl-wr810n-v1
- $(Device/tplink-8mlzma)
- DEVICE_TITLE := TP-LINK TL-WR810N v1
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2
- BOARDNAME := TL-WR810N
- DEVICE_PROFILE := TLWR810
- TPLINK_HWID := 0x08100001
- endef
- TARGET_DEVICES += tl-wr810n-v1
- define Device/tl-wr810n-v2
- $(Device/tplink-8mlzma)
- DEVICE_TITLE := TP-LINK TL-WR810N v2
- BOARDNAME := TL-WR810N-v2
- DEVICE_PROFILE := TLWR810
- TPLINK_HWID := 0x08100002
- endef
- TARGET_DEVICES += tl-wr810n-v2
- define Device/tl-wr842n-v1
- $(Device/tplink-8m)
- DEVICE_TITLE := TP-LINK TL-WR842N/ND v1
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- BOARDNAME := TL-MR3420
- DEVICE_PROFILE := TLWR842
- TPLINK_HWID := 0x08420001
- endef
- TARGET_DEVICES += tl-wr842n-v1
- define Device/tl-wr842n-v2
- $(Device/tplink-8mlzma)
- DEVICE_TITLE := TP-LINK TL-WR842N/ND v2
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- BOARDNAME := TL-WR842N-v2
- DEVICE_PROFILE := TLWR842
- TPLINK_HWID := 0x8420002
- endef
- TARGET_DEVICES += tl-wr842n-v2
- define Device/tl-wr842n-v3
- $(Device/tplink-16mlzma)
- DEVICE_TITLE := TP-LINK TL-WR842N/ND v3
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- BOARDNAME := TL-WR842N-v3
- DEVICE_PROFILE := TLWR842
- TPLINK_HWID := 0x08420003
- endef
- TARGET_DEVICES += tl-wr842n-v3
- define Device/tl-wr942n-v1
- $(Device/archer-cxx)
- DEVICE_TITLE := TP-LINK TL-WR942N v1
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
- BOARDNAME := TL-WR942N-V1
- TPLINK_BOARD_ID := TLWR942NV1
- DEVICE_PROFILE := TLWR942
- IMAGE_SIZE := 14464k
- MTDPARTS := spi0.0:128k(u-boot)ro,14464k(firmware),64k(product-info)ro,64k(partition-table)ro,256k(oem-config)ro,1344k(oem-vars)ro,64k(ART)ro
- SUPPORTED_DEVICES := tl-wr942n-v1
- endef
- TARGET_DEVICES += tl-wr942n-v1
|