]> git.ipfire.org Git - thirdparty/openwrt.git/log
thirdparty/openwrt.git
29 hours agoopenssl: update to 3.5.4 20275/head
John Audia [Thu, 2 Oct 2025 12:24:22 +0000 (08:24 -0400)] 
openssl: update to 3.5.4

release is Moderate.

This release incorporates the following bug fixes and mitigations:

Fix Out-of-bounds read & write in RFC 3211 KEK Unwrap.
(CVE-2025-9230)

Fix Timing side-channel in SM2 algorithm on 64 bit ARM.
(CVE-2025-9231)

Fix Out-of-bounds read in HTTP client no_proxy handling.
(CVE-2025-9232)

Reverted the synthesised OPENSSL_VERSION_NUMBER change for the release
builds, as it broke some exiting applications that relied on the previous
3.x semantics, as documented in OpenSSL_version(3).

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

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/20275
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
29 hours agokernel: bump 6.6 to 6.6.109 20277/head
Goetz Goerisch [Thu, 2 Oct 2025 12:47:12 +0000 (14:47 +0200)] 
kernel: bump 6.6 to 6.6.109

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

All patches autorefreshed.

Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20277
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
29 hours agokernel: bump 6.12 to 6.12.50 20280/head
John Audia [Thu, 2 Oct 2025 16:53:55 +0000 (12:53 -0400)] 
kernel: bump 6.12 to 6.12.50

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

Dropped upstreamed:
backport-6.12/787-v6.17-net-sfp-add-quirk-for-FLYPRO-copper-SFP-module.patch[1]

All patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.50&id=d2be6c429d8cc952ff42fdf31b6a7cffb5e233b0

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

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/20280
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
29 hours agorealtek: drop source-only from rtl931x target 20172/head
Sven Eckelmann [Wed, 1 Oct 2025 12:35:49 +0000 (14:35 +0200)] 
realtek: drop source-only from rtl931x target

Now the rtl931x target has real devices that need to be built. Remove the
source-only flag to make the images available.

Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20172
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
29 hours agorealtek: rtl931x: Add support for Plasma Cloud ESX28 Switch
Harshal Gohel [Mon, 14 Jul 2025 16:00:58 +0000 (18:00 +0200)] 
realtek: rtl931x: Add support for Plasma Cloud ESX28 Switch

The Plasma Cloud ESX28 Switch is a 24 + 4 port multi-GBit switch with
24x 10/100/1000/2500BaseT Ethernet ports and 4x SFP+ module slot.

Hardware:

- RTL9312C SoC
- Macronix MX25L25645G (32MB flash)
- 512MB DDR3 SDRAM
- RTL8231 GPIO extender to control the port LEDs
- 6x RTL8224 4x 10m/100m/1/2.5 Gigabit PHY
- SFP+ 4x 10GBit slot

The switch is powered directly via AC.

The external RS232 serial connector (RJ45, Cisco pinout) can be used to
access the terminal. Serial connection is via 115200 baud, 8N1.

A reset button is accessible through a hole in the front panel.

Installation
------------

* The device can be flashed by using sysupgrade command. Either from the
  original vendor firmware or using an initramfs (see "Debug")
* Connect serial on front panel. Connection parameters: 115200 8N1
* The image must be copied using scp to /tmp of the device

      scp openwrt-realtek-rtl931x-plasmacloud_esx28-squashfs-sysupgrade.bin root@[IP address of the device]:/tmp/

* start sysupgrade without saving the original vendor configuration

      sysupgrade -n /tmp/openwrt-realtek-rtl931x-plasmacloud_esx28-squashfs-sysupgrade.bin

Installation via u-boot
-----------------------

If you have an TFTP server connected to the switch, it is possible to
directly install the device using the factory image from u-boot

    # setup networking and IP of TFP server
    rtk network on
    setenv ipaddr 10.100.100.99
    setenv serverip 10.100.100.20

    # get factory image
    tftp 0x84000000 factory.bin

    # erase firmware partitions
    sf probe 0
    sf erase 0x5e0000 0x1a20000

    # write firmware to both partitions
    sf write ${fileaddr} 0x5e0000 ${filesize}
    sf write ${fileaddr} 0x12f0000 ${filesize}

    # adjust the boot commands
    setenv bootargs "mtdparts=spi0.0:768k(u-boot),64k(u-boot-env),64k(u-boot-env2),5120k(reserved),13376k(inactive),13376k(firmware2)"
    setenv bootcmd "rtk init; bootm 0xb52f0000"

    # restart
    reset

Debug
-----

* Connect serial on front panel. Connection parameters: 115200 8N1.
* A tftp server is required, tftpd-hpa works well.
* Power the device, at U-Boot start rapidly hit Esc key to stop autoboot
* Enter passwords: "1234" or "plasmapsx"
* Enable network:

      rtk network on

* Change ip address of device:

      setenv ipaddr 192.168.1.6

* Download initramfs from TFTP server:

      tftpboot 0x84000000 192.168.1.111:openwrt-realtek-rtl931x-plasmacloud_esx28-initramfs-kernel.bin

* Boot loaded file:

      bootm 0x84000000

