Commit Graph

877 Commits

Author SHA1 Message Date
CN_SZTL
f0b6095d3b
Merge Lean's source 2020-03-09 17:23:38 +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
CN_SZTL
42808701c2
luci-app-ssr-plus: fix typo 2020-03-08 15:34:33 +08:00
Alan Swanson
6a47bccc3e mediatek: update uci-defaults for renamed smp packet steering option
Leave as enabled by default for mediatek. Also remove obsolete
settings from when packet steering was moved from netifd to a
simplified hotplug script.

Signed-off-by: Alan Swanson <reiver@improbability.net>
2020-03-08 12:15:13 +08:00
David Bauer
efc8da5296 ar71xx: correct AVM FRITZ Repeater 450E WPS button flag
The AVM FRITZ!WLAN Repeater 450E's WPS button is not active low.

Correct the active low flag to avoid unintenional activation of
failsafe mode on boot.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 1d4f2ca610)
2020-03-08 12:10:18 +08:00
Yousong Zhou
dd237a0ed6 ramips: mt7530: more detailed output for unexpected etag_ctrl
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-08 12:05:04 +08:00
Yousong Zhou
f8f41704ce ramips: mt7530: remove redundant global attrs for port mirroring
Global attributes enable_mirror_tx/enable_mirror_rx depend on runtime
value of another global attribute mirror_source_port which just resides
in the memory

The same functionality can be achieved by directly setting port
attribute of the same names.  E.g. the following two groups of commands
achieve the same thing

	swconfig dev switch0 set mirror_source_port 3
	swconfig dev switch0 set enable_mirror_tx 1
	swconfig dev switch0 set mirror_source_port 4
	swconfig dev switch0 set enable_mirror_tx 1

	swconfig dev switch0 port 3 set enable_mirror_tx 1
	swconfig dev switch0 port 4 set enable_mirror_tx 1

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-08 12:03:02 +08:00
Adrian Schmutzler
b9687c73af ramips: fix and tidy up DTS for D-Link DIR-810L
This patch addresses several issues for D-Link DIR-810L:

- add correct button codes
- harmonize button node names
- use generic flash@0
- remove unused pin groups from state_default
- improve sorting of properties

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Tested-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
2020-03-08 12:00:21 +08:00
Adrian Schmutzler
27e830fa55 ramips: add support for NETGEAR R6700v2/AC2400
SoC: MediaTek MT7621AT
RAM: 256M DDR3
FLASH: 128M NAND
WiFi: MediaTek MT7615N an+ac
MediaTek MT7615N bgn
ETH: MediaTek MT7621AT
BTN: 1x Connect (WPS), 1x WLAN, 1x Reset
LED: Power (white/amber), WAN(white/amber), 2.4G(white), 5G(white),
USB(white) , GuestWifi(white) 4x LAN(white/amber), Wifi Button(white),
WPS Button(white)

Installation:

Login to netgear webinterface and flash factory.img

Based on a discontinued GitHub Pull Request by
kuyokushin <codenamezero@protonmail.com>

https://github.com/openwrt/openwrt/pull/2545

NOTE: Netgear R6700 v2 have five clones: R6900 v2, R7450, Nighthawk
AC2400, Nighthawk AC2100 and already added R6800. Rest of them  should
be really easy supportable. Image for R6700v2 should work perfectly with
them. Please refer:

https://github.com/openwrt/openwrt/pull/2614

