Commit Graph

133 Commits

Author SHA1 Message Date
AmadeusGhost
b622523565
ramips: improve support for HiWiFi HC5962 (#4195)
* ramips: increase HiWiFi HC5962 kernel partition to 4M

Increase kernel partition because 2M is insufficient for 4.19
Because the partition changes, previous version of OpenWrt cannot upgrade to this version

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* ramips: use all reserved space for HiWiFi HC5962

Idea was from ad6c6361f9f8 ("ath79: enable all space on Netgear ar9344-based WNDR routers")

These stock partitons: "backup", "hw_panic", "overly", firmware_backup", "opt"
do not contain any device-specific data and can be used for /overlay, resulting in
121M space
Users should erase those partitions with command `mtd erase <partition name>` prior to
upgrading to this version

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

Co-authored-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-04-06 23:29:11 +08:00
z826540272
fb6ab3dc56
MT7621 disable switch EEE (#3963)
* revert: ramips: gsw_mt7621: disable PORT 5 MAC RX/TX flow control

revert: ramips: gsw_mt7621: disable PORT 5 MAC RX/TX flow control by default
This revert c8f8e59
The TX/RX flow control is not the cause of the TX timeouts issue

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

* ramips: net/mediatek fix logical error

ramips: net/mediatek fix logical error

fe_empty_txd() should return `tx_ring_size - 1` on ring empty, and
return 0 on ring full.

* ramips: net/mediatek disable eee

ramips: net/mediatek disable eee

This disable eee for mt7530 ports, it causes the link down/up
issue, which happens when connecting to 100Mbit switch

Fixes: FS#1449

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-03-23 18:14:35 +08:00
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
lean
ed0e83ee6c ramips: mt7530: Implement set_port_link 2020-03-19 22:58:39 +08:00
lean
3d3a95e5b4 ramips: update mt7530 switch settings 2020-03-17 02:03:47 +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
691def3cad
kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
coolsnowwolf
191ace6dff Revert "kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)"
This reverts commit 01ab5cf3c9.
2020-02-26 16:47:18 +08:00
AmadeusGhost
01ab5cf3c9
kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)
* kernel: bump 4.14 to 4.14.171

Refreshed all patches.

Fixes:
- CVE-2013-1798

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.19 to 4.19.105

Refreshed all patches.

Fixes:
- CVE-2013-1798
- CVE-2019-3016

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.19 to 4.19.106

Refreshed all patches.

Remove upstreamed:
- 950-0786-leds-pca963x-Fix-open-drain-initialization.patch

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump to 4.9.214, 4.14.171, 4.19.106

Co-authored-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-02-25 12:24:44 +08:00
AmadeusGhost
f98ac45a63
ramips: fix mmc driver (#3285)
Since commit f8c55dc ("MIPS: use generic dma noncoherent ops for
simple noncoherent platforms") changed MIPS dma handling, the mmc
driver fails because it doesn't have a dma mask is set.

So set the correct dma mask.

Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

Co-authored-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-02-24 20:26:25 +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
6901278ef0
kernel: bump to 4.14.169, 4.19.101 (#2963)
* kernel: bump to 4.14.169, 4.19.101

* uboot: update to latest

* mediatek: bump to v4.19

* ath79: switch to wpad

* Revert 'grub2: update to latest'
2020-02-06 21:45:40 +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
coolsnowwolf
ecea39f109 Revert "files: sync from openwrt v19.07 (#2690)"
This reverts commit 2289184a62.
2020-02-03 12:33:25 +08:00
AmadeusGhost
2289184a62
files: sync from openwrt v19.07 (#2690) 2020-02-01 16:50:37 +08:00
likanchen
a08774c525 Solve a problem during compiling for mt76x8 (#2780)
change default package from wpad-basic to wpad-openssl for mt76x8 to solve some problems during compiling.
2020-01-18 01:35:21 +08:00
LEAN-ESX
8380473e7b target: shrink to support 8M rom 2019-12-15 02:59:57 -08:00
LEAN-ESX
09fd59b30b ramips: add support for JCG JHR-AC876M 2019-12-15 01:54:58 -08:00
LEAN-ESX
63d071ae0d ramips: fir 32M spi soft shutdown 2019-12-15 01:47:52 -08:00
LEAN-ESX
87ddda1137 ramips: enabled firstboot wireless 2019-12-13 21:09:11 -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
a70a719e81 kernel: bump to 4.9.206, 4.14.158, 4.19.88 2019-12-10 19:40:41 -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
6e8290d715 kernel: bump to 4.9.205, 4.14.156, 4.19.86 2019-12-01 05:59:29 -08:00
LEAN-ESX
738b79e216 UnblockNeteaseMusic: bump to 0.22.1 2019-11-24 05:54:31 -08:00
LEAN-ESX
4730b1260e kernel: bump to 4.9.202, 4.14.154, 4.19.84 2019-11-21 17:42:54 -08:00
LEAN-ESX
a196a98f00 Revert "kernel: bump to 4.9.202, 4.14.154, 4.19.84"
This reverts commit 2070dec20d.
2019-11-21 04:03:03 -08:00
LEAN-ESX
2070dec20d kernel: bump to 4.9.202, 4.14.154, 4.19.84 2019-11-20 23:04:05 -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
6e2f8766af kernel: bump to 4.9.196, 4.14.148, 4.19.78 2019-10-08 07:38:30 -07:00
LEAN-ESX
65b25ceb18 ramips: add wm8960 asoc sound driver for mt762x 2019-09-26 21:16:13 -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
c46095fd92 merge upstream flow offload patch 2019-09-26 05:40:29 -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
LEAN-ESX
4aa5ec7a02 ramips: fix mac addresses used by Phicomm K2P 2019-07-26 02:33:46 -07:00
LEAN-ESX
a9442ddd7b ramips: add kmod-mt7615e to Phicomm K2P images 2019-07-25 23:11:13 -07:00
LEAN-ESX
1d882a86f6 kernel: bump to 4.9.183, 4.14.129, 4.19.53 2019-07-06 07:02:01 -07:00
LEAN-ESX
4456b485cb kernel: bump to 4.9.182, 4.14.127, 4.19.52 to fix SACK Panic 2019-06-19 02:46:58 -07:00
coolsnowwolf
91ed8a05f4 kernel: bump to 4.9.175, 4.14.118, 4.19.42 2019-05-15 00:13:16 +08:00
coolsnowwolf
facb9642b3 ramips: add support for ASUS RT-AC54U 2019-05-12 23:01:19 +08:00
coolsnowwolf
4fada49231 bug fix 2019-05-03 00:02:51 +08:00