Commit Graph

747 Commits

Author SHA1 Message Date
Oskari Lemmela
42d626f8d8 kernel: netdevices: add leds support
Compile LED support to swconfig and phy modules

Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-09-26 23:27:17 +08:00
Oskari Lemmela
d51d4477e3 kernel: netdevices: add phy modules
Add support for building multiple phy drivers as kernel modules

Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-09-26 23:25:22 +08:00
Oskari Lemmela
6ca5e85514 kernel: modules: add irq support for pca953x
Enable interrupt controller support for PCA953x kernel module

Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-09-26 23:21:06 +08:00
coolsnowwolf
a75453bbc9 rtw88-usb: fix rtw8703b build with kernel 6.6+ 2024-09-25 15:39:42 +08:00
aiamadeus
3aad94cd07 r8125/r8126: conflicts with rss 2024-09-16 23:30:30 +08:00
coolsnowwolf
0736e2feec x86: add support for iKOOLCORE R2 Max 2024-09-03 23:28:18 +08:00
Florian Eckert
68828f1f80 kernel: usb: remove deprecated option
The Kconfig option 'CONFIG_USB_XHCI_HCD_DEBUGGING' has been removed with the
following commit upstream in the Linux kernel.

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b2497509df002e9a09c8550cd0ecd2f77c9640d8

This Kconfig option is therefore no longer valid for the kernel version
5.4 and could be removed.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-09-02 23:01:08 +08:00
Daniel Pawlik
2fdd47aff0 mt76: Add firmware files into mt7925 package
The firmware binaries were missing in kmod-mt7925-firmware package.
There was a typo done for mt7925e and mt7925u in the KernelPackage
definitions, which caused the system to load the wrong kernel modules.

Signed-off-by: Daniel Pawlik <pawlik.dan@gmail.com>
2024-08-27 21:30:15 +08:00
=?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?=
68ec0da1d5 package: add kmod-r8126 ethernet driver
r8126 is an out of tree driver provided by Realtek for RTL8126 devices.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[Refresh our patch, disable aspm]
Signed-off-by: AnYun <amadeus@openjmu.xyz>
2024-08-21 20:53:10 +08:00
=?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?=
b53ecbb75a package: add kmod-r8125 ethernet driver
r8125 is an out of tree driver provided by Realtek for RTL8125 devices.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[Refresh our patch, disable aspm]
Signed-off-by: AnYun <amadeus@openjmu.xyz>
2024-08-21 20:50:16 +08:00
=?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?=
0061cb8a1f package: add kmod-r8168 ethernet driver
r8168 is an out of tree driver provided by Realtek for RTL8168 devices.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[Refresh our patch]
Signed-off-by: AnYun <amadeus@openjmu.xyz>
2024-08-21 20:40:21 +08:00
=?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?=
1ba4b04f46 package: add kmod-r8101 ethernet driver
r8101 is an out of tree driver provided by Realtek for RTL8101 devices.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-08-21 20:28:36 +08:00
Mieczyslaw Nalewaj
9cb68c2e60 kernel: 6.6: modules: lan743x: add missing dependency
Fix error: Package kmod-lan743x is missing dependencies
for the following libraries: fixed_phy.ko

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
2024-08-10 23:16:08 +08:00
Marek Behún
2c6595fa43 gpio-button-hotplug: add vendor button
Handle the KEY_VENDOR key in gpio-button-hotplug driver.
This is used by Turris Omnia.

Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-08-04 23:35:33 +08:00
coolsnowwolf
576235b0f1 phy-aquantia: fix build with 6.1.100+ 2024-08-01 11:29:55 +08:00
Álvaro Fernández Rojas
31c0baa4db generic: 6.6: backport upstream r8169 patches
Backport a bunch of upstream r8169 patches:
- RTL8168/RTL8101 LEDs support.
- RTL8126A support.
- RTL8125/RTL8126 LEDs support.
- RTL8168M support.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-08-01 11:25:50 +08:00
XIE Zhibang
f252f21b3d netfilter: kmod-nft-netdev: add egress support
The netdev egress hook was added in Linux kernel 5.16.

