]> git.ipfire.org Git - thirdparty/openwrt.git/log
thirdparty/openwrt.git
4 weeks agotools/mkimage: update to v2025.07 19341/head
Shiji Yang [Mon, 7 Jul 2025 21:59:22 +0000 (05:59 +0800)] 
tools/mkimage: update to v2025.07

Update to latest version. All patches are automatically refreshed.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19341
Signed-off-by: Nick Hainke <vincent@systemli.org>
4 weeks agolibnftnl: update to 1.2.9 19288/head
Antony Kolitsos [Thu, 3 Jul 2025 04:17:13 +0000 (21:17 -0700)] 
libnftnl: update to 1.2.9

ChangeLog:

https://git.netfilter.org/libnftnl/log/?h=libnftnl-1.2.9

Signed-off-by: Antony Kolitsos <zeusomighty@hotmail.com>
Link: https://github.com/openwrt/openwrt/pull/19288
Signed-off-by: Nick Hainke <vincent@systemli.org>
4 weeks agonftables: update to 1.1.3
Antony Kolitsos [Thu, 3 Jul 2025 04:11:18 +0000 (21:11 -0700)] 
nftables: update to 1.1.3

ChangeLog:

1.1.3: https://netfilter.org/projects/nftables/files/changes-nftables-1.1.3.txt
1.1.2: https://netfilter.org/projects/nftables/files/changes-nftables-1.1.2.txt

Signed-off-by: Antony Kolitsos <zeusomighty@hotmail.com>
Link: https://github.com/openwrt/openwrt/pull/19288
Signed-off-by: Nick Hainke <vincent@systemli.org>
4 weeks agoramips: update drivers to be compatible with kernel 6.12 and above 19320/head
Mieczyslaw Nalewaj [Sun, 6 Jul 2025 12:50:59 +0000 (14:50 +0200)] 
ramips: update drivers to be compatible with kernel 6.12 and above

Replace .remove_new with .remove for compatibility with future kernel versions.
Dropping compatibility with older kernels.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/19320
Signed-off-by: Nick Hainke <vincent@systemli.org>
4 weeks agoramips: drop 6.6 support
Mieczyslaw Nalewaj [Sun, 6 Jul 2025 12:43:06 +0000 (14:43 +0200)] 
ramips: drop 6.6 support

Drop configs and patches for Linux 6.6.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/19320
Signed-off-by: Nick Hainke <vincent@systemli.org>
4 weeks agoramips: use kernel 6.12 by default
Mieczyslaw Nalewaj [Sun, 6 Jul 2025 12:37:27 +0000 (14:37 +0200)] 
ramips: use kernel 6.12 by default

Switch to Linux kernel version 6.12.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/19320
Signed-off-by: Nick Hainke <vincent@systemli.org>
4 weeks agomt76: update to Git HEAD (2025-07-07)
Felix Fietkau [Mon, 7 Jul 2025 17:38:53 +0000 (19:38 +0200)] 
mt76: update to Git HEAD (2025-07-07)

6df761e0e6c7 mt76: fix signature of platform_driver remove funtions for newer kernels
5724be1a6b12 wifi: mt76: Replace strlcpy() with strscpy()
c4a114e2b8c9 wifi: mt76: fix queue assignment for deauth packets
243e572d89fc wifi: mt76: add a wrapper for wcid access with validation
e41c7785589f wifi: mac80211: get tx power per link
d70f62b8f1c7 wifi: mt76: fix vif link allocation
7b3cd3274a24 wifi: mt76: mt7996: Fix secondary link lookup in mt7996_mcu_sta_mld_setup_tlv()
cf89b6218043 wifi: mt76: mt7996: Rely on for_each_sta_active_link() in mt7996_mcu_sta_mld_setup_tlv()
d71108eedab1 wifi: mt76: mt7996: Do not set wcid.sta to 1 in mt7996_mac_sta_event()
32f8c5849ed1 wifi: mt76: mt7996: Fix mlink lookup in mt7996_tx_prepare_skb
ffff9f71e29d wifi: mt76: mt7996: Fix possible OOB access in mt7996_tx()
afe63e758196 wifi: mt76: mt7996: Fix valid_links bitmask in mt7996_mac_sta_{add,remove}
68dd28b99dad wifi: mt76: mt7996: Add MLO support to mt7996_tx_check_aggr()
293778652452 wifi: mt76: mt7996: Move num_sta accounting in mt7996_mac_sta_{add,remove}_links
a94166b21e20 wifi: mt76: Get rid of dma_sync_single_for_device() for MMIO devices
87873d854e51 wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init()
06ba3d5e91f4 wifi: mt76: mt792x: Limit the concurrent STA and SoftAP to operate on the same channel
b9f4e0df317d wifi: mt76: mt792x: improve monitor interface handling
ec95319fd3fb wifi: mt76: mt7921s: Introduce SDIO WiFi/BT combo module card reset
dd2d862251cb firmware: add missing mt7990 eeprom files
05eaa56bc7a4 firmware: update mt7992 firmware to 20250328
32ca2b6db354 firmware: update mt7996 firmware to 20250328

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agomac80211: fix wmac node names 19328/head
Rosen Penev [Sun, 6 Jul 2025 19:07:23 +0000 (12:07 -0700)] 
mac80211: fix wmac node names

The upstream submission for this mandates the node to be named wifi
instead of wmac. Change all ath79 entries to match the new names and
remove the compatibility patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19328
Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agokernel: backport GCC15 fix for powerpc 19329/head
Rosen Penev [Sun, 6 Jul 2025 01:06:19 +0000 (18:06 -0700)] 
kernel: backport GCC15 fix for powerpc

Comes with kernel 6.16. I assume it will be backported at some point.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19329
Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agohostapd: enable CONFIG_OCV when 802.11be support is enabled
Felix Fietkau [Mon, 7 Jul 2025 15:15:54 +0000 (17:15 +0200)] 
hostapd: enable CONFIG_OCV when 802.11be support is enabled

The 802.11be supoort code unconditionally calls ocv related functions

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agoreadline: update to 8.3 19327/head
Rosen Penev [Sun, 6 Jul 2025 03:30:19 +0000 (20:30 -0700)] 
readline: update to 8.3

Needed to fix GCC 15 compilation with dependent packages.

Removed upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19327
Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agoucode: fix an issue in exception handling improvement for ubus/uloop
Felix Fietkau [Sun, 6 Jul 2025 20:05:03 +0000 (22:05 +0200)] 
ucode: fix an issue in exception handling improvement for ubus/uloop

Remove an uloop_end() call from a user cb that wasn't there before

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agoath9k: add back previous DT compatible strings for ahb
Felix Fietkau [Sun, 6 Jul 2025 17:23:59 +0000 (19:23 +0200)] 
ath9k: add back previous DT compatible strings for ahb

The ath9k ahb patch was updated to match the latest upstream version,
however the openwrt DT files still use the older names.
Add those as extra entries in order to remain compatible until DT files
are fixed.

Fixes: 88f4c32060f7 ("mac80211: update to version 6.14.11")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agohostapd: revert a broken upstream patch that was breaking multi-band operation
Felix Fietkau [Sun, 6 Jul 2025 16:47:14 +0000 (18:47 +0200)] 
hostapd: revert a broken upstream patch that was breaking multi-band operation

nl80211 events were propagated to the wrong interfaces

Fixes: 2ac791e87d3d ("hostapd: update to version 2025-06-27")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agomac80211: fix rt2x00 build error on 6.12
Felix Fietkau [Sun, 6 Jul 2025 09:22:33 +0000 (11:22 +0200)] 
mac80211: fix rt2x00 build error on 6.12

Fix missing remove callback type signature conversion

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agoimage: only calculate EROFS_PCLUSTERSIZE when needed
Felix Fietkau [Sun, 6 Jul 2025 08:32:41 +0000 (10:32 +0200)] 
image: only calculate EROFS_PCLUSTERSIZE when needed

Fixes shell warning on any makefile including image.mk when EROFS
is not enabled

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agokernel: fix fraglist GRO on linux 6.12
Felix Fietkau [Sat, 5 Jul 2025 11:51:14 +0000 (13:51 +0200)] 
kernel: fix fraglist GRO on linux 6.12

