Commit Graph

946 Commits

Author SHA1 Message Date
CN_SZTL
f2fd3a4487
Merge Lean's source 2020-03-21 22:34:01 +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
AmadeusGhost
66de6c5050
luci-app-cpufreq: drop untest target (#3915)
Someone reports that it has bug in arm64
2020-03-21 22:17:09 +08:00
CN_SZTL
2e668211bb
oxnas: backport patch fixing hang after reboot 2020-03-21 01:27:39 +08:00
CN_SZTL
dc577dca98
Merge Lean's source 2020-03-21 01:20:39 +08:00
lean
667d594da4 Revert "mt7621: TCP and UDP traffic is forwarded correctly by HWNAT (1% CPU usage)"
This reverts commit cd59b49863.
2020-03-20 14:14:03 +08:00
CN_SZTL
0dec59280f
Merge Lean's source 2020-03-19 23:10:10 +08:00
lean
ed0e83ee6c ramips: mt7530: Implement set_port_link 2020-03-19 22:58:39 +08:00
Chen Minqiang
6dede0f8a5 revert: ramips: gsw_mt7621: disable PORT 5 MAC RX/TX flow control by default
This revert c8f8e59816
The TX/RX flow control is not the cause of the TX timeouts issue

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-03-19 21:36:04 +08:00
Koen Vandeputte
3891769528 kernel: bump 4.19 to 4.19.110
Refreshed all patches.

Fixes:
- CVE-2020-8648 (potentially)
- CVE-2020-8647
- CVE-2020-8649

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

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-03-19 17:50:48 +08:00
AmadeusGhost
c984acad1f imx6: refresh 4.19 patch 2020-03-19 17:50:03 +08:00
AmadeusGhost
92d2f94e3d kernel: bump 4.14 to 4.14.173 2020-03-19 17:40:18 +08:00
AmadeusGhost
2f66cce3e4 fix file permissions 2020-03-19 13:00:46 +08:00
AmadeusGhost
a0e673cec5 RPI_AXIPERF: move to generic config 2020-03-17 22:08:18 +08:00
CN_SZTL
af5cc73e79
Merge Lean's source 2020-03-17 20:40:55 +08:00
lean
5af6281bb9 bcm2711: add RPI_AXIPERF Symbol 2020-03-17 19:44:25 +08:00
AmadeusGhost
b36b079134
Revert 'kernel: update 4.19 patch' (#3850) 2020-03-17 18:47:05 +08:00
AmadeusGhost
ae2698ceb5 Merge Lean's source 2020-03-17 17:30:16 +08:00
lean
3d3a95e5b4 ramips: update mt7530 switch settings 2020-03-17 02:03:47 +08:00
lean
62eb2434f5 kernel: update v4.19 kernel config 2020-03-17 01:56:13 +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
Chen Minqiang
6a433f181b 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>
2020-03-16 19:29:52 +08:00
Chen Minqiang
ef26af2420 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>
2020-03-16 15:39:19 +08:00
Sungbo Eo
525c915c75 layerscape: add kmod-i2c-mux to DEVICE_PACKAGES for traverse-ls1043
kmod-i2c-mux-pca954x will not get into images unless kmod-i2c-mux is added to
DEVICE_PACKAGES as well.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
(cherry picked from commit dffbe668ab)
2020-03-16 15:28:18 +08:00
AmadeusGhost
f8d1eecc08
ramips: sync upstream source code (#3805) 2020-03-15 19:14:19 +08:00
CN_SZTL
6d33f0d6be
Merge Lean's source 2020-03-15 16:12:16 +08:00
AmadeusGhost
60326ac7de CM520-79F: add missing label 2020-03-15 15:39:41 +08:00
lean
21d4809d79 ipq40xx: switch back to kernel 4.14 2020-03-15 14:26:30 +08:00
AmadeusGhost
eff2d6c4a1 ramips: sync upstream source code 2020-03-14 12:15:16 +08:00
AmadeusGhost
7a69201b43 m520: disable gsbi2 serial 2020-03-14 11:29:38 +08:00
AmadeusGhost
722777e783 ramips: change wireless driver to mtwifi for dual 7615 devices 2020-03-14 11:25:12 +08:00
CN_SZTL
43e49f8322
Merge Lean's source 2020-03-13 23:00:10 +08:00
haxc
978c3f7a60
Fix mw4530r forgot to add network settings (#3788)
* ath79: add support for TP-Link TL-WR882N/WR885N/WR886N

This adds support for the various clones of the TL-WR885N recently
supported  ("ath79: add support for TP-Link TL-WR885N v1"):

- tplink,tl-wr882n-v1
- tplink,tl-wr882n-v2
- tplink,tl-wr882n-v3
- tplink,tl-wr885n-v1
- tplink,tl-wr885n-v2
- tplink,tl-wr886n-v2
- tplink,tl-wr886n-v3
- tplink,tl-wr886n-v4
- tplink,tl-wr886n-v5
- tplink,tl-wr886n-v6
- tplink,tl-wr886n-v7

These devices are cloned in ar71xx. All models added in this patch are the same hardware CPU

WR885n V2 was tested.

Specifications:
- SOC: Qualcomm Atheros TP9343-AL3A
- CPU: 750MHz
- Flash: 2 MiB (AH1446 25Q16BS1G E5N102)
- RAM: 16 MiB (Zentel A3S28D40JTP-50)
- WLAN: Qualcomm Atheros TP9343 450Mbps
- Ethernet: Atheros AR8228/AR8229  4 port (100M)

添加TP9343芯片的路由器型号支持,TL-WR882N/WR885N/WR886N系列

* ath79: add support for MerCury MW4530R v1

重新添加水星MW4530R路由器支持

* Repair generate mw4530r firmware default is 8M

* Fix mw4530r forgot to add network settings
2020-03-13 22:52:20 +08:00
AmadeusGhost
df1779b127
ipq40xx: fix build error on 4.14 (#3786) 2020-03-13 21:34:58 +08:00
CN_SZTL
262363d79c
target/ipq40xx: update Kconfig for kernel 4.14 2020-03-13 21:07:58 +08:00
CN_SZTL
24bdd6f0fb
target/x86: add missing symbol for kernel 4.9 2020-03-13 20:47:36 +08:00
AmadeusGhost
6cc2fcb777 XiaoMi R3P: change wireless driver to mtwifi 2020-03-13 19:20:15 +08:00
CN_SZTL
e17aca712d
Merge Lean' ssource 2020-03-13 18:34:46 +08:00
lean
8ecd6c8b3c kernel: fix 4.9 sfe patch 2020-03-13 15:42:21 +08:00
AmadeusGhost
bbb241bf2a
generic-4.9: fix error patch (#3776)
This commit fix  39edfa9.
2020-03-13 14:28:09 +08:00
AmadeusGhost
39edfa99bd
generic: refresh patch (#3774)
* generic-4.19: refresh patch

* generic-4.9: refresh patch

cherry-pick 2515a5e from @1715173329 dalao
2020-03-13 14:05:24 +08:00
lean
c9fe160157 kernel: bump 4.9 to 4.9.215 2020-03-13 12:17:42 +08:00
lean
3bef40a0cb kernel: bump to 4.14.172 / 4.19.108 2020-03-13 12:11:40 +08:00
AmadeusGhost
f2f7de06ef hack-4.19: refresh patch 2020-03-13 11:50:45 +08:00
lean
cd59b49863 mt7621: TCP and UDP traffic is forwarded correctly by HWNAT (1% CPU usage) 2020-03-13 11:43:59 +08:00
Chen Minqiang
ab6b020a65 kernel: fix crash nf_xfrm_me_harder 2020-03-13 11:25:44 +08:00
Chuanhong Guo
639dd37fd7 ramips: mt76x8: pinctrl: add a hack for ESD_MODE bit in GPIO1_MODE
This bit is used to specify sdxc pinmap for mt76x8. Details available
in patch description.

To properly solve this problem and the other pinctrl hack in mtk-mmc
driver we'll need to write a dedicated pinctrl driver for mt76x8,
with the support for configuring AGPIO_MODE and RGCTL registers as
well as specially handling GPIO reservation/pinctrl setup for ESDMODE.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-03-13 11:15:47 +08:00
lean
8b4a939c56 kernel: backport out-of-memory fix for non-Ethernet devices (zerotier, mwan3 etc...) 2020-03-13 11:15:36 +08:00
lean
9db10a8cb2 ipq40xx: Qualcomm Crypto Engine fixes 2020-03-13 09:45:45 +08:00
AmadeusGhost
fb56108243 ipq806x: add i2c devices support for m520
This commit enable lm75 and pcf8563 for m520.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-03-12 21:38:09 +08:00