Tested-by: Víctor Gibrán <victorgibranmz@hotmail.com> [R6700v2]
Tested-by: John Landrum <jl31m10@yahoo.com> [AC2400]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
[add guest led to mt7621_netgear_r6700-v2.dts end edit commit message]
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
2020-03-07 23:20:38 +08:00
AmadeusGhost
a170c3156d ramips: sync official commit for D-Link DIR-810L and Netgear R6800 2020-03-07 23:08:06 +08:00
AmadeusGhost
1f313abd5a m520: fix spi naming 2020-03-06 22:18:10 +08:00
DENG Qingfang
5829672a9a ramips: use all reserved space for HiWiFi HC5962
Idea was from ad6c6361f9 ("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>
2020-03-06 16:18:10 +08:00
DENG Qingfang
f7df44cdea 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>
2020-03-06 16:16:53 +08:00
CN_SZTL
ba3bb490e3
Merge Lean's source 2020-03-06 14:02:22 +08:00
LEAN-ESX
7ce3854d32 luci-app-unblockmusic: dependence allow mini-version 2020-03-05 21:56:38 -08:00
CN_SZTL
f1d0b0a615
Merge Lean's source 2020-03-05 22:44:55 +08:00
LEAN-ESX
46009b51d9 ipq40xx: less ess_edma ipv6 log output 2020-03-05 06:18:29 -08:00
AmadeusGhost
c024328960 config-4.19: refresh default config
This commit revert 'config: refresh default config for Raspberry Pi',
and enable ext4 rootfs for target_bcm27xx.
2020-03-05 17:53:53 +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
AmadeusGhost
dbe97a8a89 Revert "x86: add Intel Quick Sync Video hardware encoding and decoding support"
This reverts commit 1c6e4da87a.
2020-03-04 23:08:04 +08:00
Alan Luck
4c8ded996c ramips: add support for Dlink DIR-878 A1
Specifications:
* SoC: MT7621AT
* RAM: 128MB
* Flash: 16MB NOR SPI flash
* WiFi: MT7615N (2.4GHz) and MT7615N (5Ghz)
* LAN: 5x1000M
* Firmware layout is Uboot with extra 96 bytes in header
* Base PCB is AP-MTKH7-0002
* LEDs Power Green,Power Orange,Internet Green,Internet Orange
* LEDs "2.4G" Green & "5G" Green connected directly to wifi module
* Buttons Reset,WPS,WIFI

Flash instruction:

Upload image via emergency recovery mode via Windows "not working with Linux"
Push and hold reset button (on the bottom of the device) until power led starts flashing (about 10 secs or so) while plugging in the power cable.
Give it ~30 seconds, to boot the recovery mode GUI
Connect your client computer to LAN1 of the device
Set your client IP address manually to 192.168.0.2 / 255.255.255.0.
Call the recovery page for the device at http://192.168.0.1
Use the provided emergency web GUI to upload and flash a new firmware to the device

MAC addresses:

lan      factory 0xe000 *:55 (label)
wan      factory 0xe006 *:58
2.4 GHz  factory 0x0004 *:56
5.0 GHz  factory 0x8004 *:57

Signed-off-by: Alan Luck <luckyhome2008@gmail.com>
2020-03-03 17:08:14 +08:00
AmadeusGhost
478a80a5dc drivers/mtd: update from official 2020-03-03 17:06:29 +08:00
David Bauer
4a0ec77f38 ar71xx: add missing LED migration for Archer C7
When changing the LED names for the Archer C7 to represent the correct
color, a migration for existing UCI entries was not created.

Add a migration to keep existing LED configurations working.

Fixes commit c79c001b59 ("ar71xx: Archer C7 v1 LED names and RFKILL
fixes")

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 4349d4c682)
2020-03-03 16:38:20 +08:00
CN_SZTL
96907ea9b6
Merge Lean's source 2020-03-03 10:04:04 +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
CN_SZTL
71be03297c
Merge Lean's source 2020-03-02 16:29:04 +08:00
LEAN-ESX
b69fa370e6 luci-app-cpufreq: add cpufreq luci for ipq40xx 2020-03-01 23:50:17 -08:00
CN_SZTL
0bb72f58c9
Merge Lean's source 2020-03-02 13:16:47 +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
Ansuel Smith
e2a04cfbca ipq806x: fix bug in L2 cache scaling
It has been notice a buf in L2 cache scaling where the scaling is not
done proprely if the frequency is set to the initial state before
the new frequency.

From: https://patchwork.kernel.org/patch/10565443/

* The clocks are set to aux clock rate first to make sure the
* secondary mux is not sourcing off of QSB. The rate is then set to
* two different rates to force a HFPLL reinit under all
* circumstances.

In the initial stage of boot to force a new frequency to apply, is
needed to first set the frequency back to the lowest one (aux_rate)
and then to the target one. This force and make sure the controller
actually switch the frequency to the right one. Apply the same
mechanism to L2 frequency scaling. Before scaling to the target
frequency, first set the frequency to the aux_rate to force the
transition, then scale it to the target frequency. Doing the wrong way
can produce unexpected results and could lock the scaling mechanism
until a full reboot is done (Causing a full reset by the krait-cc driver)

From: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=77612720a2362230af726baa4149c40ec7a7fb05

When the Hfplls are reprogrammed during the rate change,
the primary muxes which are sourced from the same hfpll
for higher frequencies, needs to be switched to the 'safe
secondary mux' as the parent for that small window. This
is done by registering a clk notifier for the muxes and
switching to the safe parent in the PRE_RATE_CHANGE notifier
and back to the original parent in the POST_RATE_CHANGE notifier.

This should apply also to L2 scaling... as we can't relly use
the notifier, we manually do this on L2 scaling.

Tested-By: Marc Benoit <marcb62185@gmail.com> [19.07: R7800]
Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [nbg6817/ipq8065]
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 5ab9c0b388)
2020-03-02 12:01:48 +08:00
Pavel Kubelun
3779539095 ipq806x: add missing core1 voltage tolerance
Voltage tolerance is accounted per core, not per cpu, so add
missing DT entry.

Tested-By: Marc Benoit <marcb62185@gmail.com> [19.07: R7800]
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 77e7d6c20d)
2020-03-02 12:01:19 +08:00
CN_SZTL
e3911c47f6
Merge Lean's source 2020-03-02 11:58:03 +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
CN_SZTL
32af49a7d3
Merge Lean's source 2020-03-01 15:56:30 +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
cbe0326063 bcm27xx: update to latest patches from RPi foundation 2020-03-01 12:01:42 +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
John Crispin
a3daa14ce9 ipq807x: add very basic target support
This is still missing a lot of love but people want to start working on it
so lets give them a common baseline.

Signed-off-by: John Crispin <john@phrozen.org>
2020-02-29 12:05:39 +08:00
AmadeusGhost
fba627a668 ipq40xx: less log output
This commit fix 7dc881
2020-02-29 11:55:00 +08:00
AmadeusGhost
7dc881dd79 kernel: bump to 4.9.214, 4.14.171, 4.19.106
Remove error commit from
15a0701cdd
2020-02-29 01:23:18 +08:00
CN_SZTL
9b037608ca
Merge Lean's source 2020-02-29 00:57:16 +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 94a743ea53

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
CN_SZTL
3ab67a8217
Revert "kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)"
This reverts commit 4d68a12e34.
2020-02-28 20:50:04 +08:00
CN_SZTL
ceb6df1e3b
Revert "Kernel/4.14: move some of function back to tcp (#46)"
This reverts commit bfda6da8a5.
2020-02-28 16:09:13 +08:00
QiuSimons
26d2b82561
Kernel/4.19: patch clean up for 4.19.y (#47) 2020-02-28 14:00:42 +08:00