Signed-off-by: Harshal Gohel <hg@simonwunderlich.de>
Co-developed-by: Sven Eckelmann <se@simonwunderlich.de>
Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20172
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
29 hours agorealtek: rtl931x: Add support for Plasma Cloud PSX28 Switch
Harshal Gohel [Mon, 14 Jul 2025 16:00:58 +0000 (18:00 +0200)] 
realtek: rtl931x: Add support for Plasma Cloud PSX28 Switch

The Plasma Cloud PSX28 Switch is a 24 + 4 port multi-GBit switch with
24x 10/100/1000/2500BaseT Ethernet ports and 4x SFP+ module slot.

Hardware:

- RTL9312C SoC
- Macronix MX25L25645G (32MB flash)
- 512MB DDR3 SDRAM
- RTL8231 GPIO extender to control the port LEDs
- 6x RTL8224 4x 10m/100m/1/2.5 Gigabit PHY
- SFP+ 4x 10GBit slot
- RTL8239 POE++ PSE controller with frontend MCU

The switch is powered directly via AC.

The external RS232 serial connector (RJ45, Cisco pinout) can be used to
access the terminal. Serial connection is via 115200 baud, 8N1.

A reset button is accessible through a hole in the front panel.

Installation
------------

* The device can be flashed by using sysupgrade command. Either from the
  original vendor firmware or using an initramfs (see "Debug")
* Connect serial on front panel. Connection parameters: 115200 8N1
* The image must be copied using scp to /tmp of the device

      scp openwrt-realtek-rtl931x-plasmacloud_psx28-squashfs-sysupgrade.bin root@[IP address of the device]:/tmp/

* start sysupgrade without saving the original vendor configuration

      sysupgrade -n /tmp/openwrt-realtek-rtl931x-plasmacloud_psx28-squashfs-sysupgrade.bin

Installation via u-boot
-----------------------

If you have an TFTP server connected to the switch, it is possible to
directly install the device using the factory image from u-boot

    # setup networking and IP of TFP server
    rtk network on
    setenv ipaddr 10.100.100.99
    setenv serverip 10.100.100.20

    # get factory image
    tftp 0x84000000 factory.bin

    # erase firmware partitions
    sf probe 0
    sf erase 0x5e0000 0x1a20000

    # write firmware to both partitions
    sf write ${fileaddr} 0x5e0000 ${filesize}
    sf write ${fileaddr} 0x12f0000 ${filesize}

    # adjust the boot commands
    setenv bootargs "mtdparts=spi0.0:768k(u-boot),64k(u-boot-env),64k(u-boot-env2),5120k(reserved),13376k(inactive),13376k(firmware2)"
    setenv bootcmd "rtk init; bootm 0xb52f0000"

    # restart
    reset

Debug
-----

* Connect serial on front panel. Connection parameters: 115200 8N1.
* A tftp server is required, tftpd-hpa works well.
* Power the device, at U-Boot start rapidly hit Esc key to stop autoboot
* Enter passwords: "1234" or "plasmapsx"
* Enable network:

      rtk network on

* Change ip address of device:

      setenv ipaddr 192.168.1.6

* Download initramfs from TFTP server:

      tftpboot 0x84000000 192.168.1.111:openwrt-realtek-rtl931x-plasmacloud_psx28-initramfs-kernel.bin

* Boot loaded file:

      bootm 0x84000000

Signed-off-by: Harshal Gohel <hg@simonwunderlich.de>
Co-developed-by: Sven Eckelmann <se@simonwunderlich.de>
Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20172
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
29 hours agorealtek: rtl931x: Enable parsing of u-boot nvmem layouts
Sven Eckelmann [Mon, 14 Apr 2025 13:16:47 +0000 (13:16 +0000)] 
realtek: rtl931x: Enable parsing of u-boot nvmem layouts

To be able to read out the ethaddr from the u-boot environment for MAC
address configuration, it is required to also enable the NVMEM layout
parsing code for the U-Boot env layout.

Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20172
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
30 hours agorockchip: make use of OpenWrt compiled dtbs 20286/head
Tianling Shen [Fri, 3 Oct 2025 08:02:10 +0000 (16:02 +0800)] 
rockchip: make use of OpenWrt compiled dtbs

OpenWrt buildroot will compile all dtbs defined in target to
$(KDIR)/image-$(DEVICE_DTS).dtb, so make use of it to allow us
debug and use external dtbs easier without patching kernel Makefile.

This also fixes commit 5c724939c396 which forgot to update DTS_DIR
in KERNEL variable.

Fixes: 5c724939c396 ("rockchip: add DEVICE_DTS_DIR definition")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/20286
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
32 hours agoomcproxy: update to Git HEAD (2025-10-04)
Hauke Mehrtens [Sat, 4 Oct 2025 11:40:56 +0000 (13:40 +0200)] 
omcproxy: update to Git HEAD (2025-10-04)

fc2eac19ea03 build: require CMake >= 3.10 due to dropped legacy support

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
32 hours agorelayd: update to Git HEAD (2025-10-04)
Hauke Mehrtens [Sat, 4 Oct 2025 11:38:44 +0000 (13:38 +0200)] 
relayd: update to Git HEAD (2025-10-04)

708a76faa7a1 build: require CMake >= 3.10 due to dropped legacy support

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
32 hours agoumbim: update to Git HEAD (2025-10-04)
Hauke Mehrtens [Sat, 4 Oct 2025 11:35:29 +0000 (13:35 +0200)] 
umbim: update to Git HEAD (2025-10-04)