Merged segments had a broken skb network header offset.

Fixes: https://github.com/openwrt/openwrt/issues/19130
Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agoimage: add support for EROFS rootfs image generation 19244/head
Gao Xiang [Wed, 25 Jun 2025 17:45:22 +0000 (01:45 +0800)] 
image: add support for EROFS rootfs image generation

Add support for generating EROFS rootfs images.

The EROFS filesystem can offer competitive I/O performance while
minimizing final image size when using the MicroLZMA compressor.

Target platform: linux-x86_generic (target-i386_pentium4_musl)

Filesystem     Image Size
=============  ==========
root.erofs     4882432
root.ext4      109051904
root.squashfs  4903302

Co-Developed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://github.com/openwrt/openwrt/pull/19244
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
4 weeks agotools: add erofs-utils
Gao Xiang [Wed, 25 Jun 2025 17:14:32 +0000 (01:14 +0800)] 
tools: add erofs-utils

Add erofs-utils to create an EROFS-based rootfs for image generation.

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://github.com/openwrt/openwrt/pull/19244
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
4 weeks agofstools: update to Git HEAD (2025-07-05)
Christian Marangi [Sat, 5 Jul 2025 13:20:28 +0000 (15:20 +0200)] 
fstools: update to Git HEAD (2025-07-05)

e8cd820cdbb8 libfstools: add support for EroFS based images

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
4 weeks agohostapd: removed OSU support from configuration files, it was removed in the last...
Agustin Lorenzo [Tue, 1 Jul 2025 13:49:05 +0000 (15:49 +0200)] 
hostapd: removed OSU support from configuration files, it was removed in the last hostapd update.

Ref: https://w1.fi/cgit/hostap/commit/hostapd?id=e835288592fd672469f46dc35a03e64115b996e5
Ref: https://w1.fi/cgit/hostap/commit/hostapd?id=7bb11e35d55e3d50199efc45921e76696bebd8ef

Fixes: https://github.com/openwrt/openwrt/issues/19142
Link: https://github.com/openwrt/openwrt/pull/19273
Signed-off-by: Agustin Lorenzo <agustin.lorenzo@thinco.es>
4 weeks agomediatek: fix switch mdio id on mt7622-rfb1 on linux 6.12
Felix Fietkau [Sat, 5 Jul 2025 11:50:17 +0000 (13:50 +0200)] 
mediatek: fix switch mdio id on mt7622-rfb1 on linux 6.12

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agomac80211: update to version 6.14.11
Mieczyslaw Nalewaj [Sat, 24 May 2025 12:58:18 +0000 (14:58 +0200)] 
mac80211: update to version 6.14.11

Update to version 6.14.11

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agohostapd: update to version 2025-06-27
Agustin Lorenzo [Tue, 1 Jul 2025 20:54:56 +0000 (22:54 +0200)] 
hostapd: update to version 2025-06-27

Manually refreshed:

140-tests-Makefile-make-run-tests-with-CONFIG_TLS.patch
601-ucode_support.patch

Fixed in upstream:

804-hostapd-revert-ACS-Validate-6-GHz-AP-criteria-before.patch [1]

Automatically rebased all other patches.

[1] https://w1.fi/cgit/hostap/commit/?id=0b60826a66885bffa2fd709ed5e48cd5fe241b6b

Signed-off-by: Agustin Lorenzo <agustin.lorenzo@thinco.es>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agohostapd: disable 802.11be support in the mini variant
Felix Fietkau [Wed, 2 Jul 2025 16:43:09 +0000 (18:43 +0200)] 
hostapd: disable 802.11be support in the mini variant

802.11be capable platforms are big enough to not need the mini variant,
and removing it here saves space for other other devices.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agohostapd: fix potential double free in ubus code
Felix Fietkau [Sat, 28 Jun 2025 19:20:44 +0000 (21:20 +0200)] 
hostapd: fix potential double free in ubus code

Ensure that the object name is never freed twice

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agowifi-scripts: ucode: fix iwinfo crash on untracked interfaces
Felix Fietkau [Mon, 30 Jun 2025 11:13:03 +0000 (13:13 +0200)] 
wifi-scripts: ucode: fix iwinfo crash on untracked interfaces

Deal with data.radio being null

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agoucode: add patches to improve exception handling for ubus/uloop
Felix Fietkau [Fri, 13 Jun 2025 10:19:38 +0000 (12:19 +0200)] 
ucode: add patches to improve exception handling for ubus/uloop

Add API to allow setting an exception handler for user provided callbacks

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agomac80211: add WIFI_SCRIPTS_UCODE to PKG_CONFIG_DEPENDS
Felix Fietkau [Wed, 4 Dec 2024 10:58:39 +0000 (11:58 +0100)] 
mac80211: add WIFI_SCRIPTS_UCODE to PKG_CONFIG_DEPENDS

It affects package depdendencies

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agogeneric: 6.6: drop netdev backported patch for netdev_tx_reset_subqueue
Christian Marangi [Sat, 5 Jul 2025 08:39:24 +0000 (10:39 +0200)] 
generic: 6.6: drop netdev backported patch for netdev_tx_reset_subqueue

Patch backporting netdev_tx_reset_subqueue new OP has been already
backported in recent minor kernel version for 6.6.

Drop the related patch to fix compilation error on 6.6.

Fixes: 34ba7e8a8ab1 ("generic: backport some flow offload helper patch")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
4 weeks agoairoha: backport upstream patch for Flow Offload support for AN7581 18166/head
Christian Marangi [Tue, 4 Mar 2025 22:54:31 +0000 (23:54 +0100)] 
airoha: backport upstream patch for Flow Offload support for AN7581

Backpot upstream patch for Flow Offload support for AN7581 and refresh
all affected patch. To correctly work a dedicated firmware is needed to
use the dedicated Network Coprocessor (NPU).

This also introduce good cleanup and moves the driver in a dedicated
Airoha directory. While currently not totally usable (due to lack of
firmware blob) this is needed to backport support for external PHY/SFP
support.

Refresh all affected patch.

Tested-by: Aleksander Jan Bajkowski <olek2@wp.pl> # tested on Quantum W1700k
Tested-by: Andrew LaMarche <andrewjlamarche@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18166
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
4 weeks agoairoha: backport minor fixes for ethernet driver
Christian Marangi [Tue, 4 Mar 2025 22:53:39 +0000 (23:53 +0100)] 
airoha: backport minor fixes for ethernet driver

Backport some upstream patch for Airoha ethernet driver in preparation
for Flow Offload support.

Tested-by: Aleksander Jan Bajkowski <olek2@wp.pl> # tested on Quantum W1700k
Tested-by: Andrew LaMarche <andrewjlamarche@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18166
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
4 weeks agogeneric: backport some flow offload helper patch
Christian Marangi [Wed, 5 Feb 2025 21:23:21 +0000 (22:23 +0100)] 
generic: backport some flow offload helper patch

Backport some flow offload helper patch in preparation for Airoha Flow
Offload support.

Link: https://github.com/openwrt/openwrt/pull/18166
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
4 weeks agoairoha: replace PCIe patch with upstream version
Christian Marangi [Tue, 4 Mar 2025 21:59:45 +0000 (22:59 +0100)] 
airoha: replace PCIe patch with upstream version

Replace PCIe patch with upstream version and update DTS with new PBUS
CSR property now required.

Tested-by: Aleksander Jan Bajkowski <olek2@wp.pl> # tested on Quantum W1700k
Tested-by: Andrew LaMarche <andrewjlamarche@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18166
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
4 weeks agoramips: fix wifi nodes to upstream standards 19067/head
Rosen Penev [Sat, 7 Jun 2025 23:46:07 +0000 (16:46 -0700)] 
ramips: fix wifi nodes to upstream standards

Replaced all mt76@ with wifi@ per upstream requirement for all wifi
nodes.

Added missing compatible string where appropriate as stated by mt76.yaml
upstream.

Also updated reg value to be consistent everywhere.

Replace all pci14c3 entries to use mediatek,mt76.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19067
Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agoconfig: drop kernel config symbols removed before v6.6 19287/head
Harrison Boyd [Tue, 1 Jul 2025 22:59:05 +0000 (22:59 +0000)] 
config: drop kernel config symbols removed before v6.6

