Commit Graph

1467 Commits

Author SHA1 Message Date
lean
22dbef3fbb Revert "Revert "ramips: improve MT7621 clock""
This reverts commit ac5f5dcd28.
2022-07-08 14:30:07 +08:00
lean
ef8b8224b9 ramips: fix mi cr660x wan mac 2022-07-08 13:23:25 +08:00
lean
00522a1d86 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-07-08 12:44:50 +08:00
Ronny Kotzschmar
628ef82714 rockchip: reliably distribute net interrupts
On the NanoPI R4S it takes an average of 3..5 seconds for the network devices
to appear in '/proc/interrupts'.
Wait up to 10 seconds to ensure that the distribution of the interrupts
really happens.

Signed-off-by: Ronny Kotzschmar <ro.ok@me.com>
2022-07-08 11:50:20 +08:00
AmadeusGhost
ac5f5dcd28 Revert "ramips: improve MT7621 clock"
This reverts commit 003eb67e86.
This may cause some devices to fail to boot, close: #9711
2022-07-08 11:26:41 +08:00
lean
82118ca885 ramips: add Mediatek EIP93 Crypto driver for MT7621 2022-07-08 11:07:52 +08:00
lean
4e0fd76789 ramips: mi cr660x: switch to new hnat driver 2022-07-08 03:45:37 +08:00
lean
003eb67e86 ramips: improve MT7621 clock 2022-07-08 01:18:08 +08:00
TonyTeng22
9629eee027
Add device support: Prafly_m8621t Marvell 88F6281 based on LCE patch (Modified by Jerry Yang) (#9708)
* add kirkwood-m8621t.dts

model = "Prafly m8621t";
	compatible = "Prafly,m8621t", "cloudengines,pogoe02", "marvell,kirkwood-88f6281","marvell,kirkwood";

* Update 02_network

Prafly,m8621t)
	ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
	;;

* Update Makefile to support Prafly_m8621t

define Device/Prafly_m8621t
  DEVICE_VENDOR := Prafly
  DEVICE_MODEL := m8621t
  DEVICE_PACKAGES := kmod-ata-marvell-sata kmod-fs-ext4 kmod-switch-mvswe61xxx kmod-ata-core kmod-mmc kmod-mvsdio kmod-usb2
  KERNEL_INSTALL := 1
  SUPPORTED_DEVICES += m8621t
endef
TARGET_DEVICES += Prafly_m8621t
2022-07-07 18:11:01 +08:00
Hauke Mehrtens
8f979860f0 kernel: Remove kmod-crypto-lib-blake2s
Delete the crypto-lib-blake2s kmod package, as BLAKE2s is now built-in.

Fixes: be0639063a70 ("kernel: bump 5.4 to 5.4.203")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-07-07 16:10:07 +08:00
Hauke Mehrtens
120b3835f3 kernel: backport wireguard blake2s patch
This patch was backported to kernel 5.4.200, but without the wireguard
change, because wireguard is not available in upstream kernel 5.4.
This adds the missing changes for wireguard too.

Fixes: be0639063a70 ("kernel: bump 5.4 to 5.4.203")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-07-07 16:06:26 +08:00
Ritaro Takenaka
f82314362f kernel: check dst of flow offloading table
Flow offload dst can become invalid after the route cache is created.
dst_check() in packet path is necessary to prevent packet drop.

Signed-off-by: Ritaro Takenaka <ritarot634@gmail.com>
2022-07-07 16:05:24 +08:00
Hauke Mehrtens
5adf0dcafc kernel: bump 5.4 to 5.4.203
Merged upstream:
 bcm27xx/patches-5.4/950-1014-Revert-mailbox-avoid-timer-start-from-callback.patch
 generic/backport-5.4/080-wireguard-0021-crypto-blake2s-generic-C-library-implementation-and-.patch

Manually adapted:
 layerscape/patches-5.4/801-audio-0005-Revert-ASoC-fsl_sai-Add-support-for-SAI-new-version.patch
 oxnas/patches-5.4/100-oxnas-clk-plla-pllb.patch

