Commit Graph

5002 Commits

Author SHA1 Message Date
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
lean
56bbba703c ethtool: update to 5.19 2022-09-07 14:11:06 +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
6bdfad193b linux-firmware: rtl8821: renamed to rtl8821ce
Described as the hardware it supports.
2022-09-05 23:25:03 +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
mefer
7f1871672f tools: xxd: fix source URL
No working http, only https
2022-09-03 11:41:12 +08:00
Ivan Pavlov
baa5741a53 wolfssl: bump to 5.5.0
Remove upstreamed: 101-update-sp_rand_prime-s-preprocessor-gating-to-match.patch

Some low severity vulnerabilities fixed
OpenVPN compatibility fixed (broken in 5.4.0)
Other fixes && improvements

Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
2022-09-03 11:28:03 +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
046cf2c8f7 arm-trusted-firmware-mediatek: update to sources of 2022-08-31
Drop downstream patches which have been replaced with equivalent
upstream changes.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-03 11:23:45 +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
Josef Schlehofer
b18bb3efbf kernel: fix typo for tegra crypto-sha1 module
Fixes: e889489bedfd2830411bd0cf6564b8272aa9c254 ("kernel: build
arm/neon-optimized sha1/512 modules")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-09-02 11:58:38 +08:00
padavanonly
b8588061ba ramips: mt7621: fix transparent proxy issue 2022-09-02 11:57:27 +08:00
AmadeusGhost
a083aab5ef uboot-rockchip: fixes rk3328 build error
Fixes: #10037, #10038
2022-09-02 11:53:45 +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
lean
780869012b uboot-rockchip: add support for firefly station-p2 board 2022-09-02 01:40:40 +08:00
lean
4860a8b285 Update README.md 2022-09-02 01:31:43 +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
3e0b3b94e6 update README.md 2022-09-01 18:46:55 +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
lean
3226f7cfab Version update to R22.9.1 2022-09-01 14:31:09 +08:00
lean
bd241073fd update README.md 2022-09-01 14:04:39 +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
c9dfab16d3 uboot-rockchip: don't hardcore USB_OHCI_NEW options
This will only make things complicated.
2022-09-01 11:51:00 +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
Hyy2001X
bf98ce65fe
linux-firmware: fix Intel GUC firmware support for N5105/N6005 (#10027)
N5105/6005 的 GUC 最新固件应为 ehl_guc_70.1.1.bin
root@OpenWrt[x86_64]:~# dmesg | grep i915
[   15.782124] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/icl_dmc_ver1_09.bin (v1.9)
[   15.807568] i915 0000:00:02.0: [drm] GuC firmware i915/ehl_guc_70.1.1.bin version 70.1
[   15.808411] i915 0000:00:02.0: [drm] HuC firmware i915/ehl_huc_9.0.0.bin version 9.0
[   15.824779] i915 0000:00:02.0: [drm] HuC authenticated
[   15.825842] i915 0000:00:02.0: [drm] GuC submission enabled
[   15.826473] i915 0000:00:02.0: [drm] GuC SLPC disabled
[   15.842051] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[   15.955659] fbcon: i915drmfb (fb0) is primary device
[   15.995663] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
2022-08-31 20:15:18 +08:00
lean
bcc2e4ab19 linux-firmware: add Intel GUC firmware support for N5105/N6005 2022-08-31 01:46:53 +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