Signed-off-by: XIE Zhibang <Yeking@Red54.com>
2024-07-28 23:36:04 +08:00
coolsnowwolf
150b745250 mt76: fixes build for older kernel
Fixes: #12343
2024-07-22 20:35:30 +08:00
John Audia
f316dcb0a4 modules: change package definition for fb
This commit accomplishes three goals:
1. bump 6.6 to 6.6.33
2. kernel: modules: video: change package definition for fb for
   upstream changes[1]
3. kernel/multiple subtargets: add CONFIG_FB_IOMEM_FOPS=y to all
   subtargets which also set CONFIG_FB_CORE=y.

Fixes: #12344
Tested-by: Stijn Segers <foss@volatilesystems.org>
Signed-off-by: John Audia <therealgraysky@proton.me>
2024-07-21 22:16:03 +08:00
coolsnowwolf
665cedd251 mt76: fixes build error for mt7925
Fixes: #12328
2024-07-13 23:02:08 +08:00
coolsnowwolf
983de37cf8 mt76: update to Git HEAD (2024-05-17) 2024-07-04 13:36:18 +08:00
coolsnowwolf
0397de1060 mt76: add MediaTek MT7996 (PCIe) support 2024-07-03 14:34:32 +08:00
coolsnowwolf
3a5a4986fa mac80211: Add EHT UL MU-MIMO flag in ieee80211_bss_conf 2024-07-03 14:27:19 +08:00
coolsnowwolf
5d1aadf436 mt76: update to Git HEAD (2024-04-19) 2024-07-03 13:42:54 +08:00
coolsnowwolf
e5017ff7ca mt76: fix linux kernel 6.1 support for mediatek 2024-07-02 15:58:53 +08:00
coolsnowwolf
03835617b9 cryptodev-linux: fix build with linux-5.10.220+ 2024-07-01 22:41:46 +08:00
coolsnowwolf
6924a18f35 mt76: add linux kernel 6.6 support for mediatek 2024-06-30 11:12:58 +08:00
Hauke Mehrtens
258e84d30d kernel: Add CONFIG_FB_DEVICE to kmod-fb
At least kmod-fb-tft depends on CONFIG_FB_DEVICE
and can not be activated without it.

This configuration option was added with kernel 6.6,
before this featre was always activated.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-05-31 22:22:30 +08:00
Antonio Flores
77a790bd2d kernel: add kmod-ata-ahci-dwc
Add kmod-ata-ahci-dwc for the rockchip target.

33629d3509

Signed-off-by: Antonio Flores <antflores627@gmail.com>
2024-05-06 14:35:13 +08:00
coolsnowwolf
6e604e9875 amlogic: add mesongx Phicomm N1 support 2024-05-06 05:53:58 +08:00
coolsnowwolf
80fdc8951d
kernel: modules: jitterentropy_rng requires SHA3 support for kernel 6.1.87+ 2024-04-28 00:07:57 +08:00
aiamadeus
1216535698 rtw88-usb: update to latest git HEAD 2024-04-18 22:16:40 +08:00
aiamadeus
7a4a98ec71 kernel: modules: sync upstream fixes 2024-04-16 21:28:54 +08:00
coolsnowwolf
5966985c19 kernel: modules: netdevices: adapt for loongarch64 2024-04-14 22:54:30 +08:00
Weijie Gao
0983191cb6 gpio-button-hotplug: fix linux 6.2 build failure
devm_gpiod_get_from_of_node() was removed since linux 6.2.
devm_fwnode_gpiod_get() is the recommended replacement.

