Commit Graph

106 Commits

Author SHA1 Message Date
aodzip
3302e26e94 ramips/mt7621: Add HATLab GateBoard-One Support
Signed-off-by: Aodzip <aodzip@gmail.com>
Signed-off-by: AnYun <amadeus@openjmu.xyz>
2022-08-28 15:50:27 +08:00
AmadeusGhost
d41530dba8 ramips: jcg q20: drop ubootmod version 2022-06-18 00:13:26 +08:00
Chen Yijun
956d8303f3
Add Support for HLK-7621 Router Designed By Me (#9194)
* add support for hilink_hlk-7621a

* add dts of mt7621_hilink_hlk-7621a
2022-04-05 22:38:50 +08:00
lean
9a383de4af ramips: add support for OrayBox X3A 2022-03-16 13:32:29 +08:00
AmadeusGhost
4bdb51efa0 ramips: JCG Q20: add pbboot mod version
Add the missing part, fixes: #8391
2021-12-06 15:09:07 +08:00
AmadeusGhost
f8a982515a Revert "Add JCG Q10 PRO(the same as JCG Q20) with CR660x pb-boot support, change switch to swconfig from DSA. (#8391)"
This reverts commit 83b646937f. Since
it is exactly the same, there is no need to add as a new device.
2021-12-06 14:45:18 +08:00
dsanke
83b646937f
Add JCG Q10 PRO(the same as JCG Q20) with CR660x pb-boot support, change switch to swconfig from DSA. (#8391) 2021-12-06 13:55:01 +08:00
Liam Luo
549eea3251
ramips: add support for RAISECOM MSG1500 Z.00 (#8385)
Hardware:
  SoC: MediaTek MT7621AT
  Flash: SPI NOR 16MB
  RAM: DDR3 64MB
  2.4GHz: MT7603EN bgn 2x2
  5GHz: MT7612EN nac 2x2
  Ethernet: 1 x WAN and 4 x LAN
  USB: 1 x 3.0
  Button: Reset, WPS

Note: the flash memory capacity is only 64MB.
      You may need to uncheck some options to ensure normal startup.

Signed-off-by: LINGJP <lonelyjskj@gmail.com>
2021-12-05 18:21:56 +08:00
csharper2005
7c0b920f18
ramips: Add support for Beeline SmartBox TURBO+ (#8161)
* ramips: add support for Beeline(Sercomm) U-Boot

- Add recipe for several Beeline/Sercomm devices (e.g., Beeline SmartBox
  GIGA, Beeline SmartBox Turbo+, Sercomm S3) that appends special header
  to a kernel.

- Add device variables KERNEL_LOADADDR, LZMA_TEXT_START. It's also
  necessary for the devices mentioned above.

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
(cherry picked from commit 6240da24f4c1442b0f750f06be512f630b0bc6c8)
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

* ramips: Add support for Beeline SmartBox TURBO+

This PR adds support for router Beeline Smart Box TURBO+.
OEM/ODM Serсomm. Almost identical to Serсomm S3.

Specification
-------------
SoC Type: MediaTek MT7621AT (880 MHz, 2 cores)
RAM (Nanya NT5CC64M16GP): 128 MiB
Flash (Macronix MX30LF1G18AC): 128 MiB
Wireless 2.4 GHz (MT7603EN): b/g/n, 2x2
Wireless 5 GHz (MT7615N): a/n/ac, 4x4
Ethernet: 5 ports - 5×GbE (WAN, LAN1-4)
USB ports: 1xUSB3.0
Buttons: 2 button (reset, wps)
LEDs: Red, Green, Blue
Zigbee (EFR32MG1B232GG): 3.0
Stock bootloader: U-Boot 1.1.3
Power: 12 VDC, 1.5 A

Installation
------------
Attach serial console, then boot the initramfs image via TFTP.
Once inside OpenWrt, run sysupgrade -n with the sysupgrade file.

Signed-off-by: Maximilian Weinmann <x1@disroot.org>
(cherry picked from commit d1f294521bd8bc462c76e09c57a5c8b0600170cd)
(factory recipe from a2cfe339995467308c9126c3d0f70d2a28aeb073)
(big NAND from e6e5837a625ba09e286a5bde05f2ce581cfbeab7)
(removed nvmem cells, fixed conflicts)
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

* ramips: add Sercomm partition map parser

This adds an MTD partition parser for the Sercomm partition table that
is used in some Netgear routers.

This is essentially the same code as proposed in the pull request for
Netgear R6350 support by NOGUCHI Hiroshi <drvlabo@gmail.com>:
https://github.com/openwrt/openwrt/pull/1318

It was originally rejected as it did not seem to work correctly.
However, this was only due the NAND driver transparently shifting pages
to hide bad blocks, which was fixed in commit
527832e54bf3bc4d699a145ae66f34230246f0a9.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
[x1@disroot.org: correction from checkpatch.pl]
Signed-off-by: Maximilian Weinmann <x1@disroot.org>
(cherry picked from commit 65e772105f8d5e98a999b836fed794b7415f2741)
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

* ramips: Improve Beeline Smartbox Turbo+ support in lede

Changed switch configuration and a few minor changes.

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

Co-authored-by: Maximilian Weinmann <x1@disroot.org>
Co-authored-by: Jan Hoffmann <jan@3e8.eu>
2021-11-03 12:16:32 +08:00
AmadeusGhost
69b0f1cf68
ramips: add support for JCG JHR-AC945M (#7900)
Hardware specs:
  SoC: MediaTek MT7621AT
  Flash: SPI NOR 16MB
  RAM: DDR3 256MB
  2.4GHz: MT7615N bgn 4x4
  5GHz: MT7615N nac 4x4
  Ethernet: 1 x WAN and 4 x LAN
  USB: 1 x 3.0
  Button: Reset, WPS

Unsupported chips:
  ATMEGA328P-AU
  HCLTEK HT1621B

Flash instructions:
  Upload factory.bin in stock firmware's upgrade page.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-09-23 00:46:42 +08:00
AmadeusGhost
f4659685c5 ramips: mt7621: devices typo fixes
Fixes: a3c941d ("ramips: add ZTE e8820s support")
2021-09-13 11:16:32 +08:00
喃南下
b27f77f431
ramips: add support for RAISECOM MSG1500 X.00 (#7808) 2021-09-06 21:17:23 +08:00
coolsnowwolf
a3c941d126 ramips: add ZTE e8820s support 2021-09-04 15:23:48 +08:00
AmadeusGhost
ec446374ab
ramips: hc5962: switch to use ralink-eth driver (#7580) 2021-08-04 11:38:05 +08:00
coolsnowwolf
4925397922 ramips: fix some switch target sysupgrade 2021-07-31 00:02:33 +08:00
coolsnowwolf
90810371f9 ramips: cr660x add switch support 2021-07-30 23:46:39 +08:00
coolsnowwolf
d8f3d5efb3 ramips: add wireless tools 2021-07-30 21:42:24 +08:00
AmadeusGhost
6006596973
ramips: mt7621: add back switch support (#7560)
Based-on: https://github.com/x-wrt/x-wrt
2021-07-30 21:39:12 +08:00
coolsnowwolf
ea79bf45a6 ramips: add wireless tool for K2P 2021-07-19 17:05:35 +08:00
AmadeusGhost
5e34f40296
ramips: improve support for dlink and xiaomi devices (#7370)
* ramips: dlink_dir-8xx-a1: switch to breed partition

* ramips: improve support for cr660x
2021-07-13 21:11:06 +08:00
coolsnowwolf
3625a73046 ramips: switch to kernel 5.10 2021-07-13 00:37:50 +08:00
lean
7a50383ab6 add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
AmadeusGhost
213f55ba58
ramips: xiaomi cr6606: increase firmware partition size (#6915) 2021-06-02 12:56:38 +08:00
AmadeusGhost
c07e97d809
ramips: add support for JCG Q20 (#6850)
JCG Q20 is an AX 1800M router.

Hardware specs:
  SoC: MediaTek MT7621AT
  Flash: Winbond W29N01HV 128 MiB
  RAM: Winbond W632GU6NB-11 256 MiB
  WiFi: MT7915 2.4/5 GHz 2T2R
  Ethernet: 10/100/1000 Mbps x3
  LED: Status (red / blue)
  Button: Reset, WPS
  Power: DC 12V,1A

Flash instructions:
  Upload factory.bin in stock firmware's upgrade page,
  do not preserve settings.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-05-21 13:44:01 +08:00
AmadeusGhost
6df341b33c
ramips: xiaomi cr6606: typo fixes (#6770) 2021-04-28 13:04:55 +08:00
lean
87f0b29a20 ramips: add support for Xiaomi Mi Router CR660x series 2021-04-27 22:58:52 +08:00
dreamcmi
84bb1aaef6
add mt1300 wireless support (#6311)
* 添加glinet-mt1300支持

* 优化更新mt1300支持

* Fix mt1300 wireless unavailability problem

* Fix mt1300 wireless unavailability problem
2021-02-03 10:36:25 +08:00
AmadeusGhost
18d284b238
ramips: re-added phicomm k2p 32m version (#6235) 2021-01-23 19:23:18 +08:00
lean
b039772c02 Revert "ramips: add support for Phicomm K2P 32M flash version (#5861)"
This reverts commit 632b36be39.
2021-01-08 22:57:12 +08:00
lean
f6381d2094 revert: fix k2p 32m reboot problems 2021-01-08 22:55:29 +08:00
dreamcmi
ba907056db
add glinet-mt1300 support (#6142)
* 添加glinet-mt1300支持

* 优化更新mt1300支持
2021-01-04 22:40:47 +08:00
AmadeusGhost
f0da89a98b
ramips: fix k2p 32m reboot problems (#6085) 2020-12-23 12:30:07 +08:00
练亮斌
13ec6bcfd6
Using luci native support for MT7615(K2P),support muilti SSID (#5844)
* mt7615: try wext and cfg80211

* iwinfo: support ra frequency offset

* iwinfo: ra support assolist, support AC bandwidth, read device id from mtd

* mt7615: clean code

* k2p: wireless interface should not add to bridge, wifi system will handle this

* mt7615: adapt for modern luci

* mt7615: fix Makefile, conflicts with luci-app-mtwifi

* mt_wifi: conflicts with mt7615d

* iwinfo: fix ra probe, scan list

* iwinfo: fix ra scan list

* mt7615: speed up wifi reload

* mt7615: fix bug

* mt7615: fix isolate

* mt7615: clean code

* mt7615: fix CE without cfg80211

* mt7615: split dbdc variant

* mt7615: revert config for non dbdc variant devices

* mt7615: move maccalc dependency to dbdc variant

* mt7615: append author info

* mt7615: move config generation to uci-defaults
2020-12-07 12:55:18 +08:00
练亮斌
632b36be39
ramips: add support for Phicomm K2P 32M flash version (#5861) 2020-12-02 14:33:00 +08:00
AmadeusGhost
73e554dab2
ramips: add support for JCG Y2 (#5815)
JCG Y2 is an AC1300M router

Hardware specs:
  SoC: MediaTek MT7621AT
  Flash: Winbond W25Q128JVSQ 16MiB
  RAM: Nanya NT5CB128M16 256MiB
  2.4GHz: MT7615D 2x2
  5GHz: MT7615D 2x2
  Ethernet: 1 x WAN and 4 x LAN
  LED: POWER, INTERNET, 2.4G, 5G
  USB: 1 x 3.0
  Button: Reset

Flash instructions:
  Upload factory.bin in stock firmware's upgrade page.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-11-21 13:36:02 +08:00
DoveKi
85808a075c
ramips: use mt proprietary driver for XiaoMI MI R4 (#5244) 2020-08-05 19:40:13 +08:00
AmadeusGhost
30decd5f30
ramips/mtwifi: disable bind apcli interface to lan by default (#5178)
The apcli interface can be bound to either lan or wan, so cancel the
default settings.
2020-07-26 15:02:08 +08:00
AmadeusGhost
1e8536f117
ramips: improve ac2100/dir882 support (#5136) 2020-07-19 19:09:26 +08:00
AmadeusGhost
0635250cda
ramips/mt7621: re-added hwnat support for kernel 5.4 (#5120)
* ramips: mt7621.dtsi: add missing pinctrl to ethernet node

Add rgmii1_pins (1st GMAC) and mdio_pins to ethernet node
pinctrl to ensure they are set to correct mode

* ramips: kernel: ralink-eth support mt7621

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

* ramips: some devices use ralink-eth driver

Also re-added mt7621 hwnat support for some devices.

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>

* ramips/mt7621: re-added hwnat support

Co-authored-by: LGA1150 <dqfext@gmail.com>
Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-07-18 01:02:11 +08:00
coolsnowwolf
95cd6ee365 ramips: miss typo 2020-07-10 17:45:48 +08:00
AmadeusGhost
15b5fbbc0a
ramips: improve support for dir878/882 (#5058) 2020-07-10 11:58:12 +08:00
coolsnowwolf
1eb3eac387 ramips: fix dts name 2020-07-08 23:03:33 +08:00
hyy-666
c9bd4acac7
fix missing dir-882 and dir-878 and enable mt7615d's LED default n (#5039) 2020-07-08 17:37:28 +08:00
hyy-666
e04cde3f2a
fix menuconfig missing DIR-878 A1 DIR-882 A1 (#5038) 2020-07-08 16:43:03 +08:00
hyy-666
345a201394
ramips: add support for Dlink DIR-878 A1 DIR-882 A1 Motorola MR2600 (#5035)
* ramips: add support for Dlink DIR-878 A1 DIR-882 A1 Motorola MR2600

* ramips: add support for Dlink DIR-878 A1 DIR-882 A1 Motorola MR2600

* ramips: add support for Dlink DIR-878 A1 DIR-882 A1 Motorola MR2600

Co-authored-by: hyy-666 <hyiy666@gmail.com>
2020-07-08 16:23:05 +08:00
coolsnowwolf
359680f107 ramips: fix netgear R6850 wireless depend 2020-07-05 17:48:33 +08:00
AmadeusGhost
24cb7521b6
mtwifi: add mt7612 support (#4968)
* mtwifi: add mt7612 support (Thx TangHaili)

* mtwifi: mt7603/7612: disable autoload (Thx TangHaili)

* ramips: newifi3: use mtwifi

* luci-app-mtwifi: sync TangHaili's Source
2020-07-05 11:57:49 +08:00
coolsnowwolf
d4539c3188 ramips: fix AC2100/R6850 wireless setting 2020-07-04 20:16:43 +08:00
AmadeusGhost
4c3334c5ba mtwifi: add dual 7615 support (Thx TangHaili) 2020-07-04 13:39:48 +08:00
coolsnowwolf
db12a9ccbe ramips: use mt proprietary driver for XiaoMI/Redmi AC2100 2020-07-04 11:34:26 +08:00