2939b7d019ab build: require CMake >= 3.10 due to dropped legacy support

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
32 hours agousbmode: update to Git HEAD (2025-10-04)
Hauke Mehrtens [Sat, 4 Oct 2025 11:33:28 +0000 (13:33 +0200)] 
usbmode: update to Git HEAD (2025-10-04)

86fa49d32853 add GPL v2+ SPDX header
9b4d0a6e25d5 build: require CMake >= 3.10 due to dropped legacy support

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
32 hours agoumdns: update to Git HEAD (2025-10-04)
Hauke Mehrtens [Sat, 4 Oct 2025 11:31:37 +0000 (13:31 +0200)] 
umdns: update to Git HEAD (2025-10-04)

2f75344fd0cc build: require CMake >= 3.10 due to dropped legacy support

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
33 hours agofirmware-utils: update to Git HEAD (2025-10-01)
Hauke Mehrtens [Sat, 4 Oct 2025 10:22:52 +0000 (12:22 +0200)] 
firmware-utils: update to Git HEAD (2025-10-01)

4b7638925d3e iptime-crc32: add support for ipTIME AX3000M
12c0b42231be nosimg-enc: add new tool for XikeStor SKS8300 series
2051fe5bc2a1 mktplinkfw2: Add 16MLmtk layout
5d1446bf57d6 tplink-safeloader: Add more special_id's for MR70X
075cdc0c4dd4 iptime-crc32: add support for ipTIME AX3000Q
48ababab6b08 iptime-crc32: add support for ipTIME AX3000SM
f29de74ecd7d iptime-crc32: Add device support for ipTIME AX6000M
3346d7711c9a build: add mkqdimg
950f83405a93 iptime-crc32: add support for ipTIME AX7800M-6E
0725c3d4aa1b build: require CMake >= 3.5 due to dropped legacy support
996dc482a7e8 ptgen: fix misprint and simplify calculation a bit
febfef7a09b1 ptgen: use long long instead of long for sizes
6ea8b6dd44d0 ptgen: fix protective MBR partition size
f1f98b0b8456 ptgen: do not create stub partition to fill a gap if gap caused by alignment
3f2d14829150 ptgen: allow non-default placement of gpt entry table
78d8084c7376 ptgen: allow image generation for a specified disk size
9fa340db640e ptgen: create separate images for gpt data structure
d3f8b6ed940a zynsig: add new tool for creating images for the ZyXEL GS1920 series
7e6f69b444c3 npk_pack_kernel: add tool for creating MikroTik NPK kernel packages
0782d243d23e Revert "ptgen: do not create stub partition to fill a gap if gap caused by alignment"

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
33 hours agoubus: update to Git HEAD (2025-10-04)
Hauke Mehrtens [Sat, 4 Oct 2025 10:12:52 +0000 (12:12 +0200)] 
ubus: update to Git HEAD (2025-10-04)

ad2768bbc166 lua: build: require CMake >= 3.10 due to dropped legacy support

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
33 hours agolibubox: update to Git HEAD (2025-10-04)
Hauke Mehrtens [Sat, 4 Oct 2025 10:09:32 +0000 (12:09 +0200)] 
libubox: update to Git HEAD (2025-10-04)

c163d7ab8cdc lua: build: require CMake >= 3.10 due to dropped legacy support

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
33 hours agofirewall: update to Git HEAD (2025-10-03)
Hauke Mehrtens [Sat, 4 Oct 2025 10:04:17 +0000 (12:04 +0200)] 
firewall: update to Git HEAD (2025-10-03)

3a65fde5a3e6 build: require CMake >= 3.10 due to dropped legacy support

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
33 hours agojsonfilter: update to Git HEAD (2025-10-04)
Hauke Mehrtens [Sat, 4 Oct 2025 10:02:55 +0000 (12:02 +0200)] 
jsonfilter: update to Git HEAD (2025-10-04)

f4fe702d0e8d build: require CMake >= 3.10 due to dropped legacy support

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
34 hours agoiptables: fix breaking packing 20283/head
Andy Chiang [Thu, 2 Oct 2025 21:12:12 +0000 (04:12 +0700)] 
iptables: fix breaking packing

after change include/package-pack.mk in 16416782f194d1850a9d9accf02f04832a7fcea4, must use ALTERNATIVES to create soft link, otherwise the packing will be messed up.

Fixes: openwrt#20270
Fixes: openwrt#20291
Fixes: 16416782f194d1850a9d9accf02f04832a7fcea4 (include: make APK packing mtime reproducible)
Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/20283
Signed-off-by: Robert Marko <robimarko@gmail.com>
45 hours agotools/ccache: same behaviour for local and CI builds 20290/head
Andreas Gnau [Fri, 3 Oct 2025 08:59:42 +0000 (10:59 +0200)] 
tools/ccache: same behaviour for local and CI builds

If the environment variable `CI` is set, ccache will enable the CMake
option CCACHE_DEV_MODE by default. This leads to differing behaviour
between local and CI builds which takes quite some time to debug. ðŸ¤¯

