Commit Graph

2869 Commits

Author SHA1 Message Date
coolsnowwolf
8311a3f316 generic: add more switch port link speed nested attributes 2025-02-17 16:59:22 +08:00
Felix Fietkau
81419528c1 kernel: backport MHI patch required by an upcoming mac80211 update
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-02-16 16:22:39 +08:00
coolsnowwolf
0631178b1e ipq-wifi: rename jdcloud ax6600 to re-cs-02 2025-02-16 11:33:57 +08:00
coolsnowwolf
58b8d3234a qualcommax: ipq807x: add support for Zbtlink Z800AX 2025-02-15 22:10:25 +08:00
Mieczyslaw Nalewaj
8730dc18a4 kernel: rtl8367: detect rtl8367d chip family
Detect the RTL8367D chip family and set the appropriate extif

Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-14 20:26:16 +08:00
Luiz Angelo Daros de Luca
0263cb3835 kernel: netdevices: add realtek DSA modules
Uses upstream DSA switch modules (rtl8365mb, rtl8366), similar to
RTL8367C and rtl8366rb swconfig drivers.

The package dependencies exclude targets built without kernel CONFIG_OF.

It also fixes the rtl8366rb LED support.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-14 20:10:08 +08:00
coolsnowwolf
bf665a29b2 qualcommax: ipq50xx: add CMCC RAX3000Q support 2025-02-13 18:17:57 +08:00
coolsnowwolf
9dc66796d5 qualcommax: ipq50xx : temporarily disable tcsr_q6_block 2025-02-13 16:48:41 +08:00
coolsnowwolf
36fac63d85 qualcommax: 6.6: add ipq60xx pwm support 2025-02-12 16:26:00 +08:00
aiamadeus
84c08cc0c4 ipq60xx: replace cpufreq with latest series 2025-02-11 22:09:01 +08:00
Robert Marko
f8b9349cb8 qualcommax: move generic image recipes target
These recipes are generic and will be used for other subtargets, so lets
move them to the target Makefile so they can reused.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-09 17:38:10 +08:00
Robert Marko
719b7258f6 qualcommax: replace SPINAND to latest series
Replace the existing SPI NAND controller patches with the latest v14
set that is pending upstream, and include Ansuels patch that fixes it.

Bindings patch is removed as there is no point carrying it in OpenWrt.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-09 17:06:02 +08:00
Christian Marangi
d5b41ff34f generic: move Qcom SNAND driver to backports
Add patch to fix Qcom SNAND driver and move the SNAND patches to
backports directory as they are shared between qualcommax and qualcommbe
target.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-09 17:00:16 +08:00
coolsnowwolf
b45bbd008a qualcommax: add nss support for linux 6.6 2025-02-08 20:02:10 +08:00
aiamadeus
b9e8fb3049 qualcommax: fixes Aliyun AP8220 support 2025-02-08 18:18:03 +08:00
coolsnowwolf
922b9fd73b qualcommax: sync ipq50xx with upstream 2025-02-07 12:04:28 +08:00
coolsnowwolf
111e93f75d kernel: bump 6.x to latest HEAD 2025-02-06 19:40:05 +08:00
Daniel Golle
8858bea842 generic: net: phy: realtek: various improvements
Follow the advise of Russell King allows to greatly improve the driver
for RealTek's 1G and 2.5G Ethernet PHYs. The results are full/half
duplex as well as Gbit master/slave property being read from PHY
Specific Status Register (PHYSR), and fixes regarding link-partner
advertisement.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-02-05 18:30:03 +08:00
Daniel Golle
3b3ed936ec generic: net: phy: mxl-gpy: add support for PHY LEDs
Add driver support for PHY LEDs for MaxLinear/Intel GPY Ethernet PHYs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-02-03 23:02:26 +08:00
Daniel Golle
5c7361ebdc generic: net: phy: intel-way: add support for PHY LEDs
Add driver support for PHY LEDs for MaxLinear/Intel/Lantiq XWAY
Ethernet PHYs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-02-03 23:00:09 +08:00
Daniel Golle
82a54c3179 generic: net: phy: use all SerDes MAC interface modes
Instead of forcing 2.5G PHYs into rate-adapter mode which results higher
energy consumption, lack of support for half-duplex modes and typically
worse performance when linked at speeds less than 2.5G, use SGMII mode
which allows the MAC to follow the PHY speed.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-02-02 23:40:02 +08:00
coolsnowwolf
62329a55f8 qualcommax: ipq807x: improve support for Aliyun AP8220 2025-01-31 23:00:09 +08:00
coolsnowwolf
c14fe39288 qualcommbe: ipq95xx: add qualcomm wifi7 be target support 2025-01-31 16:17:05 +08:00
coolsnowwolf
f4a80a4ce1 filogic: fixes huasifei wh3000 led 2025-01-30 12:40:16 +08:00
aiamadeus
424c43cafd rockchip: add MangoPi M28C support 2025-01-28 23:01:25 +08:00
coolsnowwolf
a6b29fbae9 generic: fix linux 6.12 build 2025-01-24 23:00:16 +08:00
coolsnowwolf
89624f51bc kernel: bump 6.12 to 6.12.10 2025-01-23 02:43:23 +08:00
kcro227
b2cdb3a102
mediatek: add for cmcc xr30 support 2025-01-19 23:20:10 +08:00
Willem Lee
c2a9a0cfec
ath79: add support for Zte E8820 2025-01-16 20:02:01 +08:00
coolsnowwolf
d2bbf8b912 generic: add missing kconfig 2025-01-14 22:20:28 +08:00
Kien Truong
80ccee5b7e rockchip: disable all kernel preemption
This setting is more suitable for device running OpenWRT.
Most OpenWRT targets are already default to this configuration,
and it has shown better performance in VPN (wireguard).

