Commit Graph

76 Commits

Author SHA1 Message Date
Florian Maurer
ba66096756 mediatek: netgear-wax206 fix wifi leds
The wifi leds of the wax206 were not reacting. This patch enables
the green leds to show activity, as the blue ones are very bright.
Also set the label-mac to the gmac0.

Signed-off-by: Florian Maurer <f.maurer@outlook.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-04-09 22:10:18 +08:00
coolsnowwolf
b50369007d filogic: improve HUASIFEI WH3000 support 2025-04-07 21:00:02 +08:00
Willem Lee
4d0cc6c14c
filogic: add support for KANKA KOMI A31 2025-03-20 11:30:05 +08:00
coolsnowwolf
d4831d96b7 mediatek: add support for CMCC A10 2025-03-18 18:10:30 +08:00
libriunk
461364a4f4 mediatek: fixes gpio for netcore n60 pro 2025-03-01 23:20:08 +08:00
tuzhis
0146ee1968
mediatek: add support for netcore n60 pro 2025-02-28 20:10:03 +08:00
coolsnowwolf
f4a80a4ce1 filogic: fixes huasifei wh3000 led 2025-01-30 12:40:16 +08:00
kcro227
b2cdb3a102
mediatek: add for cmcc xr30 support 2025-01-19 23:20:10 +08:00
coolsnowwolf
817dfb5381 filogic: add support for HUASIFEI WH3000 2024-12-28 17:50:06 +08:00
aiamadeus
764b5a63d1 mediatek: add u-boot mod version for Cudy TR3000 2024-12-13 21:20:15 +08:00
Jianyu Zhuang
23a4c1fb90 mediatek: filogic: add support for Tenbay WR3000K
Tenbay WR3000K is an 802.11ax (Wi-Fi 6) router, based on MediaTek MT7981B.

- SoC: MetiaTek MT7981B
- RAM: Hynex H5TQ2G863GFR 512MiB
- Flash: Winbond W25N01GVZEIG 128MiB
- Wi-Fi: MediaTek MT7976C (2.4GHz/5GHz, 802.11ax, 2x2 MIMO, AX3000)
- MediaTek MT7915E: 2.4GHz and 5GHz
- Ethernet: 1x 10/100/1000 Mbps WAN + 3x 10/100/1000 Mbps LAN
- Switch: MediaTek MT7531AE
- UART: J4 (115200 baud)
- LEDs: Power
- Buttons: Reset, WPS
- PWR: 12V/1A DC, 5.5×2.1 connector

Signed-off-by: Jianyu Zhuang <xzjianyu@gmail.com>
2024-12-13 21:01:20 +08:00
Oleg S
21eb7bf2ae mediatek: expand kernel size to 6MiB for Xiaomi AX6S
Expand kernel partition size on Xiaomi AX6S for the kernel larger than
4 MiB. Manual upgrade from OpenWRT to new OpenWRT:

cd /tmp
dd if=factory.bin bs=1M count=4 | mtd write - kernel
dd if=factory.bin bs=1M skip=4 count=2 | mtd write - ubi
dd if=factory.bin bs=1M skip=6  | mtd -p 2097152 write - ubi

Signed-off-by: Oleg S <remittor@gmail.com>
2024-12-12 21:18:25 +08:00
Luis Mita
41e0c30d82 mediatek: add Cudy TR3000 v1 support
Hardware:
 - SoC: MediaTek MT7981B
 - CPU: 2x 1.3 GHz Cortex-A53
 - Flash: 128 MiB SPI NAND
 - RAM: 512 MiB
 - WLAN: 2.4 GHz, 5 GHz (MediaTek MT7976CN, 802.11ax)
 - Ethernet: 1x 10/100/1000/2500 Mbps WAN, 1x10/100/1000 Mbps LAN
 - USB 3.0 port
 - Buttons: 1 Reset button, 1 slider button
 - LEDs: 1x Red, 1x White
 - Serial console: internal test points, 115200 8n1
 - Power: 5 VDC, 3 A

Installation:
The installation must be done via TFTP by disassembling the router.
On other occasions Cudy has distributed intermediate firmware to make
installation easier, and so I recommend checking the Wiki for this
device if there is a more convenient solution than the one below.