Achieve consistent behaviour between local builds and CI builds by
setting CCACHE_DEV_MODE. Set it to OFF, because CCACHE_DEV_MODE amongst
other settings like linker choice, enables -Werror, which will lead to
potential compilation failures when the host compiler is updated. Using
-Werror for host utils is not desirable, because the compiler version
used is not controlled by the OpenWrt build system and host utils should
compile successfully on an as wide range of host OSes as possible.

Reported-by: Roman Azarenko <roman.azarenko@iopsys.eu>
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Link: https://github.com/openwrt/openwrt/pull/20290
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
45 hours agoubus: update to Git HEAD (2025-10-04)
Christian Marangi [Fri, 3 Oct 2025 22:08:56 +0000 (00:08 +0200)] 
ubus: update to Git HEAD (2025-10-04)

2b69c9859946 examples: CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
45 hours agoprocd: update to Git HEAD (2025-10-04)
Christian Marangi [Fri, 3 Oct 2025 22:08:50 +0000 (00:08 +0200)] 
procd: update to Git HEAD (2025-10-04)

3b3501abb63d upgraded: CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
45 hours agolibubox: update to Git HEAD (2025-10-04)
Christian Marangi [Fri, 3 Oct 2025 22:08:44 +0000 (00:08 +0200)] 
libubox: update to Git HEAD (2025-10-04)

eeb6fcf91413 examples: CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
45 hours agouci: update to Git HEAD (2025-10-04)
Christian Marangi [Fri, 3 Oct 2025 22:04:06 +0000 (00:04 +0200)] 
uci: update to Git HEAD (2025-10-04)

a07209538959 lua: CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agomt76: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:59:44 +0000 (23:59 +0200)] 
mt76: update to Git HEAD (2025-10-03)

9ee788a38251 wifi: mt76: mt7996: fix null pointer deref in mt7996_conf_tx()
ec3f05480e5b tools: CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agolibnl-tiny: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:59:10 +0000 (23:59 +0200)] 
libnl-tiny: update to Git HEAD (2025-10-03)

feca1d341d4b CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agouclient: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:58:38 +0000 (23:58 +0200)] 
uclient: update to Git HEAD (2025-10-03)

dc909ca71bc8 CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agoudebug: update to Git HEAD (2025-09-28)
Christian Marangi [Fri, 3 Oct 2025 21:58:22 +0000 (23:58 +0200)] 
udebug: update to Git HEAD (2025-09-28)

d3be5474f6e6 udebug-cli: ignore zero-length messages in logstream
c79f02d899df ucode: fix skipping lines where the timestamp cannot be parsed
5327524e7153 cmake: bump minimum required version to 3.13

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agoustream-ssl: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:58:06 +0000 (23:58 +0200)] 
ustream-ssl: update to Git HEAD (2025-10-03)

5a81c108d20e CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agoodhcp6c: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:57:50 +0000 (23:57 +0200)] 
odhcp6c: update to Git HEAD (2025-10-03)

96d9e0b6e813 CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agouhttpd: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:57:30 +0000 (23:57 +0200)] 
uhttpd: update to Git HEAD (2025-10-03)

ebb92e6b339b CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agounetd: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:57:23 +0000 (23:57 +0200)] 
unetd: update to Git HEAD (2025-10-03)

2f67f6faa08a CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agofstools: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:56:46 +0000 (23:56 +0200)] 
fstools: update to Git HEAD (2025-10-03)

12858e2878ef CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agofwtool: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:56:29 +0000 (23:56 +0200)] 
fwtool: update to Git HEAD (2025-10-03)

04cd252e4e93 CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agoprocd: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:56:14 +0000 (23:56 +0200)] 
procd: update to Git HEAD (2025-10-03)

ebfe7d0f2844 CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agorpcd: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:55:57 +0000 (23:55 +0200)] 
rpcd: update to Git HEAD (2025-10-03)

cfb93f105ca2 CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agoubox: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:55:41 +0000 (23:55 +0200)] 
ubox: update to Git HEAD (2025-10-03)

c75525a58a7e CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agoucert: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:55:09 +0000 (23:55 +0200)] 
ucert: update to Git HEAD (2025-10-03)

57270b247c91 CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agourngd: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:54:41 +0000 (23:54 +0200)] 
urngd: update to Git HEAD (2025-10-03)

f17e33d99427 CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agousign: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:54:34 +0000 (23:54 +0200)] 
usign: update to Git HEAD (2025-10-03)

c4c72b1b0794 CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
46 hours agougps: update to Git HEAD (2025-10-03)
Christian Marangi [Fri, 3 Oct 2025 21:54:26 +0000 (23:54 +0200)] 
ugps: update to Git HEAD (2025-10-03)

9a351d411113 CMakeLists: update cmake minimum required version to 3.10

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2 days agorealtek: rtl93xx: Ignore STP for per port TX 20184/head
Issam Hamdi [Tue, 9 Sep 2025 13:32:29 +0000 (15:32 +0200)] 
realtek: rtl93xx: Ignore STP for per port TX

If transmissions are done outside of the DSA switch (directly from the CPU
port), the STP state must not block the transmission. Otherwise, STP frames
are not correctly submitted and the STP frames cannot correctly detect
loops before switching a port in the forwarding state.

The same applies for the LLDP frames. These must be submitted independent
of the STP state to identify neighbors or configure POE limits.

