Commit Graph

676 Commits

Author SHA1 Message Date
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
AmadeusGhost
f8d1eecc08
ramips: sync upstream source code (#3805) 2020-03-15 19:14:19 +08:00
lean
21d4809d79 ipq40xx: switch back to kernel 4.14 2020-03-15 14:26:30 +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
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
lean
cd59b49863 mt7621: TCP and UDP traffic is forwarded correctly by HWNAT (1% CPU usage) 2020-03-13 11:43:59 +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
LEAN-ESX
de64f40b56 ipq40xx: switch to kernel 4.19 2020-03-12 04:36:40 -07:00
haxc
071645c698
Repair generate mw4530r firmware default is 8M (#3732)
* 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
2020-03-11 23:03:04 +08:00
AmadeusGhost
252c766ae3
kernel: generic: add missing config symbol (#3710)
* kernel: generic: add missing 4.19 config symbol

* kernel: generic: add missing 4.14 config symbol
2020-03-10 22:01:50 +08:00
Aes64X
af3c61718c
Update mach-hiveap-121.c (#3693)
照抄官方主线,用于修复AeroHive AP-121 千兆有线丢包问题,在我的设备上测试通过。估计很少人用这玩意。
2020-03-10 00:34:13 +08:00
AmadeusGhost
4c6aeede97
ipq40xx: improve ASUS RT-AC58U support (#3680)
Using ath10k-ct-smallbuffers instead of ath10k, avoid memory explosion.

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-03-09 16:33:28 +08:00
LEAN-ESX
7ce3854d32 luci-app-unblockmusic: dependence allow mini-version 2020-03-05 21:56:38 -08:00
LEAN-ESX
46009b51d9 ipq40xx: less ess_edma ipv6 log output 2020-03-05 06:18:29 -08:00
LEAN-ESX
533ef89b74 Revert "x86:add Intel Quick Sync Video hardware encoding and decoding support"
This reverts commit 1c6e4da87a.
2020-03-04 08:03:06 -08:00
Xiaok
2cef70802e
ar71xx: Add support for TL-WR702N (#3469) 2020-03-02 21:58:19 +08:00
LEAN-ESX
15b0fffbe9 remove luci-app-pptp-server due to insecure 2020-03-02 00:44:02 -08:00
LEAN-ESX
b69fa370e6 luci-app-cpufreq: add cpufreq luci for ipq40xx 2020-03-01 23:50:17 -08:00
LEAN-ESX
c38bc05d13 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-03-01 21:12:49 -08:00
LEAN-ESX
1c6e4da87a x86:add Intel Quick Sync Video hardware encoding and decoding support 2020-03-01 21:12:14 -08:00
Xiaok
520ddddf1d
ar71xx: Add support for TL-WDR5800 v1 (#3466) 2020-03-02 11:52:17 +08:00
AmadeusGhost
c62115265e
bcm27xx: update to latest patches and firmware (#3450)
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-03-01 22:16:48 +08:00
LEAN-ESX
033cf32ad8 ipq807x: add very basic target support 2020-02-29 22:59:08 -08:00
LEAN-ESX
b787e45705 kernel: 4.14,4.19: disable ARM CE & NEON 2020-02-29 21:46:44 -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
Yangbo
ab8daea73a
ipq40xx: add support for MobiPromo CM520-79F (#28) (#3378)
From LGA1150 dalao (https://github.com/LGA1150/openwrt)

Warning: The compiled firmware only supports flashing under OpBoot.

MobiPromo CM520-79F is an AC1300 dual band router based on IPQ4019

Specification:

SoC/Wireless: QCA IPQ4019
RAM: 512MiB
Flash: 128MiB SLC NAND
Ethernet PHY: QCA8075
Ethernet ports: 1x WAN, 2x LAN
LEDs: 7 LEDs
      2 (USB, CAN) are GPIO
            other 5 (2.4G, 5G, LAN1, LAN2, WAN) are connected to a shift
	    register

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

ipq40xx: fix build error for cm520-79f (#30)

This commit fix 94a743ea531b4c10e91c17dc17535471e95f308b

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

CM520-79F: fix wan port (#33)

This commit fix 223124e

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

CM520-79F: disable vlan

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-02-28 23:20:23 +08:00
练亮斌
581d6c22cd
luci-app-ssr-plus: add Trojan subscribe support (#3388)
* add tl-wr720n-v3-16m

* luci-app-ssr-plus: support trojan subscribe.
2020-02-28 23:19:38 +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
haxc
3cde517a11
ath79: add support for TP-Link TL-WR882N/WR885N/WR886N (#3307)
* 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路由器支持
2020-02-24 21:31:36 +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
coolsnowwolf
35b3616c50 add luci-app-unblockneteasemusic-mini by default 2020-02-20 21:13:54 +08:00
AmadeusGhost
dcc9b1d8f7
bcm27xx: fix wireless dependence (#3161) 2020-02-18 12:15:28 +08:00
Max Zhao
27fdd0819f
bcm27xx: fix permission (#3151) 2020-02-17 15:48:46 +08:00
AmadeusGhost
61341499df
brcm2708: rename target to bcm27xx (#3098)
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-02-17 10:36:14 +08:00
coolsnowwolf
8dbb8079e8 fix netbios name with cifsd 2020-02-16 23:25:35 +08:00
coolsnowwolf
1a1250842f ar71xx: fix kenrnel 4.9 patch 2020-02-13 19:52:32 +08:00
coolsnowwolf
c58b2b6d5e kernel: add missing symbol 2020-02-13 18:04:01 +08:00