To install using TFTP:
1. Connect to UART.
2. With the router off, press the RESET button. While the router is turning
   on, the button should continue to be pressed for at least 5 seconds.
3. A u-boot shell will automatically open.
4. Connect to LAN and set your IP to 192.168.1.88/24. Configure a
   TFTP server and an OpenWrt initramfs-kernel.bin firmware file.
5. Run these steps in u-boot using the name of your file.

setenv bootfile initramfs-kernel.bin
tftpboot
bootm

6. If you can reach LuCI or SSH now, just use the sysupgrade image
   with the 'Keep settings' option turned off.

Signed-off-by: Luis Mita <luis@luismita.com>
2024-12-10 17:30:36 +08:00
Patryk Kowalczyk
4a7dd142ff filogic: add support for ASUS TUF AX6000
Hardware
========
SOC: MediaTek MT7986
RAM: 512MB DDR3
FLASH: 256MB SPI-NAND
WIFI: Mediatek MT7986 DBDC 802.11ax 2.4/5 GHz 4T4R
ETH: MediaTek MT7530 Switch (LAN)
MaxLinear GPY211C 2.5 N-Base-T PHY (WAN)
MaxLinear GPY211C 2.5 N-Base-T PHY (LAN)
UART: 3V3 115200 8N1 (Do not connect VCC)
USB 3.1

