25749 Commits

Author SHA1 Message Date
hanwckf
fa0b7600f5 mediatek: move an8855 dts node to xiaomi dtsi 2024-11-12 16:31:57 +08:00
hanwckf
d6138f353d mediatek: add support for xiaomi ax3000t with an8855 variant 2024-11-12 02:34:08 +08:00
hanwckf
9bce0f9947 mediatek: add support for airoha an8855 switch (from mtk-openwrt-feeds) 2024-11-12 02:26:34 +08:00
zheshifandian
853415c9dc fix mtk drivers compiling errors on gcc 10+ 2024-10-17 10:42:27 +08:00
hanwckf
8f6d8e2aa6 mediatek: jdc-re-cp-03: using gsw instead of dsa 2024-10-16 10:56:19 +08:00
hanwckf
6f6235024c mediatek: update kconfigs 2024-10-15 22:31:19 +08:00
hanwckf
3e36ea146a kernel: bump to 5.4.284 2024-10-15 22:31:19 +08:00
hanwckf
1cf1922e1a mediatek: remove unused mt7622/7623/7629 targets 2024-10-15 22:17:43 +08:00
hanwckf
89b7b28e8f mediatek: update wapp_cmm_type.h 2024-10-14 21:23:25 +08:00
benboguan
351ad5a9a1 mediatek: add more speeds support patch 2024-10-10 17:11:40 +08:00
hanwckf
5612056806 mediatek: hnat: set skb frags flags for ext-devices 2024-09-22 23:18:54 +08:00
hanwckf
4fe84e063a mediatek: enable PPE1 reset for mt798x 2024-09-22 23:02:14 +08:00
lgs2007m
1b99cd51c5 mediatek: fix PCIe #PERST being de-asserted too early
The driver for MediaTek gen3 PCIe hosts de-asserts all reset
signals at the same time using a single register write operation.
Delay the de-assertion of the #PERST signal by 100ms as some PCIe
devices fail to come up otherwise.

Sync from https://github.com/immortalwrt/immortalwrt/commit/6a2e17d5c1
2024-09-22 00:59:30 +08:00
hanwckf
aa2041c012 mediatek: add mt7981 internal gphy cal support 2024-09-21 20:17:53 +08:00
hanwckf
f5b051b93d mediatek: ex5700: fix IMAGE_SIZE 2024-09-20 23:25:40 +08:00
hanwckf
f09e70e2e5 mediatek: add support for zyxel ex5700 2024-09-20 21:12:19 +08:00
Aabandon
c0c3289b3f mediatek: fix wrong supported devices for xr30-emmc 2024-09-19 01:47:10 +08:00
hanwckf
572c2ee8a2 mediatek: update gpy211 driver 2024-09-18 02:09:34 +08:00
hanwckf
701919f949 mediatek: refresh mt7986 kconfig 2024-09-18 02:09:34 +08:00
lgs2007m
859678f9da mediatek: fix eth and wifi mac addr settings for JDCloud RE-CP-03 2024-09-10 07:57:28 +08:00
lgs2007m
458cb7f01a mediatek: remove eeprom extract for Ruijie RG-X60 Pro 2024-09-10 07:57:28 +08:00
hanwckf
f1f4dfef8c mediatek: mtk_eth_soc: Change RX DMA L4 valid bit definition 2024-09-10 02:04:39 +08:00
hanwckf
9a18653aab mediatek: mtk_eth_soc: enable mt7986 sram for admav2 2024-09-06 21:27:42 +08:00
hanwckf
d6720a2040 mediatek: remove eeprom extract for rg-x30e 2024-09-04 11:25:03 +08:00
Aabandon
cc3e80649c mediatek: KONKA KOMI A31:update model,E-Life 631-T/635-U is the same as KOMI A31 2024-09-03 20:56:48 +08:00
Aabandon
8fc10f5671 mediatek: add support for CMCC XR30 and CMCC XR30 eMMC
Hardware specification:
SoC: MediaTek MT7981B 2x A53
Flash: GIGADEVICE GD5F1GM7UExxG  128MB or 64GB eMMC
RAM: DDR4 512MB
Ethernet: 4x 10/100/1000 Mbps
Switch: MediaTek MT7531AE
WiFi: MediaTek MT7976C
Button: Reset, Mesh
Power: DC 12V 1.5A
2024-09-03 20:56:48 +08:00
Aabandon
66ea5bed2d mediatek: add support for Newland NL-WR9103
Hardware specification:
SoC: MediaTek MT7981B 2x A53
Flash: GSTO GSS01GSAK1 128MB (No machine tests yet)
       WINBOND W25N01GVZE1G 128MB