Compile-tested: lantiq/xrx200
Run-tested: lantiq/xrx200

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-07-07 16:02:32 +08:00
aakkll
60086c7f44
kernel: bump 5.15 to 5.15.51 (#9678)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-01 19:31:03 +08:00
José Hwong
80125b864a
ipq807x: 5.10: refresh patches (#9674)
Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-07-01 00:36:14 +08:00
John Audia
e62f84b2f0 kernel: bump 5.10 to 5.10.127
All patches automatically rebased.

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-06-30 15:59:17 +08:00
Sander Vanheule
0760499e1a kernel: backport RTL8211F clkout-disable patch
In Linux v5.14 an extra feature was introduced for the RTL8211F phy,
allowing to disable a clock output from the phy. Part of that patch is to
always (soft) reset the phy upon initialisation.

This phy reset is required to have a working ethernet on the TP-Link
EAP225-Outdoor v3 and EAP225 v4 after a reboot. Otherwise the ethernet
port will only function properly on cold boots.

Tested-by: Andre Klärner <kandre@ak-online.be> # EAP225-Outdoor v3
Tested-by: Sven Hauer <sven.hauer+github@uniku.de> # EAP225 v4
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2022-06-30 15:55:13 +08:00
Beginner
ddc2b246d7
kernel: bump 5.10 to 5.10.125 (#9656)
* kernel: bump 5.10 to 5.10.121

Manually rebased:
    oxnas/patches-5.10/100-oxnas-clk-plla-pllb.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800

Signed-off-by: John Audia <therealgraysky@proton.me>

* kernel: bump 5.10 to 5.10.122

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800

Signed-off-by: John Audia <therealgraysky@proton.me>

* kernel: bump 5.10 to 5.10.123

No patches required a rebase, just updated checksum.

Build system: x86_64
Build-tested: ipq806x/R7800

Signed-off-by: John Audia <therealgraysky@proton.me>

* kernel: bump 5.10 to 5.10.124

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800

Signed-off-by: John Audia <therealgraysky@proton.me>

* kernel: bump 5.10 to 5.10.125

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800

Signed-off-by: John Audia <therealgraysky@proton.me>

Co-authored-by: John Audia <therealgraysky@proton.me>
2022-06-27 17:02:35 +08:00
lean
69f0ac32c1 rockchip: add generate mac script support for multiple mmcblk devices 2022-06-27 10:04:07 +08:00
AmadeusGhost
d5fdefb31a ksmbd: fixes build on kernel 5.4
Fixes: 01aef11 ("ksmbd: add out-of-tree module")
Fixes: 94e2af1 ("ksmbd: update to 3.4.5")
Fixes: #9648
2022-06-26 14:01:51 +08:00
aakkll
6adba088c0
kernel: bump 5.15 to 5.15.50 (#9649) 2022-06-26 13:56:24 +08:00
Arınç ÜNAL
5d8d544aa9 ramips: mt7621-dts: fix claiming rgmii2 pin group for EdgeRouter X SFP
For a TX->TX connected external phy to transmit/receive data, the rgmii2
pin group needs to be claimed with gpio function, at least for EdgeRouter X
SFP. We already claim the pin group under the pinctrl node with gpio
function on the gpio node on mt7621_ubnt_edgerouter-x.dtsi.

However, we should claim a pin group under its consumer node. It's the
ethernet node in this case, which we already claim the rgmii2 pin group
under it on mt7621.dtsi. Therefore, set the function as gpio on the rgmii2
node for EdgeRouter X SFP and get rid of claiming the rgmii2 pin group
under the pinctrl node. With this change, we also get to remove a
definition from mt7621_ubnt_edgerouter-x.dtsi which is specific to
EdgeRouter X SFP.

This change is tested on an EdgeRouter X SFP.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
2022-06-25 16:35:12 +08:00
aakkll
04d870e468
kernel: bump 5.15 to 5.15.49 (#9633)
* kernel: bump 5.15 to 5.15.49

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

* kernel: 5.15: x86-64: enable CONFIG_SLS
2022-06-23 13:27:11 +08:00
Stalker
06066a637c
rockchip: fix drm for 5.15 (#9618)
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2022-06-20 02:30:41 +08:00
lean
f01d99d612 Revert "rockchip: kernel switch to 5.10"
This reverts commit a056909dc2.
2022-06-18 00:34:04 +08:00
José Hwong
a0cac9a6d1
kernel: bump 5.4 to 5.4.199 (#9601)
Removed:
target/linux/bcm27xx/patches-5.4/950-1014-Revert-mailbox-avoid-timer-start-from-callback.patch [1]

[1]6d8b9f574b

Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-06-18 00:30:30 +08:00
AmadeusGhost
8c76a6f498 ramips: mt7621/network: drop mtwifi hack 2022-06-18 00:16:36 +08:00
AmadeusGhost
d41530dba8 ramips: jcg q20: drop ubootmod version 2022-06-18 00:13:26 +08:00
AmadeusGhost
c78af7bc21 ramips: jcg y2: switch to new hnat driver 2022-06-18 00:12:35 +08:00
AmadeusGhost
f46c60443c ramips: mi ac2100: switch to new hnat driver 2022-06-18 00:11:39 +08:00
AmadeusGhost
0eed36f2ea ramips: gehua ghl: switch to new hnat driver 2022-06-18 00:09:13 +08:00
AmadeusGhost
b31fe9b0f6 ramips: c5/k2p: switch to new hnat driver 2022-06-18 00:08:10 +08:00
AmadeusGhost
58accb6699 ramips: msg1500 x.00: switch to new hnat driver 2022-06-18 00:07:03 +08:00
AmadeusGhost
2be7428fbd ramips: newifi-d2: switch to new hnat driver 2022-06-18 00:06:24 +08:00
MeIsReallyBa
9cd22dd829 ramips: mt7621: improve hnat driver support 2022-06-17 23:56:22 +08:00
AmadeusGhost
590517f040 ramips: mt7621: add both gsw/dsa hnat support
Signed-off-by: meisreallyba <meisreallyba@gmail.com>
Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2022-06-17 23:55:14 +08:00
AmadeusGhost
c85b4ebbc1 ramips: mt7621: switch to new ethernet driver 2022-06-17 23:54:46 +08:00
AmadeusGhost
177dd50bc6 ramips: add MediaTek Vendor Ethernet driver 2022-06-17 23:54:24 +08:00
Aviana Cruz
dc771a1c11 ramips: decrease SPI frequency for Phicomm K2P
Some K2P comes with the worse boards with GD25Q128 (may be A2), which
only works with 50MHz frequency and less. Reduce spi frequency so that
these routers can boot.
remove m25p,fast-read because it isn't needed for 50MHz SPI.

Signed-off-by: Aviana Cruz <gwencroft@proton.me>
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2022-06-16 15:01:02 +08:00
aakkll
d77de26442
kernel: bump 5.15 to 5.15.47 (#9582)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-06-15 23:04:26 +08:00
John Audia
c5351b2e56 kernel: bump 5.10 to 5.10.120
All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800, x86/64

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-06-15 22:24:24 +08:00
John Audia
56dd091b41 kernel: bump 5.10 to 5.10.119
Delete the crypto-lib-blake2s kmod package, as BLAKE2s is now built-in.
Patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800, x86/64

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-06-15 22:22:53 +08:00
John Audia
aba1f6e072 kernel: bump 5.10 to 5.10.118
Removed upstreamed:
    generic-backport/774-v5.15-1-igc-remove-_I_PHY_ID-checking.patch
    generic-backport/774-v5.15-2-igc-remove-phy-type-checking.patch

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-06-15 22:20:57 +08:00
google-you-ok?
972c8aed91
kernel:rockchip:phy add JLSemi jl2xxx driver (#9563)
* drv-net-phy-add-JLSemi-jl2xxx-driver

* drv-net-phy-add-JLSemi-jl2xxx-driver

* drv-net-phy-add-JLSemi-jl2xxx-driver

* Enable JL201 config

* Enable JL201 config

* Enable JL201 config

* change default driver

Since the mac80211 driver cannot turn on the wireless, it can only be turned off by default.
2022-06-14 02:23:49 +08:00
aakkll
76a4c855a2
kernel: bump 5.15 to 5.15.46 (#9504)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-06-09 23:18:30 +08:00
aakkll
df4850bfc4
kernel: 5.15: refresh patches (#9499) 2022-06-08 13:08:19 +08:00
lean
a056909dc2 rockchip: kernel switch to 5.10 2022-06-07 19:40:18 +08:00
lean
1cb98d7be6 shortcut-fe: fix tcp_no_window_check api with kernel 5.15.43+ 2022-06-07 19:05:57 +08:00
Rui Salvaterra
7b60931f79 kernel: bump 5.15 to 5.15.45
Patches automatically rebased.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-06-07 14:36:58 +08:00
aakkll
91b3516ba1
kernel: bump 5.15 to 5.15.44 (#9457)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-06-04 23:25:35 +08:00