openwrt-6.x/target/linux/mediatek
Chuanhong Guo 9f73519e62
mediatek: add support for TP-Link TL-XDR3230 v1
Specifications:
- SoC: Mediatek MT7622B
- RAM: 256M
- Flash: EN25QH128 16M
- Ethernet: RTL8367S 4xGE
- WiFi: MT7622 2.4G 4x4 + MT7905 5G 4x4
- UART: 3.3v, 115200n8
  --------------------------
  |         Layout         |
  |               ∇        |
  |  -----------------     |
  |  | VCC GND RX TX | JP1 |
  |  -----------------     |
  --------------------------

Flash instruction:
TP-Link locks down their firmware and serial console, so the firmware
must be flashed with mtk_uartboot.

1. Download mtk_uartboot:
   https://github.com/981213/mtk_uartboot/releases
2. Download bootloaders:
   RAM loader for mtk_uartboot: https://drive.wrt.moe/uboot/mediatek/mt7622-bl2-ram-1ddr3.bin
   BL2: https://drive.wrt.moe/uboot/mediatek/mt7622-tplink_tl-xdr3230-v1-bl2.bin
   FIP: https://drive.wrt.moe/uboot/mediatek/mt7622-tplink_tl-xdr3230-v1-fip.bin
3. Open the case, and attach to the UART.
4. Start mtk_uartboot:
   ./mtk_uartboot -a -s /dev/ttyUSB0 -p mt7622-bl2-ram-1ddr3.bin -f \
     mt7622-tplink_tl-xdr3230-v1-fip.bin --brom-load-baudrate 115200 \
     --bl2-load-baudrate 115200
5. Cut off the power and re-engage, wait for UART download to complete.
6. Connect to the UART, write new BL2/FIP/Firmware with TFTP.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
[fixup wifi eeprom and macs, add network configuration, minor fixes]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-10-07 16:06:36 +08:00
..
base-files mediatek: add Adtran SmartRG SDG-8733A 2024-09-20 22:47:05 +01:00
dts mediatek: add support for TP-Link TL-XDR3230 v1 2024-10-07 16:06:36 +08:00
files/drivers mediatek: phase out uImage.FIT partition parser 2024-08-28 15:11:52 +01:00
files-6.6 mediatek: filogic: convert MT7981 RFB to fitblk 2024-08-28 15:11:51 +01:00
filogic Merge Official Source 2024-09-21 13:58:15 +08:00
image mediatek: add support for TP-Link TL-XDR3230 v1 2024-10-07 16:06:36 +08:00
mt7622 mediatek: add support for TP-Link TL-XDR3230 v1 2024-10-07 16:06:36 +08:00
mt7623 mediatek: phase out uImage.FIT partition parser 2024-08-28 15:11:52 +01:00
mt7629 mediatek: phase out uImage.FIT partition parser 2024-08-28 15:11:52 +01:00
patches-6.6 Merge Official Source 2024-09-21 13:58:15 +08:00
Makefile mediatek: change the the default SUBTARGET to filogic 2024-10-02 15:12:18 +02:00
modules.mk