Commit Graph

721 Commits

Author SHA1 Message Date
AmadeusGhost
c985a54a61
kernel: bump to 4.9.223, 4.14.180, 4.19.122 (#4600)
* kernel: bump 4.9 to 4.9.223

Refreshed all patches.

Fixes:
- CVE-2020-12114

Compile-tested on: ar71xx
Runtime-tested on: ar71xx

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

* kernel: bump 4.14 to 4.14.180

Refreshed all patches.

Fixes:
- CVE-2020-12114
- CVE-2020-11669

Compile-tested on: pistachio
Runtime-tested on: none

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

* kernel: bump 4.19 to 4.19.122

Refreshed all patches.

Remove upstreamed:
- 551-loop-Better-discard-support-for-block-devices.patch

Fixed:
- CVE-2020-11884
- CVE-2020-12114
- CVE-2019-3016
- CVE-2020-11669

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

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

Co-authored-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-05-13 13:28:43 +08:00
coolsnowwolf
1428e0eeed ipq40xx: ignore some debug info 2020-05-11 16:22:05 +08:00
coolsnowwolf
58d4e7f906 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-05-09 15:36:59 +08:00
coolsnowwolf
de279cbd29 ramips: unlock Bootloader for Redmi AC2100 2020-05-09 15:36:49 +08:00
AmadeusGhost
9c732c877d
ipq40xx: adjust switch configuration for netgear ex61x0v2 (#4550) 2020-05-09 15:05:57 +08:00
coolsnowwolf
2c37fa71f9 ipq40xx: update ath10k firmware 2020-05-09 14:36:43 +08:00
AmadeusGhost
9f90d1abd4
Redmi AC2100: adjust switch configuration (#4528) 2020-05-04 00:43:17 +08:00
AmadeusGhost
1a44b8d74f
ramips: fix build error (#4508) 2020-05-02 07:30:25 +08:00
AmadeusGhost
3c510baf47
ramips: fix support for Redmi AC2100 (#4500)
This commit fix switch and image config for Redmi AC2100.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-05-01 22:37:45 +08:00
coolsnowwolf
01aeb5df0e ramips: Add support for Xiaomi Redmi Router AC2100 (RM2100) 2020-05-01 12:23:28 +08:00
AmadeusGhost
4b53337af7
ipq40xx: correct device packages (#4450) 2020-04-29 13:32:07 +08:00
coolsnowwolf
404ec5fa84 ipq40xx: adjust pacakge 2020-04-27 12:30:22 +08:00
coolsnowwolf
4306c245cf generic: fix flow table hw offload 2020-04-26 15:36:41 +08:00
AmadeusGhost
c33118190f
bcm63xx: refresh patches (#4372) 2020-04-19 14:31:01 +08:00
AmadeusGhost
9448672845
kernel: bump to 4.9.219, 4.14.176, 4.19.115 (#4350)
* kernel: bump 4.14 to 4.14.176

Refreshed all patches.

Remove upstreamed:
- 0001-net-thunderx-workaround-BGX-TX-Underflow-issue.patch
- 600-ipv6-addrconf-call-ipv6_mc_up-for-non-Ethernet-inter.patch
- 184-USB-serial-option-add-Wistron-Neweb-D19Q1.patch

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

Compile-tested on: cns3xxx, octeontx
Runtime-tested on: cns3xxx

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

* kernel: bump 4.19 to 4.19.115

Remove upstreamed:
- 600-ipv6-addrconf-call-ipv6_mc_up-for-non-Ethernet-inter.patch
- 184-USB-serial-option-add-Wistron-Neweb-D19Q1.patch

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

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

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

* kernel: bump 4.9 to 4.9.219

Refreshed all patches.

Altered patches:
- 0026-NET-multi-phy-support.patch

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

Compile-tested on: ar71xx
Runtime-tested on: ar71xx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-04-17 11:50:34 +08:00
AmadeusGhost
cc689609d6
ipq806x: 4.19: correct dts for m520 (#4330)
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-04-16 11:28:05 +08:00
AmadeusGhost
f7cdc54602
ipq40xx: add missing device config for rt-ac1300uhp (#4300) 2020-04-14 09:22:11 +08:00
AmadeusGhost
00d40a40ac
ipq40xx: fix support for Asus RT-AC1300UHP in 4.19 (#4285)
RT-AC1300UHP has 256M memory and does not need to use ath10k-ct-smallbuffers.

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-04-12 12:04:02 +08:00
AmadeusGhost
2cdcee23fb
ipq40xx: device: switch to ath10k-ct (#4239) 2020-04-09 14:00:56 +08:00
lean
12b558bbd4 amule: dyn linked 2020-04-09 00:30:15 +08:00
lean
aa8f942bf9 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-04-07 22:44:45 +08:00
lean
a1b538a9f5 ipq40xx: switch to ath10k-ct 2020-04-07 22:44:32 +08:00
AmadeusGhost
f095b225dd
bcm27xx: rpi4: enable wifi in first boot (#4220) 2020-04-07 21:59:03 +08:00
lean
2a1f9e6fdf target: add luci-app-music-remote-center 2020-04-07 16:17:22 +08:00
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
AmadeusGhost
08637d8262
ar71xx: fix alloc_page_frag issue (#4184)
cherry-pick from 819800ab4f
2020-04-05 18:32:06 +08:00
AmadeusGhost
7d597c5347
mac80211: switch to upstream owl-loader driver (#4164)
The Owl Loader (named after the codename that Atheros gave
these devices back in the day) has been accepted upstream.

This patch removes the "misc" driver OpenWrt had and adds
the remaining differences against the version that ships
with 5.4-rc1 into a separate "120-owl-loader-compat.patch"
file that can be cut down once AR71XX is being dealt with.

Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-04-04 15:55:52 +08:00
AmadeusGhost
9a65c3ef74
treewide: revert use new procd sysupgrade variable (#4139) 2020-04-02 13:29:45 +08:00
lean
427e7ec56f luci-app-airplay2: open to all target 2020-03-30 20:33:09 +08:00
lean
32964d4b71 luci-app-airplay2: open to all target 2020-03-30 20:27:31 +08:00
lean
aad03293fa x86: switch and optimize 4.19 kernel 2020-03-30 01:13:43 +08:00
lean
51fc01f88c luci-app-airplay2: add airplay2 for x86 2020-03-29 19:33:36 +08:00
lean
bea383627c x86: adjust some kernel module for k4.9 2020-03-29 02:14:15 +08:00
lean
295e835f0c ajust some default package setting for x86 32bit 2020-03-29 01:33:43 +08:00
SJZ
3b7228f4f5
Remove repeat select zerotier (#4068) 2020-03-28 20:33:42 +08:00
AmadeusGhost
77b85a3e18
ipq806x: add i2c chips support for m520 (#4055)
This commit enable lm75 and pcf8563 for m520.

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-03-27 16:56:25 +08:00
lean
7346fdca12 Revert "x86: fix path for qemu-img (#3856)"
This reverts commit d291e24956.
2020-03-25 11:43:13 +08:00
lean
83fe56c426 x86: remove core2 target 2020-03-24 18:38:45 +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
fd76b93998
ipq40xx: add missing label for cm520 (#3935) 2020-03-22 16:38:45 +08:00
Xiaok
d291e24956
x86: fix path for qemu-img (#3856) 2020-03-22 10:19:20 +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
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
lean
ed0e83ee6c ramips: mt7530: Implement set_port_link 2020-03-19 22:58:39 +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
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