Signed-off-by: Weijie Gao <hackpascal@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-08 19:28:28 +08:00
Daniel Golle
0273ba389f kernel: modules: package driver for MediaTek T7xx PCIe 5G modem
Build and package driver for MediaTek PCIe 5G WWAN modem T7xx device
available in Linux 6.1 and 6.6 as kmod-mtk-t7xx.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-04-06 19:32:35 +08:00
coolsnowwolf
722f169265 kernel: crypto: fix geniv build as a separate module for 5.4 2024-03-15 03:19:19 +08:00
coolsnowwolf
6f205863c1 modules: fixes build for x86 platform 2024-03-13 16:03:53 +08:00
aiamadeus
58147ef0f6 kernel/modules: sync from upstream source 2024-03-13 10:26:08 +08:00
coolsnowwolf
85291c2a25 kernel: modules: remove dsmark support
Fixes: #11952
2024-03-06 23:18:53 +08:00
coolsnowwolf
4de28071b2 Revert "kernel: dsmark support in kernel 5.4/5.10"
This reverts commit 6c3044be09.
2024-03-05 18:09:02 +08:00
coolsnowwolf
6c3044be09 kernel: dsmark support in kernel 5.4/5.10 2024-03-04 12:41:42 +08:00
Hauke Mehrtens
4e9456453d kernel: Remove dsmark support
dsmark support was removed in kernel 5.15.150 and 6.1.80.
Remove it from the kmod package as well.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-03-04 10:36:28 +08:00
coolsnowwolf
08ebc6e104 kernel: add support for mem2mem devices 2024-02-28 22:06:42 +08:00
coolsnowwolf
a61217134d kmod-crypto-sha512: fix kernel 6.6 support 2024-02-21 14:41:41 +08:00
Daniel Golle
d1f7b7d26d kernel: modules: package MT7986 audio drivers
Packages the audio drivers for the MediaTek MT7986 SoC used with
Wolfson WM8960 codec.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-01 22:19:58 +08:00
Daniel Golle
e930707404 kernel: modules: break-out WM8960 codec module
Package codec module for WM8960 in its own package to be used by more
than one target.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-01 22:15:16 +08:00
aiamadeus
2843c0b911 gpio-button-hotplug: fix probe failed 2024-01-31 11:20:35 +08:00
coolsnowwolf
cabbb92abd mac80211: ath11k: add ipq60xx support 2024-01-29 21:50:11 +08:00
coolsnowwolf
8bad26fbd3 package: support qualcommax target 2024-01-29 21:30:23 +08:00
coolsnowwolf
87b840818c mt76: add linux kernel 6.6 support 2024-01-26 17:58:35 +08:00
coolsnowwolf
14e928eeaf modules: fix usb-net support for kernel 6.6 2024-01-25 20:29:27 +08:00
coolsnowwolf
e7298575b9 modules: fix nfs and ksmbd build with kernel 6.6 2024-01-25 20:17:05 +08:00
coolsnowwolf
6022ecc6bc modules: fix nls.mk support for linux 6.6 2024-01-25 20:00:54 +08:00
coolsnowwolf
9745339664 x86: add linux kernel 6.6 support 2024-01-25 12:02:56 +08:00
CheWei Chien
64ed808de5 kernel: add kmod-leds-lp5562 and lp55xx-common
Add kernel module for lp5562 LED driver.
The kmod-leds-lp5562 depends on kmod-leds-lp55xx-common.

