48 Commits

Author SHA1 Message Date
hanwckf
aa2041c012 mediatek: add mt7981 internal gphy cal support 2024-09-21 20:17:53 +08:00
hanwckf
d6720a2040 mediatek: remove eeprom extract for rg-x30e 2024-09-04 11:25:03 +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
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
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
492c1e5597 mediatek: reverse WAN/LAN port for glinet mt7981 devices to fix hnat issues 2024-01-31 18:25:32 +08:00
hanwckf
1ee9a8b732 mediatek: mtk_eth_soc: enable admav2 for mt7986 only 2024-01-26 19:15:02 +08:00
hanwckf
ea37177e3a mediatek: platform.sh: remove unused mtk_mmc_do_upgrade 2023-11-21 22:25:31 +08:00
hanwckf
4a1f0eb31b mediatek: fix asr3000 lan order
fix #159
2023-11-16 21:41:12 +08:00
secd4ck
d63a69e0d2
fixed mt7981 platform.sh introduced Tabs by Aabandon (#163) 2023-11-16 18:52:35 +08:00
Aabandon
194443120a
mediatek: add support for Xiaomi AX3000T (#160) 2023-11-15 20:38:11 +08:00
benboguan
358c1fa651
mediatek: fix clt-r30b1 (#148) 2023-10-31 11:28:39 +08:00
Zy143L
33f15e3224 add nradio wt9103 support 2023-10-25 14:55:22 +08:00
Tianling Shen
6f822de5e2 mediatek: initial cmcc a10 support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-22 01:24:20 +08:00
Tianling Shen
0713c653e7 mediatek: add ABT ASR3000 support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-19 17:43:37 +08:00
Tianling Shen
508bcfdfc5 mediatek: fix target features for mt798x
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-16 15:00:51 +08:00
Tianling Shen
f78d2e13cf mediatek: initial cmcc rax3000m emmc support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-16 15:00:51 +08:00
lgs2007m
ebd1ad3d16
mediatek: fix the incorrect network port sequence of CMCC RAX3000M (#123) 2023-09-22 18:00:36 +08:00
abandon-xyz
5eeadb4ce4
mediatek: KONKA KOMI A31: fix check sysupgrade image failed (#110) 2023-08-31 23:55:39 +08:00
benboguan
912deb4379
mt7981: add clt-r30b1 support (#107)
参考原厂固件修改
2023-08-26 00:30:07 +08:00
hanwckf
a65e09d263 kernel: mtd: fix winbond w25nXXkv series 2023-08-17 13:21:58 +00:00
Tianling Shen
9dc5245046
mediatek: add Imou LC-HX3001 support (#105)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-10 16:12:03 +08:00
abandon-xyz
7268ecd1fa
mediatek: add support for KONKA KOMI A31 (#102) 2023-08-05 21:12:33 +08:00
hanwckf
b0360ffa94 mediatek: add support for H3C NX30 Pro 2023-08-01 02:10:06 +08:00
hanwckf
cc46e0582e mediatek: add support for cmcc-rax3000m 2023-07-26 12:06:37 +08:00
hanwckf
73aa69df13 mediatek: fix mismatch of *x3000* 2023-07-26 01:49:41 +08:00
abandon-xyz
ef7f8d4997
mediatek: wr30u: fix led (#95) 2023-07-21 09:05:39 +08:00
hanwckf
48dab85809 mediatek: fix xiaomi-wr30u stock layout flash script 2023-07-14 01:13:19 +08:00
hank9999
d66f4754b7 mediatek: add support for Xiaomi WR30U
Signed-off-by: hank9999 <mchank9999@gmail.com>
2023-07-12 20:48:38 +08:00
hanwckf
49f6834e9f
ct3003: fix wrong wlan mac address 2023-07-12 00:45:49 +08:00
Tianling Shen
722aef9de1
mediatek: add CETRON CT3003 support (#91)
* mediatek: add CETRON CT3003 support

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

* conninfra: remove incorrect default val

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

---------

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-05 14:26:49 +08:00
Tianling Shen
8b23ea31c6
mediatek: add JCG Q30 support (#90)
For flash instructions, see https://mary.kevinmx.top/default/JCG-Q30-Pro-Neo.html

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-04 16:53:56 +08:00
Tianling Shen
86dc811a7c
mediatek: add support for Livinet ZR-3020 (#82)
* autocore: remove ethinfo for mtk arm boards

mediatek target uses legacy swconfig which is not supported by autocore.

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

* mediatek: add support for Livinet ZR-3020

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

---------

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-03 02:27:36 +08:00
qlugcp
fc1e186c5e GL-MT3000: use 2.5G port as wan and 1Ge as lan 2023-02-21 23:01:59 +08:00
qlugcp
21767cf5a3 MT7981: add gl-mt7981 series 2023-02-20 18:03:10 +08:00
hanwckf
c7afd117a8 mediatek: refresh mt7981 kernel config 2022-12-24 12:41:49 +08:00
hanwckf
b5cf184301 mediatek: mt7981: update kernel config 2022-11-28 20:07:01 +08:00
hanwckf
140b2ba37f mediatek: mt7981: update kernel config 2022-11-26 00:03:42 +08:00
hanwckf
1d733e5fc0 mediatek: mt798x: add pstore support 2022-11-16 22:08:50 +08:00
hanwckf
1b3852abd4 mt7981: config-5.4: add EIP97 drivers 2022-11-16 22:08:49 +08:00
hanwckf
b47a1bc350 mediatek: add support for 360 T7
mt7981-360-t7: 36M ubi partition (stock uboot)

mt7981-360-t7-108M: 108M large ubi partition
2022-11-16 22:08:49 +08:00
hanwckf
52742eaedb mediatek: add support for mt7981 mt7986 2022-11-16 22:08:49 +08:00