Paul Spooren [Tue, 30 Sep 2025 12:17:11 +0000 (14:17 +0200)]
include: make APK packing mtime reproducible
APK kindly stores the mtime of each containing file in created packages,
breaking reproducibility. As a fix, touch all files of the package with the
timestamp of PKGSOURCE_DATE_EPOCH, which contains the timestamp based on the
last package modification.
Over at OPKG, something similar is done by setting mtime in the tar command,
see the `ipkg-build` script.
To tackle this in APK directly, some changes are suggested. However until this
is merged, we should fix it downstream.
https://gitlab.alpinelinux.org/alpine/apk-tools/-/merge_requests/348
Signed-off-by: Paul Spooren <[email protected]>
Daniel Golle [Tue, 30 Sep 2025 11:38:54 +0000 (12:38 +0100)]
rpcd: update to git HEAD
d4fa147 rpc-sys: packagelist: handle ABI versions in apk world properly
Signed-off-by: Daniel Golle <[email protected]>
Rosen Penev [Fri, 14 Jun 2024 00:19:07 +0000 (17:19 -0700)]
ath79: replace various mtd_get_mac_text
Deprecated. Replaced with nvmem.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20176
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev [Sat, 15 Jun 2024 20:48:27 +0000 (13:48 -0700)]
ath79: dir-8x5: use nvmem
Userspace handling is deprecated.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20176
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev [Fri, 14 Jun 2024 19:04:21 +0000 (12:04 -0700)]
ath79: dir-505: use nvmem
Userspace handling is deprecated.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20176
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev [Fri, 14 Jun 2024 17:59:16 +0000 (10:59 -0700)]
ath79: tew-673gru: use nvmem
Userspace handling is deprecated.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20176
Signed-off-by: Robert Marko <[email protected]>
Markus Stockhausen [Mon, 29 Sep 2025 18:33:08 +0000 (14:33 -0400)]
realtek: backport ECC driver
Upstream will get support for the Realtek ECC engine with 6.18.
To make use of this in Openwrt
- backport upstream patches
- change config so that ECC will be built for nand subtargets
- define ECC engine in RTL93xx DTS.
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19746
Signed-off-by: Robert Marko <[email protected]>
Issam Hamdi [Wed, 3 Sep 2025 12:19:38 +0000 (14:19 +0200)]
realtek: rtl931x: set hash_msb based on VLAN ID when adding a new L2 entry
During testing, we discovered that when adding a new offload FDB rule
on certain VLANs and then delete it, does not work as expected.
Steps to Reproduce:
* Create VLAN 4094 on the port lan1:
bridge vlan add vid 4094 dev lan1 pvid
* Add a new FDB entry on port lan1 for VLAN 4094:
bridge fdb add 00:01:02:22:33:44 dev lan1 vlan 4094 master permanent
* Delete the new FDB entry on port lan1 for VLAN4094
bridge fdb del 00:01:02:22:33:44 dev lan1 vlan 4094 master permanent
Root Cause:
The failure occurs because the hash_msb flag is not set correctly
based on the VLAN ID when adding a new L2 entry.
Signed-off-by: Issam Hamdi <[email protected]>
Signed-off-by: Sven Eckelmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20183
Signed-off-by: Robert Marko <[email protected]>
Sven Eckelmann [Fri, 26 Sep 2025 09:57:20 +0000 (11:57 +0200)]
realtek: Switch booleans in rtl838x_l2_entry to single bits
In upstream kernel, it is not well received to use a lot of simple booleans
in structs. It is preferred to use 1-bit bitfields [1] and consolidate the
booleans together.
[1] https://www.kernel.org/doc/html/v6.16/process/coding-style.html#using-bool
Signed-off-by: Sven Eckelmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20183
Signed-off-by: Robert Marko <[email protected]>
Bjørn Mork [Sun, 28 Sep 2025 19:15:23 +0000 (21:15 +0200)]
realtek: add phy-handle for Zyxel GS1900-10HP SFP slots
Align GS1900-10HP dts with other realtek devices to reduce the risk of device
specific regressions with the upcoming driver cleanup/rewrite.
Signed-off-by: Bjørn Mork <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20228
Signed-off-by: Robert Marko <[email protected]>
Bjørn Mork [Mon, 29 Sep 2025 06:13:19 +0000 (08:13 +0200)]
realtek: fix Zyxel GS1900-10HP SFP slots
Parse the pcs-handle property regardless of phy-handle
Signed-off-by: Bjørn Mork <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20228
Signed-off-by: Robert Marko <[email protected]>
Daniel Golle [Tue, 23 Sep 2025 16:44:35 +0000 (17:44 +0100)]
ath79: mikrotik: check RouterBOOT version matching sysupgrade image
Check if the uploaded image matches the version of RouterBOOT before
proceeding with sysupgrade on MikroTik devices with NOR flash.
Signed-off-by: Daniel Golle <[email protected]>
John Thomson [Thu, 27 Oct 2022 10:56:05 +0000 (20:56 +1000)]
ath79: mikrotik: generate a RouterBOOT v7 NOR compatible sysupgrade
RouterBOOT v7 for NOR devices does not support the historic yaffs
"kernel" ELF boot method.
Generate a compatible kernel
Signed-off-by: John Thomson <[email protected]>
John Thomson [Sun, 22 Jan 2023 21:16:04 +0000 (07:16 +1000)]
ramips: mikrotik: generate a RouterBOOT v7 NOR compatible sysupgrade
RouterBOOT v7 for NOR devices does not support the historic yaffs
"kernel" ELF boot method.
Generate a compatible kernel
Signed-off-by: John Thomson <[email protected]>
John Thomson [Sun, 22 Jan 2023 21:16:04 +0000 (07:16 +1000)]
ipq40xx: mikrotik: generate a RouterBOOT v7 NOR compatible sysupgrade
RouterBOOT v7 for NOR devices does not support the historic yaffs
"kernel" ELF boot method.
Generate a compatible kernel
Signed-off-by: John Thomson <[email protected]>
John Thomson [Thu, 16 May 2024 00:16:53 +0000 (10:16 +1000)]
image: adapt mikrotik yafut to allow switch to bootimage YAFFS path
Adjust the YAFFS file path written depending on the sysupgrade
filename.
Default to kernel (for ELF), switch to bootimage (for NPK) if image name
has v7.
Signed-off-by: John Thomson <[email protected]>
John Thomson [Sun, 22 Jan 2023 11:34:43 +0000 (21:34 +1000)]
build: add Mikrotik NOR RouterBOOT v7 image build
Add build step 'kernel-pack-npk' which uses 'npk_pack_kernel' which is now
part of firmware-utils to enable wrapping the kernel inside a MikroTik NPK
package.
Signed-off-by: John Thomson <[email protected]>
Signed-off-by: Daniel Golle <[email protected]>
Daniel Golle [Tue, 23 Sep 2025 22:30:03 +0000 (23:30 +0100)]
firmware-utils: update to git HEAD
7e6f69b npk_pack_kernel: add tool for creating MikroTik NPK kernel packages
d3f8b6e zynsig: add new tool for creating images for the ZyXEL GS1920 series
9fa340d ptgen: create separate images for gpt data structure
78d8084 ptgen: allow image generation for a specified disk size
3f2d148 ptgen: allow non-default placement of gpt entry table
f1f98b0 ptgen: do not create stub partition to fill a gap if gap caused by alignment
6ea8b6d ptgen: fix protective MBR partition size
febfef7 ptgen: use long long instead of long for sizes
996dc48 ptgen: fix misprint and simplify calculation a bit
0725c3d build: require CMake >= 3.5 due to dropped legacy support
Signed-off-by: Daniel Golle <[email protected]>
Felix Fietkau [Mon, 29 Sep 2025 12:08:08 +0000 (14:08 +0200)]
ucode: update to Git HEAD (2025-09-29)
f642f65c3d00 rtnl: optimize string attribute encoding
1946c571eb25 nl80211: rework string attribute encoding
6b16cd37373a nl80211: properly handle decoding numeric struct members
5a342b86c010 nl80211: support sending requests on listener socket
cd2850eec8ca lib: fix `rindex()` return value when needle at the start of the haystack
23b21eb2e8cb ubus: add connection functions to global scope
a5b206f60f5d struct: align `X` and `Z` length & truncation semantics with `*`
387880348c89 nl80211: read all pending event messages
470bc3ebffe0 uloop: fix potential use-after-free when destroying uloop entities
Signed-off-by: Felix Fietkau <[email protected]>
Christian Marangi [Mon, 29 Sep 2025 11:56:15 +0000 (13:56 +0200)]
kernel: netdevices: fix typo for Aeonsemi AS21xxx description
Fix a typo on defining the PHY package kmod description that reference
phy-aeonsemi-as21x1x package instead of phy-aeonsemi-as21xxx.
Fixes: 08a616b2163e ("generic: backport support for Aeonsemi AS21xxx PHY")
Signed-off-by: Christian Marangi <[email protected]>
Felix Fietkau [Mon, 29 Sep 2025 11:40:08 +0000 (13:40 +0200)]
hostapd: add new ubus method for performig channel switch
This is a replacement for the bss based function, which cannot be used for MLO.
Signed-off-by: Felix Fietkau <[email protected]>
George Tsiamasiotis [Tue, 23 Sep 2025 20:11:19 +0000 (23:11 +0300)]
scripts/patch-kernel.sh: do not try to check files after patch
Since we are not using patch -b, *.orig files are only created when
there are conflicts, or never according to posix patch.
As such, it doesn't really make sense to always delete *.orig files
presuming they are patch backups, even if they are patch backups.
Doing so is both deleting potentially useful information for failed
patch applications and creating hard to diagnose bugs [1].
In a similar vein, checking for *.rej files does not add any value
since we're already checking the patch command's return code.
[1]: https://github.com/openwrt/packages/issues/27485
Signed-off-by: George Tsiamasiotis <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20141
Signed-off-by: Robert Marko <[email protected]>
Felix Fietkau [Mon, 29 Sep 2025 10:35:52 +0000 (12:35 +0200)]
hostapd: fix condition for re-creating MLD interfaces
Check the correct interface in order to avoid tearing down an existing
itnerface.
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Mon, 29 Sep 2025 07:45:45 +0000 (09:45 +0200)]
wpa_supplicant: MLO bringup order
Do not allow hostapd phy state update to bring up links as long between mld_set
and mld_start calls. Configuration on other PHYs could still be pending.
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Mon, 29 Sep 2025 07:28:56 +0000 (09:28 +0200)]
wifi-scripts: ucode: add start_disabled for AP mode
Enable it, whenever the AP needs to wait for a supplicant instance.
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Sun, 28 Sep 2025 18:55:57 +0000 (20:55 +0200)]
hostapd: fix an AP+STA corner case on MLO APs
Bring up AP interfaces, even if no frequency update was provided.
Fixes bringup when a MLO STA on the same radios connects to fewer links
than available, or to a non-MLD AP.
Signed-off-by: Felix Fietkau <[email protected]>
Aleksander Jan Bajkowski [Fri, 26 Sep 2025 15:10:19 +0000 (17:10 +0200)]
airoha: fix scuclk node for an7581
Add missing syscon compatible for scuclk node.
Fix the unit-address of the scuclk node.
This fixes the pcs driver error:
airoha-pcs
1fa08000.pcs: probe with driver airoha-pcs failed with error -22
airoha-pcs
1fa09000.pcs: probe with driver airoha-pcs failed with error -22
Fixes: c3d70b1 ("airoha: en7581: Add support for external PHY")
Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Signed-off-by: Chukun Pan <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20190
Signed-off-by: Christian Marangi <[email protected]>
Chukun Pan [Tue, 16 Sep 2025 14:05:20 +0000 (22:05 +0800)]
airoha: an7581: refresh kernel config
Enable MEDIATEK_GE_SOC_PHY driver and disable NET_DSA_MT7530_MDIO.
Refresh kernel configs with 'make kernel_oldconfig CONFIG_TARGET=subtarget'.
Signed-off-by: Chukun Pan <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20190
Signed-off-by: Christian Marangi <[email protected]>
Chukun Pan [Fri, 26 Sep 2025 15:02:15 +0000 (23:02 +0800)]
airoha: fix pinctrl driver function bug
The pinctrl driver for airoha was expecting a function name that was
not a string, but was passed one. Removing #string fixed this issue.
Fixes: c5b12fc ("airoha: Introduce support for Airoha AN7583 SoC")
Signed-off-by: Chukun Pan <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20190
Signed-off-by: Christian Marangi <[email protected]>
Chukun Pan [Thu, 18 Sep 2025 14:30:18 +0000 (22:30 +0800)]
airoha: remove duplicate AN7581 PHY patch
This patch already exists in generic/backport-6.12.
Fixes: 122135b ("airoha: an7581: add support for kernel 6.12")
Signed-off-by: Chukun Pan <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20190
Signed-off-by: Christian Marangi <[email protected]>
Chukun Pan [Tue, 9 Sep 2025 15:06:02 +0000 (23:06 +0800)]
airoha: set default DEVICE_DTS/DEVICE_DTS_DIR
All devices under airoha use dts directory under the target,
so update the default DEVICE_DTS_DIR. Also set the default
DEVICE_DTS based on the SoC name for non-dev boards.
Signed-off-by: Chukun Pan <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20190
Signed-off-by: Christian Marangi <[email protected]>
Christian Marangi [Sun, 28 Sep 2025 18:24:28 +0000 (20:24 +0200)]
kernel: rtl8261n: add support for Serdes TX swap
Add support for swapping the Serdes TX line on RTL8261N PHYs.
This is used on an Arcadyan Mozart board where the Serdes TX is swapped
on the PHY (instead of on the Soc) to permit support of SFP module by
using toggling the integrated MUX.
Link: https://github.com/openwrt/openwrt/pull/20227
Signed-off-by: Christian Marangi <[email protected]>
Simonas Tamošaitis [Fri, 26 Sep 2025 19:32:43 +0000 (22:32 +0300)]
ramips: mt76x8: fix 02_network typo
Remove unnecessary tab which breaks 02_network script with syntax error.
Fixes: f29bc8736aac ("ramips: CREALITY BOX WB01")
Signed-off-by: Simonas Tamošaitis <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20195
Signed-off-by: Hauke Mehrtens <[email protected]>
Goetz Goerisch [Sat, 27 Sep 2025 15:40:19 +0000 (15:40 +0000)]
kernel: bump 6.6 to 6.6.108
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.108
Signed-off-by: Goetz Goerisch <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20214
Signed-off-by: Hauke Mehrtens <[email protected]>
Felix Fietkau [Sun, 28 Sep 2025 14:25:01 +0000 (16:25 +0200)]
iwinfo: drop @!WIFI_SCRIPTS_UCODE dependency
Make the package empty if ucode wifi scripts are being used (since iwinfo is
provided by wifi-scripts in that case). This fixes packages that explicitly
select iwinfo
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Sun, 28 Sep 2025 14:20:43 +0000 (16:20 +0200)]
wifi-scripts: force wmm_enabled to 1 in AP mode, remove option
There are no supported drivers where it even makes sense to disable WMM
anymore, since so much depends on it.
Signed-off-by: Felix Fietkau <[email protected]>
Ted Hess [Sun, 28 Sep 2025 01:49:12 +0000 (21:49 -0400)]
odhcpd: update to Git HEAD (2025-09-27)
bc9f9d93d4d6 dhcpv4: allow lease takeover (bugfix)
b1547922257e odhcpd: bump minimum cmake version
86c0200f8067 odhcpd: apply RFC9096 recommended lifetimes
Signed-off-by: Ted Hess <[email protected]>
Rosen Penev [Sun, 18 Feb 2024 04:53:04 +0000 (20:53 -0800)]
ath79: wd,mynet-nxxx: use nvmem
Userspace handling is deprecated.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16285
Signed-off-by: Hauke Mehrtens <[email protected]>
Ted Hess [Sat, 27 Sep 2025 21:46:18 +0000 (17:46 -0400)]
expat: Update to 2.7.3
Fixes:
CVE-2025-59375
Regression from: CVE-2024-8176
Changelog: https://github.com/libexpat/libexpat/blob/R_2_7_3/expat/Changes
Signed-off-by: Ted Hess <[email protected]>
Hauke Mehrtens [Sat, 27 Sep 2025 12:49:27 +0000 (14:49 +0200)]
build: remove iwinfo dependency
Do not always try to include iwinfo in the images when wpa supplicant or
Broadcom nas is also included. iwinfo is incompatible with current
default configuration.
iwinfo is only build when CONFIG_WIFI_SCRIPTS_UCODE is not set. If
CONFIG_WIFI_SCRIPTS_UCODE is not set kmod-cfg80211 depends on iwinfo,
so it should be included in all images with wifi drivers.
The CONFIG_WIFI_SCRIPTS_UCODE option was recently changed to be active
by default.
This should fix the current buildbot build failures.
This reverts commit
6435b8bb27ea ("build: include iwinfo by default
if nas or wpad(-mini) is selected")
Fixes: 04e9929c47e9 ("wifi-scripts: enable ucode scripts by default")
Link: https://github.com/openwrt/openwrt/pull/20211
Signed-off-by: Hauke Mehrtens <[email protected]>
Rui Salvaterra [Fri, 21 Mar 2025 17:10:19 +0000 (17:10 +0000)]
octeon: set kernel 6.12 as default and remove support for 6.6
Get the Octeon target ready for the next OpenWrt release.
Signed-off-by: Rui Salvaterra <[email protected]>
Rui Salvaterra [Fri, 21 Mar 2025 17:08:21 +0000 (17:08 +0000)]
octeon: update Linux 6.12 kconfig
Update with make kernel_oldconfig CONFIG_TARGET=target. Also disable
CONFIG_POSIX_MQUEUE, as it's available in the OpenWrt configuration.
Signed-off-by: Rui Salvaterra <[email protected]>
Rui Salvaterra [Tue, 5 Aug 2025 11:55:24 +0000 (12:55 +0100)]
octeon: fix octeon build with CONFIG_KERNEL_WERROR
Add a patch fixing a bunch of missing prototype errors, scattered all over the
tree.
Signed-off-by: Rui Salvaterra <[email protected]>
Rui Salvaterra [Fri, 21 Mar 2025 17:33:34 +0000 (17:33 +0000)]
octeon: fix command line hack for Linux 6.12
Since strlcpy has been removed in Linux 6.8, replace it with strscpy.
Signed-off-by: Rui Salvaterra <[email protected]>
Rui Salvaterra [Fri, 21 Mar 2025 17:06:58 +0000 (17:06 +0000)]
octeon: refresh 6.12 patches
All but one needs (automatic) rebasing.
Signed-off-by: Rui Salvaterra <[email protected]>
Rui Salvaterra [Wed, 17 Sep 2025 19:01:27 +0000 (20:01 +0100)]
kernel/octeon: Restore kernel files for v6.6
This is an automatically generated commit which aids following Kernel patch
history, as git will see the move and copy as a rename thus defeating the
purpose.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Rui Salvaterra <[email protected]>
Rui Salvaterra [Wed, 17 Sep 2025 19:01:27 +0000 (20:01 +0100)]
kernel/octeon: Create kernel files for v6.12 (from v6.6)
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Rui Salvaterra <[email protected]>
John Audia [Thu, 25 Sep 2025 10:05:42 +0000 (06:05 -0400)]
kernel: bump 6.12 to 6.12.49
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.49
All patches automatically rebased.
Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc
Signed-off-by: John Audia <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20162
Signed-off-by: Hauke Mehrtens <[email protected]>
Rosen Penev [Fri, 12 Sep 2025 00:40:55 +0000 (17:40 -0700)]
ath79: wnr200-v3: handle eeprom with nvmem
Userspace handling is deprecated.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20112
Signed-off-by: Hauke Mehrtens <[email protected]>
Rosen Penev [Fri, 12 Sep 2025 03:27:51 +0000 (20:27 -0700)]
ath79: tiny: use nvmem for engenius devices
Userspace handling is deprecated.
Also convert custom LED to one handled by ath9k.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20112
Signed-off-by: Hauke Mehrtens <[email protected]>
Stefan Kalscheuer [Fri, 15 Aug 2025 13:13:02 +0000 (15:13 +0200)]
mvebu: use upstream DTS for Ctera C200-V2
Upstream DTS in 6.12 contains many changes from our copy.
Move the remaining diff, which is LED aliases, USB ports and partition
labels into a patch and drop the full copy.
Signed-off-by: Stefan Kalscheuer <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19786
Signed-off-by: Hauke Mehrtens <[email protected]>
Stefan Kalscheuer [Fri, 15 Aug 2025 13:05:51 +0000 (15:05 +0200)]
mvebu: use upstream DTS for Globalscale MOCHAbin
Upstream DTS in 6.12 is almost identical to our copy.
Move the partition label change into a patch and drop the full copy.
Signed-off-by: Stefan Kalscheuer <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19786
Signed-off-by: Hauke Mehrtens <[email protected]>
Stefan Kalscheuer [Fri, 15 Aug 2025 13:02:22 +0000 (15:02 +0200)]
mvebu: use upstream DTS for GL.iNet GL-MV1000
Upstream DTS in 6.12 is almost identical to our copy.
Move LED and partition tweaks into a patch and drop the full copy.
Signed-off-by: Stefan Kalscheuer <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19786
Signed-off-by: Hauke Mehrtens <[email protected]>
Stefan Kalscheuer [Fri, 15 Aug 2025 12:51:58 +0000 (14:51 +0200)]
mvebu: move DTS diff into a patch for Methode uDPU
Upstream DTS is almost identical to our copy. Move network aliases and
phy-mode into a patch and drop the full copy.
Signed-off-by: Stefan Kalscheuer <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19786
Signed-off-by: Hauke Mehrtens <[email protected]>
Stefan Kalscheuer [Fri, 15 Aug 2025 12:35:22 +0000 (14:35 +0200)]
mvebu: use upstream DTS for Globalscale ESPRESSObin Ultra
Upstream DTS in 6.12 is almost identical to our copy.
The only non-trivial difference is ethernet aliases. Move this change
into a patch and drop the full copy.
Signed-off-by: Stefan Kalscheuer <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19786
Signed-off-by: Hauke Mehrtens <[email protected]>
Stefan Kalscheuer [Fri, 15 Aug 2025 11:58:33 +0000 (13:58 +0200)]
mvebu: use upstream DTS for Methode eDPU
All changes to the DTS have been applied upstream, remove our DTS copy.
This change effectively drops the workaround for the 2500Base-x
interface which was broken until kernel 5.15 and removes redundant
address-/size-cells.
Signed-off-by: Stefan Kalscheuer <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19786
Signed-off-by: Hauke Mehrtens <[email protected]>
Bjørn Mork [Thu, 25 Sep 2025 07:45:08 +0000 (09:45 +0200)]
mediatek: filogic: load precal data for Unifi 6 Plus
Point the driver to the precal section of the emmc "factory" partition.
Signed-off-by: Bjørn Mork <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20154
Signed-off-by: Hauke Mehrtens <[email protected]>
Bjørn Mork [Thu, 25 Sep 2025 05:29:19 +0000 (07:29 +0200)]
mediatek: filogic: use nvmem for Unifi 6 Plus caldata
Replace the hotplug script with nvmem now that loading data from emmc
partitions is supported.
Signed-off-by: Bjørn Mork <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20154
Signed-off-by: Hauke Mehrtens <[email protected]>
Bjørn Mork [Wed, 24 Sep 2025 17:18:20 +0000 (19:18 +0200)]
mediatek: filogic: use nvmem for Unifi 6 Plus WiFi mac
Avoids the occacial lost race, where VAPs are created before the hotplug
script has updated the phy mac address.
Signed-off-by: Bjørn Mork <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20154
Signed-off-by: Hauke Mehrtens <[email protected]>
Linus Walleij [Tue, 16 Sep 2025 20:43:42 +0000 (22:43 +0200)]
ixp4xx: Add back Actiontec MI424WR A/C/D
Prior to the deletion of the old IXP4xx codebase we supported
Actiontec MI424WR A, C and D.
This brings back the support using the upstream device trees
from Linux.
Link: https://github.com/openwrt/openwrt/pull/20066
Signed-off-by: Linus Walleij <[email protected]>
Linus Walleij [Tue, 16 Sep 2025 19:27:05 +0000 (21:27 +0200)]
ixp4xx: Add some upstream patches
This corrects the WRV54G device tree and adds patches for
MI424WR alongh with GPIO MMIO support for the same.
Link: https://github.com/openwrt/openwrt/pull/20066
Signed-off-by: Linus Walleij <[email protected]>
Tianling Shen [Fri, 26 Sep 2025 15:02:48 +0000 (23:02 +0800)]
kernel: fix dependencies for kmod-gpio-pwm
gpio pwm driver is only available on kernel 6.11+.
Signed-off-by: Tianling Shen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20187
Signed-off-by: Robert Marko <[email protected]>
Elwin Huang [Fri, 26 Sep 2025 07:36:53 +0000 (15:36 +0800)]
mediatek: ap7622-wh1: Enable bluetooth interface
Add missing bluetooth support btif in dts.
Signed-off-by: Elwin Huang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20181
Signed-off-by: Robert Marko <[email protected]>
Wei-Ting Yang [Fri, 26 Sep 2025 01:29:44 +0000 (09:29 +0800)]
libunwind: fix typo in patch file suffix
Fix typo in patch file suffix.
Signed-off-by: Wei-Ting Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20178
Signed-off-by: Robert Marko <[email protected]>
Felix Fietkau [Fri, 26 Sep 2025 07:29:39 +0000 (09:29 +0200)]
wpa_supplicant: fix ap+sta regression for non-MLD interfaces
Fix a copy&paste issue.
Reported-by: Chad Monroe <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Christian Marangi [Fri, 26 Sep 2025 07:05:21 +0000 (09:05 +0200)]
boot: Introduce support for U-Boot support for Airoha EN7581/AN7583
Introduce support for U-Boot for Airoha EN7581/AN7583. For EN7581
initial patch are already in U-Boot mainline and doesn't require
backport, for AN7583 some patch are still pending but already posted
upstream.
Also add for now, precompiled binary for ATF BL2 and BL31. Support for
ATF is planned and will come later.
Signed-off-by: Christian Marangi <[email protected]>
Christian Marangi [Fri, 26 Sep 2025 02:55:19 +0000 (04:55 +0200)]
airoha: Introduce support for Airoha AN7583 SoC
Introduce initial support for Airoha AN7583 SoC and add all the required
patch for basic functionality of the SoC.
Airoha AN7583 is based on Airoha EN7581 SoC with some major changes on
the PHY handling and Serdes. It can be see as a lower spec of EN7581
with modern and simplified implementations.
All the patch are sent upstream and are pending revision. Support for
PCIe and USB will come later as soon as DT structure is accepted
upstream.
Signed-off-by: Christian Marangi <[email protected]>
Christian Marangi [Fri, 26 Sep 2025 02:53:43 +0000 (04:53 +0200)]
airoha: en7581: enable CPUFREQ_DT and CPU HOTPLUG kconfig
To correctly init the CPUFreq driver, CPUFREQ_DT is needed. While at it
also enable CPU HOTPLUG kconfig to support hotplug of secondary CPU.
Signed-off-by: Christian Marangi <[email protected]>
Christian Marangi [Fri, 26 Sep 2025 02:52:36 +0000 (04:52 +0200)]
airoha: en7581: Add pending ASOC driver
Add pending ASOC driver for I2S sound support on Airoha EN7581 SoC.
Signed-off-by: Christian Marangi <[email protected]>
Christian Marangi [Fri, 26 Sep 2025 02:15:03 +0000 (04:15 +0200)]
airoha: en7581: Add support for external PHY
This add a pending version of the Airoha PCS driver to add support for
External PHY. The Airoha PCS driver will receive some minor modification
once we the PCS subsystem will be defined upstream.
Add all the required node for GDM2 and GDM4 and enable the PCS config.
Signed-off-by: Christian Marangi <[email protected]>
John Audia [Mon, 22 Sep 2025 19:22:20 +0000 (15:22 -0400)]
openssl: update to 3.5.3
Removed upstreamed patch: 0001-Don-t-keep-the-store-open-in-by_store_ctrl_ex.patch
Release notes:
This is a bug fix release.
This release incorporates the following bug fixes and mitigations:
Added FIPS 140-3 PCT on DH key generation.
Fixed the synthesised OPENSSL_VERSION_NUMBER.
Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc
Signed-off-by: John Audia <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20133
Signed-off-by: Hauke Mehrtens <[email protected]>
Robert Marko [Thu, 25 Sep 2025 09:18:56 +0000 (11:18 +0200)]
kernel: modules: add PWM GPIO module
Package the generic kernel PWM GPIO driver as module to avoid the need
to build it into the kernel.
Signed-off-by: Robert Marko <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20160
Signed-off-by: Robert Marko <[email protected]>
Felix Fietkau [Thu, 25 Sep 2025 11:02:39 +0000 (13:02 +0200)]
wifi-scripts: ucode: fix r0kh/r1kh parsing
The option is an array, and for each entry there should be one generated
line in hostapd.conf. Commas also need to be replaced with whitespace
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Thu, 25 Sep 2025 10:07:48 +0000 (12:07 +0200)]
hostapd: fix setting up MLD AP interfaces after config change
Removing the last remaining link from an MLD AP interface removes the
interface as well. Re-create the interface if necessary on config changes.
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Wed, 24 Sep 2025 17:46:36 +0000 (19:46 +0200)]
wpa_supplicant: fix getting phy status and setting state for MLD
Fixes some AP+STA related issues
Signed-off-by: Felix Fietkau <[email protected]>
Jan Hoffmann [Thu, 24 Jul 2025 17:39:28 +0000 (19:39 +0200)]
realtek: support configuring SerDes auto-negotiation on RTL93xx
There are SFP modules which only work if auto-negotiation is disabled,
like some "OEM SFP-2.5G-T" modules. This also seems to be necessary for
RTL8226/RTL8221B PHYs when using 2500Base-X.
However, currently, it is always enabled, so add support for configuring
it to make these SFP modules and PHYs work.
This also adds locking which should be useful for future extension of
the PCS driver.
Signed-off-by: Jan Hoffmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19518
Signed-off-by: Robert Marko <[email protected]>
Markus Stockhausen [Wed, 24 Sep 2025 12:52:50 +0000 (08:52 -0400)]
realtek: drop sds property
Now that MDIO and DSA driver only look for pcs-handle drop all
usages of the sds property.
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20148
Signed-off-by: Robert Marko <[email protected]>
Markus Stockhausen [Wed, 24 Sep 2025 12:28:35 +0000 (08:28 -0400)]
realtek: evaluate pcs-handle instead of sds property
In the Realtek dts the pcs-handle property at the switch port is the
successor of the sds property at the phy. Rearrange the MDIO and DSA
driver so they always look at the new attribute.
Remark! This code can be dropped completely if the new PCS driver
is fully featured. But this will take some time.
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20148
Signed-off-by: Robert Marko <[email protected]>
Andrew LaMarche [Tue, 23 Sep 2025 14:15:40 +0000 (10:15 -0400)]
airoha: switch to 6.12 and drop 6.6
Switch Airoha targets to 6.12 and drop 6.6 support.
Signed-off-by: Andrew LaMarche <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20137
Signed-off-by: Robert Marko <[email protected]>
Felix Fietkau [Thu, 25 Sep 2025 07:40:47 +0000 (09:40 +0200)]
wifi-scripts: ucode: add support for the legacy hwmode option
Some configs that are many years old still have it set instead of band
Signed-off-by: Felix Fietkau <[email protected]>
Andrew LaMarche [Tue, 23 Sep 2025 17:26:46 +0000 (13:26 -0400)]
airoha: en7523: fix SPI patch no prototype error
en7523 compilation on 6.12 fails with a no prototype warning. Fix this
by declaring max_transfer_size and transfer_one_message static.
Signed-off-by: Andrew LaMarche <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20138
Signed-off-by: Hauke Mehrtens <[email protected]>
Andrew LaMarche [Tue, 23 Sep 2025 14:54:46 +0000 (10:54 -0400)]
airoha: en7523: add missing Kconfig entry on 6.12
Add missing Kconfig symbols for en7523 on 6.12.
Signed-off-by: Andrew LaMarche <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20138
Signed-off-by: Hauke Mehrtens <[email protected]>
Felix Fietkau [Sun, 21 Sep 2025 13:39:35 +0000 (15:39 +0200)]
wpa_supplicant: add MLO client support
Can also be used for a client mode interface that is able to connect on
multiple bands individually, while handling hostapd state for the correct
band.
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Sun, 21 Sep 2025 13:30:09 +0000 (15:30 +0200)]
wpa_supplicant: initialize interface list on startup
Avoid errors on deref if adding an interface fails
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Sat, 20 Sep 2025 15:14:47 +0000 (17:14 +0200)]
wifi-scripts: ucode: fix client mode scan list support
- fix the variable name in the configuration file
- provide a default scan list in case the user did not configure it (MLO preparation)
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Wed, 17 Sep 2025 19:31:51 +0000 (21:31 +0200)]
wifi-scripts: simplify MLO handling
Move mlo specific hostapd ubus call from wireless handler to netifd core
ucode script. This avoids unnecessary queueing and the fake MLO wireless
device.
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Wed, 17 Sep 2025 10:44:05 +0000 (12:44 +0200)]
wifi-scripts: enable ucode scripts by default
They are required for MLO support
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Wed, 17 Sep 2025 10:27:31 +0000 (12:27 +0200)]
netifd/wifi-scripts: use shared global connection for ubus
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Sat, 6 Sep 2025 14:47:42 +0000 (16:47 +0200)]
hostapd: add wpa_supplicant ubus function guard exception handler
Improves logging when something goes wrong
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Sat, 6 Sep 2025 14:45:15 +0000 (16:45 +0200)]
hostapd: ubus: replace ex_wrap exception handler function with global guard
Simplifies the code
Signed-off-by: Felix Fietkau <[email protected]>
Stijn Segers [Sun, 7 Sep 2025 09:03:47 +0000 (11:03 +0200)]
realtek: rtl930x: rename XGS1250-12 to A1
Zyxel labels their switch revisions A1, B1, ... and not v1, v2, ...
Rename the supported device to A1 to make it clear this is the only
known compatible hardware revision.
Also add a compatible for seamless upgrade.
Signed-off-by: Stijn Segers <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20118
Signed-off-by: Robert Marko <[email protected]>
Stijn Segers [Sun, 21 Sep 2025 10:00:28 +0000 (12:00 +0200)]
realtek: rtl839x: rename GS1900 series v1/v2 to A1/B1
Zyxel labels their switch revisions A1, B1, ... and not v1, v2, ...
Rename the devices as such in OpenWrt to match the labels. Of note:
the first (A1) revision is never labeled as such on the label, just
in the web UI. Provide compatibles for seamless sysupgrade.
For a recent overview of Zyxel GS1900 series revisions, see the
table linked in https://forum.openwrt.org/t//57875/3874.
Signed-off-by: Stijn Segers <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20118
Signed-off-by: Robert Marko <[email protected]>
Stijn Segers [Thu, 4 Sep 2025 18:26:08 +0000 (20:26 +0200)]
realtek: rtl838x: rename GS1900 series v1/v2 to A1/B1
Zyxel labels their switch revisions A1, B1, ... and not v1, v2, ...
Rename the devices as such in OpenWrt to match the labels. Of note:
the first (A1) revision is never labeled as such on the label, just
in the web UI. Provide compatibles for seamless sysupgrade.
For a recent overview of Zyxel GS1900 series revisions, see the
table linked in https://forum.openwrt.org/t//57875/3874.
Signed-off-by: Stijn Segers <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20118
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev [Fri, 14 Jun 2024 19:40:13 +0000 (12:40 -0700)]
ath79: dir-842: use nvmem
Userspace handling is deprecated.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17344
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev [Sat, 15 Jun 2024 20:57:31 +0000 (13:57 -0700)]
ath79: dlink,dir-615-e4: use nvmem
Userspace handling is deprecated.
Move the mac address patch to 10_fix_wifi_mac.
This uses an AR9287, which uses a smaller size for its calibration.
The PCI ID is also wrong.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19864
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev [Thu, 28 Aug 2025 00:21:44 +0000 (17:21 -0700)]
lantiq: use new ADSL nvmem support
Can now set through DTS.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19910
Signed-off-by: Hauke Mehrtens <[email protected]>
Rosen Penev [Thu, 28 Aug 2025 00:21:44 +0000 (17:21 -0700)]
ltq-ptm: add NVMEM MAC support for ADSL
fcc48204d2 added support for VDSL. This is the same commit but for ADSL.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19910
Signed-off-by: Hauke Mehrtens <[email protected]>
Mikhail Zhilkin [Mon, 15 Sep 2025 19:09:32 +0000 (22:09 +0300)]
mediatek: CMCC RAX3000Me: fix stability issues
This commit fixes stability issues on certain RAX3000Me devices. Some
devices has DDR3 RAM which don't able to work reliably at 2133 MHz
and require special BL2 (1866 MHz RAM freq).
Fixes: https://github.com/openwrt/openwrt/issues/20046
Signed-off-by: Mikhail Zhilkin <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20059
Signed-off-by: Hauke Mehrtens <[email protected]>
Mikhail Zhilkin [Mon, 15 Sep 2025 20:13:04 +0000 (23:13 +0300)]
arm-trusted-firmware-mediatek: add mt7981 DDR3 1866 MHz builds
The new profiles are intended for devices with DDR3 RAM which
don't able to work reliably at 2133 MHz.
Signed-off-by: Mikhail Zhilkin <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20059
Signed-off-by: Hauke Mehrtens <[email protected]>
Mikhail Zhilkin [Mon, 15 Sep 2025 18:53:25 +0000 (21:53 +0300)]
arm-trusted-firmware-mediatek: mt7981-ram-ddr3: reduce ddr3 freq to 1866MHz
This fixes stability issues on certain devices.
Fixes: https://github.com/openwrt/openwrt/issues/20046
Signed-off-by: Mikhail Zhilkin <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20059
Signed-off-by: Hauke Mehrtens <[email protected]>