It is not necessary to filter specific destination mac addresses because
the transmission was done outside the bridge/switch in the first place. The
transmission is therefore forced.

Signed-off-by: Issam Hamdi <ih@simonwunderlich.de>
Co-developed-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Link: https://github.com/openwrt/openwrt/pull/20184
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 days agorealtek: rtl93xx: dsa: Add support for port based mirroring 20264/head
Sharadanand Karanjkar [Tue, 15 Jul 2025 17:48:05 +0000 (19:48 +0200)] 
realtek: rtl93xx: dsa: Add support for port based mirroring

The RTL930X and RTL931X SoCs support port-based, flow-based, and
RSPAN-based mirroring. Like for other SoCs from the realtek target, only
the port based port mirroring can be exposed using Linux's tc subsystem.

The port_mirror_add() implementation was updated with the following
considerations for RTL93xx SoCs:

* mirrored packets must pass through the TX pipeline of the mirroring
  port, so they are subject to configuration such as VLAN tagging,
  remarking, and EVC
* when a packet hits both source ports (SPM) and destination port (DPM) of
  a mirror group, the egress port traffic will be mirrored

The port_mirror_del() function doesn't require any modifications.

Signed-off-by: Sharadanand Karanjkar <sk@simonwunderlich.de>
Co-developed-by: Sven Eckelmann <se@simonwunderlich.de>
Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20264
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 days agorealtek: dsa: Keep HW specific mirror code in SoC helper
Sven Eckelmann [Tue, 15 Jul 2025 17:48:05 +0000 (19:48 +0200)] 
realtek: dsa: Keep HW specific mirror code in SoC helper

Instead of using a lot of if-else blocks in the port mirror code, provide
SoC specific function which calculates the SoC specific portions. The
generic part of the port mirroring code can then simply operate on the
calculated register addresses and values.

Suggested-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20264
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 days agorealtek: Refresh kernel patches
Hauke Mehrtens [Fri, 3 Oct 2025 12:15:40 +0000 (14:15 +0200)] 
realtek: Refresh kernel patches

I just ran: make target/{clean,refresh} V=99

Fixes: 272a392fe19e ("realtek: rtl93xx: replace pending I2C patches with upstreamed patches")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 days agopackage: generate sha256sums by default
Paul Spooren [Wed, 1 Oct 2025 13:22:38 +0000 (15:22 +0200)] 
package: generate sha256sums by default

Right now the sha256sums are only created for the targets/ folder (i.e.
firmware images) and only the buildbot generates those sha256sums. Instead, let
the build system create the sha256sums directly.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2 days agokernel: modules: fix mlxreg dependency to avoid deferred probe 20274/head
Til Kaiser [Thu, 2 Oct 2025 13:01:35 +0000 (15:01 +0200)] 
kernel: modules: fix mlxreg dependency to avoid deferred probe

The mlxreg-hotplug platform driver was failing to probe due to a missing
I²C multiplexer dependency. Previously, only kmod-i2c-mux-mlxcpld was
declared, but mlxreg also requires kmod-i2c-mux-reg to initialize its
I²C mux functionality.

Without this dependency, the driver probe was deferred:

  [   24.902331] platform mlxreg-hotplug: deferred probe pending: (reason unknown)

With kmod-i2c-mux-reg added, the probe succeeds and the expected
multiplexed I²C buses are registered:

  [   15.793884] i2c i2c-1: Added multiplexed i2c bus 2
  [   15.799391] i2c i2c-1: Added multiplexed i2c bus 3
  [   15.804830] i2c i2c-1: Added multiplexed i2c bus 4
  ...

Signed-off-by: Til Kaiser <mail@tk154.de>
Link: https://github.com/openwrt/openwrt/pull/20274
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 days agorockchip: add Radxa ROCK 4D support 20041/head
Tianling Shen [Sat, 13 Sep 2025 11:49:36 +0000 (19:49 +0800)] 
rockchip: add Radxa ROCK 4D support

Hardware
--------
RockChip RK3576 ARM64 (8 cores)
2/4/8/16GB LPDDR5 RAM
1x 1000 Base-T (with optional PoE support)
2x LEDs (POWER / USER)
eMMC/UFS connector
Micro-SD Slot
HDMI OUT
PCIe FPC connector
2x USB 2.0 Port
2x USB 3.0 Port
USB Type-C PD Power

Installation
------------
Uncompress the OpenWrt sysupgrade and write it to a micro SD card or
internal eMMC using dd.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/20041
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 days agouboot-rockchip: add Radxa ROCK 4D support
Tianling Shen [Sat, 13 Sep 2025 11:49:36 +0000 (19:49 +0800)] 
uboot-rockchip: add Radxa ROCK 4D support

Add support for the Radxa ROCK 4D board.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/20041
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 days agouboot-rockchip: backport RK3576 support
Tianling Shen [Sat, 13 Sep 2025 11:49:36 +0000 (19:49 +0800)] 
uboot-rockchip: backport RK3576 support

Backport core support for RK3576 SoCs.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/20041
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 days agorkbin: pack rk3576 tpl blob
Tianling Shen [Sat, 13 Sep 2025 11:49:35 +0000 (19:49 +0800)] 
rkbin: pack rk3576 tpl blob