Since we don't support any kernel versions below v6.6, Kconfig options
that were removed upstream before 6.6 are no longer relevant and should be
dropped.

This commit removes the following obsolete kernel config options:
- KERNEL_UBSAN_NULL: Removed in v4.18 (3ca17b1f3628)
- KERNEL_DEBUG_LL_UART_NONE: Removed in v4.0 (6f5194553c84)
- KERNEL_SLABINFO: Removed in v4.15 (5b36577109be)
- KERNEL_RESOURCE_COUNTERS: Removed in v3.18 (5b1efc027c0b)
- KERNEL_MM_OWNER: Removed in v3.16 (f98bafa06a28)
- KERNEL_MEMCG_SWAP: Removed in v6.1 (e55b9f96860f)
- KERNEL_MEMCG_SWAP_ENABLED: Removed in v5.7 (2d1c498072de)
- KERNEL_DEVPTS_MULTIPLE_INSTANCES: Removed in v4.7 (eedf265aa003)
- KERNEL_DEVKMEM: Removed in v5.13 (bbcd53c96071)
- KERNEL_SECURITY_SELINUX_DISABLE: Removed in v6.4 (f22f9aaf6c3d)

Signed-off-by: Harrison Boyd <harrisonboyd400@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19287
Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agolibnetfilter-conntrack: bump to 1.1.0 18227/head 19282/head
Ian Ladd [Wed, 2 Jul 2025 14:54:47 +0000 (10:54 -0400)] 
libnetfilter-conntrack: bump to 1.1.0

Updates libnetfilter-conntrack to version 1.1.0.
Removes patches which should no longer be needed according to changelog for
libnetfilter-conntrack 1.1.0

Signed-off-by: Ian Ladd <ianwladd@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19282
Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agouboot-mediatek: force update_cache_variants to use reset for Foresee NAND
Dim Fish [Fri, 4 Jul 2025 08:50:35 +0000 (11:50 +0300)] 
uboot-mediatek: force update_cache_variants to use reset for Foresee NAND

Force update_cache_variantsvariants to use reset for Foresee NAND with bad blocks.

Tested on Xiaomi AX3000T + F35SQA001G with bad blocks and without bad blocks

Signed-off-by: Dim Fish <dimfish@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17963
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
4 weeks agomediatek: spinand: force update_cache_variants to use reset for Foresee NAND
Dim Fish [Thu, 3 Jul 2025 15:06:18 +0000 (18:06 +0300)] 
mediatek: spinand: force update_cache_variants to use reset for Foresee NAND

Force update_cache_variantsvariants to use reset for Foresee NAND with bad blocks.

Tested on Xiaomi AX3000T + F35SQA001G with bad blocks and without bad blocks

Signed-off-by: Dim Fish <dimfish@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17963
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
4 weeks agousbgadget: bump PKG_RELEASE for os descriptors support
Chuanhong Guo [Fri, 4 Jul 2025 09:33:18 +0000 (17:33 +0800)] 
usbgadget: bump PKG_RELEASE for os descriptors support

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
4 weeks agombedtls: update to 3.6.4 19291/head
Antony Kolitsos [Fri, 4 Jul 2025 00:17:00 +0000 (17:17 -0700)] 
mbedtls: update to 3.6.4

This release includes fixes for security issues.

Mbed TLS 3.6 is a long-term support (LTS) branch. It will be supported with bug-fixes and security fixes until at least March 2027.

Security Advisories

For full details, please see the following links:

    Race condition in AESNI support detection [1]
    Heap buffer under-read when parsing PEM-encrypted material [2]
    Unchecked return value in LMS verification allows signature bypass [3]
    Out-of-bounds read in mbedtls_lms_import_public_key() [4]
    Timing side-channel in block cipher decryption with PKCS#7 padding [5]
    NULL pointer dereference after using mbedtls_asn1_store_named_data() [6]
    Misleading memory management in mbedtls_x509_string_to_names() [7]

[1] https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-06-1/
[2] https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-06-2/
[3] https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-06-3/
[4] https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-06-4/
[5] https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-06-5/
[6] https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-06-6/
[7] https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2025-06-7/

Signed-off-by: Antony Kolitsos <zeusomighty@hotmail.com>
Link: https://github.com/openwrt/openwrt/pull/19291
Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agousbgadget: add OS descriptors support 19237/head
Thomas Richard [Thu, 26 Jun 2025 09:26:00 +0000 (11:26 +0200)] 
usbgadget: add OS descriptors support

Add OS descriptors support. Configuring OS descriptors allows Microsoft
Windows to bind the right drivers without any additional configuration.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/19237
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
4 weeks agoopenssl: update to 3.5.1 19283/head
John Audia [Wed, 2 Jul 2025 15:38:03 +0000 (11:38 -0400)] 
openssl: update to 3.5.1

Automatically rebased: 100-Configure-afalg-support.patch

Changes between 3.5.0 and 3.5.1:
Fix x509 application adds trusted use instead of rejected use.
Issue summary: Use of -addreject option with the openssl x509 application
adds a trusted use instead of a rejected use for a certificate.

Impact summary: If a user intends to make a trusted certificate rejected
for a particular use it will be instead marked as trusted for that use.
(CVE-2025-4575)

Aligned the behaviour of TLS and DTLS in the event of a no_renegotiation
alert being received. Older versions of OpenSSL failed with DTLS if a
no_renegotiation alert was received. All versions of OpenSSL do this for TLS.
From 3.2 a bug was exposed that meant that DTLS ignored no_rengotiation.
We have now restored the original behaviour and brought DTLS back into line
with TLS.

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/19283
Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agoimagebuilder: implement STRIP_ABI option for manifest target 19278/head
Eric Fahlgren [Tue, 1 Jul 2025 21:02:41 +0000 (14:02 -0700)] 
imagebuilder: implement STRIP_ABI option for manifest target

When using apk as the package manager, imagebuilder make command

    make manifest STRIP_ABI=1

does not strip package names of their ABI-version suffix.  The ASU
server relies on this to validate builds, so many snapshot build
requests are failing.

Fix this by using the already existing package data parser in
make-index-json.py and augment it to write the result in manifest
format.

Fixes: https://github.com/openwrt/openwrt/issues/19274
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19278
Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agorealtek: add RTL931x support to rt-loader 19284/head
Markus Stockhausen [Wed, 2 Jul 2025 16:35:27 +0000 (12:35 -0400)] 
realtek: add RTL931x support to rt-loader

The RTL931x devices have an other register that describes the
current RAM configuration. Enhance the identification routine.

Tested on LGS352C (RTL9311).

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19284
Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agotools/squashfs4: fix compile on Alpine Linux 19285/head
Rany Hany [Wed, 2 Jul 2025 16:53:39 +0000 (16:53 +0000)] 
tools/squashfs4: fix compile on Alpine Linux

This backports upstream commit 05a895b3f996[1] to fix
compilation when using musl on the host machine.

[1]: https://github.com/plougher/squashfs-tools/commit/05a895b3f996d1ac157d95b04980f5f047e7dbf7

Signed-off-by: Rany Hany <rany_hany@riseup.net>
Link: https://github.com/openwrt/openwrt/pull/19285
Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agoubus: update to Git HEAD (2025-07-02)
Felix Fietkau [Wed, 2 Jul 2025 17:10:19 +0000 (19:10 +0200)] 
ubus: update to Git HEAD (2025-07-02)

5952b48e251c ubusd: do not call socket callback from ubus_msg_send

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agoutil-linux: update to v2.41.1 19236/head
Thomas Weißschuh [Thu, 26 Jun 2025 10:54:51 +0000 (12:54 +0200)] 
util-linux: update to v2.41.1

Release Notes:
https://www.kernel.org/pub/linux/utils/util-linux/v2.41/v2.41.1-ReleaseNotes

Remove upstreamed:
0001-meson-add-feature-for-translated-documentation.patch
0001-meson-remove-tinfo-dependency-from-more.patch
0100-include-linux-unistd-h.patch

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Link: https://github.com/openwrt/openwrt/pull/19236
Signed-off-by: Nick Hainke <vincent@systemli.org>
4 weeks agotools: util-linux: update to v2.41.1
Thomas Weißschuh [Thu, 26 Jun 2025 10:54:40 +0000 (12:54 +0200)] 
tools: util-linux: update to v2.41.1

