Commit Graph

2066 Commits

Author SHA1 Message Date
AmadeusGhost
a7a5b42f8a rockchip: replace patches with upstream 2022-09-20 20:20:53 +08:00
Felix Fietkau
9676f90040 kernel: backport MTK ethernet/WLAN offload fixes
Fixes issues with offloading to WED, especially with VLAN bridges involved

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-09-20 20:16:26 +08:00
Chuanhong Guo
525b01ad91 mediatek: build ubnt-ledbar as a module
The config for LEDS_UBNT_LEDBAR doesn't stay in mt7629 kconfig because
of its I2C dependency. Build it as a module and let buildroot handle
this config option instead.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2022-09-20 20:15:43 +08:00
AmadeusGhost
32aea04c4c mediatek: sync upstream source code
Fixes: #10156
2022-09-19 22:00:03 +08:00
Chuanhong Guo
3a90d86a78 kernel: 5.15: add support for ESMT F50x1G41LB
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2022-09-19 21:54:35 +08:00
Daniel Golle
c5d67f13f0 mediatek: fix sysupgrade on MTK7986 rfba AP
A line in platform.sh was accidentally removed when adding support
for the Bananapi BPi-R3.
Re-add it to fix sysupgrade on the MTK7986 rfba AP.

Fixes: a96382c1bb ("mediatek: add support for Bananapi BPi-R3")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-19 21:52:54 +08:00
Daniel Golle
4983058f5f mediatek: filogic: use WPS button instead of RST on BPi-R3
The GPIO used for the RST button is also used for PCIe-CLKREQ signal.
Hence it cannot be used as button signal if PCIe is also used.
Wire up WPS button to serve as KEY_RESTART in Linux and "reset" button
in U-Boot.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-19 21:50:39 +08:00
Daniel Golle
fad0b7b5c8 mediatek: bpi-r64: make initramfs/recovery optional
Only include recovery image in SD card image generated for the
BananaPi BPi-R64 if building with CONFIG_TARGET_ROOTFS_INITRAMFS
This allows to build images larger than 32 MB (the limit for
initramfs/recovery image) by deselecting initramfs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-19 21:43:07 +08:00
Daniel Golle
d3f45415a2 mediatek: bpi-r3: make initramfs/recovery optional
Only include recovery image in SD card image generated for the
BananaPi BPi-R3 if building with CONFIG_TARGET_ROOTFS_INITRAMFS.
This allows to build images larger than 32 MB (the limit for
initramfs/recovery image) by deselecting initramfs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-19 21:40:18 +08:00
Daniel Golle
fa84a35840 mediatek: add support for Bananapi BPi-R3
The Bananapi BPi-R3 is a development router board built around the
MediaTek Filogic 830 (MT7986A) SoC.
The board can boot either from microSD, SPI-NAND, SPI-NOR or eMMC.
Only either SPI-NAND or SPI-NOR can be used at the same time, also only
either microSD or eMMC can be used. The various storage options can be
selected using small SMD switches on the board.

Specs:
 * MediaTek MT7986A (Filogic 830) 4x ARM Cortex A53
 * 4T4R 2.4G 802.11bgnax (MT7975N)
 * 4T4R 5G 802.11anac/ax (MT7975P)
 * 2 GB DDR4 RAM
 * 8 GB eMMC
 * 128 MB SPI-NAND flash
 * 32 MB SPI-NOR flash
 * on-board MT7531 GbE switch
 * 2x SFP+ (1 GbE / 2.5 GbE)
 * 5x GbE network port
 * miniPCIe slot (only USB 2.0 connected)
 * uSIM slot (connected to miniPCIe interface)
 * M.2 KEY-E PCIe interface (PCIe x2)
 * microSD card interface
 * 26 PIN GPIO

Hardware details: https://wiki.banana-pi.org/Banana_Pi_BPI-R3

Working:
 * all 4 boot methods incl. installation via U-Boot, sysupgrade, ...
 * copper LAN and WAN ports
 * SFP1 (connected to gmac1, eth1 in Linux)
 * WiFi
 * LEDs
 * Buttons
 * PSTORE/ramoops based dual-boot

Not Working (missing driver features):
 * SFP2 (connected to MT7531 switch)

Untested:
 * M.2/NGFF slot (PCIe x2)
 * mPCIe slot (USB 2.0 + SIM)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-19 21:34:49 +08:00