Currently there's no usable open source TPL implementation for
rk3576 SoCs, so pack the prebuilt firmware from the vendor.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/20041
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 days agoarm-trusted-firmware-rockchip: Update to 2.13
Tianling Shen [Sat, 13 Sep 2025 11:49:35 +0000 (19:49 +0800)] 
arm-trusted-firmware-rockchip: Update to 2.13

Add RK3576 ATF build.

Changelog: https://trustedfirmware-a.readthedocs.io/en/v2.13.0/change-log.html#id1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/20041
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 days agorockchip: backport dts updates for rk3576
Tianling Shen [Sat, 13 Sep 2025 11:49:35 +0000 (19:49 +0800)] 
rockchip: backport dts updates for rk3576

Backport core dts updates for rk3576.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/20041
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 days agorockchip: backport driver updates for rk3576
Tianling Shen [Sat, 13 Sep 2025 11:49:35 +0000 (19:49 +0800)] 
rockchip: backport driver updates for rk3576

Backport clk/phy/rng/ufs/usb driver updates for rk3576.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/20041
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 days agorockchip: use per-SoC defined kernel loadaddr
Tianling Shen [Sat, 13 Sep 2025 11:49:35 +0000 (19:49 +0800)] 
rockchip: use per-SoC defined kernel loadaddr

The FIT loadaddr on RK3308/RK3566/RK3568/RK358x is 0x02000000
instead of 0x02080000, while on RK3576 it's 0x42000000, which is
quite different from the former SoCs and incompatible with current
kernel loadaddr value.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/20041
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 days agorockchip: add DEVICE_DTS_DIR definition
Tianling Shen [Thu, 18 Sep 2025 14:26:51 +0000 (22:26 +0800)] 
rockchip: add DEVICE_DTS_DIR definition

Avoid duplicating `rockchip/` prefix when specifying dts path.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/20041
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 days agorealtek: rtl93xx: replace pending I2C patches with upstreamed patches 20273/head
Jonas Jelonek [Fri, 12 Sep 2025 19:33:18 +0000 (19:33 +0000)] 
realtek: rtl93xx: replace pending I2C patches with upstreamed patches

Replace the pending I2C backport patches for RTL93XX added in
44655c97bb with the upstreamed variants. The patches have been accepted
upstream in the meantime and are included in v6.17 or v6.18.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20273
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 days agowifi-scripts: retry setup of wireless devices that show up late
Felix Fietkau [Thu, 2 Oct 2025 11:29:57 +0000 (13:29 +0200)] 
wifi-scripts: retry setup of wireless devices that show up late

When a phy appears after setup has already been attempted, tell netifd
to retry setup for all failed wireless devices.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 days agonetifd: send event after running wireless handler
Felix Fietkau [Thu, 2 Oct 2025 09:04:36 +0000 (11:04 +0200)] 
netifd: send event after running wireless handler

This can be used by other services to trigger reconfiguration, or detect when
PHY renaming has been performed.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 days agoprocd: update to Git HEAD (2025-10-02)
Felix Fietkau [Thu, 2 Oct 2025 09:04:10 +0000 (11:04 +0200)] 
procd: update to Git HEAD (2025-10-02)

ace5f272e139 service: fix use-after-free on service data update
94bfb9cf4238 service: implement set_data ubus method
cb40d082b126 service: send ubus notifications for event triggers

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 days agowifi-scripts: ucode: only set a hostapd config if it has interfaces
Felix Fietkau [Thu, 2 Oct 2025 08:46:43 +0000 (10:46 +0200)] 
wifi-scripts: ucode: only set a hostapd config if it has interfaces

Do not pass invalid configs to hostapd.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 days agonetifd: always call setup for disabled radios
Felix Fietkau [Thu, 2 Oct 2025 08:33:29 +0000 (10:33 +0200)] 
netifd: always call setup for disabled radios

Ensures that renaming is handled properly. For disabled radios, setup is
performed with an empty list of interfaces.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 days agorealtek: rtl931x: Add SPI_CTRL0 as pinmux 20263/head
Sven Eckelmann [Wed, 1 Oct 2025 12:47:09 +0000 (14:47 +0200)] 
realtek: rtl931x: Add SPI_CTRL0 as pinmux

The RTL931x has next to its SPI flash controller a SPI master interface. It
is connected to

* SPI_CS#[1,0]: AH22 , AK22 (aka: GPIO 12, 11)
* SPI_CLK:      AL23 (aka: GPIO 8)
* SPI_MISO:     AM23 (aka: GPIO 9)
* SPI_MOSI:     AL22 (aka: GPIO 10)

It is not the same as the SPI flash controller which uses pins:

* SPI_CS#[1,0]: B24, A24
* SPI_SCLK:     A23
* SPI_SDI/SIO0: B21
* SPO_SDO_SIO1: B21
* SPI_SIO2:     A22
* SPI_SIO3:     B22
* SPI_RSTN:     B23

As shown above, the SPI master controller shares its pin with GPIO 8, 9,
10, 11, 12. In some upcoming devices (like the Plasma Cloud PSX28/ESX28),
they will be used for SFP cage signaling. These pins must therefore be
switched manually to the GPIO mode.

The SPI_CTRL0 register provides all necessary configuration to enforce the
GPIO mode of the pins. And until more requirements (and a correct driver)
for the SPI master controller arise, it is therefore possible to use
pinctrl-single to configure it using the devicetree.

