55 Commits

Author SHA1 Message Date
AmadeusGhost
86e132e34b
ramips: fix GHL support for MX25L25635E flash (#3906)
Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-03-21 22:19:30 +08:00
AmadeusGhost
a1807936af
ramips: add xiaomi_miwifi-r3 support (#3839)
* ramips: add xiaomi_miwifi-r3 support

Specification:
 - CPU: 580 MHz
 - Flash size: 128 MiB NAND
 - RAM size: 128 MiB DDR2
 - Wireless No1: SoC-integrated: MT7620A 2x2 MIMO 802.11b/g/n (2.4 GHz)
 - Wireless No2: On-board chip: MT7612E 2x2 MIMO 802.11a/n/ac (5 GHz)
 - Switch: MT7620 built-in 10/100 switch w/ vlan support
 - USB: 2.0 x1

Flash instructions:
 1. access ssh via https://wiki.openwrt.org/toh/xiaomi/mir3
 2. in ssh:
      nvram set flag_last_success=1
      nvram set boot_wait=on
      nvram set uart_en=1
      nvram commit
      mtd write lede-ramips-mt7620-miwifi-r3-squashfs-kernel1.bin kernel1
      mtd write lede-ramips-mt7620-miwifi-r3-squashfs-rootfs0.bin rootfs0
      reboot

If you want to revert back to stock fw while on LEDE:
  insert usb stick (FAT/FAT32) with stock fw renamed to miwifi.bin
  fw_setenv flag_last_success 0
  power off the device
  hold the reset button and power on the device, keep holding the reset button until yellow led starts blinking.

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

* ramips: add mt7620-nand driver for NAND flash

This add the mt7620-nand driver
and enable nand ubifs for subtarget mt7620

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

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-03-17 01:39:45 +08:00
AmadeusGhost
f8d1eecc08
ramips: sync upstream source code (#3805) 2020-03-15 19:14:19 +08:00
AmadeusGhost
d268405cb9
ramips: sync source code (#3260)
This commit sync ramips source code from openwrt master.

1. ramips: gsw_mt7621: disable PORT 5 MAC RX/TX flow control by default
2. ramips: allow to set switchdev by board in ramips_set_preinit_iface
3. kernel: fix typos in KernelPackage description
2020-02-22 12:39:52 +08:00
LGA1150
445949adbf
ramips: add JD-Cloud router support (#3239)
* generic: support mtd-mac-address-ascii

It supports formats of both 001122334455 and 00:11:22:33:44:55

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

* ramips: add JDCloud

Co-authored-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-02-22 12:26:41 +08:00
AmadeusGhost
da5186e8f8
ramips: Revert 'allow to set switchdev by board in ramips_set_preinit_iface' (#3000)
This may affect wireless and network.
2020-02-08 17:14:44 +08:00
AmadeusGhost
bf55ff68c7
ramips: sync from openwrt v19.07 (#2938)
This commit sync ramips from openwrt master, and revert use caldata.sh
so that wireless for some devices can works.
2020-02-05 23:47:49 +08:00
LEAN-ESX
09fd59b30b ramips: add support for JCG JHR-AC876M 2019-12-15 01:54:58 -08:00
LEAN-ESX
7ea08e97fe ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
AmadeusGhost
499a8ba3da ramips: Re-add support for XiaoYu-C5 (#2376)
* ramips: XiaoYu-C5 fix to 512MB

* Re-add support for XiaoYu-C5
2019-12-11 14:05:42 +08:00
LEAN-ESX
40f51aebde ramips: add support for XiaoYu XY-C5 2019-12-08 07:31:11 -08:00
LEAN-ESX
6a4cddf7c2 target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
LEAN-ESX
5d51ba13ef ramips: delete MTK 762x support 2019-12-07 07:51:55 -08:00
LEAN-ESX
d28f568be2 ramips: XiaoYu-C5 fix to 512MB 2019-10-26 08:49:46 -07:00
LEAN-ESX
1aaf35221a mt7621: memory auto-detection to support k2p 256MB/512MB 2019-10-08 08:48:36 -07:00
LEAN-ESX
0a23772078 ramips: fix XiaoYu C5 led setting 2019-09-26 20:41:34 -07:00
LEAN-ESX
18a87273c0 ramips: fix XiaoYu XY-C5 dts 2019-09-26 20:35:50 -07:00
LEAN-ESX
b6f5ffdf18 ramips: add XiaoYu mt7621 support 2019-09-12 00:24:40 -07:00
ITdesk01
fe024b849e ramips: add support for ADSLR G7
SoC: MT7621AT
RAM: 256MB
Flash: 16M SPI
Ethernet: 5x GE ports
WiFi: 2.4G: MT7615N
5G: MT7615N

Flash instruction:
1.Modify the file to linux.bin
2.Set up FTP service
3.Computer settings fixed IP: 192.168.179.50 255.255.255.0
4.Turn on the power and press and hold the reset button until the indicator light is on for about 5 seconds.

Signed-off-by: Zhenjian Zhang <itdesk.zhang@gmail.com>
2019-08-14 16:53:47 +08:00
coolsnowwolf
facb9642b3 ramips: add support for ASUS RT-AC54U 2019-05-12 23:01:19 +08:00
coolsnowwolf
6879801688 ramips: mt7615 80211 driver support to dts for R3P 2019-04-20 21:02:35 +08:00
coolsnowwolf
1933bc8bfa Revert "ramips: sync with upsteam target"
This reverts commit 9cd0dc0dc996f6c49ea6307caeab6625e5184a00.
2019-04-15 22:12:35 +08:00
coolsnowwolf
9cd0dc0dc9 ramips: sync with upsteam target 2019-04-15 15:58:00 +08:00
coolsnowwolf
a04283b4f7 ramips: add Xiaomi Mi Router 3 support 2019-04-02 21:50:44 +08:00
coolsnowwolf
7e119a321b ramips: rework network settings for HC5861 (JI3) 2019-03-11 17:31:18 +08:00
phorcys
a4cc14dc85 Add Xiaomi Router 4 support
Hardware is the same as mir3g
except:
ram 256M ->  128M
switch  lan 2 3  wan 1 ->  lan 1 2 wan 4
2019-02-20 17:42:37 +08:00
a1768623020
c466387e1e PBR-M1 firmware change to 32M size (dts)
固件大小为32Mb
2019-01-08 11:04:50 +08:00
coolsnowwolf
347daa04b2 Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
coolsnowwolf
05f9b24364 ramips: fix Gehua bootup looping 2018-12-31 12:16:08 +08:00
coolsnowwolf
fe442f9cf9 ramips: disable Newifi-D2 highmem 2018-12-28 23:37:00 +08:00
Fsick
147fa1ff62 ramips: fix MT7621 dtsi
* ramips: add support for GeHua GHL-R-001

* ramips: fix MT7621 dtsi
2018-12-28 23:01:52 +08:00
Fsick
96e2c4b7d4 ramips: add support for GeHua GHL-R-001 2018-12-28 16:38:25 +08:00
coolsnowwolf
efc7d235f5 Revert "ramips: update dts from upstream"
This reverts commit 506e55bee8dfc8ab43eee06d9e785eb058898c42.
2018-12-28 16:33:20 +08:00
coolsnowwolf
506e55bee8 ramips: update dts from upstream 2018-12-27 21:53:13 +08:00
coolsnowwolf
6e9299a6b3 ramips: add support for more model 2018-11-28 18:40:04 +08:00
coolsnowwolf
88345ec906 ramips: fix calculation of cpu frequency for mt7621 when overclock 2018-11-23 00:38:24 +08:00
Fsick
aee91483b9 mt76: update to the latest version
* Roll back mt76 version to 2018-11-09

* mt76: update to the latest version

* ramips: add missing DTS frequency limit for the 5 GHz radio on Archer
2018-11-19 16:48:57 +08:00
coolsnowwolf
f7af64cef7 Revert "mt76: do not wake tx queues during flush"
This reverts commit 7a494295cba99122d90acdba0dc195f46de0d61d.
2018-11-13 21:30:06 +08:00
Fsick
7a494295cb mt76: do not wake tx queues during flush 2018-11-13 19:05:35 +08:00
coolsnowwolf
0b049d2385 remove 32M spi patch for mtk762x 2018-11-05 23:52:28 +08:00
coolsnowwolf
0cf8475a54 ramips:support Phicomm K2P multiple leds in one light 2018-10-08 11:04:12 +08:00
coolsnowwolf
4e24548f70 backport kernel 4.9 support for ramips 2018-10-06 12:11:38 +08:00
coolsnowwolf
806f5db174 sync with OpenWrt trunk 2018-09-07 13:43:55 +08:00
coolsnowwolf
9ba04fd0d7 sync with OpenWrt v18.06.1 stable new R8.1 version 2018-08-23 17:40:23 +08:00
coolsnowwolf
fc170dfd79 update ramips target in 4.14 2018-06-15 00:17:33 +08:00
coolsnowwolf
ef299a8ec1 update MTK 7621 patchs 2018-06-04 16:01:52 +08:00
coolsnowwolf
e985e89cae update linux target patch 2018-05-22 18:44:30 +08:00
coolsnowwolf
8fe0636b8a Merge branch 'master' of github.com:lede-project/source 2018-04-23 18:50:49 +08:00
coolsnowwolf
b52215c8db MT7620 based boards with NAND flashsupport and fix wireless rx queue issue 2018-04-09 22:01:52 +08:00
coolsnowwolf
accfddd339 switch ramips to kernel 4.14 2018-04-08 17:57:18 +08:00