Daniel Golle
a4a0faa748 generic: 5.15: get uImage.FIT partition parser ready
Prepare uImage.FIT partition parser for Linux 5.15

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-09-19 21:26:27 +08:00
AmadeusGhost
8a353822ed Revert "kernel: bump 5.4 to 5.4.211"
This reverts commit 548ac73c5b.
2022-09-19 21:01:08 +08:00
lean
39534aa38f x86: backport I226 support for kernel 5.4 2022-09-17 23:54:23 +08:00
lean
790f6e67a7 bcm53xx: update NVMEM driver for NVRAM 2022-09-17 19:14:10 +08:00
lean
5428ab1b70 kernel: bump 5.15 to 5.15.68 2022-09-17 18:22:20 +08:00
lean
aee55b2e97 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-09-17 17:45:26 +08:00
lean
548ac73c5b kernel: bump 5.4 to 5.4.211 2022-09-17 17:45:16 +08:00
lovehackintosh
4d3f1a6e78
kernel: bump 5.10 to 5.10.143 (#10138)
* kernel: bump 5.10 to 5.10.143

All patches automatically rebased.

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

* kernel: refresh 5.10 patches

All patches automatically rebased.

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>

Signed-off-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
Co-authored-by: John Audia <therealgraysky@proton.me>
2022-09-17 17:32:05 +08:00
lean
40de02bf81 bcm53xx: switch to kernel 5.4 2022-09-17 13:30:22 +08:00
lean
83903ede7b bcm53xx: PHICOMM K3 add k3screenctrl by default 2022-09-16 02:33:11 +08:00
lean
a9b138ae00 x86: add Aquantia AQtion 5/2.5GbE USB-to-Ethernet by default 2022-09-16 02:19:40 +08:00
aakkll
84c7916464
kernel: bump 5.19 to 5.19.9 (#10125)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-09-16 02:10:53 +08:00
lean
0e7c277d03 rockchip: fix NanoPi R4SE has unique MAC address when boot from emmc 2022-09-16 02:10:11 +08:00
Rui Salvaterra
62ef304e67 kernel: add and enable MGLRU for Linux 5.15
Backport a preliminary version of Yu Zhao's multi-generational LRU, for
improved memory management. Refresh the patches while at it.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-09-15 15:29:45 +08:00
David Bauer
a5dada15ce rockchip: ensure NanoPi R4S has unique MAC address
Ensure the MAC address for all NanoPi R4S boards is assigned unique for
each board.

FriendlyElec ship two versions of the R4S: The standard as well as the
enterprise edition with only the enterprise edition including the EEPROM
chip that stores the unique MAC address.

In order to assign both board types unique MAC addresses, fall back on
the same method used for the NanoPi R2S in case the EEPROM chip is not
present by generating the board MAC from the SD card CID.

[0] https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R4S#Differences_Between_R4S_Standard_Version_.26_R4S_Enterprise_Version

Signed-off-by: David Bauer <mail@david-bauer.net>
2022-09-15 15:23:34 +08:00
AmadeusGhost
58ccac858b Revert "rockchip: default smp tune on"
This reverts commit 518cd6a5c5.
2022-09-15 15:20:13 +08:00
骷髅头
b030e9103a
uboot-rockchip:fix r4se uboot sd card not bootable (#10117)
* uboot-rockchip:fix r4se uboot sd card not bootable

this will cause uboot to fail to load the sd card at startup, and uboot can recognize emmc

* rockchip:fix r4se system loading prompt led

* add the previous one

* fix
2022-09-15 14:05:50 +08:00
lean
61d68ec9b2 bridger: add bridge forwarding accelerator for target 2022-09-15 13:42:02 +08:00
骷髅头
d418fa80b4
rockchip:fix r5s led not bright and add nvme driver (#10108)
* rockchip:modify the correct name of the led

* rockchip:r5s nvme driver enabled by default
2022-09-14 01:42:46 +08:00
lean
1003232a70 ipq807x: fix nss ecm support in kernel 5.15 2022-09-14 01:19:04 +08:00
lean
30c3448606 qca-nss-drv-64: revert to QSDK 11.4 2022-09-13 21:31:21 +08:00
lean
64099b947a qca-ssdk: revert to QSDK 11.4 2022-09-13 21:11:00 +08:00
lean
d0e78ded01 kernel: bump 5.15 to 5.15.67 2022-09-13 19:25:12 +08:00
lean
cebb316d0f kernel: bump 5.15 to 5.15.65 2022-09-13 19:18:21 +08:00
lean
e438377b24 ipq807x: fix mf269 dts 2022-09-13 19:08:25 +08:00
lean
4da63f1fef ipq807x: fix patch for building 2022-09-13 18:57:15 +08:00
lean
518cd6a5c5 rockchip: default smp tune on 2022-09-13 17:03:53 +08:00
lean
79d9040c5c ipq60xx: add dma arm64 api patch 2022-09-13 15:19:06 +08:00
lean
f66cf9d38c ipq807x: add kernel 5.15 support 2022-09-13 10:45:32 +08:00
lean
c07f003c89 ipq807x: add nss ecm support from QSDK12 for 5.10 2022-09-13 10:34:59 +08:00
lean
ea55ecee06 mediatek: add Xiaomi Redmi Router AX6000 support 2022-09-13 00:52:35 +08:00
John Audia
d91aa7cef1 kernel: add # CONFIG_ARM64_ERRATUM_2441009 symbol
No current targets are ARMv9 or Cortex-A510 so comment the new symbol.[1]

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-09-13 00:18:17 +08:00
lean
fc1df36dc1 qca-nss-ecm-64: rework for ipq807x 5.15 support 2022-09-12 19:51:54 +08:00
lean
88c0fe5c1a ipq60xx: add nss ecm kernel support for 5.15 2022-09-12 19:18:41 +08:00
lean
3da5d6fffd qca-nss-drv-64: add kernel 5.15 support 2022-09-12 18:58:21 +08:00
lean
7b0b726436 ipq60xx: add qihoo 360v6 factory ubi support 2022-09-12 14:23:44 +08:00
lean
76351e33bf qca-nss-dp: add kernel 5.15 support 2022-09-12 14:06:04 +08:00
lean
ddc3641e5b qca-ssdk: add kernel 5.15 support 2022-09-12 13:48:20 +08:00
lean
771d6973ac ipq60xx: fix kernel 5.15 dts support 2022-09-12 04:35:31 +08:00
lean
ea54bd7ca1 ipq60xx: add Qihoo 360v6 AX1800 support 2022-09-12 04:29:38 +08:00
Beginner
931b793a06
kernel: bump 5.10 to 5.10.142 (#10084)
* kernel: bump 5.10 to 5.10.139

All patches automatically rebased.

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

* kernel: bump 5.10 to 5.10.141

All patches automatically rebased.

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

* kernel: bump 5.10 to 5.10.142

All patches automatically rebased.

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

* kernel: refresh 5.10 patches

Manual rebase:
  target/linux/generic/hack-5.10/953-net-patch-linux-kernel-to-support-shortcut-fe.patch

Build system: x86_64
Build-tested: x86_64
Run-tested: x86_64

Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>

Signed-off-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
Co-authored-by: John Audia <therealgraysky@proton.me>
2022-09-12 01:25:26 +08:00
lean
2b04e06a1c fs: port ntfs3 from kernel 5.19 to 5.10 2022-09-11 03:36:58 +08:00
lean
915d5814dd fs: port ntfs3 from kernel 5.19 to 5.4 2022-09-11 03:34:53 +08:00
lovehackintosh
64b3d5a061
kernel: fixes build error and refresh 5.15 patches (#10074)
Manually rebased:
  target/linux/generic/hack-5.15/953-net-patch-linux-kernel-to-support-shortcut-fe.patch

All other patches automatically rebased.

Build system: x86_64
Fixes: #10071 

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-09-10 18:18:08 +08:00
lean
0321612a81 kernel: bump 5.15 to 5.15.64 2022-09-10 01:34:26 +08:00
aakkll
261968b99c
kernel: bump 5.19 to 5.19.8 (#10068)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-09-08 23:36:40 +08:00
Daniel Golle
2209b3f08b mediatek: remove redundant patch
The patch 921-mt7986-add-mmc-support.patch introduced by commit
dabcaac443 ("mediatek: add mt7986 soc support to the target") has never
been applied in a way that it would have any effect as it actually
created a file target/linux/generic/patches-5.15/... in the kernel tree
and was probably a patch intended to be applied to openwrt.git instead
of being put into kernel patches folder as a file.

As an upstream commit from vanilla Linux also adding support for MT7986
to the mtk-sd driver has already been included we can remove that old
patch.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-08 14:24:15 +08:00
Daniel Golle
56f5844c81 kernel: mtk_eth_soc: fix hw hash reporting for MT7986
Import patch from Linux 6.0.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-08 14:22:05 +08:00
Daniel Golle
868087e0e8 kernel: fix mvneta Ethernet after generic phylink validate
Import patches from Linux v5.16 and v5.17 to get 2500Base-X SFP working
again with mvneta driver after the generic phylink validate backport.

Fixes: aab466f422 ("kernel: backport generic phylink validate")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-08 14:20:11 +08:00
Daniel Golle
6eaf356bd0 kernel: rework Huawei-compatible OEM SFP GE-T
This patch was added in 09b086eecaa545cf7f30bc7e394a32751e25db65
("kernel: add quirk for Huawei-compatible OEM SFP GE-T"). Add patch
title, description and SoB to follow OpenWrt's developer guide for
working patches to prepare it for being sent upstream. This patch
should be discussed with Russell King and merged to Linux kernel.

Co-authored-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-07 02:19:26 +08:00
Josef Schlehofer
9c7f429f22 kernel: add support for HALNy HL-GSFP and other related fixes
It was reported on Turris forum [1] that HALNy HL-GSFP module does not
work as it should with kernel 5.15. Russell King prepared this patch
series, which fixes broken SFP module to work.

Compile and run tested with Turris Omnia.

[1] https://forum.turris.cz/t/hbl-turrisos-6-0-alpha2-halny-hl-gsfp-sfp-gpon-stick-problems/17547

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-09-07 02:18:31 +08:00
AmadeusGhost
1e398a0e9f Revert "ramips: disable wlan nat as workaround"
This reverts commit 2d2f20e386.
2022-09-07 02:18:09 +08:00
coolsnowwolf
2d2f20e386
ramips: disable wlan hnat as workaround 2022-09-06 15:35:48 +08:00
aakkll
ccf92add04
kernel: bump 5.19 to 5.19.7 (#10059)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-09-06 15:20:42 +08:00
AmadeusGhost
39c57aca18 Revert "ramips: mt7621-dts: mux phy0/4 to gmac1"
This reverts commit a28334d8b8.
Closed: #10050, #10053
2022-09-05 23:20:51 +08:00
syb999
a3b880a4e8
ramips: add support for C-Life XG1 [WIFI6] (#10057)
CPU: MediaTek MT7621AT
  Flash: Micron MT29F2G08ABAGAWP 128M
  RAM: 256 M
  WiFi: MT7915 2.4/5 GHz 2T2R
  Ethernet: 10/100/1000 Mbps x3
  LED: Status (red / blue / white / green / purple / cyan)
  USB: 2.0 x 1
  ZigBee/BlueTooth
  USB Audio: iec958 x 1
  Button: Reset
  Power: DC 12V,1.5A

开启ssh方法:
  打开网页:192.168.10.1,用户路由器底面标注的用户名密码完成登陆。
  然后打开网页:http://192.168.10.1/cgi-bin/luci/admin/mtk/console,在命令行中输入以下命令:
  echo -en "root\nroot\n" | passwd
  然后打开网页:http://192.168.10.1/cgi-bin/luci/pti/ssh_open
  即可ssh登陆192.168.10.1,用户名root,密码root

刷入openwrt:

开启ssh后,上传breed-mt7621-xiaomi-r3g.bin到路由器/tmp目录。
然后使用下面命令刷入breed:
mtd -r write /tmp/breed-mt7621-xiaomi-r3g.bin Bootloader
等待机器重启,等1分钟断开电源。
按住C-Life XG1机身正面的圆形IoT按钮(gpio 18),通电就能进入breed刷机.
2022-09-04 18:30:18 +08:00
lean
fb1fce9d28 rockchip: enable hwrng in kernel 5.19 2022-09-03 22:38:37 +08:00
lean
dd1fae2f20 rockchip: fix NanoPi R4SE in 5.15 2022-09-03 22:36:37 +08:00
lean
061af71d44 rockchip: add kernel 5.19 support 2022-09-03 22:25:36 +08:00
Daniel Golle
8bc40a873f kernel: fix DSA mac_select_pcs backport
Backport commit from Linux 5.18 fixing phylink with DSA drivers which
do not provide mac_select_pcs yet.

Fixes: aab466f422 ("kernel: backport generic phylink validate")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-03 11:25:32 +08:00
Daniel Golle
967e9f5d66 kernel: add pending mtk_sgmii and phy improvements from @lynxis
Add pending patches from Alexander 'lynxis' Couzens which are required
for RealTek NBase-T PHYs or SFP+ cages to work when connected to the
SGMII interface provided by recent MediaTek SoCs [1].
The patches for MT753x fix link speed limitation on CPU ports observed
by many users which is due to reset being carried out wrongly [2].

[1]: https://patchwork.kernel.org/project/netdevbpf/list/?series=669488&state=*
[2]: https://patchwork.kernel.org/project/netdevbpf/list/?series=669486&state=*

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-03 11:23:20 +08:00
Daniel Golle
888e3c35a7 kernel: backport generic phylink validate
Backport generic phylink validate series and make use of it for
mtk_eth_soc Ethernet driver as well as mt7530 DSA driver.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-03 11:22:49 +08:00
padavanonly
b8588061ba ramips: mt7621: fix transparent proxy issue 2022-09-02 11:57:27 +08:00
lean
c06859e50f rockchip: enable hwrng for R66S/R68S 2022-09-02 02:40:00 +08:00
lean
d6f75eefa1 rockchip: add support for firefly station-p2 board 2022-09-02 02:13:41 +08:00
aakkll
5d87cf5616
kernel: refresh 5.19 patch (#10033)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-09-02 01:23:58 +08:00
lean
0303ac3d38 x86: backport Intel GUC support for N5105/N6005 in kernel 5.15 2022-09-01 18:38:35 +08:00
lean
6bf0fbd526 rockchip:fix nanopi-r4s mac address again 2022-09-01 14:55:14 +08:00
AmadeusGhost
b477a0b702 rockchip: add support for FastRhino R66S/R68S
For R68S, flash in as follows:
  dd if=openwrt-rockchip-armv8-fastrhino_r68s-ext4-sysupgrade.img
     of=/dev/mmcblk0
2022-09-01 12:01:21 +08:00
AmadeusGhost
6aaf68d8f5 rockchip: add basic support for HINLINK OPC-H68K 2022-09-01 11:59:31 +08:00
AmadeusGhost
7f8e3bf68c rockchip: add support for EZPRO Mrkaio M68S 2022-09-01 11:57:14 +08:00
AmadeusGhost
5115f2bc1d rockchip: backport support for Radxa ROCK3 A
Also enabled pcie on this board.
2022-09-01 11:56:02 +08:00
AmadeusGhost
695be791b2 rockchip: 5.15: fixes motorcomm driver build error 2022-09-01 11:49:38 +08:00
AmadeusGhost
8cb632045f rockchip: 5.15: introduce rk3568 support
Due to the missing ATF for normally boot, there are still
a lot of bugs on this platform. At the same time, the GMAC
driver also lacks a part.
2022-09-01 11:43:00 +08:00
AmadeusGhost
22d08ddd3d rockchip: revert to origin defaults
The current target code is too chaotic, the patches are
messy and disorderly, and there are still many duplicate
code. Pack it back to half a year ago.
2022-09-01 11:28:49 +08:00
AmadeusGhost
b5b402cd07 Revert "rockchip: backport rk3568 support to kernel 5.10"
This reverts commit cb3ea4bf55.
2022-09-01 11:25:13 +08:00
lean
44275af49f x86: add new missing symbol 2022-09-01 00:07:21 +08:00
lean
109c4fc947 kernel: bump 5.19 to 5.19.6 2022-08-31 23:51:09 +08:00
QiuSimons
cb3ea4bf55
rockchip: backport rk3568 support to kernel 5.10 (#10025) 2022-08-31 20:24:42 +08:00
Aes64X
b5541f15fd
Intel GUC: add UHD 630/750 support (#10023)
* Update Makefile

* Update intel.mk

* Delete 992-enable-intel-guc.patch

* Update intel.mk
2022-08-31 01:31:55 +08:00
lean
471ed020e7 x86: enable intel idle driver on x64 2022-08-30 17:19:06 +08:00
lean
451fc0189f x86: load HuC firmware by default for Intel gen9+ 2022-08-30 16:25:01 +08:00
lean
40e3a3f754 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-08-30 15:38:56 +08:00
AmadeusGhost
1ccc3bfd54 ramips: mt7621: fixes dsa hnat support 2022-08-30 12:01:08 +08:00
?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?=
a28334d8b8 ramips: mt7621-dts: mux phy0/4 to gmac1
Mux the MT7530 switch's phy0/4 to the SoC's gmac1 on devices where RGMII2
pins are available. This achieves 2 Gbps total bandwidth to the CPU using
the second RGMII.

The ports called "wan" are muxed where possible. On a minority of devices,
this is not possible. Those cases:

mt7621_ampedwireless_ally-r1900k.dts: lan3
mt7621_ubnt_edgerouter-x.dts: eth0
mt7621_gnubee_gb-pc1.dts: ethblue
mt7621_linksys_re6500.dts: lan1
mt7621_netgear_wac104.dts: lan4
mt7621_tplink_eap235-wall-v1.dts: lan0
mt7621_tplink_eap615-wall-v1.dts: lan0
mt7621_ubnt_usw-flex.dts: lan1

The "wan" port is just what the vendor designated on the board/plastic
chasis of the device. On a technical level, there is no difference between
a lan and wan port on MT7621AT, MT7621DAT and MT7621ST SoCs. Prefer
connecting to WAN via the port described above for these devices to benefit
the feature brought with this patch.

mt7621_d-team_newifi-d2.dts cannot benefit this feature, although it looks
like it should, because the rgmii2 pins are wired to unused components.

Tested on a range of devices documented on the GitHub PR.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
2022-08-30 11:48:07 +08:00
Arınç ÜNAL
9483e6d8a9 ramips: mt7621-dts: do not claim rgmii2 group as gpio for certain devices
These devices do not use rgmii2 as gpio, therefore remove rgmii2 pin group
from state-default. Remove overwriting the ethernet node for these devices.

Move claiming the rgmii2 group from mt7621_zyxel_nwa-ax.dtsi to
mt7621_zyxel_nwa50ax.dts as it's only the latter using rgmii2 pins as gpio.

Remove duplicate ethernet overwrite from mt7621_tplink_archer-x6-v3.dtsi.

Claim rgmii2 group as gpio on mt7621_bolt_arion.dts as it uses an rgmii2
pin, 26, as gpio.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
2022-08-30 11:47:15 +08:00
Arınç ÜNAL
a9d71837e9 ramips: fix GB-PC1 and GB-PC2 device support
Change switch port labels to ethblack & ethblue.
Change lan1 & lan2 LEDs to ethblack_act & ethblue_act and fix GPIO pins.
Add the external phy with ethyellow label on the GB-PC2 devicetree.
Do not claim rgmii2 as gpio, it's used for ethernet with rgmii2 function.
Enable ICPlus PHY driver for IP1001 which GB-PC2 has got.
Update interface name and change netdev function.
Enable lzma compression to make up for the increased size of the kernel.
Make spi flash bindings on par with mainline Linux to fix read errors.

Tested on GB-PC2 by Petr.

Tested-by: Petr Louda <petr.louda@outlook.cz>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
2022-08-30 11:46:22 +08:00
David Bauer
29706161e3 ramips: fix missing NVMEM subsystem
MAC address retrieval was switched to more generic upstream (5.13) NVMEM
based solution in commit 06bb4a5018cd ("ramips: convert mtd-mac-address
to nvmem implementation") , but NVMEM subsystem wasn't enabled in the
kernel, so fix it now.

Fixes: 06bb4a5018cd ("ramips: convert mtd-mac-address to nvmem implementation")
Signed-off-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [commit message]
2022-08-30 11:45:06 +08:00
aakkll
1d2998c2ae kernel: bump 5.19 to 5.19.5 2022-08-30 11:42:30 +08:00
QiuSimons
3bb3b633eb
rockchip: fix kernel 5.10 build error (#10017) 2022-08-29 21:43:49 +08:00
Daniel Golle
0ef0d66cb9 kernel: enable inside secure driver for MediaTek platforms
Older MT7623 ARMv7 SoC as well as new Filogic platforms come with
inside-secure,safexcel-eip97 units. Enable them in DTS and select the
driver kernel module by default on those platforms.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:39:05 +08:00
Eneas U de Queiroz
3635ad2c08 mediatek: remove crypto-hw-mtk package
The MediaTek's Crypto Engine module is only available for mt7623, in
which case it is built into the kernel.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-08-29 11:38:47 +08:00
Felix Fietkau
d5b2eb6cdc mediatek: add filogic subtarget
Initially this covers MT7986 only, but it will later be expanded to cover other
Filogic branded platforms by MediaTek

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:36:06 +08:00
Sam Shih
a4478fb400 mediatek: add mt7986 soc support to the target
It will be supported by the new filogic subtarget

Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:35:05 +08:00
aodzip
3302e26e94 ramips/mt7621: Add HATLab GateBoard-One Support
Signed-off-by: Aodzip <aodzip@gmail.com>
Signed-off-by: AnYun <amadeus@openjmu.xyz>
2022-08-28 15:50:27 +08:00
Daniel Golle
ea9e965d33 kernel: add quirk for Huawei-compatible OEM SFP GE-T
Ignore TX_FAULT signal on certain cheap copper/TP gigabit Ethernet SFP
modules.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-28 10:54:23 +08:00
Vladimir Markovets
dded495ebf kernel: backport workaround for Realtek RTL8672 and RTL9601C chips
Adds support for GPON SFP modules based on the Realtek RTL8672 and
RTL9601C chips, including but not limited to:
* V-SOL V2801F
* C-Data FD511GX-RM0
* OPTON GP801R
* BAUDCOM BD-1234-SFM
* CPGOS03-0490 v2.0
* Ubiquiti U-Fiber Instant
* EXOT EGS1

Signed-off-by: Vladimir Markovets <abam_a@yahoo.com>
2022-08-28 10:53:54 +08:00
lean
685a4f1071 mfd: rk808: Add reboot support to rk808.c 2022-08-27 12:22:17 +08:00
lean
e6fbfd9404 rockchip: fix Firefly Station P2 sata support 2022-08-27 03:17:09 +08:00
lean
98318a2627 rockchip: add r66s vop support 2022-08-27 03:16:31 +08:00
lean
24d685c904 rockchip: fix r66s gpio-regulator error 2022-08-27 02:48:10 +08:00
lean
c9572764f3 kernel: fix linux 5.19 shortcut-sfe kernel panic issue 2022-08-27 02:06:24 +08:00
lean
93a9f06c4c rockchip: backport rk3568 support to kernel 5.15 from immortalwrt 2022-08-27 00:51:54 +08:00
benihi
6670876f72
kernel: 5.10: refresh all patches (#10005)
Rmove:
target/linux/ipq807x/patches-5.10/147-clk-ipq8074-defer-from-disabling-gcc_sleep_clk_src.patch
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/clk/qcom/gcc-ipq8074.c?h=v5.10.138&id=6b90ab952401bd6c1a321dcfc0e0df080f2bc905

Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-08-26 21:11:29 +08:00
benihi
3e87e5f41d
kernel: 5.15: fix bug in patch format (#10006)
Signed-off-by: José Hwong <josehwong@hotmail.com>

Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-08-26 21:09:32 +08:00
lovehackintosh
ec3a9bd8ac
kernel: bump 5.15 to 5.15.63 (#9999)
All patches automatically rebased.

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

Signed-off-by: John Audia <therealgraysky@proton.me>
Co-authored-by: John Audia <therealgraysky@proton.me>
2022-08-26 13:11:25 +08:00
lovehackintosh
c48c51cc37
kernel: bump 5.10 to 5.10.138 (#9998)
All patches automatically rebased.

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

Signed-off-by: John Audia <therealgraysky@proton.me>
Co-authored-by: John Audia <therealgraysky@proton.me>
2022-08-26 13:10:58 +08:00
aakkll
abd4c51b2e
kernel: bump 5.19 to 5.19.4 (#9995)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-08-25 22:23:31 +08:00
lovehackintosh
013282f696
kernel: bump 5.15 to 5.15.62 (#9994)
Runtime tested on turris-omnia and glinet-b1300.

Tested-by: John Audia <therealgraysky@proton.me> [bcm2711/RPi4B, mt7622/RT3200]
Signed-off-by: Petr Štetiar <ynezz@true.cz>

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Co-authored-by: Petr Štetiar <ynezz@true.cz>
2022-08-25 22:22:58 +08:00
lean
c5fdfb9edb rockchip: add sdhi pinctrl for nanopi5 2022-08-25 02:10:35 +08:00
benihi
cd264e8258
ipq807x: fixes build error and refresh 5.10 patches (#9991)
adjusted:
target/linux/ipq807x/patches-5.10/125-ipq8074-gcc-Added-support-for-NSS-clocks.patch
https://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/clk/qcom/gcc-ipq8074.c?h=v5.10.137&id=b28ebe7d2f10e5ca574be3d4188a744674e8e0d5
https://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/clk/qcom/gcc-ipq8074.c?h=v5.10.137&id=e2330494f0f8f168ae5bd17df01cb61363593c46

removed:
target/linux/ipq807x/patches-5.10/128-qcom-clk-ipq8074-fix-port-6-clock-issue-for-1G.patch
target/linux/ipq807x/patches-5.10/129-clk-qcom-ipq8074-Add-NSS-PORT-clocks-frequencies.patch
target/linux/ipq807x/patches-5.10/130-clk-qcom-ipq8074-change-freq-table-for-port5_tx_clk_.patch
https://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/clk/qcom/gcc-ipq8074.c?h=v5.10.137&id=b83af7b4ec1d1c54de7d7115c9e0b4c3d60fdc47

Signed-off-by: José Hwong <josehwong@hotmail.com>

Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-08-24 19:45:26 +08:00
lovehackintosh
8943750549
kernel: bump 5.10 to 5.10.137 (#9990)
All other patches automagically rebased.

Signed-off-by: Petr Štetiar <ynezz@true.cz>

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Co-authored-by: Petr Štetiar <ynezz@true.cz>
2022-08-24 13:20:32 +08:00
Christian Marangi
b42a41acbe ipq806x: add missing scaling_available_frequencies for dedicated cpufreq
Add missing scaling_available_frequencies sysfs entry for dedicated
cpufreq driver.
This sysfs entry is not standard and each cpufreq driver needs to
provide it and declare it in the cpufreq driver struct attr.

Fixes: 5dbbefcbccc0 ("ipq806x: introduce dedicated krait cpufreq")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-08-23 10:27:01 +08:00
aakkll
a36ce8009b
kernel: bump 5.19 to 5.19.3 (#9983)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-08-22 18:40:03 +08:00
QiuSimons
1d5b6faacf
cleanup: Remove upstreamed patch (#9982) 2022-08-22 15:15:09 +08:00
AmadeusGhost
89cea59694 rockchip: drop all ugly phy hack code
These junk code breaks other phy drivers, just remove it.
2022-08-21 15:18:14 +08:00
QiuSimons
db339677de
rockchip: add Radxa ROCK3 Model A dummy dts for build (#9972) 2022-08-21 13:48:32 +08:00
骷髅头
2a7ec01066
rockchip:supplement r5s missing symbols (#9975) 2022-08-21 13:48:16 +08:00
lean
d7e1c7befd rockchip: add Radxa ROCK3 Model A board support 2022-08-20 02:22:16 +08:00
lean
619e8ade0c linux-firmware: add RTL8811/8821CU firmware 2022-08-20 02:07:31 +08:00
lean
b889ab8789 rockchip: fix stmmc mdio with JLSEMI JL2XX1_PHY 2022-08-20 00:27:15 +08:00
lean
a4b74ce3fe x86: add XiaoMa M12 12th J6412/J6413 CPU with I226 support 2022-08-19 00:17:45 +08:00
benihi
4bb5934fee
kernel: 5.19: refresh patches (#9966)
Delete: target/linux/rockchip/patches-5.19/0039-drm-rockchip-vop-Don-t-crash-for-invalid-duplicate_s.patch [1]

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.19.y&id=4d8f078e12a8e038ffb9bbb91c5603d6b53ff532
2022-08-18 02:15:32 +08:00
lean
5c200342a7 kernel: bump 5.19 to 5.19.2 2022-08-17 23:21:20 +08:00
QiuSimons
8c6a57905b
rockchip: add NanoPi R5S dummy dts for build (#9961) 2022-08-17 22:37:33 +08:00
benihi
41f59a6c2e
kernel: modules: cleanup 5.18 (#9946) 2022-08-16 10:54:57 +08:00
lean
9a166932f3 mac80211: add rt2x00 5.19 kernel support 2022-08-15 02:36:59 +08:00
aakkll
347559c17a
kernel: refresh 5.19 patch (#9943)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-08-14 23:35:01 +08:00
aakkll
1c9fcd0a66
kernel: refresh 5.15 patch (#9944)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-08-14 23:33:10 +08:00
littoy
c2f62b1779
rockchip: set rockchip_setup_macs for NanoPi R5S
Co-authored-by: fishg <1423545+fishg@users.noreply.github.com>
2022-08-14 16:37:26 +08:00
coolsnowwolf
dd4bbf675c rockchip: add FriendlyElec NanoPi R5S support 2022-08-14 06:53:39 +00:00
coolsnowwolf
5ca4955cff kernel: remove linux 5.18 support 2022-08-13 09:48:21 +00:00
coolsnowwolf
e1a16f2718 rockchip: add dummy dts for build 2022-08-13 09:43:30 +00:00
coolsnowwolf
ae6810abe1 mac80211: fix brcm patch 5.15 support 2022-08-13 08:58:04 +00:00
coolsnowwolf
21b5bb211e x86: revert kmod-igb-intel to kmod-igb 2022-08-13 08:35:47 +00:00
coolsnowwolf
e9a10023af rockchip: adjust default DMA coherent_pool to 2MiB 2022-08-12 11:09:56 +00:00
coolsnowwolf
07c6d87fb0 rockchip: move dts to files folder 2022-08-12 10:52:13 +00:00
coolsnowwolf
601c972128 rockchip: reorder r66s/p2 eth ports 2022-08-12 02:38:46 +00:00
coolsnowwolf
0b6bc3b05b rockchip: add smp tune for fastrhino r66s 2022-08-12 02:33:42 +00:00
benihi
b17921cb77
ipq807x: add default packages about nss (#9920)
Add qca-nss-drv-bridge-mgr-64 and kmod-qca-nss-drv-vlan-mgr-64.
2022-08-12 09:06:39 +08:00
coolsnowwolf
59586a8354 rockchip: add kmod-ata-ahci-platform for Firefly Station P2 2022-08-11 15:08:59 +00:00
coolsnowwolf
3c1fb2f6a8 rockchip: disable UHS modes for R66S 2022-08-11 14:50:55 +00:00
coolsnowwolf
ac7310fe3c rockchip: fix NanoPi R4S soft-reboot on some SD card 2022-08-11 14:42:32 +00:00
coolsnowwolf
ac0d4f4edc rockchip: set initial signal voltage on power off 2022-08-11 14:37:45 +00:00
huangjf
3264f70ca0 rockchip: station-p2: reorder eth 2022-08-11 06:33:54 +00:00
huangjf
797a067e82 rockchip: add support for firefly station-p2 board 2022-08-11 06:33:26 +00:00
coolsnowwolf
f6c1512c10 target: add Amlogic S805 and S9xxx SoCs init support 2022-08-11 00:35:58 +00:00
coolsnowwolf
114bd4f332 uboot-rockchip: add fastrhino r66s support 2022-08-10 09:40:11 +00:00
breakings
17fea87fec
armvirt: copy config files from 5.10 (#9910)
* armvirt: copy config files from 5.10

Copy config files from 5.10.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>

* armvirt: refresh 5.15 config

This was done by executing these commands:
$ make kernel_oldconfig CONFIG_TARGET=subtarget
$ make kernel_oldconfig CONFIG_TARGET=subtarget_platform

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>

* armvirt: move common symbols from subtarget to target config

These new symbols are common for all subtargets and
can be moved into target config.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>

Co-authored-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-08-10 13:01:30 +08:00
breakings
bb83b78e9e
armvirt: refresh 5.10 config (#9908)
This was done by executing these commands:
$ make kernel_oldconfig CONFIG_TARGET=subtarget
$ make kernel_oldconfig CONFIG_TARGET=subtarget_platform

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>

Co-authored-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-08-10 13:01:12 +08:00
breakings
7d8ea657c6
armvirt: enable MMIO_CMDLINE_DEVICES for firecracker support (#9907)
This Kernel option allows to run OpenWrt witin a `firecracker` micro VM.

Firecracker is a KVM-based tool for superfast booting VMs on x86_64 and
aarch64. It makes rootfs available to the guest as a virtio-mmio device
and passes its address via the kernel cmdline. A kernel without
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES will not recognize the rootfs
virtio-mmio device.

Suggested-by: Packet Please <pktpls@systemli.org>
Signed-off-by: Paul Spooren <mail@aparcar.org>

Co-authored-by: Paul Spooren <mail@aparcar.org>
2022-08-10 13:00:47 +08:00
breakings
6d08efd7fa
armvirt: switch to Kernel 5.10 (#9906)
* armvirt: switch to Kernel 5.10

Armvirt is a development and testing platform and should therefore use
the latest OpenWrt Kernel by default.

Tested via qemu.

Acked-by: Rosen Penev <rosenp@gmail.com>
Acked-by: Yousong Zhou <yszhou4tech@gmail.com>

Signed-off-by: Paul Spooren <mail@aparcar.org>

* armvirt: add 5.15 as testing kernel

Add 5.15 as testing kernel.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>

Co-authored-by: Paul Spooren <mail@aparcar.org>
Co-authored-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-08-10 13:00:22 +08:00
coolsnowwolf
34c8edcddc rockchip: switch kernel version to 5.19 2022-08-10 04:21:00 +00:00
coolsnowwolf
595bf71b39 rockchip: add FastRhino R66S support in kernel 5.19 2022-08-10 04:19:14 +00:00
Reto Schneider
1463a9598f ramips: mt7628: fix memory controller reset bit
According to MediaTek MT7688 Datasheet v1.4, as well as the MT7628
counterpart, the memory controller reset bit (MC_RST) is 10, not 20.
Reset bit 20 is used for for UART 2 (UART2_RST).

Please note: Due to the lack of hardware, I was not able to test this
change.

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
2022-08-10 11:05:05 +08:00
Jiaxun Yang
665970a97d ramips: mt7530: Implement set_port_link
set_port_link is required by swconfig to setup link mode.
Here we implemented set_port_link by touching MII PHY registers.
For autoneg enabled case, we set advertise registers to let
autoneg reach the target mode and then retrigger autoneg. For
non autoneg case, we set BMCR register to force PHY enter
desired mode.

This patch have been tested on both MT7620 and MT7621.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2022-08-09 11:21:28 +08:00
Koen Vandeputte
9d7fe3f316 kernel: add missing 5.15 symbols
Found while testing various platforms

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2022-08-09 11:20:42 +08:00
coolsnowwolf
f1b4ddefd4 target: add silicon mk place holder 2022-08-08 10:16:13 +00:00
coolsnowwolf
8dbff7b4f8 uboot-rockchip: add rk3568 board support 2022-08-08 09:25:58 +00:00
coolsnowwolf
40548d8a95 phy: update RK3568 rockchip-snps-pcie3 fw when init 2022-08-08 02:53:04 +00:00
Petr Štetiar
17c7b4cbe0 generic: 5.15: disable CONFIG_DEBUG_INFO_REDUCED symbol
This came up during build testing of mvebu/cortexa9 target with 5.15
kernel.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-08-08 10:27:52 +08:00
coolsnowwolf
bbdcf9095c target: add Apple Silicon SoC platform (M1/M2) family init support 2022-08-07 03:58:27 +00:00
coolsnowwolf
960844ee21 x86: add kmod-i915-gvt package 2022-08-06 16:49:16 +00:00
coolsnowwolf
1ed3597b92 x86: add suuport for Intel gen 11/12/13th GPU GVT-g capability 2022-08-06 16:46:59 +00:00
aakkll
3c316115f9
kernel: bump 5.18 to 5.18.16 (#9892)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-08-06 00:23:26 +08:00
aakkll
dad62d5fb5
kernel: bump 5.15 to 5.15.59 (#9891)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-08-06 00:23:05 +08:00
aakkll
e99155a6e1
kernel: refresh 5.19 patch (#9890)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-08-06 00:22:41 +08:00
cuiyf5516
2e53ea6741
rockchip: 5.19: disable ntfs option (#9889) 2022-08-06 00:21:54 +08:00
coolsnowwolf
f861ce8a61 rockchip: refresh 5.19 patch 2022-08-05 06:38:54 +00:00
lean
766e12fcd5 rockchip: add kernel 5.19 support 2022-08-05 12:00:06 +08:00
lovehackintosh
cabbef2b4e
kernel: bump 5.10 to 5.10.135 (#9887)
All patches automatically rebased.

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

Co-authored-by: John Audia <therealgraysky@proton.me>
2022-08-05 11:19:25 +08:00
lean
785fe8dbb8 x86: fix 5.19 modules.mk 2022-08-05 00:36:00 +08:00
lean
962a1027cc x86: switch test kernel to 5.19 2022-08-04 21:11:02 +08:00
lean
94f7c18695 linux: fix 5.19 patch build error 2022-08-04 19:19:25 +08:00
lean
b5da81b795 kernel: update 5.19 new hashsum dl 2022-08-01 19:02:08 +08:00
lean
de2e28cdc5 kernel: add linux 5.19 stable release support 2022-08-01 15:55:28 +08:00
cuiyf5516
1202e11678
rockchip: 5.18: diable ntfs option (#9875)
Fixes: #9872
2022-08-01 09:59:06 +08:00
Beginner
a735627a66
kernel: bump 5.10 to 5.10.134 (#9868)
All patches automatically rebased.

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

Co-authored-by: John Audia <therealgraysky@proton.me>
2022-07-31 13:25:41 +08:00
aakkll
d8e34160b8
kernel: bump 5.18 to 5.18.15 (#9859)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-30 10:17:58 +08:00
aakkll
25ff31a63c
kernel: bump 5.15 to 5.15.58 (#9860)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-30 10:17:48 +08:00
Christian Lamparter
005c491b27 ipq806x: Archer VR2600: fix switch ports numbering
The order of LAN ports shown in Luci is reversed compared to what is
written on the case of the device.  Fix the order so that they match.

Fixes: #10275
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-07-29 10:10:36 +08:00
benihi
94306d3827
ramips: 5.4: fix build error (#9849)
- modify "mt7621_nand.c" newlines to "LF"

- add "mt7621_nand.c" patches for kernel 5.4
2022-07-28 13:46:25 +08:00
lovehackintosh
70bf186a84
ramips: 5.4: fixes nand patches (#9848)
Fixes: #9847
2022-07-28 10:05:40 +08:00
lovehackintosh
7ad9516bf1
kernel: bump 5.10 to 5.10.133 (#9845) 2022-07-27 23:51:57 +08:00
lovehackintosh
d677e6a664
ramips: move mt7621_nand driver to files and sync with upstream (#9844) 2022-07-27 23:51:19 +08:00
AmadeusGhost
3211a973de rockchip: drop most ugly hack code
Delete these ugly hack code until someone who
make money with this don't be so perfunctory.
2022-07-25 10:57:31 +08:00
Martin Blumenstingl
2dff07154d generic: 5.15: Disable more config symbols
These came up while trying to build the lantiq target with Linux 5.15.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
2022-07-25 10:09:27 +08:00
骷髅头
eb3ebc4fc0
rockchip:add doornet2 lpddr4 4gb (#9817)
* 添加DN2 LPDDR4 4GB

* 添加DN2 LPDDR4 4GB

* rockchip: Complement missing configuration for other kernels

Co-authored-by: hejiawencc <hjw0415@outlook.com>
2022-07-24 15:43:55 +08:00
aakkll
d43bee457c
kernel: bump 5.18 to 5.18.14 (#9823)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-23 23:40:03 +08:00
aakkll
4ad9acd2f0
kernel: bump 5.15 to 5.15.57 (#9824)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-23 23:39:52 +08:00
aakkll
8852b7bb51
kernel: bump 5.15 to 5.15.56 (#9816)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-22 18:13:08 +08:00
aakkll
bb63dd2d5b
kernel: bump 5.18 to 5.18.13 (#9818)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-22 18:12:53 +08:00
lean
7af074fd1d Revert "uboot-rockchip:doornet2 detaches from evb rk (#9812)"
This reverts commit cdad02d028.
2022-07-21 16:58:40 +08:00
骷髅头
cdad02d028
uboot-rockchip:doornet2 detaches from evb rk (#9812)
* add CONFIG_TARGET_DOORNET2_RK3399=y

* uboot-rockchip:doornet2 out of evb rk patch

* uboot-rockchip:cancel doornet2 to use rkbin

* Update armv8.mk

* rockchip:add  kernel5.15 rk3399-nanopi-r4se.dts

* rockchip:add kernel 5.18 rk3399-nanopi-r4se
2022-07-21 16:12:52 +08:00
lean
ebfa1b93b7 generic: fix swconfig_leds.c in 5.18 2022-07-21 15:10:56 +08:00
lovehackintosh
340fe78011
kernel: bump 5.10 to 5.10.131 (#9807) 2022-07-21 10:00:21 +08:00
José Hwong
9053b90d40
kernel: backport upstream mtk_eth_soc patches (#9809)
* kernel: move mtk flow offload patches to backport-5.15

They were accepted upstream

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* kernel: backport upstream mtk_eth_soc patches

Includes MT7986 ethernet support

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2022-07-21 09:45:51 +08:00
Rafał Miłecki
f1b8180c5a kernel: switch back 5.15 to fw_devlink=permissive
Kernel switching to fw_devlink=on as default broke probing some devices.
Revert it until we get a proper fix.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-07-20 17:47:48 +08:00
Christian Lamparter
9f1069a59d sdk: add spidev-test to the bundle of userspace sources
moves and extends the current facilities, which have been
added some time ago for the the usbip utility, to support
more utilites that are shipped with the Linux kernel tree
to the SDK.

this allows to drop all the hand-waving and code for
failed previous attempts to mitigate the SDK build failures.

Fixes: bdaaf66e28bd ("utils/spidev_test: build package directly from Linux")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-07-20 17:42:22 +08:00
Felix Fietkau
14f31f2a2b kernel: backport mtk wlan flow offloading fix
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-07-20 17:41:06 +08:00
lean
c5f12bf7aa rockchip: add crypto-hw-rockchip drivers for RK3328/RK3399 2022-07-18 13:27:05 +08:00
lean
4348784a58 rockchip: switch to kernel 5.18 2022-07-18 11:37:26 +08:00
骷髅头
b506b2ae67
rockchip: fix rk3399 pppoe error in kernel 5.18 2022-07-16 17:28:21 +08:00
aakkll
47cdfb8b61
kernel: bump 5.15 to 5.15.55 (#9764)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-16 17:26:33 +08:00
Christian Marangi
7ab29b6797 generic: fix warning orphan section from module exports in aarch64
kernel linux now have 2 different export.h include, one from
linux/export.h and one from asm-generic/export.h

While most of our target user linux/export.h, aarch64 based target use
asm-generic/export.h that is not patched with the changes of
221-module_exports.

Patch also this additional header to fix multiple

aarch64-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/arm64/kernel/head.o' being placed in section `__ksymtab_strings'

warning during kernel compilation.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-07-15 10:04:32 +08:00
Florian Eckert
799f57e650 target/linux/pending-5.15: rename patches
The consecutive number 483 is assigned twice.
This change fixes this.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-07-15 10:02:50 +08:00
Piotr Dymacz
466b3cd2be generic: 5.15: add missing symbols
These were found during work on new device support under the
imx/cortexa7 target.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-07-15 09:57:06 +08:00
骷髅头
43e6cd5592
Update rk3328-nanopi-r2c.dts (#9756) 2022-07-14 21:46:49 +08:00
lean
e66a94a8d8 rockchip: refresh Kconfig 2022-07-14 00:41:52 +08:00
aakkll
e22356ad36
kernel: bump 5.15 to 5.15.54 (#9749) 2022-07-14 00:16:41 +08:00
aakkll
c73b2f4e4c
kernel: 5.18: refresh patches (#9748) 2022-07-14 00:16:30 +08:00
lean
30db07f4f4 rockchip: add luci-app-diskman packpage by default 2022-07-12 22:51:09 +08:00
lean
53686de196 uboot-rockchip: add support for FriendlyElec NanoPi R4SE emmc boot 2022-07-12 22:46:00 +08:00
lean
006ac00cf4 rockchip: add support for FriendlyElec NanoPi R4SE with 32GB emmc 2022-07-12 21:06:43 +08:00
lean
faf4476659 kernel: Make QMI Helpers user selectable in 5.18 2022-07-12 18:54:05 +08:00
lean
61cc2108f4 x86: resolve kmod-igb 2022-07-12 01:11:37 +08:00
lean
cffd2740e8 x86: use kmod-igb-intel from vendor 2022-07-11 18:54:57 +08:00
骷髅头
6c814308f5
rockchip: fix motorcomm-yt85xx phys in kernel 5.18
* rockchip:fix motorcomm-yt85xx+phys

* Rename 278-add-driver-for-Motorcomm-YT85xx+PHYs.patch to 258-add-driver-for-Motorcomm-YT85xx+PHYs.patch
2022-07-11 17:55:09 +08:00
lean
b8a02059f4 ramips: disable MT7621 overclock 2022-07-11 17:17:23 +08:00
lean
75cb0e6495 rockchip: add RK3568 bootscript 2022-07-11 17:12:48 +08:00
AmadeusGhost
2a7c05f0d4 ipq40xx: improve support for AC1200
This commit introduces various fixes for it.
Also renamed this device to avoid confusion.
2022-07-11 12:08:49 +08:00
lean
53951abdef kernel: 5.18: refresh patches 2022-07-10 17:49:04 +08:00
lean
31dacf9899 ramips: fix wifi issue with hnatv1 2022-07-10 15:48:26 +08:00
骷髅头
a46ef13742
rockchip:update 5.18 clk patch (#9724)
* Add files via upload

* Update 900-arm-boot-add-dts-files.patch

* Create rk3399-nanopi4-opp.dtsi

* Create 992-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-NanoPi4.patch

* Rename 992-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-NanoPi4.patch to 901-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-NanoPi4.patch

* Update 901-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-NanoPi4.patch

* Create 902-arm64-dts-rockchip-add-more-cpu-operating-points-for.patch

* Add files via upload

* Update config-5.18

* Add files via upload

* Update rk3328-doornet1.dts

* Update rk3328-orangepi-r1-plus-lts.dts
2022-07-09 18:11:50 +08:00
骷髅头
0952fcbcd8
rockchip:add-kernel5.18-rk3399-overclock-to-2.2-1.8-GHz (#9722)
* Add files via upload

* Update 900-arm-boot-add-dts-files.patch

* Create rk3399-nanopi4-opp.dtsi

* Create 992-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-NanoPi4.patch

* Rename 992-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-NanoPi4.patch to 901-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-NanoPi4.patch

* Update 901-rockchip-rk3399-overclock-to-2.2-1.8-GHz-for-NanoPi4.patch
2022-07-09 16:19:47 +08:00
lean
f847ef6a20 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-07-09 13:19:12 +08:00
lean
6182b802e9 rockchip: add RK35xx target description 2022-07-09 13:19:05 +08:00
骷髅头
691504ff4b
rockchip:supplement 5.18 to compile other devices normally (#9718)
* Add files via upload

* Update 900-arm-boot-add-dts-files.patch
2022-07-09 13:00:17 +08:00
lean
1553dbd7cc rockchip: add dts boot files patch for kernel 5.18 2022-07-09 12:03:55 +08:00
lean
4bdaa1567e rockchip: refresh dts files 2022-07-09 11:16:17 +08:00
aakkll
54ed3a93f8
kernel: bump 5.15 to 5.15.53 (#9715)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-09 02:43:26 +08:00
lean
57af03bad2 rockchip: add RK3568 support in kernel 5.18 2022-07-09 02:39:39 +08:00
aakkll
bb92ec6dfc
kernel: 5.18: refresh patches (#9714)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-07-09 01:05:05 +08:00
lean
b98a711f82 x86: bnx2x 2.5G SGMII patch for 5.18 2022-07-09 01:03:00 +08:00
lean
9adb995019 kernel: port dma buf for kernel 5.18 DRM support 2022-07-08 22:28:07 +08:00
lean
4865875187 r8168: add kernel 5.18 support 2022-07-08 20:28:09 +08:00
lean
71124f92a6 r8125: add kernel 5.18 support 2022-07-08 19:51:58 +08:00
lean
519e147e76 kernel: add linux 5.18 support for x86/x64 2022-07-08 19:21:32 +08:00
lean
b01b487f95 ramips: disabled whnat as workaround 2022-07-08 15:59:41 +08:00
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
lean
9fdd43d6ed generic: 5.15: revert sysctl_no_window_check 2022-06-04 00:16:27 +08:00
Felix Fietkau
5264273007 kernel: fix crashes in bridge offload code
- fix an issues when accessing the port pointer of an expired/invalid fdb entry

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-06-03 12:26:55 +08:00
Christian 'Ansuel' Marangi
de633a7ab0 generic: 5.15: fix panic on tcp_no_window_check set with interface up
The current reworked version cause kernel panic when the value is changes and
an interface is up. Following the tcp_be_liberal impelementation,
reimplement this to permit a safe change of this value without any
panic.
This has been tested with a QSDK package where tcp_no_window_check is used.

Fixes: 92fb51bc9881 ("generic: 5.15: standardize tcp_no_window_check pending patch")
Signed-off-by: Christian 'Ansuel' Marangi <ansuelsmth@gmail.com>
2022-06-03 12:25:42 +08:00
lean
2a33e979c8 kernel: fix kernel 5.15 FLOWOFFLOAD patch 2022-06-02 11:00:35 +08:00
lean
2b57a426cb kernel: backport flow offload fixes 2022-05-31 23:00:41 +08:00
lean
434154fd97 Revert "Revert "kernel: bump 5.15 to 5.15.43 (#9440)""
This reverts commit 6c2e9050b4.
2022-05-31 22:58:09 +08:00
lean
89547e1fce Revert "Revert "kernel: bump 5.15 to 5.15.42 (#9439)""
This reverts commit cdc5007358.
2022-05-31 22:57:58 +08:00
Arınç ÜNAL
bcfcad5a03 ramips: mt7621-dts: add pinctrl properties for ethernet
Add the missing pinctrl properties on the ethernet node.
GMAC1 will start working with this change.

Link: https://lore.kernel.org/netdev/83a35aa3-6cb8-2bc4-2ff4-64278bbcd8c8@arinc9.com/

Overwrite pinctrl-0 property without rgmii2_pins on devicetrees which use
the rgmii2 pins as GPIO (22 - 33).

Give gpio function to rgmii2 pin group on mt7621_tplink_archer-x6-v3.dtsi
which uses GPIO 28.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
[Rebase to current source code]
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2022-05-30 00:05:18 +08:00
Arınç ÜNAL
5478c9ba40 ramips: mt7621-dts: enable flow control on port@6
Flow control needs to be enabled on both sides to work.
It is already enabled on gmac0, enable it on port@6 too.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Tested-by: Sungbo Eo <mans0n@gorani.run>
2022-05-30 00:03:09 +08:00
Arınç ÜNAL
1f58a419c3 ramips: mt7621-dts: fix switch@1f warnings
Remove reg property from ports node to fix this warning:

Warning (unit_address_vs_reg): /ethernet@1e100000/mdio-bus/switch@1f/ports: node has a reg or ranges property, but no unit name

Another warning surfaces afterwards. Remove #address-cells and #size-cells
from switch@1f node to fix this warning:

Warning (avoid_unnecessary_addr_size): /ethernet@1e100000/mdio-bus/switch@1f: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
2022-05-30 00:02:50 +08:00
Sergio Paracuellos
3db20586a2 ramips: mt7621-dts: properly organize pcie node
Device tree pcie node for this SoC is using different
styles in its different properties. Hence properly
unify them to be able to write a a proper yaml schema
documentation.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210505121736.6459-11-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-29 23:56:15 +08:00
Sergio Paracuellos
140eb0f99a ramips: mt7621-dts: add missing device_type in pcie root ports
According to the YAML schema 'pci-bus.yaml' the 'device_type'
property is mandatory for all pcie root ports. Hence add it.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210506170742.28196-3-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-29 23:56:01 +08:00
Sergio Paracuellos
436cfda73b ramips: mt7621-dts: remove 'bug-range' property
Property 'bus-range' when values are the default are
not necessary to be defined. Hence, remove all of them.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210506170742.28196-2-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-29 23:55:37 +08:00
Sergio Paracuellos
16f0b2d843 ramips: mt7621-dts: use standard 'syscon' string
Both 'memc' and 'sysc' nodes are not using 'syscon'
as a node string which is the standard one to be used.
Update both of them.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210505132154.8263-3-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-29 23:55:21 +08:00
Sergio Paracuellos
4ec4b8e5e0 ramips: mt7621-dts: properly define 'cpc' and 'mc' nodes
'cpc' and 'mc' nodes correspond with the MIPS 'Cluster Power Controller'
and 'MIPS Common Device Memory Map' which are present in some MIPS related
boards. There is already bindings documentation for these two located in:
- Documentation/devicetree/bindings/power/mti,mips-cpc.yaml
- Documentation/devicetree/bindings/bus/mti,mips-cdmm.yaml

Hence, properly update compatible strings and align nodes with already
mainlined bindings documentation. Also, move their definition to a proper
place since both of them are not related with the palmbus at all.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20211002060706.30511-1-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-29 23:55:06 +08:00
Sergio Paracuellos
8fe4b3ad8d ramips: mt7621-dts: change some node hex addresses to lower case
Hexadecimal addresses in device tree must be defined using lower case.
There are some of them that are still in upper case. Change them all.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20211017070656.12654-2-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-29 23:54:48 +08:00
Sergio Paracuellos
78cbbce7b6 ramips: mt7621-dts: make use of 'IRQ_TYPE_LEVEL_HIGH' instead of magic numbers
Nodes 'gdma' and 'hsdma' are using magic number '4' in interrupts property.
Use 'IRQ_TYPE_LEVEL_HIGH' instead to align with the rest of the nodes in
the file.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20211019102915.15409-2-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-29 23:54:34 +08:00
lean
cdc5007358 Revert "kernel: bump 5.15 to 5.15.42 (#9439)"
This reverts commit b5cdd73cb4.
2022-05-26 17:12:07 +08:00
lean
6c2e9050b4 Revert "kernel: bump 5.15 to 5.15.43 (#9440)"
This reverts commit d4cadadb49.
2022-05-26 17:11:57 +08:00
aakkll
d4cadadb49
kernel: bump 5.15 to 5.15.43 (#9440)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-05-26 01:06:43 +08:00
aakkll
b5cdd73cb4
kernel: bump 5.15 to 5.15.42 (#9439)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-05-25 22:03:53 +08:00
AmadeusGhost
d5dc513703 ramips: newifi-d2: fix default internet led 2022-05-24 15:23:12 +08:00
TonyTeng22
4132115fc2
kirkwood: add support for Surfilter Net110 88F6281 (#9433) 2022-05-24 11:10:56 +08:00
José Hwong
1d13f2881c
kernel: bump 5.10 to 5.10.117 (#9419)
Remove:
target/linux/generic/backport-5.10/890-v5.19-net-sfp-Add-tx-fault-workaround-for-Huawei-MA5671A-SFP-ON.patch [1]
target/linux/generic/backport-5.10/900-regulator-consumer-Add-missing-stubs-to-regulator-co.patch [2]

[1] 3abbfac1ab
[2] a71658c7db

Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-05-23 15:27:10 +08:00
aakkll
1787300141
kernel: bump 5.15 to 5.15.41 (#9412)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-05-20 13:20:52 +08:00
José Hwong
bc45671c00
kernel: bump 5.4 to 5.4.195 (#9408)
* kernel: bump 5.4 to 5.4.194

Signed-off-by: José Hwong <josehwong@hotmail.com>

* kernel: bump 5.4 to 5.4.195

Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-05-19 12:36:33 +08:00
Beginner
6c6f4d159f
kernel: Add missing devm_regulator_get_exclusive() (#9411)
This backports a patch from Linux 5.10.116 to fix a compile problem
introduced in 5.10.114.

drivers/usb/phy/phy-generic.c could not find
devm_regulator_get_exclusive().

Fixes: #9410
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-05-19 10:09:52 +08:00
Beginner
bbabd70e44
kernel: bump 5.10 to 5.10.115 (#9405)
* kernel: bump 5.10 to 5.10.114

All patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

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

* kernel: bump 5.10 to 5.10.115

Removed upstreamed:
  backport-5.10/850-v5.17-0004-PCI-aardvark-Clear-all-MSIs-at-setup.patch
  pending-5.10/850-0002-PCI-aardvark-Fix-reading-MSI-interrupt-number.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B

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

Co-authored-by: John Audia <therealgraysky@proton.me>
2022-05-18 14:28:29 +08:00
aakkll
664d5cee72
kernel: bump 5.15 to 5.15.40 (#9399)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-05-17 19:19:39 +08:00
José Hwong
ad67dcb784
kernel: bump 5.4 to 5.4.193 (#9393)
Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-05-16 01:41:30 +08:00
aakkll
a7446d2806
kernel: bump 5.15 to 5.15.39 (#9389)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-05-13 14:28:19 +08:00
José Hwong
0b8b34215f
kernel: bump 5.4 to 5.4.192 (#9386)
Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-05-11 12:38:55 +08:00
aakkll
3516c9aa8a
kernel: bump 5.15 to 5.15.38 (#9378)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-05-09 22:25:14 +08:00
AmadeusGhost
6a5775c5cd ipq806x: rac2v1a: fixes button does not work issue 2022-05-09 16:35:25 +08:00
AmadeusGhost
5f75284ecd Revert "rockchip: add subtarget rk356x init support"
This reverts commit bbfc031f1c.
This part is identical to armv8 generic, remove redundant code.
2022-05-09 16:29:32 +08:00
José Hwong
77625481a6
ipq807x: refresh 5.10 patches (#9376)
Remove target/linux/ipq807x/patches-5.10/100-clk-qcom-ipq8074-fix-PCI-E-clock-oops.patch
2022-05-08 23:50:19 +08:00
lean
59f95e73bc rockchip: add rk356x.mk 2022-05-06 21:08:14 +08:00
Robert Marko
5943c67afc kernel: 5.15: add missing symbol
CONFIG_QCOM_SPMI_ADC_TM5 gets uncovered while building IPQ40xx with 5.15.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
2022-05-06 20:27:38 +08:00
lean
bbfc031f1c rockchip: add subtarget rk356x init support 2022-05-06 18:07:24 +08:00
Beginner
4ddd124ec8
kernel: bump 5.10 to 5.10.113 (#9341)
All patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-05-05 01:03:34 +08:00
lean
71632794c1 kernel: fix Huawei MA5671A tx-fault with a Marvell mv88e6085 switch 2022-05-05 01:03:03 +08:00
José Hwong
d5622e3534
kernel: bump 5.4 to 5.4.191 (#9329)
Signed-off-by: José Hwong <88561480+JoseCoW@users.noreply.github.com>
2022-04-29 22:56:09 +08:00
aakkll
28faa95120
kernel: bump 5.15 to 5.15.36 (#9325)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-04-29 22:55:38 +08:00
Beginner
ce2fb409e0
kernel: bump 5.10 to 5.10.112 (#9311)
* kernel: x86: remove an upstreamed patch

012-pcengines-apu2-detect-apuv4-board.patch is upstream since Linux 5.5 [1].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.5&id=3d00da1de3ea36ba44f4a7ba76c8c8b16f98204b

Acked-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.112

Manually rebased:
  ath79/patches-5.10/901-phy-mdio-bitbang-prevent-rescheduling-during-command.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
Co-authored-by: John Audia <graysky@archlinux.us>
2022-04-25 19:18:22 +08:00
lean
ca4dc08690 mtk-eip93: fix build with kernel 5.15 2022-04-25 18:57:38 +08:00
lean
cb609bce6c ramips: Xiaomi Mi Router 4A Gigabit Edition boot issue 2022-04-21 23:29:02 +08:00
José Hwong
07fa9114d6
kernel: bump 5.4 to 5.4.190 (#9287)
* kernel: bump 5.4 to 5.4.189

Signed-off-by: José Hwong <88561480+JoseCoW@users.noreply.github.com>

* kernel: bump 5.4 to 5.4.190

Signed-off-by: José Hwong <88561480+JoseCoW@users.noreply.github.com>
2022-04-21 22:41:18 +08:00
lean
6a7ad84644 ipq807x: fix QNAP 301w 10G phy autneg at boot 2022-04-21 02:16:41 +08:00
aakkll
0bfab825ab
kernel: bump 5.15 to 5.15.35 (#9282)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-04-20 19:46:36 +08:00
Beginner
c015f9b542
kernel: bump 5.10 to 5.10.111 (#9259)
Removed upstreamed:
  pending-5.10/850-0003-PCI-aardvark-Fix-support-for-MSI-interrupts.patch
  apm821xx/patches-5.10/150-ata-sata_dwc_460ex-Fix-crash-due-to-OOB-write.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-04-17 13:21:27 +08:00
aakkll
ad34521be6
kernel: bump 5.15 to 5.15.34 (#9252)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-04-14 20:38:40 +08:00
Eneas U de Queiroz
940200d607 mediatek/mt7622: enable accelerated crypto drivers
Use ARMv8 Crypto Extensions for AES, ghash and sha256.

This results in a 16 times speed gain in speed for aes-128-ctr, 17x in
aes-128-gcm, and 9 times in sha256.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-04-13 16:45:47 +08:00
lean
863f34aa0e kernel : 5.10: backport NFSv4_2 SSC helper commit 2022-04-13 16:38:51 +08:00
lean
7226b23eab kernel:refresh debloat dma buf patch for linux 5.10 2022-04-13 16:34:33 +08:00
lean
6f4e5befda Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-04-12 12:59:09 +08:00
lean
d39dbc33c3 mt7622: fix pppoe hw flow offload 2022-04-12 12:59:02 +08:00
José Hwong
aa3f8bc738
kernel-5.10: fix offset and fuzz for patches (#9238)
Fixed "generic" and "ipq807x" sections.

Signed-off-by: José Hwong <88561480+JoseCoW@users.noreply.github.com>
2022-04-12 11:24:00 +08:00
lean
8c0824b971 generic: backport wireless ethernet dispatch for kernel 5.4 2022-04-12 11:20:07 +08:00
lean
cff9b8fc73 ramips: fix hwnat WED 2022-04-11 15:53:18 +08:00
aakkll
7b72c0d67d
kernel: bump 5.15 to 5.15.33 (#9224)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-04-11 14:35:37 +08:00
lean
cc057b5fb7 ipq807x : Add NSS bridge-mgr support 2022-04-11 13:54:55 +08:00
lean
db580cfe63 ipq807x: refresh 5.10 patches 2022-04-11 13:00:44 +08:00
lean
f93cd5e516 mediatek: use wpad-openssl replace of wolfssl version 2022-04-11 12:49:24 +08:00
lean
aa0101a649 kernel: bump 5.10 to 5.10.110 2022-04-11 12:47:31 +08:00
lean
4ae5d37ca1 mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-04-11 11:58:21 +08:00
lean
a5f299d925 Revert "kernel: bump 5.10 to 5.10.110 (#9214)"
This reverts commit 4d545eaed7.
2022-04-10 16:32:25 +08:00
lean
d31af3b114 Revert "kernel: bump 5.15 to 5.15.33 (#9215)"
This reverts commit 26844a297a.
2022-04-10 16:31:49 +08:00
Beginner
26844a297a
kernel: bump 5.15 to 5.15.33 (#9215)
Deleted (upstreamed):
generic/backport-5.15/350-v5.18-MIPS-pgalloc-fix-memory-leak-caused-by-pgd_free.patch [1]
generic/backport-5.15/730-v5.16-hv-utils-add-PTP_1588_CLOCK-to-Kconfig-to-fix-build.patch [2]
generic/pending-5.15/850-0014-PCI-aardvark-Fix-reading-PCI_EXP_RTSTA_PME-bit-on-em.patch [3]
generic/pending-5.15/850-0002-PCI-aardvark-Fix-reading-MSI-interrupt-number.patch [4]

Manually rebased:
generic/pending-5.15/850-0002-PCI-aardvark-Fix-reading-MSI-interrupt-number.patch
ramips/patches-5.15/710-at803x.patch

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.33&id=d29cda15cab086d82d692de016f7249545d4b6b4
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.33&id=d5aad7d63b1b5c1f3c4b69e12c05e7c7d196fae8
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.33&id=ed750e22e44366e264bcdf7b1cf0713f08f7980a
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.33&id=0fe94b84c43cfea867e1721606185e8686d7d32f

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
[Refresh patches again]
[Remove generic/pending-5.15/850-0002-PCI-aardvark-Fix-reading-MSI-interrupt-number.patch]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-04-10 14:49:00 +08:00
Beginner
4d545eaed7
kernel: bump 5.10 to 5.10.110 (#9214)
Removed upstreamed:
  generic/backport-5.10/350-v5.18-MIPS-pgalloc-fix-memory-leak-caused-by-pgd_free.patch
  generic/pending-5.10/850-0014-PCI-aardvark-Fix-reading-PCI_EXP_RTSTA_PME-bit-on-em.patch
  ipq40xx/patches-5.10/105-ipq40xx-fix-sleep-clock.patch

All patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200
Compile-/run-tested: ath79/generic (Archer C7 v2).

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-04-10 14:48:51 +08:00
Junle Fong
847a60f53b
mediatek: add kernel 5.10 missing patch
* update config-5.4 for ramips > mt76x8.

update kernel config file.

* mediatek: fix patches
2022-04-07 23:37:19 +08:00
zhouF96
98eeb48d70
Add basic support for TL-XTR10890 (#9202)
* kernel: add module for  bcm574xx 575xx serials

kernel: add module for bnxt_en Linux driver for the 
Broadcom NetXtreme-C/NetXtreme-E 
BCM573xx, BCM574xx, BCM575xx, NetXtreme-S BCM5880x
(up to 200 Gbps) Ethernet Network Controllers and Broadcom Nitro
BCM58700 4-port 1/2.5/10 Gbps Ethernet Network Controller.

* reapply bcm578xx sfp 2.5g patch

* add basic tplink-xtr10890 support

* update 10890dts and add to platform.sh

* update 10890 dts to try boot qcn9074

* revert qca-ssdk to original version
2022-04-07 22:49:43 +08:00
lean
72a2df6a81 mhi: Add support for forced PM resume 2022-04-07 19:01:10 +08:00
lean
d7780d7360 mhi: use irq_flags if controller driver configures it 2022-04-07 18:38:21 +08:00
lean
89e39d8809 toolchain: add llvm-bpf 2022-04-07 01:01:05 +08:00
Chen Yijun
956d8303f3
Add Support for HLK-7621 Router Designed By Me (#9194)
* add support for hilink_hlk-7621a

* add dts of mt7621_hilink_hlk-7621a
2022-04-05 22:38:50 +08:00
lean
be8077f517 ipq807x: fix wireless reload after reboot 2022-04-04 00:01:44 +08:00
lean
8f2b0b86b1 netifd: bump to version 2022-02-20 2022-04-03 19:12:12 +08:00
lean
b8c337abe5 ath79: add kernel 5.15 support 2022-04-03 13:34:55 +08:00
lean
91d301c03b mediatek: add kernel 5.15 support 2022-04-03 13:29:14 +08:00
lean
6135e15ba4 ramips: add kernel 5.15 support 2022-04-03 13:27:24 +08:00
lean
e449c765d6 kernel: refresh 5.15 patches and config 2022-04-03 13:03:13 +08:00
lean
6482d2270c backport-5.15: refresh patches 2022-04-03 12:44:52 +08:00
lean
ba1f8c931c kernel: export symbol dev_set_threaded 2022-04-03 00:16:52 +08:00
lean
e368d184b3 Version update to R22.4.1 2022-04-02 21:35:05 +08:00
Liam Luo
a77cc5f1ed
ipq806x: Norton 518: fix interface definition (#9171) 2022-04-02 01:15:55 +08:00
lean
624a9f9703 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-03-31 17:50:41 +08:00
lean
80799ea19e ramips/mediatek: enable threaded NAPI in the ethernet driver 2022-03-31 17:50:26 +08:00
Beginner
19a9562040
kernel: bump 5.10 to 5.10.109 (#9162)
All patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-03-31 16:48:20 +08:00
JoseCoW
6371d6313d
kernel: bump 5.4 to 5.4.188 (#9159)
Signed-off-by: JoseCoW <88561480+JoseCoW@users.noreply.github.com>
2022-03-31 13:33:25 +08:00
AmadeusGhost
2297f089da ramips: fixes ethernet driver build error
Fixes: #9153
2022-03-30 20:18:09 +08:00
Daniel Golle
065be5b18a kirkwood: import patch to fix build and refresh patches
kirkwood build broke due to missing include needed for ETH_ALEN.
Add patch (sent upstream as well) to address that.
Refresh patches for 5.4 and 5.10.

Fixes: #9154, #9155

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-03-30 20:15:18 +08:00
Ansuel Smith
7a7f9d647d treewide: backport support for nvmem on non platform devices 2022-03-30 00:33:40 +08:00
AmadeusGhost
fd9fd12bc2 generic/5.15: remove unused patches
Closed: #8669
2022-03-29 15:08:59 +08:00
lean
f1252b9a5b ath79: disable ARRIS SBR-AC1750 GPIO-Watchdog 2022-03-25 15:19:14 +08:00
lean
aa422c5375 ramips/mediatek: enable threaded NAPI in the ethernet driver 2022-03-24 14:22:05 +08:00
aakkll
3755e9c978
kernel: bump 5.10 to 5.10.108 (#9122)
Patches automatically rebased.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-03-24 01:00:46 +08:00
JoseCoW
84b3c270d3
kernel: bump 5.4 to 5.4.187 (#9121)
Signed-off-by: JoseCoW <88561480+JoseCoW@users.noreply.github.com>
2022-03-24 01:00:37 +08:00
aakkll
a3f70fd357
kernel: bump 5.15 to 5.15.31 (#9118)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-03-23 22:07:46 +08:00
Beginner
c0491fe7aa
kernel: bump 5.10 to 5.10.107 (#9105)
All patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-03-21 14:10:43 +08:00
JoseCoW
c672ca8ab3
kernel: bump 5.4 to 5.4.186 (#9107)
Signed-off-by: JoseCoW <88561480+JoseCoW@users.noreply.github.com>
2022-03-21 11:16:37 +08:00
Beginner
0525218347
kernel: bump 5.15 to 5.15.30 (#9100)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
2022-03-20 13:01:34 +08:00