openwrt/target/linux
Stijn Tintel 07a8ae37c2 mediatek: TP-Link EAP683-LR support
Add support for the TP-Link EAP683-LR, an AX6000 Ceiling Mount WiFi 6
AP.

Hardware:
* SoC: MediaTek MT7896AV
* RAM: 1GiB DDR4 (Samsung K4A8G165WC-BCTD)
* Flash: 128MiB SPI-NAND (ESMT F50L1G41LB)
* Ethernet: 1x 10/100/1000/2500 Mbps PoE-PD (MaxLinear GPY211C)
* WiFi: MT7976AN/MT7976GN 2.4/5GHz 4T4R
* LEDS: 3x blue connected to a single GPIO line
* Buttons: 1x reset
* BLE/Thread/Zigbee: CC2652

Stock firmware uses a random MAC address for ethernet, label MAC for
2.4 and label MAC + for 5GHz.

Installation via bootloader:
* Solder JST??? connector on J255, alternatively solder wires on the
  TP13-TP15 pads. Pinout: TP13: TX, TP14: RX, TP15: GND, TP16: VCC.
  The pins for J255 are in the same order.
* Interrupt boot process by repeatedly pressing Ctrl+b during boot
* In the boot menu, select U-Boot console
* Ensure the U-Boot environment variable "tp_boot_idx" is not set:
  # setenv tp_boot_idx
  # saveenv
* Boot the OpenWrt initramfs:
  # tftpboot openwrt-mediatek-filogic-tplink_eap683-lr-initramfs-kernel.bin
  # bootm
* copy openwrt-mediatek-filogic-tplink_eap683-lr-squashfs-sysupgrade.bin
  to /tmp and install it using sysupgrade

Flashing via OEM firmware is currently not supported. The
tplink-safeloader utility does not recognize the OEM firmware:

  DEBUG: can not find fwuphdr
  Firmware image partitions:
  base     size     name
  Segmentation fault (core dumped)

To revert to the OEM firmware, you can set the U-Boot environment
variable "tp_boot_idx" to 1 via bootloader, or using fw_setenv via
OpenWrt. This should result in booting from the ubi1 partition, which
OpenWrt should not touch. Then use the web interface to upgrade
firmware: System > Firmware Update.

The OEM firmware uses 0x800000 for the runtime_backup partition size.
This causes the following warning:

  mtd: partition "runtime_backup" extends beyond the end of device "nmbm_spim_nand" -- size truncated to 0x600000

This is due to the NMBM reserved blocks. Use 0x600000 in our DTS.