Release Notes:
https://www.kernel.org/pub/linux/utils/util-linux/v2.41/v2.41.1-ReleaseNotes

Remove upstreamed:
tools/util-linux/patches/101-macos-weak-aliases.patch

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Link: https://github.com/openwrt/openwrt/pull/19236
Signed-off-by: Nick Hainke <vincent@systemli.org>
4 weeks agorockchip: switch to kernel 6.12 19259/head
Tianling Shen [Sun, 29 Jun 2025 12:09:52 +0000 (20:09 +0800)] 
rockchip: switch to kernel 6.12

Switch to kernel 6.12 and remove kernel 6.6 files.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/19259
Signed-off-by: Nick Hainke <vincent@systemli.org>
4 weeks agoubus: update to Git HEAD (2025-07-01)
Felix Fietkau [Tue, 1 Jul 2025 18:48:14 +0000 (20:48 +0200)] 
ubus: update to Git HEAD (2025-07-01)

27839f854a58 ubusd: make txq_len field signed
b35b2bc63e8e ubusd: treat EACCES on write like EAGAIN
713e9d19b2b6 ubusd: retry write on EINTR
8bb523ab20e0 ubusd: fix txq_len accounting
b1b783c74742 ubusd: add another tx attempt on enqueueing the first message for a client

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agou-boot.mk: support Python 3.12 and 3.13
Stijn Tintel [Tue, 1 Jul 2025 17:06:52 +0000 (20:06 +0300)] 
u-boot.mk: support Python 3.12 and 3.13

Fixes the following build problem on systems with Python 3.12 or 3.13:

Checking 'python3-setuptools'... failed.
Checking 'swig'... ok.

u-boot: Please install the Python3 setuptools module

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
5 weeks agoqualcommax: ipq50xx: Add support for Yuncore AX830 18968/head
Shubham Vishwakarma [Fri, 13 Jun 2025 18:17:05 +0000 (23:47 +0530)] 
qualcommax: ipq50xx: Add support for Yuncore AX830

Specifications:
SOC: Qualcomm IPQ5018 (64-bit dual-core ARM Cortex-A53 @ 1.0Ghz)
Memory: 512MB DDR3L
Standard: 802.11ax/ac/b/g/n
Flash: SPI NOR 8MB (Winbond W25Q64DW) + NAND 128MB (Winbond W25N01GWZEIG)
2.4G Frequency: 2.4GHz - 2.484GHz
2.4G Wi-Fi standard: 802.11b/g/n/ax
5.8G Frequency: 4.9~5.9G
5.8G Wi-Fi Standard: 802.11 a/n/ac/ax
Interface:
  Optional 1(Without 8081):
    1 * 10/100 /1000Mbps RJ45 WAN Port and PoE port;
    1* Gigabit Console port;
  Optional 2(With 8081):
    1 * 10/100/1000/2500Mbps RJ45 WAN port and PoE port,
    1*10/100/1000Mbps LAN port
Buttons: 1 * Reset button, press 10 seconds to revert to default setting
Antenna: Build in 4*4dBi dual band MIMO Antenna
Data Rate: 3000Mbps (2.4G 600Mbps, 5.8G 2400Mbps)
End Users: 128+
2.4G RF Power: ≤ 23dBm
5.8G RF Power: ≤ 23dBm
DC: 12V----2A
PoE: 48V (IEEE 802.3at)
LED Light: Sys, WAN, LAN
Power Consumption: ≤ 20W

BACKUP YOUR STOCK FIRMWARE:
- Put openwrt-*-initramfs-uImage.itb to your
  TFTP server and rename it to initramfs.bin
- Enable serial console and enter to u-boot cli
  and exec these commands:
    ```
    tftpboot <your_tftp_server_ip>:initramfs.bin
    bootm
    ```
- Once boot completed and you get the openwrt shell
  execute below commands:
    ```
    device=ax830
    mkdir -p /tmp/fw_backup; cd /tmp/fw_backup
    rootfs=$(cat /proc/mtd | grep \"rootfs\" | cut -d: -f1)
    rootfs_1=$(cat /proc/mtd | grep \"rootfs_1\" | cut -d: -f1)
    dd if=/dev/${rootfs} of=rootfs_${rootfs} bs=1M
    dd if=/dev/${rootfs_1} of=rootfs_1_${rootfs_1} bs=1M
    cp /sys/firmware/fdt fdt.dtb
    md5sum * > md5sum
    tar -cvzf /tmp/${device}.tar.gz .
    sum=$(md5sum /tmp/${device}.tar.gz | cut -d' ' -f1)
    mv /tmp/${device}.tar.gz /tmp/${device}_${sum}.tar.gz
    echo "stock fw backup saved to: /tmp/${device}_${sum}.tar.gz"
    ```
- Upload/save your backup to a safe place.

STOCK FIRMWARE RECOVERY:
- Boot initramfs image
- Upload your backed-up stock fw tarball to the device
  using scp or download it from the device using wget.
