Commit Graph

859 Commits

Author SHA1 Message Date
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
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
QiuSimons
bfda6da8a5
Kernel/4.14: move some of function back to tcp (#46) 2020-02-28 13:35:56 +08:00
AmadeusGhost
a906fdff5b avm_fritzbox-4040: fix build error
From https://forum.openwrt.org/t/builderror-ipq40xx/26747/4, but ???
2020-02-27 22:17:43 +08:00
Hauke Mehrtens
e6929ccefd kernel: Add missing includes mtdsplit_*.c
This fixes the following compile problem with kernel 4.9 on lantiq:
drivers/mtd/mtdsplit/mtdsplit_uimage.c:244:34: error: array type has incomplete element type 'struct of_device_id'
 static const struct of_device_id mtdsplit_uimage_of_match_table[] = {
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/mtdsplit/mtdsplit_uimage.c:245:4: error: field name not in record or union initializer
  { .compatible = "denx,uimage" },

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-27 22:15:36 +08:00
CN_SZTL
4d68a12e34
kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)
This reverts commit 191ace6dff.
2020-02-27 17:39:41 +08:00
CN_SZTL
59d9e97911
Merge Lean's source 2020-02-27 17:39:13 +08:00
AmadeusGhost
9c87378caa ipq40xx: essedma Time-balanced scheduling
add script to adjust cpu affinity
essedma Time-balanced scheduling:
TX:
CPU:  |3          | |2          | |1          | |0          |
TX-Q: |15-14-13-12| |11-10-09-08| |07-06-05-04| |03-02-01-00|
         ___________|             |             |
         |  ______________________|             |
	 |  |  _________________________________|
         |  |  |
TX-P: |15-11-07-03| |14-10-06-02| |13-09-05-01| |12-08-04-00|
TX-S: |---+--+--+-| |+-----+--+-| |+--+-----+-| |+--+--+----|
       |                |                |                |
RX:    |                |                |                |
CPU:  |3          | |   2       | |      1    | |         0 |
RX-Q: |07-06      | |05-04      | |03-02      | |01-00      |

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-02-27 10:59:55 +08:00
AmadeusGhost
4d6a354e86 ipq40xx: correct 'disable default vlan tagging'
The essedma driver was disable default vlan tagging.
2020-02-27 08:51:12 +08:00
QiuSimons
297fa94895
kernel/4.19: fix bbr patch by again and again (#44) 2020-02-26 21:04:24 +08:00
QiuSimons
acaa200e9f
target/4.19: fix bbr patch again (#43)
* quick

* quick fix due to tcp.h changes

Co-authored-by: CN_SZTL <22235437+1715173329@users.noreply.github.com>
2020-02-26 20:10:34 +08:00
QiuSimons
1a79c63fec
kernel/4.19: fix bbr patch(#42) 2020-02-26 19:19:48 +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
CN_SZTL
33e04642f2
kernel 4.9/4.14: fix label 'err_unlock' used but not defined
Ref: project-openwrt/openwrt@03f6c13
2020-02-26 15:31:34 +08:00
ElonH
03f6c13845
kernel4.19: label 'err_unlock' used but not defined 2020-02-26 15:28:22 +08:00
John Crispin
d13173ae89 mediatek: add latest fixes provided by MTK
Signed-off-by: John Crispin <john@phrozen.org>
2020-02-26 15:21:03 +08:00
CN_SZTL
76c0b6867c
tcp_bbr: adapt cwnd based on ack aggregation estimation (#40)
* Fix issue in 4.14.171kernel (#38)

* [experimental] bbr wifi patch for 4.19 (#39)

* Fix issue in 4.14.171kernel

* [experimental] bbr wifi patch for 4.19

Co-authored-by: QiuSimons <45143996+QiuSimons@users.noreply.github.com>
2020-02-26 14:42:27 +08:00
Chuanhong Guo
5176abcb11 ramips: enable sdxc driver for hc5661a
Since we've fixed AGPIO_MODE setup in sdxc driver, we can enable
SDXC interface for HC5661A now.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-02-26 09:45:14 +08:00
LGA1150
0ee12f93a2 hc5761a: enable SD 2020-02-26 09:38:26 +08:00
CN_SZTL
488a847e6e
Revert "BBR Fix (Testing (#37)"
This reverts commit 60552cddea.
2020-02-26 00:09:53 +08:00