Commit Graph

1695 Commits

Author SHA1 Message Date
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