Previously the ethernet driver did configure the SPI master controller for
31.25 MHz. It is unknown for which kind of device this was originally made
and what was actually connected there. But this manual write to the
register conflicts potentially with the write of the pinctrl driver to the
same register. Luckily, we don't need this SPI speed configuration in the
ethernet driver. Still, to allow this device an easy migration, the
`spi0-31mhz` configuration was already prepared.

Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20263
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 days agomediatek: fix polarity of user button on openwrt-one
Felix Fietkau [Fri, 8 Aug 2025 16:55:03 +0000 (18:55 +0200)] 
mediatek: fix polarity of user button on openwrt-one

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 days agomac80211: ath: improve ath10k "failed to flush transmit queue" errors 19529/head
Florian Maurer [Sun, 28 Sep 2025 22:38:03 +0000 (00:38 +0200)] 
mac80211: ath: improve ath10k "failed to flush transmit queue" errors

Currently, in busy environments, ath10k logs "failed to flush transmit
queue" errors and have a spiking CPU usage, making the wireless barely
usable.
With this patch, taken from https://patchwork.kernel.org/project/linux-wireless/patch/20250806070005.1429-1-hujy652@gmail.com/
this does not occur in normal operation and the wifi is much more stable

Supersedes #19427
Ref: https://github.com/openwrt/openwrt/issues/15929#issuecomment-2227391307
Ref: https://github.com/openwrt/openwrt/issues/14965

Signed-off-by: Florian Maurer <f.maurer@outlook.de>
Link: https://github.com/openwrt/openwrt/pull/19529
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
4 days agolibunwind: enable it to all targets 20193/head
Josef Schlehofer [Fri, 26 Sep 2025 18:11:29 +0000 (20:11 +0200)] 
libunwind: enable it to all targets

This commit will enable building for riscv64
and maybe for other platforms such as mipsel64.

Suggested-by: Rosen Penev <rosenp@gmail.com>
in https://github.com/openwrt/openwrt/pull/3871#issuecomment-778987028

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20193
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
4 days agolibunwind: avoid using $(PKG_NAME) in PKG_SOURCE_URL
Josef Schlehofer [Fri, 26 Sep 2025 18:09:22 +0000 (20:09 +0200)] 
libunwind: avoid using $(PKG_NAME) in PKG_SOURCE_URL

If there is used $(PKG_NAME) in PKG_SOURCE_URL,
then it can not be copy&pasted to the browser's address bar.

Let's remove $(PKG_NAME) and use hardcoded project name
in the PKG_SOURCE_URL

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20193
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
4 days agolibunwind: update to version 1.8.3
Josef Schlehofer [Fri, 26 Sep 2025 18:08:33 +0000 (20:08 +0200)] 
libunwind: update to version 1.8.3

Release notes:
https://github.com/libunwind/libunwind/releases/tag/v1.8.2
https://github.com/libunwind/libunwind/releases/tag/v1.8.3

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20193
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
4 days agofirmware-utils: revert commit breaking x86 MBR images
Daniel Golle [Wed, 1 Oct 2025 15:42:58 +0000 (16:42 +0100)] 
firmware-utils: revert commit breaking x86 MBR images

 0782d24 Revert "ptgen: do not create stub partition to fill a gap if gap caused by alignment"

Fixes: #20254
Fixes: c5ece837a3 ("firmware-utils: update to git HEAD")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
4 days agonetifd: update to Git HEAD (2025-09-30)
Felix Fietkau [Wed, 1 Oct 2025 08:08:44 +0000 (10:08 +0200)] 
netifd: update to Git HEAD (2025-09-30)

c3bf8fd913a4 interface: fix reload for devices that point to vlan aliases
22216cac7c94 bridge: fix reload when ports refer to aliased vlans on another bridge
ecca21ca07dd system: add logging wrappers for basic system functions

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 days agowifi-scripts: ucode: add support for setting Multi-AP profile/vlanid
Felix Fietkau [Wed, 1 Oct 2025 08:02:37 +0000 (10:02 +0200)] 
wifi-scripts: ucode: add support for setting Multi-AP profile/vlanid

Required for Profile-2 support.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 days agowpa_supplicant: report interface events and support querying interface status
Felix Fietkau [Wed, 1 Oct 2025 04:06:43 +0000 (06:06 +0200)] 
wpa_supplicant: report interface events and support querying interface status

Makes information like Multi-AP status (including VLAN ID) accessible

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 days agowpa_supplicant: include multi-ap status in interface state
Felix Fietkau [Wed, 1 Oct 2025 04:06:15 +0000 (06:06 +0200)] 
wpa_supplicant: include multi-ap status in interface state

This can be used to read the Multi-AP profile and default VLAN ID

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 days agowpa_supplicant: do not wait for notify completion
Felix Fietkau [Wed, 1 Oct 2025 03:33:52 +0000 (05:33 +0200)] 
wpa_supplicant: do not wait for notify completion

There is no callback, so no use tracking the request status.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
5 days agorealtek: rtl930x: Fix Plasma Cloud PSX8/PSX10 copper phy-mode 20239/head
Sven Eckelmann [Mon, 29 Sep 2025 15:48:00 +0000 (17:48 +0200)] 
realtek: rtl930x: Fix Plasma Cloud PSX8/PSX10 copper phy-mode