Signed-off-by: CheWei Chien <chewei.chien@wnc.com.tw>
2024-01-21 15:00:34 +08:00
HunZI
a462d2b757
target: add phytium support (#11798)
* target: add phytium support

* kernel/video: add phytium platform ARM GPU support

* config: add EFI support to phytium armv8

* target: phytium: remove rtl8821cs driver

* target: phytium: refresh dts
2024-01-18 15:16:24 +08:00
Miles Poupart
5ed3a14e0d
bpf-headers: Fix download URL with kernel 6.1 (#11794)
This fixes the download of the kernel 5.15 for the bpf-headers when
kernel 6.1 is build for the target.

Even if kernel 6.1 was selected for the target we still use kernel 5.15
for the bpf-headers. The download script tried to download the 5.15
kernel from the 6.x directory on kernel,org and this failed. Define
PKG_SOURCE_URL based on PKG_PATCHVER and not KERNEL_BASE like done in
kernel.mk.

Without this change it tries to download the kernel from this URL:
https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-5.15.129.tar.xz

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-01-17 08:09:51 +08:00
coolsnowwolf
156a1b67dd netsupport.mk: add missing Kconfig for sched 2024-01-15 17:28:00 +08:00
coolsnowwolf
c24837295d mac80211: add loongarch64 and kernle 6.6 support 2024-01-15 01:15:20 +08:00
coolsnowwolf
4fb7370e09 generic: fix loogarch64 kernel modules build 2024-01-14 23:16:29 +08:00
coolsnowwolf
b1816c7d0c gpio-button-hotplug: fix kernel 5.4 support 2024-01-13 13:50:40 +08:00
coolsnowwolf
f426fce6c1 video.mk: add AMD Displaycard (RX580) support for loongarch64 2024-01-12 10:34:28 +08:00
coolsnowwolf
01edff43e4 gpio-button-hotplug: fix kernel 6.2+ build failure 2024-01-11 20:38:46 +08:00
coolsnowwolf
29c2367cac cryptodev-linux: update to 1.13 2024-01-11 20:36:11 +08:00
David Bauer
cbcb695937 mac80211: avoid crashing on invalid band info
Frequent crashes have been observed on MT7916 based platforms. While the
root of these crashes are currently unknown, they happen when decoding
rate information of connected STAs in AP mode. The rate-information is
associated with a band which is not available on the PHY.

Check for this condition in order to avoid crashing the whole system.
This patch should be removed once the roout cause has been found and
fixed.

Signed-off-by: David Bauer <mail@david-bauer.net>
2024-01-10 22:24:11 +08:00
Miles Poupart
4a683e0510
kmod-media-core: update kconfig (#11735) 2023-12-25 22:40:15 +08:00
aiamadeus
14fb304fd4 mac80211: refresh all patches
Signed-off-by: AnYun <amadeus@openjmu.xyz>
2023-12-21 22:15:19 +08:00
aiamadeus
794fa1345e mac80211: ath11k: sync with upstream linux
Signed-off-by: AnYun <amadeus@openjmu.xyz>
2023-12-21 22:09:13 +08:00
HHJLKK
783f460c97
kernel: fixes usb-audio depends (#11713)
Fixes: #11703
2023-12-17 12:25:25 +08:00
aiamadeus
c8e9d227fd kernel/video: add ARM GPU drivers 2023-10-30 22:54:05 +08:00
Liangbin Lian
fd7b5ec17a kernel: usb-audio remove Kconfig USB_AUDIO
CONFIG_USB_AUDIO is a "USB Audio Gadget" driver, not a usb device driver

CONFIG_USB_AUDIO is "USB Audio support" before linux 2.6

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2023-10-29 23:40:07 +08:00
Luca Barbato
7d7743dade kernel: Enable hwmon for nvme
Expose the temperature sensors as hwmon, it improves the overall
user experience since on tiny boards the nvme can become a substantial
source of heat.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Reviewed-by: Robert Marko <robimarko@gmail.com>
2023-10-29 23:38:15 +08:00
coolsnowwolf
0f4df4fa22 kernel: fix kmod-video-core on linux kernel 6.1+ 2023-10-21 22:02:30 +08:00
coolsnowwolf
b0ea62c2c9 Revert "mt76: update to the latest version"
This reverts commit 16005ae688.
2023-10-03 11:39:42 +08:00
lean
16005ae688 mt76: update to the latest version 2023-09-30 17:44:03 +08:00
Daniel Maslowski
7acf8fc20e kernel: decouple 9P virtio from 9P net
General support for 9P is desirable on platforms without virtualization.
This decouples the 9P general networking support for use on more platforms.

Signed-off-by: Daniel Maslowski <info@orangecms.org>
2023-09-15 10:28:14 +08:00
Felix Fietkau
8e4e1a06be mt76: update to the latest version
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-09-05 21:36:39 +08:00
coolsnowwolf
c5efeaff69 kernel: bump 5.10 to 5.10.190 2023-08-16 15:46:28 +08:00
coolsnowwolf
38bca36d20 mac80211: rework eth hw addr set for kernel 5.4 2023-08-10 19:42:15 +08:00
Felix Fietkau
bbebb4beab mac80211: fix mesh fast tx cache issues
Split the cache by tx type in order to avoid packet drop issues

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-08-02 21:35:31 +08:00
Felix Fietkau
0d0d065707 mac80211: fix HE issues with AP_VLAN interfaces
Fixes issues with aggregation

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-08-02 21:32:56 +08:00
Felix Fietkau
965f4854a5 mt76: update to the latest version
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2023-08-01 20:09:31 +08:00
Christian Marangi
1cf01f7dbf ath10k-ct: add patch fixing compilation warning for debug level
Add patch fixing compilation warning for debug level read.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-08-01 20:02:30 +08:00
David Bauer
14cc6d5a6d mac80211: partly revert force-mac80211 loss detection
This patch will only force mac80211 loss detection upon ath10k by
masking the driver-specific loss-detection bit.

Ref: commit ed816f6ba8b5 ("mac80211: always use mac80211 loss detection")

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-07-26 21:28:47 +08:00
David Bauer
6c0363e78c mac80211: always use mac80211 loss detection
ath10k does not report excessive loss in case of broken block-ack
sessions. The loss is communicated to the host-os, but ath10k does not
trigger a low-ack events by itself.

The mac80211 framework for loss detection however detects this
circumstance well in case of ath10k. So use it regardless of ath10k's
own loss detection mechanism.

Signed-off-by: David Bauer <mail@david-bauer.net>
2023-07-26 21:26:31 +08:00
Robert Marko
64002d3a24 mac80211: ath11k: sync with ath-next
Synchronize the ath11k backports with the current ath-next tree.

This introduces support for MBSSID and EMA, adds factory test mode and
some new HTT stats.

Tested-by: Francisco G Luna <frangonlun@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2023-07-25 22:39:22 +08:00
Robert Marko
b93186df5d mac80211: backport EMA beacon support
Backport EMA beacon support from kernel 6.4.
It is required for MBSSID/EMA suport in ath11k that will follow.

Tested-by: Francisco G Luna <frangonlun@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2023-07-25 22:38:23 +08:00
Robert Marko
c72c8f58a7 mac80211: backport merged version of A-MSDU mesh patch
This issue was fixed in the final version of
("wifi: mac80211: fix receiving A-MSDU frames on mesh interfaces") that was
merged upstream but we have a older version that is using:
memcpy(&payload.eth.h_dest, mesh_addr, 2 * ETH_ALEN);
instead of:
memcpy(&payload.eth, mesh_addr, 2 * ETH_ALEN);

So, lets just backport the merged version of patch to fix the issue.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2023-07-25 22:37:11 +08:00
Daniel Golle
a1c87e7c74 kernel: leds-ws2812b: fix build with Linux >= 5.18
The return value of the .remove function pointer has changed from
int to void with Linux 5.18. Use a precompiler macro to allow building
the leds-ws2812b module with both, Linux 5.15 and Linux 6.1.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-07-15 23:46:56 +08:00
John Audia
92265caaa7 kernel: modules: fs: adapt for kernel 6.1.36
Acknowledgment to john-tho for the changes to fs.mk to accommodate new paths
introduced in 29429a1f58

Fixes: #11375
Signed-off-by: John Audia <therealgraysky@proton.me>
2023-07-10 22:30:17 +08:00
coolsnowwolf
bafee3f48c mt76: enable wed wireless acc for filogic target by default 2023-07-07 00:19:58 +08:00
AmadeusGhost
9c0329ad5e rtw88-usb: bump to latest git HEAD
Fixes: #11331
2023-07-04 23:34:05 +08:00
Christian Marangi
3e35e07760 netfilter: fix typo in nf-socket and nf-tproxy kconfig
Fix a typo where the wrong KCONFIG was used and fix selecting the
correct kernel config option to use these packages.

Fixes: 4f443c885ded ("netfilter: separate packages for kmod-ipt-socket and kmod-ipt-tproxy")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-06-25 20:53:12 +08:00
sKyissKy
3ef1f5ade3
kernel: add MultiPath TCP kernel config & module (#11298) 2023-06-24 23:10:36 +08:00
Daniel Golle
c735c19bf8 mac80211: fix mt7601u firmware path and refresh patches
Import patch fixing the updated firmware path of mt7601u.bin.
Refresh patches while at it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-06-24 22:56:16 +08:00
Luiz Angelo Daros de Luca
919d3485d1 kernel: modules: fix mdio-bus-mux description
Simple error during copy/paste

Fixes: 2dbeb607251b ("kernel: add mdio-bus-mux support")
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2023-06-11 23:15:20 +08:00
Mathew McBride
028f75ac9a kernel: add mdio-bus-mux support
The MDIO bus multiplexing framework is used by some drivers
such as dwmac-sun8i.

As this is a per-driver requirement, set it to be hidden in the menu.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
2023-06-03 21:53:19 +08:00
ricksuzade-maker
9b3ae943e3
Update netdevices.mk to fix qlogic device support (#11270) 2023-06-02 09:00:49 +08:00
AmadeusGhost
4eb245c4b5 ramips: switch back to kernel 5.4
Fixes: #11222
2023-05-30 15:38:30 +08:00