Thanks to init Lab's user890104, who soldered jumper wires on the TTL
pads for me so I could have serial console. My soldering skills just
aren't good enough to pull that off without risk damaging things.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
(cherry picked from commit f1749142ca)
2026-02-22 23:23:09 +02:00
..
airoha airoha: an7581: add switch ports interrups 2026-02-07 17:03:50 +01:00
apm821xx kernel: disable non layout u-boot,env 2025-11-28 01:20:33 +01:00
armsr kernel: drop CONFIG_ARM64_CONTPTE from target configs 2025-11-26 21:08:34 +02:00
at91 treewide: fix coccinelle checks 2025-12-02 23:32:42 +01:00
ath79 ath79: add env-size for Sitecom WLR-7100 / WLR-8100 u-boot-env 2026-02-17 01:47:48 +01:00
bcm27xx kernel: bump 6.12 to 6.12.70 2026-02-15 02:07:04 +01:00
bcm47xx kernel: bump 6.12 to 6.12.64 2026-01-15 20:55:54 +01:00
bcm53xx bcm53xx: fix target name of meraki_mx64-a0 2026-02-17 01:47:55 +01:00
bcm4908 kernel: disable non layout u-boot,env 2025-11-28 01:20:33 +01:00
bmips Revert "bmips: huawei-hg556a-c: use nvmem for wifi eeprom" 2026-02-21 14:02:55 +01:00
d1 d1: refresh kernel config 2026-01-27 16:30:05 +01:00
econet econet: refresh patches 6.12 2026-01-11 19:10:38 +01:00
gemini gemini: select the right GPIO input package 2026-02-11 08:47:45 +01:00
generic Revert "kernel: revert ip6_tunnel use skb_vlan_inet_prepare() in __ip6_tnl_rcv()" 2026-02-15 13:23:34 +01:00
imx imx: drop support for kernel 6.6 2025-11-22 10:11:52 +01:00
ipq40xx kernel: bump 6.12 to 6.12.70 2026-02-15 02:07:04 +01:00
ipq806x Revert "treewide: fixup ath10k nodes" 2025-11-29 17:56:11 +01:00
ixp4xx ixp4xx: fix bug in Actiontec DTS file 2026-01-04 18:20:34 +01:00
kirkwood kirkwood: add aliases and new partition for support D-Link DNS-325 A1 2025-11-25 15:41:38 +01:00
lantiq lantiq: handle EPROBE_DEFER for MAC 2026-02-17 01:47:14 +01:00
layerscape kernel: bump 6.12 to 6.12.71 2026-02-15 02:07:04 +01:00
loongarch64 kernel: bump 6.12 to 6.12.64 2026-01-15 20:55:54 +01:00
malta malta: drop 6.6 support 2025-07-20 23:37:37 +02:00
mediatek mediatek: TP-Link EAP683-LR support 2026-02-22 23:23:09 +02:00
microchipsw microchipsw: lan969x: include ip-bridge and dcb tools 2026-01-25 22:14:23 +01:00
mpc85xx kernel: move patch from mpc85xx to pending 2026-02-14 01:15:12 +01:00
mvebu mvebu: add support for RIPE Atlas Probe v5 2026-02-17 01:40:00 +01:00
mxs mxs: drop 6.6 support 2025-05-24 16:15:53 +02:00
octeon treewide: replace numbers with GPIO_ACTIVE 2025-10-08 14:26:24 +02:00
omap omap: drop support for kernel 6.6 2025-11-22 10:16:35 +01:00
pistachio kernel: bump 6.12 to 6.12.62 2025-12-17 00:32:23 +01:00
qoriq package: uboot-qoriq: fix T4240RDB u-boot selection 2026-02-14 01:15:12 +01:00
qualcommax kernel: bump 6.12 to 6.12.70 2026-02-15 02:07:04 +01:00
qualcommbe kernel: bump 6.12 to 6.12.70 2026-02-15 02:07:04 +01:00
ramips ramips: remove obsolete SPI flash nodes after kernel fix 2026-02-20 10:19:00 +01:00
realtek kernel: bump 6.12 to 6.12.71 2026-02-15 02:07:04 +01:00
rockchip kernel: bump 6.12 to 6.12.69 2026-02-15 02:07:04 +01:00
sifiveu kernel: remove duplicate PREEMPT settings 2025-06-08 15:59:55 +02:00
siflower kernel: bump 6.12 to 6.12.64 2026-01-15 20:55:54 +01:00
starfive kernel: bump 6.12 to 6.12.64 2026-01-15 20:55:54 +01:00
stm32 stm32: drop kernel 6.6 support 2025-10-22 14:56:15 +02:00
sunxi kernel: reorder configuration options 2026-01-26 23:59:37 +01:00
tegra tegra: promote kernel 6.12 as default 2025-11-11 21:23:14 +01:00
uml kernel: bump 6.12 to 6.12.33 2025-06-12 12:42:15 +02:00
x86 x86: base-files add support for Sophos 210r3 and 230r2 2026-02-13 00:18:14 +01:00
zynq zynq: drop support for kernel 6.6 2025-11-25 17:27:24 +01:00
Makefile linux: fix missing default packages in profiles.json 2024-11-17 19:29:06 +01:00