The RTL8224 used by Plasma Cloud PSX8/PSX10 is not using USXGMII but
USXGMII 10G-QXGMII mode. The correct phy-mode string for this is
"10g-qxgmii".

Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20239
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 days agorealtek: Work around missing 10g-qxgmii PHY mode
Sven Eckelmann [Tue, 30 Sep 2025 07:06:57 +0000 (09:06 +0200)] 
realtek: Work around missing 10g-qxgmii PHY mode

The current SerDes implementation for RTL931x handles 10G-QXGMII via the
"usxgmii" PHY mode. This is not 100% correct because it is not a single
port with 10G (max) but 4 ports with 2.5G each.

To allow setting of the "10g-qxgmii" phy mode, just change the code for now
to use the same codepaths as USXGMII. This has to be cleaned up further
during the SerDes driver rewrites.

Suggested-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20239
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 days agorealtek: rtl931x: Enable REALTEK_PHY for RTL8224 support
Sven Eckelmann [Wed, 30 Jul 2025 05:39:32 +0000 (07:39 +0200)] 
realtek: rtl931x: Enable REALTEK_PHY for RTL8224 support

The Plasma Cloud PSX28 and ESX28 are using RTL8224 as ethernet PHY. This
phy works perfectly fine on PSX8/PSX10 (RTL930x) but failed to establish a link
on rtl931x because the upstream realtek phy driver was not enabled.

Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20239
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 days agohostapd: skip add call on already present MLD interfaces
Felix Fietkau [Tue, 30 Sep 2025 14:44:01 +0000 (16:44 +0200)] 
hostapd: skip add call on already present MLD interfaces

Avoid tearing down running interfaces

Signed-off-by: Felix Fietkau <nbd@nbd.name>
5 days agouboot-mediatek: rax3000m: use ddr3-1866mhz built in the dependency
Chuanhong Guo [Tue, 30 Sep 2025 13:04:51 +0000 (21:04 +0800)] 
uboot-mediatek: rax3000m: use ddr3-1866mhz built in the dependency

The u-boot of cmcc_rax3000m_*-ddr3 declares a dependency on
trusted-firmware-a-mt7981-*-ddr3-1866mhz, while actually packages
the normal BL2. This causes build failure if the the non-1866m
variant isn't built.
According to the previous commit, it's intended to use the lower
frequency variant to fix device stability issues. Correct
BL2_DDRTYPE as intended.

Fixes: 028050da69 ("mediatek: CMCC RAX3000Me: fix stability issues")
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
5 days agoinclude: make APK packing mtime reproducible
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 <mail@aparcar.org>
5 days agorpcd: update to git HEAD
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 <daniel@makrotopia.org>
5 days agoath79: replace various mtd_get_mac_text 20176/head
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 <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20176
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 days agoath79: dir-8x5: use nvmem
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 <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20176
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 days agoath79: dir-505: use nvmem
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 <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20176
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 days agoath79: tew-673gru: use nvmem
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 <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20176
Signed-off-by: Robert Marko <robimarko@gmail.com>
5 days agorealtek: backport ECC driver 19746/head
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 <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19746
Signed-off-by: Robert Marko <robimarko@gmail.com>
6 days agorealtek: rtl931x: set hash_msb based on VLAN ID when adding a new L2 entry 20183/head
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 <ih@simonwunderlich.de>
Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20183
Signed-off-by: Robert Marko <robimarko@gmail.com>
6 days agorealtek: Switch booleans in rtl838x_l2_entry to single bits
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 <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20183
Signed-off-by: Robert Marko <robimarko@gmail.com>
6 days agorealtek: add phy-handle for Zyxel GS1900-10HP SFP slots 20228/head
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 <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/20228
Signed-off-by: Robert Marko <robimarko@gmail.com>
6 days agorealtek: fix Zyxel GS1900-10HP SFP slots
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 <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/20228
Signed-off-by: Robert Marko <robimarko@gmail.com>
6 days agoath79: mikrotik: check RouterBOOT version matching sysupgrade image 20144/head
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 <daniel@makrotopia.org>
6 days agoath79: mikrotik: generate a RouterBOOT v7 NOR compatible sysupgrade
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 <git@johnthomson.fastmail.com.au>
6 days agoramips: mikrotik: generate a RouterBOOT v7 NOR compatible sysupgrade
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 <git@johnthomson.fastmail.com.au>
6 days agoipq40xx: mikrotik: generate a RouterBOOT v7 NOR compatible sysupgrade
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 <git@johnthomson.fastmail.com.au>
6 days agoimage: adapt mikrotik yafut to allow switch to bootimage YAFFS path
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 <git@johnthomson.fastmail.com.au>
6 days agobuild: add Mikrotik NOR RouterBOOT v7 image build
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 <git@johnthomson.fastmail.com.au>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
6 days agofirmware-utils: update to git HEAD
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 <daniel@makrotopia.org>
6 days agoucode: update to Git HEAD (2025-09-29)
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 <nbd@nbd.name>
6 days agokernel: netdevices: fix typo for Aeonsemi AS21xxx description
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 <ansuelsmth@gmail.com>
6 days agohostapd: add new ubus method for performig channel switch
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 <nbd@nbd.name>