Signed-off-by: Kien Truong <duckientruong@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-01-12 22:20:09 +08:00
Christian Marangi
eda8bc8395 generic: backport BLOCK OF support patch
Backport BLOCK OF support patch merged upstream and refresh pending
BLOCK patches.

This is a new way to declare partition table for BLOCK device (eMMC
currently supported) with the use of DTS.

Current pending patch are adapted to not cause regression with current
downstream implementation of a similar functionality.

Also enable the new OF_PARTITION config by default.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-01-10 20:30:02 +08:00
Daniel Golle
d3002da4e5 mediatek: update MediaTek PHY patchset
The previous iteration of MediaTek's PHY patches caused various weird bugs.
Drop culprit patch 733-10-net-phy-mediatek-Extend-1G-TX-RX-link-pulse-time.patch
and use the most recent iteration of the patchset which has been posted to the
netdev mailing list.

Link: https://patchwork.kernel.org/project/netdevbpf/list/?series=895513&state=*
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-01-08 21:16:28 +08:00
Daniel Golle
77c3d74088 mediatek: apply pending PHY driver fixes
Apply changes suggested by SkyLake Huang for pending series improving
MediaTek Ethernet PHY drivers.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-01-08 21:10:16 +08:00
aiamadeus
330cb1ea52 rockchip: sync upstream fixes 2025-01-06 18:28:06 +08:00
coolsnowwolf
ccb92beeda ramips: adapted cevt-r4k irq patches
Fixes: #13251
2025-01-03 20:06:08 +08:00
coolsnowwolf
f2815ef000 ramips: add support for Huasifei WHF283 2024-12-28 18:00:10 +08:00
coolsnowwolf
817dfb5381 filogic: add support for HUASIFEI WH3000 2024-12-28 17:50:06 +08:00
Beginner
1fcb93df27
kernel: bump 6.6 to 6.6.67 (#13239) 2024-12-27 15:01:04 +08:00
Beginner
abac351b33
kernel: refresh 6.1 patches (#13240) 2024-12-27 10:30:06 +08:00
Beginner
6d2364bf77
kernel: refresh 6.12 patches (#13238) 2024-12-27 10:00:36 +08:00
David Bauer
aeac24fb69 net: phy: broadcom: update dependency condition
The broadcom PHY driver only has to depend upon PTP_1588_CLOCK_OPTIONAL
if NETWORK_PHY_TIMESTAMPING is enabled. The PTP functionality is stubbed
in this case.

Reflect this circumstance in the dependence condition. This allows to
build the driver as a built-in module even if PTP is built as a module.

This is required to include the broadcom PHY module regardless of the
built-setting of the PTP subsystem. On ath79 (and probably more)
targets with Broadcom PHY, Gigabit operation is currently broken as the
PHY driver is only built as a module in case all kernel-packages are
built. Due to this circumstance, affected devices fall back to using the
generic PHY driver.

Signed-off-by: David Bauer <mail@david-bauer.net>
2024-12-25 22:01:02 +08:00
Marco von Rosenberg
b20c1bceba generic: fix BCM54612E ethernet backport patch
This backport patch inserted suspend/resume callbacks
for the wrong PHY driver.

Signed-off-by: Marco von Rosenberg <marcovr@selfnet.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-12-24 22:36:03 +08:00
coolsnowwolf
7953c94b31 kernel: kstrtox: revert strtobool() in linux 6.12 2024-12-23 13:39:14 +08:00
aiamadeus
3790f4f134 kernel: fixes some modules build on 6.12
Fixes: #13224
2024-12-22 19:20:38 +08:00
aiamadeus
47cfbf7d9b generic: add missing kconfig for kernel 6.x 2024-12-21 23:00:29 +08:00
coolsnowwolf
b49e92a28c default-settings: also including english lang po 2024-12-20 18:56:19 +08:00
coolsnowwolf
d6c6378869 rockchip: add 6.12 testing kernel support 2024-12-20 16:00:04 +08:00
coolsnowwolf
f0424787f1 rockchip: kernel 6.12: add rk3576 soc support 2024-12-19 22:20:09 +08:00
coolsnowwolf
37330800b4 rockchip: add ondemand cpu freq gov as default 2024-12-19 15:45:57 +08:00
coolsnowwolf
d5fc5fc430 kernel: bump 5.15 to 5.15.174 2024-12-18 22:11:53 +08:00
coolsnowwolf
cab2ab7d58 kernel: bump 5.10 to 5.10.231 2024-12-18 13:06:41 +08:00
coolsnowwolf
af0a4aa4a4 rockchip: update rk3399 soc support 2024-12-17 21:40:15 +08:00
coolsnowwolf
927e1b695c generic: 6.12: fixes broken patches 2024-12-17 21:36:05 +08:00
Beginner
23d466fba0
kernel: bump 6.6 to 6.6.66 (#13214) 2024-12-16 20:30:22 +08:00
Beginner
b7305e23ef
kernel: bump 6.1 to 6.1.120 (#13215) 2024-12-16 16:00:10 +08:00
coolsnowwolf
0a3cb8e16a ramips: add setmac and getmac scripts 2024-12-16 11:21:10 +08:00
Beginner
4fb48d3e6f
kernel: bump 6.12 to 6.12.5 (#13216) 2024-12-16 10:00:16 +08:00
Bohdan Chubuk
d6318bba0f generic: mtd: spinand: add support for F35SQA001G
Add support for FORESEE F35SQA001G SPI NAND.

Similar to F35SQA002G, but differs in capacity.
Datasheet:
  -  https://cdn.ozdisan.com/ETicaret_Dosya/704795_871495.pdf

Tested on Xiaomi AX3000T flashed with OpenWRT.

Signed-off-by: Bohdan Chubuk <chbgdn@gmail.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-12-14 22:40:08 +08:00
Bohdan Chubuk
79545017e8 generic: mtd: spinand: add support for F35SQA002G
Add support for FORESEE F35SQA002G SPI NAND.
Datasheet:
  https://www.longsys.com/uploads/LM-00006FORESEEF35SQA002GDatasheet_1650183701.pdf

Refresh all affected patch with make target/linux/refresh.

Signed-off-by: Bohdan Chubuk <chbgdn@gmail.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-12-14 22:35:30 +08:00
aiamadeus
764b5a63d1 mediatek: add u-boot mod version for Cudy TR3000 2024-12-13 21:20:15 +08:00
Jianyu Zhuang
23a4c1fb90 mediatek: filogic: add support for Tenbay WR3000K
Tenbay WR3000K is an 802.11ax (Wi-Fi 6) router, based on MediaTek MT7981B.

- SoC: MetiaTek MT7981B
- RAM: Hynex H5TQ2G863GFR 512MiB
- Flash: Winbond W25N01GVZEIG 128MiB
- Wi-Fi: MediaTek MT7976C (2.4GHz/5GHz, 802.11ax, 2x2 MIMO, AX3000)
- MediaTek MT7915E: 2.4GHz and 5GHz
- Ethernet: 1x 10/100/1000 Mbps WAN + 3x 10/100/1000 Mbps LAN
- Switch: MediaTek MT7531AE
- UART: J4 (115200 baud)
- LEDs: Power
- Buttons: Reset, WPS
- PWR: 12V/1A DC, 5.5×2.1 connector

Signed-off-by: Jianyu Zhuang <xzjianyu@gmail.com>
2024-12-13 21:01:20 +08:00
Oleg S
21eb7bf2ae mediatek: expand kernel size to 6MiB for Xiaomi AX6S
Expand kernel partition size on Xiaomi AX6S for the kernel larger than
4 MiB. Manual upgrade from OpenWRT to new OpenWRT:

cd /tmp
dd if=factory.bin bs=1M count=4 | mtd write - kernel
dd if=factory.bin bs=1M skip=4 count=2 | mtd write - ubi
dd if=factory.bin bs=1M skip=6  | mtd -p 2097152 write - ubi

Signed-off-by: Oleg S <remittor@gmail.com>
2024-12-12 21:18:25 +08:00
Luis Mita
41e0c30d82 mediatek: add Cudy TR3000 v1 support
Hardware:
 - SoC: MediaTek MT7981B
 - CPU: 2x 1.3 GHz Cortex-A53
 - Flash: 128 MiB SPI NAND
 - RAM: 512 MiB
 - WLAN: 2.4 GHz, 5 GHz (MediaTek MT7976CN, 802.11ax)
 - Ethernet: 1x 10/100/1000/2500 Mbps WAN, 1x10/100/1000 Mbps LAN
 - USB 3.0 port
 - Buttons: 1 Reset button, 1 slider button
 - LEDs: 1x Red, 1x White
 - Serial console: internal test points, 115200 8n1
 - Power: 5 VDC, 3 A

Installation:
The installation must be done via TFTP by disassembling the router.
On other occasions Cudy has distributed intermediate firmware to make
installation easier, and so I recommend checking the Wiki for this
device if there is a more convenient solution than the one below.

To install using TFTP:
1. Connect to UART.
2. With the router off, press the RESET button. While the router is turning
   on, the button should continue to be pressed for at least 5 seconds.
3. A u-boot shell will automatically open.
4. Connect to LAN and set your IP to 192.168.1.88/24. Configure a
   TFTP server and an OpenWrt initramfs-kernel.bin firmware file.
5. Run these steps in u-boot using the name of your file.

setenv bootfile initramfs-kernel.bin
tftpboot
bootm

6. If you can reach LuCI or SSH now, just use the sysupgrade image
   with the 'Keep settings' option turned off.

Signed-off-by: Luis Mita <luis@luismita.com>
2024-12-10 17:30:36 +08:00
Beginner
da0bc37b19
kernel: bump 6.6 to 6.6.64 (#13195) 2024-12-10 10:10:12 +08:00
Beginner
e66ffaf37c
kernel: bump 6.1 to 6.1.119 (#13185) 2024-12-08 16:01:09 +08:00
Beginner
fd9b9cc78b
kernel: refresh 6.6 patches (#13179) 2024-12-07 15:13:57 +08:00
Beginner
d83ce75e31
kernel: refresh 6.12 patches (#13178) 2024-12-07 10:56:20 +08:00
coolsnowwolf
007d406efc rockchip: refine fan speed for mmbox anas3035 2024-11-29 18:31:31 +08:00
Daniel Golle
efce6b6392 generic: 6.6: update block nvmem patchset
While discussions are still ongoing, update the block NVMEM provider
patchset to the level submitted upstream to allow testing and validation.

Link: https://patchwork.kernel.org/project/linux-block/list/?series=875202
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-11-27 22:01:05 +08:00
Álvaro Fernández Rojas
446d071896 generic: backport upstream r8169 patches
These patches have been added in linux v6.12 release.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-11-27 21:40:20 +08:00
John Audia
4d0b9caf5f kernel: bump 6.6 to 6.6.63 (#16997)
Manually rebased:
	bcm27xx/patches-6.6/950-0297-staging-vchiq_arm-Add-36-bit-address-support.patch

All other patches automatically rebased. Fix: #13121

Signed-off-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-11-25 18:16:27 +08:00
aiamadeus
3d32cf1756 rockchip: fixes rk3588 usb3 init issue 2024-11-24 22:30:05 +08:00
coolsnowwolf
0a6ea7cfbf rockchip: add support for MMBOX ANAS3035 2024-11-23 01:02:34 +08:00
coolsnowwolf
030f6f6ec6 rockchip: enable support for disk led trigger 2024-11-23 01:00:37 +08:00
coolsnowwolf
fd656efbc3 kernel: bump 6.6 to 6.6.63 2024-11-23 00:31:00 +08:00
coolsnowwolf
85d99596b4 generic: fix netfilter xtables NFLOG and MARK not load on IPv4 on linux 6.6 2024-11-22 23:57:01 +08:00
coolsnowwolf
26cc6f2a46 ipq807x: add Arcadyan AW1000 support 2024-11-22 21:59:04 +08:00
coolsnowwolf
0c80cdd186 rockchip: add ArmSoM Sige5 (RK3576, 8 Cores) board support 2024-11-22 12:50:27 +08:00
coolsnowwolf
ab8cac3519 rockchip: backport upstream rk3576 support for kernel 6.6 2024-11-22 10:57:43 +08:00
coolsnowwolf
6b5e1a552f x86: add kconfig for linux 6.12 2024-11-21 14:25:25 +08:00
coolsnowwolf
53e61ac527 kernel: add linux kernel 6.12 support 2024-11-21 13:16:25 +08:00
coolsnowwolf
418c887452 generic: sync genlmsg_mcast patch with upstream with kernel 6.6.59+ 2024-11-21 12:10:10 +08:00
aiamadeus
c74ed3282c rockchip: add HINLINK H29K CPE Board 2024-11-20 22:26:09 +08:00
coolsnowwolf
44ac9994fe rockchip: add NanoPi R2C Plus support 2024-11-19 12:30:32 +08:00
coolsnowwolf
bafb6af955 rockchip: move nanopi r2s plus dts to common dts files 2024-11-19 12:14:25 +08:00
coolsnowwolf
d72ea8c7b6 ramips: mt7621: fix Huasifei MT7621 DTU led status 2024-11-19 11:10:10 +08:00
coolsnowwolf
54aae07290 rockchip: Add support for FriendlyElec NanoPi R2S Plus 2024-11-18 22:09:35 +08:00
coolsnowwolf
655367c488 rockchip: add Radxa ROCK 5A support 2024-11-18 21:56:45 +08:00
coolsnowwolf
b743ccd20c kernel: bump 5.15 to 5.15.173 2024-11-18 15:13:42 +08:00
coolsnowwolf
0004a5c57f kernel: bump 6.6 to 6.6.62 2024-11-18 14:52:26 +08:00
coolsnowwolf
bdc94f7fd2 kernel: bump 6.1 to 6.1.117 2024-11-18 00:31:56 +08:00
coolsnowwolf
20b3f20e53 kernel: bump 6.6 to 6.6.61 2024-11-17 23:23:59 +08:00
Patryk Kowalczyk
4a7dd142ff filogic: add support for ASUS TUF AX6000
Hardware
========
SOC: MediaTek MT7986
RAM: 512MB DDR3
FLASH: 256MB SPI-NAND
WIFI: Mediatek MT7986 DBDC 802.11ax 2.4/5 GHz 4T4R
ETH: MediaTek MT7530 Switch (LAN)
MaxLinear GPY211C 2.5 N-Base-T PHY (WAN)
MaxLinear GPY211C 2.5 N-Base-T PHY (LAN)
UART: 3V3 115200 8N1 (Do not connect VCC)
USB 3.1

Signed-off-by: Patryk Kowalczyk <patryk@kowalczyk.ws>
2024-11-17 21:01:20 +08:00
coolsnowwolf
8a28dd39d4 ipq60xx: add alt name to JDCloud routers 2024-11-17 16:16:06 +08:00
=?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?=
94c4c1331a bcm27xx: switch default kernel to 6.6
Update default kernel version to 6.6 for the Raspberry Pi devices.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-11-17 16:06:03 +08:00
coolsnowwolf
0c5fee5ec2 mediatek: add BananaPi BPi-R3 mini 2024-11-16 18:20:10 +08:00
John Audia
44a23972ec kernel: bump 6.6 to 6.6.60
All other patches automatically rebased.

Signed-off-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Nick Hainke <vincent@systemli.org>
2024-11-15 16:40:05 +08:00
Beginner
eba03073ab kernel: bump 6.6 to 6.6.59 2024-11-15 16:18:19 +08:00
asushugo
dd5c39cbab qualcommax: ipq60xx: add support for JDCloud RE-CS-07 2024-11-11 05:22:04 +00:00