4179 Commits

Author SHA1 Message Date
Mathew McBride
264661a704 kernel: enable memory mapped TPM interface on armsr
The memory mapped TPM interface (TIS) can be used for
emulated or virtualized TPM instances with QEMU and
a simulation package like swtpm.

On QEMU the device will appear in the device tree
with a "tcg,tpm-tis-mmio" compatible.

For example:
qemu-system-aarch64 -machine virt -cpu max \
    -bios u-boot.bin \
    -nographic \
    .... \
    -hda openwrt-armsr-armv8-combined-efi.img \
    -chardev socket,id=chrtpm,path=/tmp/mytpm/swtpm-sock \
    -tpmdev emulator,id=tpm0,chardev=chrtpm \
    -device tpm-tis-device,tpmdev=tpm0

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Link: https://github.com/openwrt/openwrt/pull/19188
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-06-24 00:53:09 +08:00
coolsnowwolf
48162fa0e3 iwlwifi: fix build with kernel 6.12 2025-06-23 22:30:08 +08:00
Thomas Richard
92c0ca7515 stm32: add new stm32mp1 target
New stm32 target introduces support for stm32mp1 based devices.
For now it includes an initial support of the STM32MP135F-DK device.
The specifications bellow only list supported features.

Specifications
--------------

SOC: STM32MP135FAF7
RAM: 512 MiB
Storage: SD Card
Ethernet: 2x 100 Mbps
Wireless: 2.4GHz Cypress CYW43455 (802.11b/g/n)
LEDs: Heartbeat (Blue)
Buttons: 1x Reset, 1x User (USER2)
USB: 4x 2.0 Type-A

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-06-22 23:30:01 +08:00
Markus Stockhausen
1208039792 realtek: 6.6: enable testing kernel
Allow to build the new kernel.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
2025-06-22 23:00:01 +08:00
Zoltan HERPAI
aa295c35d7 d1: add new target for Allwinner D1
This target adds support for the Allwinner D1 RISC-V based SoCs.

 - RISC-V single-core T-Head C906 (RV64GCV)
 - Tensilica HiFi4 DSP
 - DDR2/DDR3 support
 - 10/100/1000M ethernet
 - usual peripherals like USB2, SPI, I2C, PWM, etc.

Installation:
Standard SD-card installation via dd-ing the generated image to
an SD-card of at least 256Mb.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2025-06-22 22:30:01 +08:00
Zoltan HERPAI
8ee17765da sifiveu: add 6.12 kernel as testing
Allow selecting 6.12 as testing kernel on sifiveu.

Runtime-tested:
 - HiFive Unleashed (FU540)
 - HiFive Unmatched (FU740)

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2025-06-21 23:10:18 +08:00
=?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?=
04ed2f02d0 modules: add DW I2C Platform controller
Add kernel package for DesignWare I2C platform controller.
This controller is used on the RP1 SoC found on RPi 5 devices.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2025-06-20 17:10:36 +08:00
Hauke Mehrtens
cb18a760f0 kernel: Fix kmod-lib-lz4 packaging
The kernel provides two variants of the lz4 compression a normal version
and a high compression mode version. The old kmod-lib-lz4 package
contained the normal version plus one part of the lz4hc version. There
was already code which selected the kmod-lib-lz4hc package which did
not exists.

I split this into 3 packages. kmod-lib-lz4 and kmod-lib-lz4hc for the
normal the and high compression algorithm which contain the specific
code and the kmod-lib-lz4-decompress which contains the common
decompressor.