- Enter device ssh cli or tty and exec:
    ```
    cd /tmp && wget <your_web_server_ip>/${stock_fw_backup}.tar.gz`
    tar -xpzf ${stock_fw_backup}.tar.gz
    rootfs=$(cat /proc/mtd | grep \"rootfs\" | cut -d: -f1)
    rootfs_1=$(cat /proc/mtd | grep \"rootfs_1\" | cut -d: -f1)
    ubiformat /dev/${rootfs} -y -f /tmp/rootfs_${rootfs}
    ubiformat /dev/${rootfs_1} -y -f /tmp/rootfs_1_${rootfs_1}
    reboot
    ```

INSTALLATION:
1. initramfs method
- Put openwrt-*-initramfs-uImage.itb to your
  TFTP server and rename it to initramfs.bin
- Enable serial console and enter to u-boot cli
  and exec these commands:
    ```
    tftpboot <your_tftp_server_ip>:initramfs.bin
    bootm
    ```
- Once boot completed and you get the openwrt shell
  execute below commands:
    ```
    cd /tmp && wget <your_web_server_ip>/factory.ubi`
    export rootfs=$(cat /proc/mtd | grep rootfs | cut -d: -f1)
    export rootfs_1=$(cat /proc/mtd | grep rootfs_1 | cut -d: -f1)
    ubiformat /dev/${rootfs} -y -f factory.ubi
    ubiformat /dev/${rootfs_1} -y -f factory.ubi
    reboot
    ```

2. u-boot factory.ubi image method
- Put factory.ubi to your TFTP server and
  enter u-boot cli and exec these commands:
    ```
    tftpboot <your_tftp_server_ip>:factory.ubi
    #After downloading is finished:
    flash rootfs
    flash rootfs_1
    reset
    ```

Signed-off-by: Shubham Vishwakarma <shubhamvis98@fossfrog.in>
Link: https://github.com/openwrt/openwrt/pull/18968
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agoipq-wifi: update to Git HEAD (2025-06-23)
Robert Marko [Sun, 29 Jun 2025 16:03:53 +0000 (18:03 +0200)] 
ipq-wifi: update to Git HEAD (2025-06-23)

63bd0faafd4a Add IPQ5018 BDF for Yuncore AX830.

Link: https://github.com/openwrt/openwrt/pull/18968
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agodownload: improve rawgit tar reliability 19243/head
Ondrej Cierny [Fri, 27 Jun 2025 02:39:37 +0000 (19:39 -0700)] 
download: improve rawgit tar reliability

Packages that depend on rawgit can fail on systems with the tar UID
issue (https://bugzilla.redhat.com/show_bug.cgi?id=913406).
Fix this by adding tar flags to overwrite UID/GID, as in the
dl_tar_pack method.

Signed-off-by: Ondrej Cierny <o.cierny@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19243
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agolinux-firmware: update to 20250627 19251/head
John Audia [Sat, 28 Jun 2025 08:44:56 +0000 (04:44 -0400)] 
linux-firmware: update to 20250627

% git log --no-merges --pretty=oneline --abbrev-commit 20250613...20250627
cb826c70e912 WHENCE: extract license texts
db6e24385793 WHENCE: expand the advansys license statement
e8a4acb51210 WHENCE: some older AMD drivers are MIT licensed
ebbcfe361cbf qcom: update firmware binary for SM8550
09db581815f8 amdgpu: DMCUB updates for DCN401
c319d6bea7a6 qcom: venus-5.4: add the firmware binary for qcs615
dbfe16e9e8ac Revert "qcom: Add sdx61 Foxconn vendor firmware image file"
cbbce56d6dcc amdgpu: update dmcub fw for dcn401
8c091f4b0ec5 qcom: Add sdx61 Foxconn vendor firmware image file
1c4846b614e0 brcm: Fix symlinks for Khadas VIM SDIO wifi config
f191695a00ba amdgpu: update renoir firmware
c71a6daecc53 amdgpu: update vcn 5.0.0 firmware
72a8d25438c0 amdgpu: update smu 14.0.3 firmware
9f33f83a3245 amdgpu: update sdma 7.0.1 firmware
ef19800204dd amdgpu: update psp 14.0.3 firmware
103e235bafd0 amdgpu: update gc 12.0.1 firmware
f69dbbbd61b1 amdgpu: update navy flounder firmware
839067097384 amdgpu: update psp 14.0.4 firmware
0fde9638f26e amdgpu: update gc 11.5.2 firmware
128b759e5c8f amdgpu: update sienna cichlid firmware
94e718de8906 amdgpu: add raven2 ip discovery firmware
cbd24c08ceff amdgpu: update smu 14.0.2 firmware
fe7f99e3d01b amdgpu: update sdma 7.0.0 firmware
20e709912411 amdgpu: update psp 14.0.2 firmware
0e6cf73ebe2a amdgpu: update gc 12.0.0 firmware
00ce8ee06be2 amdgpu: update vcn 4.0.6 firmware
ed9525cb5743 amdgpu: update psp 14.0.1 firmware
cd7f739592db amdgpu: update gc 11.5.1 firmware
56accbf3cc71 amdgpu: update psp 13.0.11 firmware
03523034b0a5 amdgpu: update gc 11.0.4 firmware
1035014812d6 amdgpu: add picasso ip discovery firmware
7e14bde8ffdf amdgpu: add raven ip discovery firmware
2427860b84e9 amdgpu: update vega20 firmware
c354a0967253 amdgpu: update vega12 firmware
6e36b3917519 amdgpu: update smu 13.0.7 firmware
97e3e9cb4d96 amdgpu: update vcn 4.0.4 firmware
52f8bb5fd748 amdgpu: update psp 13.0.7 firmware
b2f81cf8dd1d amdgpu: update gc 11.0.2 firmware
46646de90c81 amdgpu: update navi14 firmware
6d59ec7d67dd amdgpu: update vega10 firmware
6a451a89f175 amdgpu: update gc 10.3.6 firmware
aa3e04655f08 amdgpu: update smu 13.0.10 firmware
97c3f575f445 amdgpu: update psp 13.0.10 firmware
c58be58dc9b4 amdgpu: update gc 11.0.3 firmware
403f1c578204 amdgpu: update navi12 firmware
a21004dd4edb amdgpu: update vangogh firmware
d45a9e3e51f5 amdgpu: update navi10 firmware
c70bcef9759d amdgpu: add smu 13.0.0 kicker firmware
c5077ee16e2c amdgpu: add psp 13.0.0 kicker firmware
25fbfc9a9fe6 amdgpu: add gc 11.0.0 kicker firmware
9fff2b17d3b1 amdgpu: add vcn 5.0.1 firmware
fea4ac9c76cb amdgpu: add sdma 4.4.4 firmware
8a9e3b47ef3d amdgpu: add psp 13.0.12 firmware
41e2f753b3a7 amdgpu: add gc 9.5.0 firmware
38945107950a amdgpu: add arcturus IP discovery firmware
49447aed4821 amdgpu: update vcn 4.0.0 firmware
734cc9b82e60 amdgpu: update smu 13.0.0 firmware
36934f24c008 amdgpu: update psp 13.0.0 firmware
464402529b3f amdgpu: update gc 11.0.0 firmware
1f9ea1b74498 amdgpu: update psp 13.0.14 firmware
877eed711964 amdgpu: update gc 9.4.4 firmware
a4a2882f0391 amdgpu: update psp 13.0.6 firmware
49105d8ee7e1 amdgpu: update gc 9.4.3 firmware
976433406ee3 amdgpu: update beige_goby firmware
3073095c049f amdgpu: update vcn 4.0.5 firmware
f2f8b021e7ca amdgpu: update gc 11.5.0 firmware
ad90939ad7a8 amdgpu: update vcn 4.0.2 firmware
6937d2e155c9 amdgpu: update gc 11.0.1 firmware
00198a7ab7a8 amdgpu: update dimgrey_cavefish firmware
95f5f3cc1044 amdgpu: update aldebaran firmware
b8369884e1db WHENCE: fix subtly incorrect licensing
a26e413e7481 amdgpu: update dmcub fw for dcn32 and dcn401
3c5341f382e0 mediatek: Update mt8186 SCP firmware
9096bad65cb9 amdgpu: Update DMCUB fw for DCN401 & DCN315
0a0b23e207c9 WHENCE: unify Driver statements
4cb2b59c30c2 qcom: add gpu firmwares for X1P42100 chipset

Build system: x86/64
Build-tested: x86/64
Run-tested: x86/64

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/19251
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agorealtek: rt-loader bootbase device enhancement 19253/head
Markus Stockhausen [Sat, 28 Jun 2025 15:39:27 +0000 (11:39 -0400)] 
realtek: rt-loader bootbase device enhancement

Until now the rt-loader only works on U-Boot driven devices where the
environment (e.g. coprocessor) is usually setup properly. Devices like
the ZyXEL GS1920 series use BootBase as start environment and skip
some of the basic initialization steps. rt-loader will fail in these
cases. Take care about the CP0 registers.

Additionally enhance the documentation of the printf implementation.
It was optimized during the different revisions of the initial PR.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19253
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agox86: 64: Enable PCI MMCONFIG
Kazuhiro Ito [Sun, 29 Jun 2025 07:47:31 +0000 (16:47 +0900)] 
x86: 64: Enable PCI MMCONFIG

Some devices can't boot since kernel 6.6 without PCI MMCONFIG.

Fixes: https://github.com/openwrt/openwrt/issues/18228
Fixes: https://forum.openwrt.org/t/openwrt-24-10-x86-64-boot-hangs-after-pci-nvme-initialization/229086
Signed-off-by: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
Link: https://github.com/openwrt/openwrt/pull/19256
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agokernel: allow seamless migration from I40EVF 19255/head
xiao bo [Sun, 29 Jun 2025 02:20:50 +0000 (10:20 +0800)] 
kernel: allow seamless migration from I40EVF

Resolve the issue of seamless migration from I40EVF
link: https://github.com/openwrt/openwrt/pull/19197/files#r2173571237
Signed-off-by: xiao bo <peterwillcn@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19255
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agokernel: bump 6.6 to 6.6.95 19248/head
John Audia [Fri, 27 Jun 2025 11:04:12 +0000 (07:04 -0400)] 
kernel: bump 6.6 to 6.6.95

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.95

Removed upstreamed:
 backport-6.6/201-v6.16-mips-Add-std-flag-specified.patch[1]
 mvebu/patches-6.6/0004-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch[2]
 mvebu/patches-6.6/0005-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch[3]
 mvebu/patches-6.6/0006-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch[4]
 mvebu/patches-6.6/0007-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch[5]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.95&id=231f6a1de15b3f62eb8d6163a8b1bc5935025c69
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.95&id=ae48bc0b8be8786fd0ceab4b5a95c09b5aa93816
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.95&id=8a15a5438c5816a1003b88ce20f25ccc92909ee7
4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.95&id=02c966a8869becb29282403540c88ba33e19c347
5. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.95&id=14a26f6692062a529b612420adb6c0b9290b25d3

Build system: x86/64
Build-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64
Run-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/19248
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
5 weeks agokernel: bump 6.12 to 6.12.35 19249/head
Shiji Yang [Fri, 27 Jun 2025 14:30:02 +0000 (22:30 +0800)] 
kernel: bump 6.12 to 6.12.35

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.35

Remove upstreamed patches:
  bcm27xx/patches-6.12/950-0961-media-imx335-Use-correct-register-width-for-HNUM.patch [1]
  bcm27xx/patches-6.12/950-1003-drivers-media-i2c-imx335-Fix-frame-size-enumeration.patch [2]
  gemini/patches-6.12/0001-net-ethernet-cortina-Use-TOE-TSO-on-all-TCP.patch [3]
  generic/backport-6.12/300-v6.16-mips-Add-std-flag-specified.patch [4]
  mvebu/patches-6.12/0004-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch [5]
  mvebu/patches-6.12/0005-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch [6]
  mvebu/patches-6.12/0006-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch [7]
  mvebu/patches-6.12/0007-v6.16-pinctrl-armada-37xx-propagate-error-from-armada_37xx.patch [8]

Manually rebased patches:
  bcm27xx/patches-6.12/950-0392-fbdev-Allow-client-to-request-a-particular-dev-fbN-n.patch [9]

All other patches are automatically refreshed.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=b93864e0865f235a791e69dc9ef4f896e559ef77
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=1f78790d988c9d55cf8d4b4d511d4b3e38ecb81d
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=2bd434bb0eeb680c2b3dd6c68ca319b30cb8d47f
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=6dbda47fe8bd6aa978c150bc9d321a286d2cc3f4
[5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=2cd2022c38fa26257cc6eec100ae122de9c1541c
[6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=133f17922b3dbae44fe583fb898b92b03558a657
[7] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=aefe45843ea667366e35df4fcfef5ff9051a86c9
[8] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=461d5a73ae45fbe6c300a6e64600f9792684eb52
[9] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.35&id=3f2098f4fba7718eb2501207ca6e99d22427f25a

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19249
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
5 weeks agorealtek: Convert LGS310C to compressed kernel 18397/head
Markus Stockhausen [Sun, 8 Jun 2025 16:43:56 +0000 (12:43 -0400)] 
realtek: Convert LGS310C to compressed kernel

There are too many supported Realtek devices so avoid activating the
rt loader recipe in the default builds. Just start with the LGS310C.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/18397
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agorealtek: add rt-loader recipe
Markus Stockhausen [Sun, 8 Jun 2025 16:42:10 +0000 (12:42 -0400)] 
realtek: add rt-loader recipe

To make use of the new rt-loader provide the needed recipes.
This has been tested with the following devices:

- rtl838x Linksys LGS310: initramfs & flash
- rtl930x Zyxel XGS1210: initramfs

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/18397
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agorealtek: add rt-loader (runtime loader)
Markus Stockhausen [Sun, 8 Jun 2025 16:11:37 +0000 (12:11 -0400)] 
realtek: add rt-loader (runtime loader)

The bootloader of many Realtek switches only supports gzipped kernel images.
With limited flash space that might get critical in future versions. For better
compression allow support for compressed images. For this a new loader was
developed. Several ideas have been taken over from the existing lzma loader
but this has been enhanced to make integration simpler. What is new:

- Loader is position independent. No need to define load addresses
- Loader identifies device memory on its own
- Loader uses "official" upstream kernel lzma uncompress
  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/lib/decompress_unlzma.c
- Loader uses "official" UNMODIFIED nanoprintg that is used by several
  bare metal projects. https://github.com/charlesnicholson/nanoprintf

Compiled the loader ist just under 12KiB and during boot it will show:

rt-loader
Found RTL8380M (chip id 6275C) with 256MB
Relocate 2924240 bytes from 0x80100000 to 0x8fce0000
Extract kernel with 2900144 bytes from 0x8fce521c to 0x80100000...
Extracted kernel size is 9814907 bytes
Booting kernel from 0x80100000 ...

[    0.000000] Linux version 6.12.33 ...
[    0.000000] RTL838X model is 83806800
...

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/18397
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agowifi-scripts: ucode: fix invalid generated MAC address 19234/head
Felix Fietkau [Fri, 27 Jun 2025 11:08:32 +0000 (13:08 +0200)] 
wifi-scripts: ucode: fix invalid generated MAC address

macaddr_base can be NULL, in which case it needs to be passed as an empty string

Signed-off-by: Felix Fietkau <nbd@nbd.name>
5 weeks agouboot-tools: move ubootenv_add_ubi_default to common functions 18818/head
Paweł Owoc [Fri, 16 May 2025 14:22:54 +0000 (16:22 +0200)] 
uboot-tools: move ubootenv_add_ubi_default to common functions

The same function is used twice, so let's make it common.

Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18818
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
5 weeks agouboot-tools: use ubootenv_add_* functions
Paweł Owoc [Fri, 16 May 2025 14:19:05 +0000 (16:19 +0200)] 
uboot-tools: use ubootenv_add_* functions

Use ubootenv_add_* functions for code simplification.

Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18818
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
5 weeks agouboot-tools: update ubootenv_add_* functions
Paweł Owoc [Fri, 16 May 2025 14:06:57 +0000 (16:06 +0200)] 
uboot-tools: update ubootenv_add_* functions

Add posibility to specify:
- ROOTDEV (mmc)
- number of blocks (mtd)

Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18818
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
5 weeks agouboot-tools: move ubootenv_add_* functions to common functions
Paweł Owoc [Fri, 16 May 2025 13:58:28 +0000 (15:58 +0200)] 
uboot-tools: move ubootenv_add_* functions to common functions

Functions ubootenv_add_mtd, ubootenv_add_sys_mtd and ubootenv_add_mmc
can be shared so make them common.

Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18818
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
5 weeks agowifi-scripts: iwinfo(ucode): add missing null checks
Felix Fietkau [Thu, 26 Jun 2025 17:44:43 +0000 (19:44 +0200)] 
wifi-scripts: iwinfo(ucode): add missing null checks

Signed-off-by: Felix Fietkau <nbd@nbd.name>
5 weeks agowifi-scripts: fix validation of require_mode
Felix Fietkau [Thu, 26 Jun 2025 17:18:49 +0000 (19:18 +0200)] 
wifi-scripts: fix validation of require_mode

Signed-off-by: Felix Fietkau <nbd@nbd.name>
5 weeks agowifi-scripts: fix missing variables for setting frag/rts
Felix Fietkau [Thu, 26 Jun 2025 17:16:21 +0000 (19:16 +0200)] 
wifi-scripts: fix missing variables for setting frag/rts

Signed-off-by: Felix Fietkau <nbd@nbd.name>
5 weeks agoscripts: getver.sh: approximate version from date 17817/head
Eric Fahlgren [Sat, 1 Feb 2025 16:12:07 +0000 (08:12 -0800)] 
scripts: getver.sh: approximate version from date

When doing package support and management it is often the case that
knowing the corresponding openwrt repo's release version is useful.

For example, when adding package changes to the ASU server, the
openwrt revision is used as the cutoff for applying those changes.
Knowing a package change's hash in its remote feed repo allows us
to look up its change date, which we can now use with getver.sh
to approximate the revision in openwrt at which it was made.

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17817
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agomediatek: mt7988a: 6.12: move SoC dtsi changes to dedicated patch
Daniel Golle [Wed, 25 Jun 2025 23:53:57 +0000 (00:53 +0100)] 
mediatek: mt7988a: 6.12: move SoC dtsi changes to dedicated patch

Move changes to mt7988a.dtsi from patch adding the support for the
MT7988A Reference Board to a dedicated patch to ease maintainance.

Fixes: f9206d1111 ("kernel/mediatek: 6.12: replace downstream files by patches")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
5 weeks agomediatek: 6.12: mt7988a-rfb: complete conversion to all-UBI fitblk
Daniel Golle [Wed, 25 Jun 2025 23:44:38 +0000 (00:44 +0100)] 
mediatek: 6.12: mt7988a-rfb: complete conversion to all-UBI fitblk

Restore the conversion to an all-UBI NAND layout and use of fitblk on
SPI-NAND connected via the mt65xx SPI controller.
Apply the same also for SPI-NAND connected via the SNFI controller, and
use fitblk also for boot from SPI-NOR, eMMC and SD.

Fixes: f9206d1111 ("kernel/mediatek: 6.12: replace downstream files by patches")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
5 weeks agomediatek: 6.12: fix wrong SoC compatible of MT7988A RFB
Daniel Golle [Wed, 25 Jun 2025 23:22:42 +0000 (00:22 +0100)] 
mediatek: 6.12: fix wrong SoC compatible of MT7988A RFB

The MediaTek MT7988A RFB currently hangs on boot as CCI fails to probe.
This is due to the wrong SoC compatible string "mediatek,mt7988" instead of
"mediatek,mt7988a". Fix that.

Fixes: f9206d1111 ("kernel/mediatek: 6.12: replace downstream files by patches")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
5 weeks agouboot-envtools: set nonshared flag correctly per-subpackage 19180/head
Mario Andrés Pérez [Sun, 22 Jun 2025 17:13:27 +0000 (19:13 +0200)] 
uboot-envtools: set nonshared flag correctly per-subpackage

Currently, uboot-envtools is being built for a (shared) instruction
set (phase2 in buildbots) instead of target-specific (phase1 in builbots).
So the package does not contain the uci-defaults file specific for each
target_subtarget. (Only the fortunate target with coincidentally the same
instruction set and target as the SDK chosen by the buildbot will have the
uci-defaults file.)

This commit sets the nonshared flag correctly in the Makefile so that
uboot-envtools is built for the target-specific (phase 1).

This is done by using the PKGFLAGS variable which is intended for
per-binary flags (instead of PKG_FLAGS which has a global scope), as
stated in some old commits 349e7b635e[1], 2d7eaf2e15[2], 064e7c8f00[3] and
2cb75cd8b9[4].

While at here, use PKG_URL, instead of URL, which is intended for global
scope. As stated in commit e32edf712b[5].

[1] https://github.com/openwrt/openwrt/commit/349e7b635ea819ad34a571bc0adcce9b205df4e9
[2] https://github.com/openwrt/openwrt/commit/2d7eaf2e15aa77bcf526b7ea9747732b35194b2e
[3] https://github.com/openwrt/openwrt/commit/064e7c8f00ebc1721553c0fcb312f809b00e179a
[4] https://github.com/openwrt/openwrt/commit/2cb75cd8b9d451bde0cfffce80fa67d58944c44b
[5] https://github.com/openwrt/openwrt/commit/e32edf712b7c43e25b4bec40fedfd948a0ed5bd6

Fixes: #19040
Fixes: 46e376c ("uboot-tools: migrate uboot-envtools to uboot-tools")
Signed-off-by: Mario Andrés Pérez <mapb_@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19180
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agorealtek: overwrite c22 polling unconditionally on RTL930x 19161/head
Markus Stockhausen [Tue, 17 Jun 2025 07:43:36 +0000 (03:43 -0400)] 
realtek: overwrite c22 polling unconditionally on RTL930x

During setup the mdio driver decides the polling mode of the 4 smi
busses depending on the DTS phy settings. This works as follows:

- set polling to c45 if at least one phy is ethernet-phy-ieee802.3-c45
- set polling to c22 if all phys are ethernet-phy-ieee802.3-c22

On RTL930x it is not possible to switch to c22 if uboot has set c45
before. Fix this by overwriting the bitfield properly. While we are
here:

- Sort variables according to kernel style (inverse christmas tree)
- Initialize fields properly with  = { 0 }
- Use GENMASK() for better readability
- Make use of RTMDIO_MAX_SMI_BUS

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19161
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agowifi-scripts: fix another regression in the ucode auth_type changes
Felix Fietkau [Wed, 25 Jun 2025 11:25:57 +0000 (13:25 +0200)] 
wifi-scripts: fix another regression in the ucode auth_type changes

Clear the right variable
Handle psk2 explicitly

Signed-off-by: Felix Fietkau <nbd@nbd.name>
5 weeks agowifi-scripts: fix corner case in RSN override support
Felix Fietkau [Wed, 25 Jun 2025 08:48:34 +0000 (10:48 +0200)] 
wifi-scripts: fix corner case in RSN override support

When used, all relevant parameters need to be set

Signed-off-by: Felix Fietkau <nbd@nbd.name>
5 weeks agoqualcommbe: ipq95xx: add 8devices Kiwi-DVK support 18435/head
Mantas Pucka [Tue, 18 Mar 2025 08:23:55 +0000 (10:23 +0200)] 
qualcommbe: ipq95xx: add 8devices Kiwi-DVK support

Specifications:
  SoC:     Qualcomm IPQ9570
  RAM:     1 GiB DDR4
  Flash:   4 GiB eMMC
  ETH1:    2.5G Maxlinear GPY211C (48V POE-in)
  ETH2:    10G Realtek RTL8261N
  SFP:     10G SFP+ cage
  WLAN1:   QCN9274 2.4GHz 802.11b/g/n/ax/be 2x2
  WLAN2:   QCN9274 5-6GHz 802.11a/n/ac/ax/be 2x2
  PCIE0:   Gen3x1 mPCIe or M.2(B+M)
  PCIE1:   Gen3x1 M.2(A+E) or M.2(B+M)
  PCIE2:   Gen3x2 M.2(A+E)
  USB:     1x 3.0
  Console: USB-C via FTDI
  Button:  Reset

Install using sysupgrade:

  sysupgrade openwrt-qualcommbe-ipq95xx-8devices_kiwi-dvk-squashfs-sysupgrade.bin

Install using U-Boot:

 * Put factory.bin at TFTP server(192.168.2.254) as fwupdate.bin
 * Run 'run do_recovery' in U-Boot shell

Signed-off-by: Mantas Pucka <mantas@8devices.com>
Link: https://github.com/openwrt/openwrt/pull/18435
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agoqualcommbe: package PPE and PCS drivers as kmods
Mantas Pucka [Tue, 3 Jun 2025 12:20:39 +0000 (15:20 +0300)] 
qualcommbe: package PPE and PCS drivers as kmods

This will allow more flexibility in using PHY drivers as kmods.

Signed-off-by: Mantas Pucka <mantas@8devices.com>
Link: https://github.com/openwrt/openwrt/pull/18435
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agokernel: modules: support Maxlinear GPHY
Alexandru Gagniuc [Thu, 15 May 2025 04:51:59 +0000 (23:51 -0500)] 
kernel: modules: support Maxlinear GPHY

Add support for Maxlinear GPHY module. Also add support for
kmod-polynomial, which is a dependency for this module.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18435
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agoqualcommbe: add PCS driver fixes
Mantas Pucka [Thu, 5 Jun 2025 07:41:20 +0000 (10:41 +0300)] 
qualcommbe: add PCS driver fixes

After update to v6.12 some PCS driver fixes were dropped and additional
are needed due to updated driver.

Signed-off-by: Mantas Pucka <mantas@8devices.com>
Link: https://github.com/openwrt/openwrt/pull/18435
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agoqualcommbe: v6.12: update PCS patches to use .pcs_validate()
Alexandru Gagniuc [Wed, 4 Jun 2025 17:51:18 +0000 (12:51 -0500)] 
qualcommbe: v6.12: update PCS patches to use .pcs_validate()

The original PCS driver did not use the .pcs_validate() in
phylink_pcs_ops. The patches for 1000/2500base-x and 10g modes were
taken from this old driver, and thus did not bother with
.pcs_validate(). Thus, even though these modes are supported, phylink
would not enable them.

To fix these, list these modes in .pcs_validate(). Also list them in
ipq_pcs_clk_rate_get(). While the latter does not appear to change
behavior, it does change the clock rates listed under
/sys/kernel/debug/clk

Co-developed-by: Mantas Pucka <mantas@8devices.com>
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18435
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agoqualcommbe: v6.12: drop upstreamed patch 19232/head
Mantas Pucka [Wed, 25 Jun 2025 07:49:47 +0000 (10:49 +0300)] 
qualcommbe: v6.12: drop upstreamed patch

0102-arm64-dts-qcom-ipq9574-Fix-USB-vdd-info.patch was merged in 6.12.34
Other patches automatically refreshed.

Fixes: cb1b65602712 ("kernel: bump 6.12 to 6.12.34")
Signed-off-by: Mantas Pucka <mantas@8devices.com>
Link: https://github.com/openwrt/openwrt/pull/19232
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 weeks agoipq806x: add support for IgniteNet SunSpot AC Wave2 19094/head
Daniel Golle [Tue, 10 Jun 2025 16:51:32 +0000 (18:51 +0200)] 
ipq806x: add support for IgniteNet SunSpot AC Wave2

The IgniteNet SS-W2-AC2600 is an 802.11ac outdoor (IP-55) access point.
FCC ID: HEDSSW2AC2600

Specification:
 - Qualcomm dual-core IPQ8068 @ 1.4 GHz
 - 256 MB of DDR3L RAM (2x Winbond W631GU6KB-12)
 - 16 MB of SPI NOR (Winbond W25Q128FW)
 - 128 MB of NAND (Macronix MX30UF1G18AC)
 - Qualcomm QCA9994 2.4GHz 802.11bgn
 - Qualcomm QCA9994 5GHz 802.11ac
 - 2 x 10/100/1000 Mbit/s Ethernet
 - 115200, 8N1 RS-232 console (unpopulated RJ-45)
 - Reset button
 - Power and WLAN LEDs
 - Powered via 802.3at PoE or 12V 2A barrel connector

Tested-by: Elektra Wagenrad <onelektra@gmx.net>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
5 weeks agouboot-tools: envtools: ipq806x: add env for IgniteNet SS-W2-AC2600
Daniel Golle [Tue, 10 Jun 2025 21:56:47 +0000 (23:56 +0200)] 
uboot-tools: envtools: ipq806x: add env for IgniteNet SS-W2-AC2600

The IgniteNet SunSpot AC Wave2 uses the standard smem-assigned partition
for its bootloader environment.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
5 weeks agouboot-tools: envtools: ipq806x: ignore case of partition name
Daniel Golle [Wed, 11 Jun 2025 10:14:41 +0000 (12:14 +0200)] 
uboot-tools: envtools: ipq806x: ignore case of partition name

The qcomsmem MTD partition parser converts all partition names to
lower case while the vendor solution uses upper case names, which
often made their way into OpenWrt as labels in 'fixed-partitions'
(probably due to contributors and reviewers being unaware of the
qcomsmem parsers).

Use case-insensitive matching of the 'APPSBLENV' name to make
ubootenv_mtdinfo() work in both cases.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
5 weeks agoipq-wifi: add BDF for IgniteNet SS-W2-AC2600
Daniel Golle [Tue, 10 Jun 2025 16:51:14 +0000 (18:51 +0200)] 
ipq-wifi: add BDF for IgniteNet SS-W2-AC2600

The IgniteNet SunSpot AC Wave2 comes with 2x QCA9994 ath10k chips
connected to the IPQ8068 SoC via PCIe.
Add board-2.bin for both radios on this board.

 3ac4a64 qca9984: add BDFs for IgniteNet SS-W2-AC2600

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
5 weeks agoscripts: make-index-json: rework for old Python versions
Eric Fahlgren [Mon, 23 Jun 2025 22:50:23 +0000 (15:50 -0700)] 
scripts: make-index-json: rework for old Python versions

The current code uses functions and features only found in newer
versions of Python, so rework to allow use on systems only supporting
older Python.  Tested on Python 3.8 (released Oct 2019), but should
work on 3.7 also.

Suggested-by: Chen Minqiang <ptpt52@gmail.com>
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
5 weeks agoci: add missing permission to add comments
Paul Spooren [Tue, 24 Jun 2025 14:29:05 +0000 (16:29 +0200)] 
ci: add missing permission to add comments

While this worked during testing, the repository of a organization requires
extra permissions. Add write access to pull requests, like we do over at
packages.git.

Signed-off-by: Paul Spooren <mail@aparcar.org>
5 weeks agoci: add bot to build on comment
Paul Spooren [Tue, 24 Jun 2025 08:28:38 +0000 (10:28 +0200)] 
ci: add bot to build on comment

This has been requested many times, so let's add this to speed up reviews. When
a member of the "reviewers" group comments the magic word written below, that
specific firmware is created and attached by a bot.

    build <target>/<subtarget>/<profile>

Members of the "reviewers" group have no extra privileges, they can not commit
to the repository nor perform any action outside the `build-on-comment` action.

Motivation is to speedup reviews and have a better source for sharing compiled
firmware.

Signed-off-by: Paul Spooren <mail@aparcar.org>
5 weeks agowifi-scripts: add support for RSN overide and use it for improved WPA3 compat
Felix Fietkau [Tue, 24 Jun 2025 13:04:17 +0000 (15:04 +0200)] 
wifi-scripts: add support for RSN overide and use it for improved WPA3 compat

Override via RSNE is a relatively new feature, which can be used to enable
WPA3 features in a way that is invisible to older clients.
Use it by default to mask the GCMP-256 cipher from older clients, since
there are compatibility issues with existing devices.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
6 weeks agoqualcommax: ipq60xx: WAX610 remove unmountable oem partitions on upgrade 19215/head
Erik Servili [Mon, 23 Jun 2025 17:18:31 +0000 (19:18 +0200)] 
qualcommax: ipq60xx: WAX610 remove unmountable oem partitions on upgrade

When using TFTP install method on a fresh unit, wifi_fw and ubi_rootfs UBI volumes must be removed or will hang when mounting.

Signed-off-by: Erik Servili <serverror@serverror.com>
Link: https://github.com/openwrt/openwrt/pull/19215
Signed-off-by: Robert Marko <robimarko@gmail.com>
6 weeks agotoolchain/wrapper: add missing qstrip to info.mk export 19192/head
Ondrej Cierny [Fri, 20 Jun 2025 21:43:00 +0000 (14:43 -0700)] 
toolchain/wrapper: add missing qstrip to info.mk export

When using an external toolchain, the SetToolchainInfo function
is missing a qstrip call on GCC_VERSION, which results in quotes
making it to the toolchain info.mk file.

This leads to a failure to build the libgcc ipk package because
the quotes make it to its version and filename. For some reason,
it only fails on the first make invocation, but succeeds on
subsequent ones on my setup.

Fix this issue by adding the qstrip, making it consistent with
the internal toolchain approach.

Signed-off-by: Ondrej Cierny <o.cierny@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19192
Signed-off-by: Robert Marko <robimarko@gmail.com>
6 weeks agoimx: venice: disable PCI AER 19189/head
Tim Harvey [Thu, 19 Jun 2025 21:34:34 +0000 (14:34 -0700)] 
imx: venice: disable PCI AER

As a workaround to an issue causing hang during PCI enumeration on
imx8mp with a specific PCIe switch, disable PCI AER.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Link: https://github.com/openwrt/openwrt/pull/19189
Signed-off-by: Robert Marko <robimarko@gmail.com>
6 weeks agoimx: venice: add dt overlay support
Tim Harvey [Thu, 19 Jun 2025 21:32:11 +0000 (14:32 -0700)] 
imx: venice: add dt overlay support

Enable DT overlay support:
 - add dt-overlay to board features
 - add DEVICE_DTS_OVERLAYS
 - update the boot script to resize before applying each overlay

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Link: https://github.com/openwrt/openwrt/pull/19189
Signed-off-by: Robert Marko <robimarko@gmail.com>
6 weeks agoimx: 6-12: add additional patches
Tim Harvey [Thu, 19 Jun 2025 23:11:44 +0000 (16:11 -0700)] 
imx: 6-12: add additional patches

Backport some additional upstream patches:
 - 6.13-arm64-dts-imx8mm-venice-gw73xx-remove-compatible-in-overlay-files.patch
   (this resolves some issues when using dt overlays on gw73xx-0x)
 - 6.16-PCI-imx6-Skip-link-up-workaround-for-newer-platforms.patch
 - pending-PCI-imx6-Remove-apps_reset-toggle-in-_core_reset-function
   (these resolve enumeration issues on imx8mm/imx8mp with a pcie switch)

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Link: https://github.com/openwrt/openwrt/pull/19189
Signed-off-by: Robert Marko <robimarko@gmail.com>
6 weeks agohostapd: preserve vif radio mask for extra bss interfaces
Felix Fietkau [Mon, 23 Jun 2025 09:21:48 +0000 (11:21 +0200)] 
hostapd: preserve vif radio mask for extra bss interfaces

Fixes status information and scanning on extra BSS interfaces when operating
on multi-radio devices.

Reported-by: Chad Monroe <chad.monroe@adtran.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>