RAM: DDR3 256MB
Ethernet: 4x 10/100/1000 Mbps
Switch: MediaTek MT7531AE
WiFi: MediaTek MT7976C
Button: Reset, Mesh
Power: DC 12V 1A
2024-09-03 20:56:48 +08:00
Aabandon
d10d8a3174 mediatek: add support for Newland NL-WR8103/MR3000D-CIq(256MB RAM version)
Hardware specification:
SoC: MediaTek MT7981B 2x A53
Flash: FORESEE F35SQA001G 128MB
RAM: DDR3 256MB
Ethernet: 4x 10/100/1000 Mbps
Switch: MediaTek MT7531AE
WiFi: MediaTek MT7976C
Button: Reset, Mesh
Power: DC 12V 1A
2024-09-03 20:56:48 +08:00
Aabandon
6cf32632e8 mediatek: add support for HONOR FUR-602/603(HONOR XT50/XU50/XC50)
Hardware specification:
SoC: MediaTek MT7981B 2x A53
Flash: DOSILICON DS35Q1GA-IB 128MB (No machine tests yet)
         GIGADEVICE GD5F1GM7UExxG 128MB
         WINBOND W25N01GVZE1G 128MB
RAM: DDR3 256MB
Ethernet: 4x 10/100/1000 Mbps
Switch: MediaTek MT7531AE
WiFi: MediaTek MT7976C
Button: Reset, Mesh
Power: DC 12V 1A
2024-09-03 20:56:48 +08:00
Aabandon
f48a5ca163 kernel: mtd: add support for fmsh dosilicon gsto spi nand 2024-09-03 20:56:48 +08:00
铍盐甜不甜
522de4896a
Change spi group to fix LED bug (#315) 2024-08-29 15:26:35 +08:00
hanwckf
23e9eb0b6e mediatek: refresh mt7981 kernel config 2024-08-22 00:19:07 +08:00
csharper2005
90ac94fb7a
mediatek: add support for Routerich AX3000 (#303)
* mediatek: add support for Routerich AX3000

Routerich AX3000 is a wireless WiFi 6 router.

Specification
-------------
- SoC       : MediaTek MT7981BA dual-core ARM Cortex-A53 1.3 GHz
- RAM       : DDR3 256 MiB (ESMT M15T2G16128A)
- Flash     : SPI-NAND 128 MiB (ESMT F50L1G41LB)
- WLAN      : MediaTek MT7976CN dual-band WiFi 6
  - 2.4 GHz : b/g/n/ax, MIMO 2x2
  - 5 GHz   : a/n/ac/ax, MIMO 2x2
- Ethernet  : 10/100/1000 Mbps x4 (MediaTek MT7531AE)
- USB       : 1x 2.0
- UART      : through-hole on PCB
  - [J500] GND, TX, RX, 3.3V (115200n8)
- Buttons   : Mesh, Reset
- LEDs      : 1x Power (Blue)
              1x WiFi 2.4 GHz (Blue)
              1x WiFi 5 GHz (Red)
              1x Mesh (Blue)
              3x LAN activity (Blue)
              1x WAN activity (Blue)
              2x WAN no-internet (Red)
- Power     : 12 VDC, 1.5 A

Installation
------------
Flash OpenWrt 'sysupgrade.bin' image using stock firmware web-interface
(without keeping settings).

Return to stock
---------------
Install stock firmware image (without keeping settings) using OpenWrt
sysupgrade method.

Recovery
--------
Connect uart, use u-boot menu to flash stock firmware image or boot
OpenWrt initramfs image.

MAC addresses
-------------
+---------+-------------------+-----------+
|         | MAC               | Algorithm |
+---------+-------------------+-----------+
| WAN     | 24:0f:5e:xx:xx:b4 | label     |
| LAN     | 24:0f:5e:xx:xx:b5 | label+1   |
| WLAN 2g | 24:0f:5e:xx:xx:b6 | label+2   |
| WLAN 5g | 24:0f:5e:xx:xx:b7 | label+3   |
+---------+-------------------+-----------+
The WLAN 2g MAC was found in 'Factory', 0x4

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

---------

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
Co-authored-by: hanwckf <hanwckf@vip.qq.com>
Co-authored-by: hanwckf <my375229675@gmail.com>
2024-08-22 00:17:09 +08:00
谱尼
7a0b5b83c2
mediatek: add iKuai-Q3000 model support; (#291)
Co-authored-by: seer300 <youremail@eg.com>
Co-authored-by: hanwckf <hanwckf@vip.qq.com>
2024-08-22 00:00:07 +08:00
铍盐甜不甜
5cdd9218b2
Update mt7986a-netcore-n60.dts (#310)
Fix Netcore N60 LAN Problem
2024-08-21 23:56:25 +08:00
Ashley Lee
8706569797
mediatek: add support for Ruijie RG-X30E and Ruijie RG-X30E Pro (#289)
Signed-off-by: Ashley Lee <code@emtips.net>
2024-08-21 23:55:11 +08:00
Tianling Shen
82f852cda1
mediatek: add Nokia EA0326GMP support (#270)
Hardware specification:
  SoC: MediaTek MT7981B 2x A53
  Flash: 128 MB SPI-NAND
  RAM: 256MB
  Ethernet: 4x 10/100/1000 Mbps
  Switch: MediaTek MT7531AE
  WiFi: MediaTek MT7976C
  Button: Reset, WPS/Mesh
  Power: DC 12V 1A

Gain SSH access:
1. Login into web interface, and download the configuration.
2. Download the configration utilities:
   https://firmware.download.immortalwrt.eu.org/cnsztl/mediatek/filogic/openwrt-mediatek-mt7981-nokia-ea0326gmp-config-utils.tar.gz
     These binaries are extraced from the factory firmware, which are
     dynamically linked with aarch64 musl 1.1.24. To use them, you
     must run them under the same runtime environment, otherwise the
     binaries will not work!
3. Upload the configuration and utilities to a suitable environment.
4. Uncompress the utilities, move them to '/bin' and give them executable permisison:
   tar -zxf openwrt-mediatek-mt7981-nokia-ea0326gmp-config-utils.tar.gz
   mv mkconfig seama /bin
   chmod +x /bin/mkconfig
   chmod +x /bin/seama
5. Decrypt and uncompress the configuration:
     Enter fakeroot if you are not login as root.
   mkconfig -a de-enca -m EA0326GMP_3FE79221BAAA -i EA0326GMP_3FE79221BAAA-xxxxxxxx-backup.tar.gz -o backup.tar.gz
   tar -zxf backup.tar.gz
6. Edit 'etc/config/dropbear', set 'enable' to '1'.
7. Edit `etc/passwd`, remove root password: 'root::1:0:99999:7:::'.
8. Repack the configuration:
   tar -zcf backup.tar.gz etc/
   mkconfig -a enca -m EA0326GMP_3FE79221BAAA -i backup.tar.gz -o EA0326GMP_3FE79221BAAA-xxxxxxxx-backup.tar.gz
9. Upload new configuration via web interface, now you can SSH to EA0326GMP.

A minimum configuration which enabled SSH access is also provided to simplify the process:
https://firmware.download.immortalwrt.eu.org/cnsztl/mediatek/filogic/openwrt-mediatek-mt7981-nokia-ea0326gmp-enable-ssh.tar.gz

Flash instructions:
1. SSH to EA0326GMP, backup everything, especially 'Factory' part.
2. Write new FIP provided by https://github.com/hanwckf/bl-mt798x.
3. Reboot, enter web failsafe and upload -factory.bin firmware.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-08-21 23:54:48 +08:00
hanwckf
4747a8dcda mediatek: hnat: fix vlan for ext-devices hnat 2024-06-13 19:07:45 +08:00
hanwckf
3fa9687ca7 mediatek: dts: remove gmac1 node for q30, ct3003 2024-02-25 12:28:13 +08:00
hanwckf
24546fd666 mediatek: fix typo 2024-02-02 17:32:08 +08:00
seckv
61c2cbe8ac
mediatek: fix xdr608x eth & wifi mac addr (#242)
set xdr608x’s eth & mac address same as stock firmware:
<lan_mac>=<label_mac>=<ra0_mac>
<wan_mac>=<lan_mac>+1
<rax0_mac>=<lan_mac>+2
2024-02-01 21:01:21 +08:00
hanwckf
d3ab1bf5e6 mediatek: fix xdr608x wifi mac addr settings 2024-02-01 09:38:53 +08:00
hanwckf
f130079301 mediatek: rtl822x: fix led blink 2024-02-01 09:18:26 +08:00
hanwckf
557269a77d mediatek: fix ruijie rg-x60 wifi mac 2024-01-31 23:43:12 +08:00
Ashley Lee
91e8f420be
mediatek: add support for Ruijie RG-X60 Pro (#230)
Signed-off-by: Ashley Lee <code@emtips.net>
2024-01-31 23:42:30 +08:00
hanwckf
3896a15db0 mediatek: add samba4 packages for mt7981 usb devices 2024-01-31 23:15:26 +08:00
hanwckf
a8bd1e2477 mediatek: add usb packages for glinet mt2500/mt3000 2024-01-31 18:57:47 +08:00
hanwckf
ebd9ce723a mediatek: dts: fix typo 2024-01-31 18:37:00 +08:00
hanwckf
46bd2aa298 mediatek: add ext-devices hnat support for glinet mt2500/mt3000 2024-01-31 18:28:03 +08:00
hanwckf
492c1e5597 mediatek: reverse WAN/LAN port for glinet mt7981 devices to fix hnat issues 2024-01-31 18:25:32 +08:00