New we are also packaging lz4hc.ko

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Link: https://github.com/openwrt/openwrt/pull/15833
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-06-19 16:00:42 +08:00
5aaee9
8185ba94ef
package/zram: fix build for kernel 6.12 (#13564) 2025-06-19 01:01:06 +08:00
Xiaok
e2d2635a21
uboot-armsr: add support for QEMU armv7/armv8 (#13563) 2025-06-18 15:31:54 +08:00
coolsnowwolf
70f39feb75 binutils: update to 2.42 2025-06-18 04:48:14 +08:00
coolsnowwolf
771e27b030 firewall4: add fullconenat-nf NAT1 support 2025-06-17 03:25:10 +08:00
coolsnowwolf
2cf339694a mac80211: brcm: fix build with kernel 6.12 support 2025-06-16 00:12:52 +08:00
Daniel Golle
b23ec99f37 generic: add pending patch for RealTek Ethernet PHY
Import patches to fix several issues with status reporting of
RealTek 2.5G PHYs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-06-15 22:08:00 +08:00
George Moussalem
665e376e74 wifi: ath11k: increase max ATH11K_QMI_CALDB_SIZE macro
QCN6122 wifi in fw-memory-mode 1 has a slightly larger caldb size than
currently defined in the ath11k driver. When coldboot calibration was
disabled, the fw mem mode was changed from 2 (256MB mem profile) to 1
(512MB mem profile), which is the correct setting for devices in scope.
However, in fw mem mode, the caldb size is 0x500000 instead of the max
0x480000 defined in the driver, causing QCN6122 wifi failing to boot:

ath11k b00a040.wifi1: qmi mem size is low to load caldata
ath11k b00a040.wifi1: failed to assign qmi target memory: -22

As such, change the max caldb memory size accordingly.

This macro is used by the driver only as a max size limit to validate
the requested caldb size returned by QMI. Different ath11k wifi chips
have different caldb sizes (for ex. the size for IPQ5018 is 0x200000).

Fixes: d4adc99 ("wifi: ath11k: disable coldboot calibration for ipq5018")
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-06-13 18:01:16 +08:00
George Moussalem
d4adc99526 wifi: ath11k: disable coldboot calibration for ipq5018 and qcn6122
Coldboot calibration does not work causes the firmware to crash during
wifi startup. So let's disable coldboot calibration until a solution is
found.

Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-06-13 16:01:19 +08:00
coolsnowwolf
3fb4c3a7a0 kernel: rtl8152-vendor: add Realtek RTL8159 USB 10G Gigabit Ethernet support 2025-06-12 00:40:35 +08:00
Mathew McBride
a82c89a028 kernel: rtl8366: enabling LEDs
Add new setting CONFIG_NET_DSA_REALTEK_RTL8366RB_LEDS which
was introduced in kernel 6.12 and allows enabling LEDs for
the Realtek RTL8366RB subdriver.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-06-11 23:20:10 +08:00
aiamadeus
587519af25 cryptodev-linux: update to 1.14
Remove upstream backport.
2025-06-10 22:10:19 +08:00
=?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?=
d9b7f9c144 kernel: r8125: update to v9.016.00
Changelog: https://github.com/openwrt/rtl8125/compare/9.015.00...9.016.00

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2025-06-09 18:00:18 +08:00
Sergey Shlukov
94a1d49488 kernel: add module for leds-lp5523
Add kernel module for LP5523/LP55231 LED driver.
The kmod-leds-lp5523 depends on kmod-leds-lp55xx-common.

Signed-off-by: Sergey Shlukov <ichizakurain@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-06-08 23:10:10 +08:00
Miles Poupart
51d898d4d6
mac80211: fix rtw89 compile error (#13542) 2025-06-06 16:52:10 +08:00
Mantas Pucka
eef271a975 mac80211: ath12k: fix wideband operation on QCN9274
Add patches to enable QCN9274 radios that support both 5GHz and 6GHz
bands.

Signed-off-by: Mantas Pucka <mantas@8devices.com>
Link: https://github.com/openwrt/openwrt/pull/18459
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-06-05 14:16:00 +08:00
coolsnowwolf
90773b94ca mac80211: add ath12k PCI support 2025-06-05 14:09:06 +08:00
coolsnowwolf
a12f94c7f5 dnsmasq: bump release to 2.91 2025-06-04 12:27:05 +08:00
Mieczyslaw Nalewaj
8ba3cb910e kernel: disable drm-i915 module for x86
Disable drm-i915 module for target x86.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-06-03 12:01:22 +08:00
aiamadeus
4f66ecc3a2 kernel: fixes build with mac80211 6.6 2025-06-02 22:00:06 +08:00
George Moussalem
7224072e6e mac80211: add support for QCN6122 wifi
Add QCN6122 platform support.

QCN6122 is a PCIe based solution that is attached to and enumerated
by the WPSS (Wireless Processor SubSystem) Q6 processor.

Though it is a PCIe device, since it is not attached to APSS processor
(Application Processor SubSystem), APSS will be unaware of such a decice
and hence it is registered to the APSS processor as a platform device(AHB).
Because of this hybrid nature, it is called as a hybrid bus device.

As such, QCN6122 is a hybrid bus type device and follows the same codepath
as for WCN6750.

Co-developed-by: George Moussalem <george.moussalem@outlook.com>
Signed-off-by: Sowmiya Sree Elavalagan <ssreeela@codeaurora.org>
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
2025-06-02 21:10:19 +08:00
Robert Marko
13dcba04ef mac80211: update to version 6.6.15
Update backports to the latest 6.6 point release.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-06-02 20:20:15 +08:00
aiamadeus
8a7860ca50 kernel: netdevices: fix build for 6.12 2025-06-01 23:10:16 +08:00
coolsnowwolf
13eefbfa3b qca-nss-clients: fix build for ipq50xx 2025-05-31 23:01:03 +08:00
coolsnowwolf
99d0ef6e99 mac80211: fix build error on kernel 6.12 2025-05-30 23:25:28 +08:00
Daniel Golle
684807843b mediatek: adapt BananaPi-R4 with upstream DT
* the variant with 2.5G PHY instead of LAN SFP is called '2p5'
   upstream and 'poe' in our downstream Linux DT. Use the right
   DTS depending on the kernel version and set an additional
   compatible.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-05-29 19:00:15 +08:00
coolsnowwolf
8add87ed6c package: qca-nss: add kernel 6.12 support 2025-05-28 22:40:01 +08:00
coolsnowwolf
54e0bf3b16 mac80211: add ath11k kernel 6.12 support 2025-05-26 22:30:18 +08:00
Linus Walleij
69ea00d8f2 package: usbgadget: define conffile
The /etc/config/usbgadget file is a conffile,
so specify it as such.

Reviewed-by: Chuanhong Guo <gch981213@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2025-05-25 22:30:18 +08:00
John Audia
92377544b4 intel-microcode: update to 20250512
Signed-off-by: John Audia <therealgraysky@proton.me>
2025-05-22 10:27:06 +08:00
Ryan Keane
914bd71225 openssl: Update to 3.5.0
Refresh patch:
- 100-Configure-afalg-support.patch
- 120-strip-cflags-from-binary.patch
- 140-allow-prefer-chacha20.patch
- 500-e_devcrypto-default-to-not-use-digests-in-engine.patch
- 510-e_devcrypto-ignore-error-when-closing-session.patch

Signed-off-by: Ryan Keane <the.ra2.ifv@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15804
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-20 13:51:03 +08:00
aiamadeus
8439450f83 aic8800: fixes build with mac80211 6.1 2025-05-16 21:01:05 +08:00
Hauke Mehrtens
45a37319a0 mac80211: Update to version 6.1.110-1
Upstream removed SSB and BCMA, the drivers are now compiled against
the in kernel versions. No need to patch this for OpenWrt.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-05-16 20:20:17 +08:00
Joe Zheng
fc02b412fc firmware: add Intel VPU/NPU firmware
This package is for NPU/VPU firmware.

Details in https://github.com/intel/linux-npu-driver

Intel VPU firmware is now part of linux-firmware.

The current FW file names in linux-firmware do not match intel vpu
driver, create links to fix it.

Signed-off-by: Joe Zheng <joe.zheng@intel.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-15 21:10:06 +08:00
Daniel Golle
12749793ab kernel: modules: MIPI DBI TFT panels
Package kmod-drm-panel-mipi-dbi as well as modules it depends on in
order to support a wide range of MIPI DBI complaint SPI-connected
TFT panels.

See https://github.com/notro/panel-mipi-dbi/ for more information on
how to use specific panels.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-05-15 16:20:02 +08:00
Álvaro Fernández Rojas
2b23abbb6b bcm27xx: fixes drm-rp1 dependencies
kmod-drm-rp1-dsi, kmod-drm-rp1-dpi and kmod-drm-rp1-vec should depend on
kmod-drm-dma-helper and kmod-drm-vram-helper in order to fix dependency
errors when all kernel modules are selected.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2025-05-14 23:00:08 +08:00
John Audia
f387ee9b9a linux-firmware: update to 20250509
Signed-off-by: John Audia <therealgraysky@proton.me>
2025-05-13 23:00:30 +08:00
coolsnowwolf
96f3d3781b r8152: fix missing dependency for 6.12 2025-05-09 20:20:20 +08:00
coolsnowwolf
70bdba2805 iw: backport he operation scan support 2025-05-09 20:16:25 +08:00
coolsnowwolf
6256c59824 wwan: fix wwan drivers build with kernel 6.12 2025-05-08 20:20:57 +08:00
coolsnowwolf
dc780ad837 armsr: add new target from armvirt 2025-05-08 11:20:19 +08:00
Mantas Pucka
b80ba6f8b9 kernel: adjust kmod-phy-aquantia dependencies
Driver moved to different CRC library in v6.12

Signed-off-by: Mantas Pucka <mantas@8devices.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-05-07 23:10:10 +08:00
coolsnowwolf
b59bdbc238 qca-nss-ecm: disable ipsec nss crypto temporary 2025-05-05 04:28:32 +08:00