Signed-off-by: Patryk Kowalczyk <patryk@kowalczyk.ws>
2024-11-17 21:01:20 +08:00
Tianling Shen
02c320a0cf
mediatek: minor fixes for openembed som7981 (#12598)
Signed-off-by: Tianling Shen <i@cnsztl.eu.org>
2024-10-25 21:20:26 +08:00
coolsnowwolf
eaa043c4cf mediatek: Add support for GL.iNet X3000 (Spitz AX) and XE3000 (Puli AX) 2024-10-18 17:33:52 +08:00
Tianling Shen
8061c8b8f9
mediatek: add support for OpenEmbed SOM7981 (#12524)
* kernel: crypto: add atmel i2c hw accelerator support

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* kernel: add led act/polarity select for rtl8221 phy

Signed-off-by: Tianling Shen <cnsztl@gmail.com>

* mediatek: add support for OpenEmbed SOM7981

Hardware specification:
  SoC: MediaTek MT7981B 2x A53
  Flash: 256 MiB SPI-NAND
  RAM: 0.5/1 GB DDR4
  Ethernet: 1x 1GbE, 1x 2.5GbE (RTL8221B)
  WiFi: MediaTek MT7976C
  USB: 1x M.2 B-Key
  GPIO: 26-Pin header
  UART: 6 GND, 8 TX, 10 RX (in Pin header)
  Button: Reset

Installation:
The board comes with a third-party custom OpenWrt image, you can upload
sysupgrade image via LuCI directly WITHOUT keeping configurations.

Or power on the board with pressing reset button for 5 second, then visit
http://192.168.1.1 and upload -factory.bin firmware.

Signed-off-by: Tianling Shen <cnsztl@gmail.com>

---------

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2024-10-08 19:42:37 +08:00
coolsnowwolf
166b4bd84e mediatek: add missing wifi for hf-m7986r1 2024-08-23 23:15:19 +08:00
aiamadeus
64b80093dd mediatek: replace mac-address-increment hack 2024-07-19 23:00:27 +08:00
coolsnowwolf
8a8bf45736 mediatek: filogic: fix HF-M7986R1 typo 2024-07-11 22:10:15 +08:00
coolsnowwolf
382d2c2e3d mediatek: filogic: fix HF-M7986R1 reset button 2024-07-04 01:11:24 +08:00
coolsnowwolf
b4fe0e2919 mediatek: filogic: add HF-M7986R1 emmc sysupgrade support 2024-07-03 20:13:09 +08:00
coolsnowwolf
141a53a029 mediatek: filogic: enable HF-M7986R1 emmc support 2024-07-01 16:39:42 +08:00
coolsnowwolf
78c0839c9b mediatek: filogic: add HF-M7986R1 support 2024-06-30 13:27:48 +08:00
aiamadeus
2a4194fa4b mediatek: add Nokia EA0326GMP support 2024-03-22 19:50:10 +08:00
Daniel Golle
1dbf719902 mediatek: sync MT7986 device trees with upstream
Sync device tree files for MT7986 boards with what landed in upstream
Linux tree to easy maintainance and also allow for a smooth update to
Linux 6.1.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-08 21:21:12 +08:00
coolsnowwolf
eb3e9ad2e3 mediatek: filogic: add support for CMCC RAX3000M (NAND and eMMC version) 2024-02-03 21:31:05 +08:00
aiamadeus
6606bb39b6 mediatek: add support for ABT ASR3000 2024-02-03 15:10:15 +08:00
HHJLKK
ce91432bb0
mediatek: add support for IMOU LC-HX3001 (#11812) 2024-01-21 16:00:17 +08:00
aiamadeus
89e25b571e mediatek: add missing nmbm for RG-X60 Pro
The original firmware has nmbm enabled.
2024-01-09 22:51:07 +08:00
Ashley Lee
e2a09540eb
mediatek: add support for Ruijie RG-X60 Pro (#11745)
Informations:
- SoC       : MediaTek MT7986A 2.0GHz
- RAM       : DDR3 512MiB (W634GU6QB)
- Flash     : SPI-NAND 128 MiB (W25N01GVZEIG)
- WLAN      : MediaTek MT7986A integration dual-band WiFi 6
  - 2.4 GHz : b/g/n/ax, MIMO 4x4
  - 5 GHz   : a/n/ac/ax, MIMO 4x4
- Ethernet  : 10/100/1000 Mbps x4 (MediaTek MT7531AE)
              2500Mbps x 1 (Realtek RTL8221B-VB-CG)
- UART      : through-hole on PCB
  - [J500] GND, TX, RX, 3.3V (115200n1)
- Buttons   : Mesh, Reset
- LEDs      : 1x Power (Blue)
                  1x Turbo (Purple)
- Power     : 12 VDC, 3 A

About MAC Address:
+---------+-------------------+-----------+
|         | MAC               | Algorithm |
+---------+-------------------+-----------+
| WAN     | 10:82:3D:XX:XX:9E | label     |
| LAN     | 10:82:3D:XX:XX:9F | label+1   |
| WLAN 2g | 10:82:3D:XX:XX:A0 | label+2   |
| WLAN 5g | 10:82:3D:XX:XX:A1 | label+3   |
+---------+-------------------+-----------+

Signed-off-by: Ashley Lee <code@emtips.net>
2024-01-05 18:30:25 +08:00
aiamadeus
1cd3b4e4d0 mediatek: add support for FZS P3 2023-12-15 21:08:13 +08:00
coolsnowwolf
09d5ae78b4 mediatek: add support for JDCloud AX6000 2023-12-06 22:08:30 +08:00
David Bauer
4fa8f64776 mediatek: add support for GL.iNet GL-MT2500
Hardware
--------
SoC:  MediaTek MT7981BA
RAM:  1GB DDR4 (NANYA NT5AD512M16C4-JR)
MMC:  8GB eMMC (Samsung 8GTF4R)
ETH:  1000Base-T LAN (ePHY)
      2500Base-T WAN (MaxLinear GPY211C)
BTN:  1x Reset Button
LED:  System (blue/white)
      VPN (white)
USB:  1x USB-A (USB 3.0)
UART: 115200 8N1 - Pinout on board next to LAN port
      Don't connect 3.3V!

Known Issues
------------
U-Boot vendor recovery does not seem to accept any images, neither
GL.iNet images nor OpenWrt images. Recovery requires serial access!

Installation
------------
Upload the OpenWrt sysupgrade image to the Gl.iNet Web-UI. Make sure to
not retain existing settings.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-11-27 22:10:03 +08:00
David Bauer
b8fe2aca01 mediatek: configure TUF-AX4200 LAN LEDs
As we can now configure the switch LED configuration, write the switch
LED configuration values from the vendor firmware to the switch-IC.

Previously, the switch-LEDs did not show any acitvity or link-status
whatsoever.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-11-11 23:57:51 +08:00
David Bauer
bcef100d36 mediatek: apply stock configuration for WAN-LED
Apply the same LED configuration used by the vendor-firmware for the
GPY211 controlled WAN LED in OpenWrt.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-11-11 23:56:29 +08:00
coolsnowwolf
f852316284 mediatek: fix gl-mt6000 wireless 2023-11-06 22:15:40 +08:00
coolsnowwolf
8a4651f110 mediatek: add led aliases for GL.iNet GL-MT6000 2023-11-04 15:24:57 +08:00
zheshifandian
a2c8782d53
mediatek: improve GL-MT6000 support (#11636)
* mediatek: fix sysupgrade for gl-mt6000

* mediatek: add u-boot support for gl-mt6000

* mediatek: fix lan port for gl-mt6000

* mediatek: fix wifi mac for gl-mt6000
2023-11-04 14:19:47 +08:00
aiamadeus
a8ddfc2e10 mediatek: add Netcore N60 support
Connect to the router using ssh or telnet,
username: useradmin, password is the web
login password of the router.

Signed-off-by: AnYun <amadeus@openjmu.xyz>
2023-11-01 22:28:50 +08:00
aiamadeus
6939d662fb mediatek: add TP-Link TL-XTR8488 support
The TP-Link TL-XTR8488 has the same hardware as the
TP-Link TL-XDR6088 except for the wifi and ram part.

RAM: MT40A512M16TB DDR4 1GB
WiFi1: MT7976GN 2.4GHz 4T4R
WiFi2: MT7976AN 5.2GHz 4T4R
WiFi3: MT7915AN 5.8GHz 4T4R

Signed-off-by: AnYun <amadeus@openjmu.xyz>
2023-11-01 22:16:26 +08:00
Chen Minqiang
b28274ea5f mediatek: fix the name of buswidth to bus-width
Fix the issue of dts buswidth cannot be applied properly with spi driver.
Fix the name of buswidth to bus-width in dts in order to fit the format
in linux spi kernel so that spi-tx-bus-width & spi-rx-bus-width can be
parsed properly.

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2023-09-25 22:00:27 +08:00
AmadeusGhost
02b57804f8 mediatek: add Xiaomi AX3000T support 2023-09-25 21:56:38 +08:00
AmadeusGhost
36bd1e35ad mediatek: filogic: sync upstream dts changes 2023-09-24 22:59:00 +08:00
Patricia Lee
2fdceb465c mediatek: add support for Cetron CT3003
**Hardware specification:**

- SoC: MediaTek MT7981B 2x A53
- Flash: ESMT F50L1G41LB 128MB
- RAM: Nanya NT5CC128M16JR-EK 256MB
- Ethernet: 4 x 10/100/1000 Mbps
- Switch: MediaTek MT7531AE
- WiFi: MediaTek MT7976C
- Button: Reset, Mesh
- Power: DC 12V 1A
- UART: 3.3v, 115200n8

**Flash instructions:**

1. Rename `openwrt-mediatek-filogic-cetron_ct3003-squashfs-factory.bin` to `factory.bin`.
2. Upload the `factory.bin` using the device's Web interface.
3. Click the upgrade button and wait for the process to finish.
4. Access the OpenWrt interface using the same password.
5. Use the 'Restore' function to reset the firmware to its initial state.

**Notes:**

If you plan to recovery the stock firmware in the future, it's advisable
to connect the device via the serial port and enter failsafe mode to
back up all the MTD partitions before proceeding the steps above.

Signed-off-by: Patricia Lee <patricialee320@gmail.com>
2023-09-24 22:51:33 +08:00
lean
61d090cddb mediatek: fix build with glinet gl mt6000 2023-09-09 22:41:52 +08:00
lean
77abd0b975 filogic: add support for GL.iNet GL-MT6000 support 2023-09-08 16:33:49 +08:00
coolsnowwolf
663be7c70c mediatek: add CETRON CT3003 support 2023-07-05 19:34:20 +08:00
coolsnowwolf
a14bb92a80 mediatek: add JCG Q30 (Pro) support 2023-06-30 12:02:12 +08:00
AmadeusGhost
654f7ab462 mediatek: add H3C Magic NX30 Pro support 2023-06-27 23:08:57 +08:00