openwrt/staging/blocktrron.git
2 weeks agouhttpd: adjust with glibc and libcrypt-compat
Konstantin Demin [Fri, 4 Jul 2025 08:03:14 +0000 (11:03 +0300)]
uhttpd: adjust with glibc and libcrypt-compat

glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19293
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agoppp: adjust with glibc and libcrypt-compat
Konstantin Demin [Fri, 4 Jul 2025 08:03:14 +0000 (11:03 +0300)]
ppp: adjust with glibc and libcrypt-compat

glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19293
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agodropbear: adjust with glibc and libcrypt-compat
Konstantin Demin [Fri, 4 Jul 2025 08:03:14 +0000 (11:03 +0300)]
dropbear: adjust with glibc and libcrypt-compat

glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19293
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agolibpcap: adjust with glibc and libcrypt-compat
Konstantin Demin [Fri, 4 Jul 2025 08:03:14 +0000 (11:03 +0300)]
libpcap: adjust with glibc and libcrypt-compat

glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19293
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agoscripts/ext-toolchain: adjust with recent glibc
Konstantin Demin [Fri, 4 Jul 2025 08:03:14 +0000 (11:03 +0300)]
scripts/ext-toolchain: adjust with recent glibc

glibc 2.39 has removed libcrypt completely.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19293
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agotoolchain: adjust with recent glibc
Konstantin Demin [Fri, 4 Jul 2025 08:03:14 +0000 (11:03 +0300)]
toolchain: adjust with recent glibc

glibc 2.39 has removed libcrypt completely.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19293
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agotoolchain: glibc: Update glibc 2.41 to recent HEAD
Konstantin Demin [Fri, 4 Jul 2025 08:03:14 +0000 (11:03 +0300)]
toolchain: glibc: Update glibc 2.41 to recent HEAD

9f48a8abb2b2 Remove advisories from release branch
0a7c7a3e283a NEWS: start new section
bdccbfbc52d3 math: Fix log10p1f internal table value (BZ 32626)
d85a7719536f math: Fix sinhf for some inputs (BZ 32627)
cb7f20653724 nptl: Correct stack size attribute when stack grows up [BZ #32574]
cf88351b685d math: Fix tanf for some inputs (BZ 32630)
69fda28279b4 assert: Add test for CVE-2025-0395
1e0e33e1b19a Fix tst-aarch64-pkey to handle ENOSPC as not supported
a900dbaf70f0 x86 (__HAVE_FLOAT128): Defined to 0 for Intel SYCL compiler [BZ #32723]
2cb04444b934 math: Fix `unknown type name '__float128'` for clang 3.4 to 3.8.1 (bug 32694)
07288c7445bb math: Add optimization barrier to ensure a1 + u.d is not reused [BZ #30664]
30992cb5e9d7 RISC-V: Fix IFUNC resolver cannot access gp pointer
7c9a0868077c Aarch64: Improve codegen in SVE asinh
94859e86807a Aarch64: Improve codegen in SVE exp and users, and update expf_inline
f3d9c116cb0a AArch64: Improve codegen for SVE erfcf
2025e27a817f AArch64: Improve codegen for SVE pow
7774a9d07ab2 AArch64: Improve codegen for SVE powf
6d1f97bb0667 aarch64: Add configure checks for GCS support
fda5730898bc aarch64: Add tests for Guarded Control Stack
61ba3cdfa9e9 aarch64: Add GCS tests for transitive dependencies
8d98ee8d70cd aarch64: Add GCS tests for dlopen
009c5a2dca7c aarch64: Add GCS test with signal handler
e0bc5f64eaf7 math: Improve layout of exp/exp10 data
c47c3890f15e AArch64: Add SVE memset
89be78704ed8 AArch64: Use prefer_sve_ifuncs for SVE memset
56609f8df1fa Pass -Wl,--no-error-execstack for tests where -Wl,-z,execstack is used [PR32717]
746ef8e93964 static-pie: Skip the empty PT_LOAD segment at offset 0 [BZ #32763]
fd202462c5f8 elf: Check if __attribute__ ((aligned (65536))) is supported
91f8cff2c48f configure: Fix spelling of -Wl,--no-error-execstack option
1a3083b99992 posix: Move environ helper variables next to environ definition (bug 32541)
66fc3bd75871 math: Remove an extra semicolon in math function declarations
33bfd9020fda Linux: Remove attribute access from sched_getattr (bug 32781)
e22c132484ea nptl: clear the whole rseq area before registration
98c712855d66 nptl: PTHREAD_COND_INITIALIZER compatibility with pre-2.41 versions (bug 32786)
ce9b765522f0 nptl: Check if thread is already terminated in sigcancel_handler (BZ 32782)
6a3a4a5e583a x86_64: Add tanh with FMA
7e72fa7577f2 x86_64: Add sinh with FMA
bcd4cf9d5ff2 x86_64: Add atanh with FMA
a282e2c0aee8 x86: Skip XSAVE state size reset if ISA level requires XSAVE
80cd6566496e x86: Use separate variable for TLSDESC XSAVE/XSAVEC state size (bug 32810)
200d20123cb8 x86: Link tst-gnu2-tls2-x86-noxsave{,c,xsavec} with libpthread
b861755a84ee elf: Extend glibc.rtld.execstack tunable to force executable stack (BZ 32653)
d6d56af6e78c elf: Fix arm-linux-gnueabihf build break from b861755a84
f68b407d4bc5 x86: Optimize xstate size calculation
aca31d27123d x86: Add ARL/PTL/CWF model detection support
a53e76465791 x86: Handle unknown Intel processor with default tuning
046b33800c3e x86: Detect Intel Diamond Rapids
5cb575ca9a3d elf: tst-audit10: split AVX512F code into dedicated functions [BZ #32882]
5b4c4617016d nptl: Fix pthread_getattr_np when modules with execstack are allowed (BZ 32897)
5cf17ebc659c hurd: Fix tst-stack2 test build on Hurd
dab44a3b2bb5 elf: Keep using minimal malloc after early DTV resize (bug 32412)
2ca34d76270d support: Use const char * argument in support_capture_subprogram_self_sgid
624285af3bfc elf: Test case for bug 32976 (CVE-2025-4802)
899dd3ab2fc2 x86_64: Fix typo in ifunc-impl-list.c.
515d4166f4db elf: Fix subprocess status handling for tst-dlopen-sgid (bug 32987)
d952c6efaa87 sparc: Fix argument passing to __libc_start_main (BZ 32981)
84bdbf8a6f2f ppc64le: Revert "powerpc: Optimized strncmp for power10" (CVE-2025-5745)
55cdcadf7306 ppc64le: Revert "powerpc: Fix performance issues of strcmp power10" (CVE-2025-5702)
b48d7ab03643 ppc64le: Revert "powerpc : Add optimized memchr for POWER10" (Bug 33059)
0c76c951620f ppc64le: Revert "powerpc: Optimized strcmp for power10" (CVE-2025-5702)
61e461ed0c16 sparc: Fix sparc32 Fix argument passing to __libc_start_main (BZ 32981)
11e634ccf32e support: Pick group in support_capture_subprogram_self_sgid if UID == 0
6e489c17f827 Fix error reporting (false negatives) in SGID tests

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19293
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agotoolchain: glibc: update to 2.41
Konstantin Demin [Fri, 4 Jul 2025 08:03:14 +0000 (11:03 +0300)]
toolchain: glibc: update to 2.41

glibc 2.39 has removed libcrypt completely:
- configuration flag "--enable-crypt" is obsolete and removed
- patch "050-Revert-Disallow-use-of-DES-encryption-functions-in-n.patch"
  does not matter anymore

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19293
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agoutil-linux: Update licenses
Jan Kardell [Tue, 1 Jul 2025 13:05:06 +0000 (15:05 +0200)]
util-linux: Update licenses

Since util-linux has parts with different licences, give each part it's
own licence.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
Link: https://patchwork.ozlabs.org/project/openwrt/patch/mailman.87466.1751380624.1866309.openwrt-devel@lists.openwrt.org/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agonettle: Fix PKG_LICENSE_FILES
Jan Kardell [Tue, 1 Jul 2025 13:05:05 +0000 (15:05 +0200)]
nettle: Fix PKG_LICENSE_FILES

Update file names.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
Link: https://patchwork.ozlabs.org/project/openwrt/patch/mailman.87465.1751380624.1866309.openwrt-devel@lists.openwrt.org/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agokexec-tools: Add license
Jan Kardell [Tue, 1 Jul 2025 13:05:04 +0000 (15:05 +0200)]
kexec-tools: Add license

Add GPL-2.0-only license and CPE id.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
Link: https://patchwork.ozlabs.org/project/openwrt/patch/mailman.87462.1751380624.1866309.openwrt-devel@lists.openwrt.org/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agospidev-test: Add license
Jan Kardell [Tue, 1 Jul 2025 13:05:03 +0000 (15:05 +0200)]
spidev-test: Add license

Add GPL-2.0-only license.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
Link: https://patchwork.ozlabs.org/project/openwrt/patch/mailman.87460.1751380623.1866309.openwrt-devel@lists.openwrt.org/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agokernel: Fix boot of amrsr target in qemu
Hauke Mehrtens [Fri, 11 Jul 2025 22:55:38 +0000 (00:55 +0200)]
kernel: Fix boot of amrsr target in qemu

The bootup of the armsr target sometimes failed like this:
```
[    0.762283] NET: Registered PF_INET6 protocol family
[    0.791987] workqueue: Failed to create a worker thread: -EAGAIN
[    0.801986] workqueue: Failed to create a rescuer kthread for wq "mld": -EAGAIN
[    0.964017] NET: Unregistered PF_INET6 protocol family
```

Increase the maximum number of threads the kernel allows.

Link: https://github.com/openwrt/openwrt/pull/19376
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agoloongarch64: add 6.12 as testing kernel
Weijie Gao [Fri, 20 Jun 2025 11:30:49 +0000 (19:30 +0800)]
loongarch64: add 6.12 as testing kernel

Runtime-tested on Loongson-3A6000-HV-7A2000-XA61200 with AMD RX580

Signed-off-by: Weijie Gao <hackpascal@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19136
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agoloongarch64: Restore kernel files for v6.6
Weijie Gao [Fri, 20 Jun 2025 11:25:20 +0000 (19:25 +0800)]
loongarch64: 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: Weijie Gao <hackpascal@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19136
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agoloongarch64: Create kernel files for v6.12 (from v6.6)
Weijie Gao [Fri, 20 Jun 2025 11:25:20 +0000 (19:25 +0800)]
loongarch64: 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: Weijie Gao <hackpascal@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19136
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agomediatek: add support for Zyxel NWA90AX PRO
Antonino Orlando [Sun, 29 Jun 2025 10:58:18 +0000 (12:58 +0200)]
mediatek: add support for Zyxel NWA90AX PRO

Same hardware as Zyxel NWA50AX PRO.
DEVICE_ALT0_VENDOR := Zyxel
DEVICE_ALT0_MODEL := NWA90AX Pro

Signed-off-by: Antonino Orlando <orlando.antonino@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19257
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agoramips: add support for Wavlink WL-WN570HA2
Jonathan Sturges [Fri, 30 May 2025 18:58:15 +0000 (14:58 -0400)]
ramips: add support for Wavlink WL-WN570HA2

The Wavlink Aerial HD3 (WL-WN570HA2) is an AC1200 dual-band outdoor
access point.  It supports 802.3AT/AF PoE and is IP67 waterproof.
It is based on the MediaTek MT7628DAN SoC and MT7613BEN WiFi 5 chip.
This model uses the 100Mbit LAN and 2.4Ghz WiFi elements of the
MT7628 and the 5Ghz WiFi of the MT7613.

Specification:
- SoC: MediaTek MT7628DAN (1C/1T) @ 580MHz
- RAM: 64MB DDR2 (integrated in SoC)
- FLASH: 16MB SPI NOR (Fudan FM25Q128A)
- Ethernet: 1x 10/100Mbps
- WiFi: 2.4/5 GHz 2T2R
  - 2.4GHz MediaTek MT7628DAN bgn
  - 5GHz MediaTek MT7613BEN nac
- Antennas: 2x detachable, dual-band 7dBi with RP-SMA connectors.
- USB: none
- BTN: Reset
- LED: 6 total: power; WAN/LAN; WiFi; WiFi low; WiFi med; Wifi high
- UART:  surface-mount on PCB.  Pins are marked via silkscreen.
   pin1 (square pad, towards Ethernet)=Vcc, pin2=RX,
   pin3=TX, pin4=GND.  Settings: 57600/8N1.
   NOTE: The TX & RX silkscreens were reversed on my test unit.

Installation:
1) This device requires a HTTP recovery procedure to do an initial load
  of OpenWRT.  You will need:
  a. A web browser (private window recommended)
  b. Configure an Ethernet interface to 192.168.1.x/24; don't use .1
  c. Connect a cable between the computer and the Wavlink's PoE injector.
2) Put the Wavlink in HTTP recovery mode.
  a. Do this by pressing and holding the reset button on the bottom while
  powering the unit on.
  b. As soon as all 6 LEDs light up blue (roughly 2-3 seconds), release
  the button.
  c. The LEDs should all remain lit, indicating it's in HTTP recovery.
3) Point the browser at http://192.168.1.1/index.html
4) Click "Choose File" and select the OpenWRT sysupgrade image.
5) Click the "Update Firmware" button and wait while the unit flashes
the image and reboots.
6) When the system comes back up fully, only the power LED will be lit.
Wait an extra minute then you should be able to reach OpenWRT on
http://192.168.1.1
5) Log into LuCI as root; there is no password.

Revert to the OEM Firmware:
--------------------------
* U-boot HTTP:
  Follow the HTTP recovery steps, and use a firmware image downloaded
  from Wavlink.

Signed-off-by: Jonathan Sturges <jsturges@redhat.com>
Link: https://github.com/openwrt/openwrt/pull/18856
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agoath79: ubnt-amplifi-hd: Add 2nd USB bus (integrated ath3k bluetooth)
Russ Innes [Sat, 5 Jul 2025 18:12:39 +0000 (12:12 -0600)]
ath79: ubnt-amplifi-hd: Add 2nd USB bus (integrated ath3k bluetooth)

Add/enable 2nd USB bus (integrated ath3k bluetooth) to dts. This already
exists in the qca956x dtsi, adding the pointer here to bring the bluetooth to life.

The 2nd bus hosts the integrated bluetooth at 0x1b400000.

See in the comments for more info:
https://github.com/openwrt/openwrt/commit/c5b7ec8cee497c3a84eb8ad90d88494f0812698c

Tested-by: Russ Innes <russ.innes@gmail.com> on Ubiquiti Amplifi HD .
Signed-off-by: Russ Innes <russ.innes@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19303
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agoramips: add support for TP-Link EX220 v2
Gustavo Curi [Fri, 6 Jun 2025 20:13:08 +0000 (17:13 -0300)]
ramips: add support for TP-Link EX220 v2

This device is similar to the TP-Link EX220 v1.
The differences are the number of ports (3 LANs
and 1 WAN) and the number of LEDs (1 LED RGB)

Hardware
--------

CPU:    MediaTek MT7621 DAT
RAM:    128MB DDR3 (integrated)
FLASH:  16MB SPI-NOR
WiFi:   MediaTek MT7905 + MT7975 (2.4 / 5 DBDC) 802.11ax
SERIAL: 115200 8N1
        LED - (TX - RX - GND - 3V3 ) - ETH ports

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

Flashing is only possible via a serial connection using the sysupgrade
image; the factory image must be signed. You can flash the sysupgrade
image directly through the U-Boot console, or preferably, by booting the
initramfs image and flashing with the sysupgrade command. Follow these
steps for sysupgrade flashing:

1. Establish a UART serial connection.
2. Set up a TFTP server at 192.168.0.2 and copy the initramfs image
   there.
3. Power on the device and press any key to interrupt normal boot.
4. Load the initramfs image using tftpboot.
5. Boot with bootm.
6. If you haven't done so already, back up all stock mtd partitions.
7. Copy the sysupgrade image to the router.
8. Flash OpenWrt through either LuCI or the sysupgrade command. Remember
   not to attempt saving settings.

Revert to stock firmware
------------------------

Flash stock firmware via OEM web-recovery mode. If you don't have access
to the stock firmware image, you will need to restore the firmware
partition backed up earlier.

Web-Recovery
------------

The router supports an HTTP recovery mode:

1. Turn off the router.
2. Press the reset button and power on the device.
3. When the LED start flashing, release reset and quickly press it
   again.

The interface is reachable at 192.168.0.1 and supports installation of
the OEM factory image. Note that flashing OpenWrt this way is not
possible, as mentioned above.

Signed-off-by: Gustavo Curi <gpcuri@land.ufrj.br>
Link: https://github.com/openwrt/openwrt/pull/19104
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agouboot-envtools: add support for Gateworks venice
Tim Harvey [Fri, 20 Jun 2025 19:49:51 +0000 (12:49 -0700)]
uboot-envtools: add support for Gateworks venice

Add uboot-envtools support for Gateworks venice boards based on i.MX8M
SoC's (imx_cortexa53) which boot from and store their U-Boot env on
eMMC boot0 hardware partition.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Link: https://github.com/openwrt/openwrt/pull/19347
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agomediatek: filogic: add support for TP-Link Festa FR365
Yonghyu Ban [Wed, 19 Mar 2025 08:29:04 +0000 (17:29 +0900)]
mediatek: filogic: add support for TP-Link Festa FR365

Hardware
--------
SOC     : MediaTek MT7981B 2x A53
RAM     : NT5AD256M16E4-JR 512MiB
Flash   : ESMT F50L1G41LB 128MB
ETH     : 5x 1GbE (1x WAN, 4x LAN)
          1x SFP+ (2.5 GbE)
Switch  : MediaTek MT7531AE
WiFi    : MediaTek MT7976D
Buttons : Reset
Power   : DC 12V 2A

Installation
------------
1. Disassemble the device
2. Create solder bridge on R85, R86, Solder 4-pin header on J4.
3. Connect UART console.
4. In U-Boot shell, enter the following commands to prepare flashing
```
enable_phy
extra_para set extra-para score 100
extra_para set extra-para fwFlag good
```
5. Use `mtkupgrade` command to TFTP flash openwrt-mediatek-filogic-tplink_fr365-v1-squashfs-factory.bin
6. Reboot the device

Signed-off-by: Yonghyu Ban <yhban@silicon.moe>
Link: https://github.com/openwrt/openwrt/pull/19203
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agomediatek: allow mounting ubifs by its device and partition name
Yonghyu Ban [Wed, 19 Mar 2025 08:11:54 +0000 (17:11 +0900)]
mediatek: allow mounting ubifs by its device and partition name

Since not every device sets an ubifs partition name as the same as their
parent mtd partition, this change allows mount_ubi_part to usable in
other devices

Signed-off-by: Yonghyu Ban <yhban@silicon.moe>
Link: https://github.com/openwrt/openwrt/pull/19203
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agomediatek: add Huasifei WH3000 Pro support
Fil Dunsky [Sun, 6 Jul 2025 09:08:27 +0000 (12:08 +0300)]
mediatek: add Huasifei WH3000 Pro support

**Huasifei WH3000 Pro**
Portable Wi-Fi 6 travel router based on MediaTek MT7981A SoC. MT7981B+MT7976CN+RTL8221B Dual Core 1.3GHZ with 5G modems module and PWM Fan.

**Specifications**
SoC: Filogic 820 MT7981A (1.3GHz)
RAM: DDR4 1GB
Flash: eMMC 8GB
WiFi: 2.4GHz and 5GHz with 3 antennas
Ethernet:
1x WAN (10/100/1000M)
1x LAN (10/100/1000/2500M)
USB: 1x USB 3.0 port
Two buttons: power/reset and mode (BTN_0)
LEDS: blue, red, blue+red=pink
UART: 3.3V, TX, RX, GND / 115200 8N1

**Installation via U-Boot rescue**
1. Set static IP 192.168.1.2 on your computer and default route as 192.168.1.1
2. Connect to the WAN port and hold the reset button while booting the device.
3. Wait for the LED to blink 5 times, and release the reset button.
4. Open U-boot web page on your browser at http://192.168.1.1
5. Select the OpenWRT sysupgrade image, upload it, and start the upgrade.
6. Wait for the router to flash the new firmware.
7. Wait for the router to reboot itself.

**Installation via sysupgrade**
Just flash sysupgrade file via [LuCI upgrade page](http://192.168.1.1/cgi-bin/luci/admin/system/flash) without saving the settings.

**Installation via SSH**
Upload the file to the router `/tmp` directory, `ssh root@192.168.1.1` and issue a command:
```
sysupgrade -n /tmp/openwrt-mediatek-filogic-huasifei_wh3000-pro-squashfs-sysupgrade.bin
```

**Factory MAC**
You can find your Factory MAC which is mentioned on the box at `/dev/mmcblck0p2` partition `factory` starting from `0x4`
```
dd if=/dev/mmcblk0p2 bs=1 skip=4 count=6 | hexdump -C
```

Cherry-picked from https://github.com/coolsnowwolf/lede/commit/949d0bd77a2e97c2d982531f72b76c575fb28839

Fixed `green` to `blue` LED in dts, added `SUPPORTED_DEVICES += huasifei,fudy-pro` - to make sysupgrade compatible with factory QWRT/Lede fork firmware.

Signed-off-by: Fil Dunsky <filipp.dunsky@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19315
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agokernel: bump 6.12 to 6.12.37
Shiji Yang [Thu, 10 Jul 2025 15:59:49 +0000 (23:59 +0800)]
kernel: bump 6.12 to 6.12.37

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

Manually rebased patch:
  generic/hack-6.12/902-debloat_proc.patch[1]

New Kconfig symbol:
  x86: enable MITIGATION_TSA[2]

All other patches are automatically refreshed.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.37&id=ead91de35d9cd5c4f80ec51e6020f342079170af
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.37&id=7a0395f6607a5d01e2b2a86355596b3f1224acbd

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19317
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agokernel: bump 6.6 to 6.6.97
Shiji Yang [Thu, 10 Jul 2025 15:59:14 +0000 (23:59 +0800)]
kernel: bump 6.6 to 6.6.97

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

Remove upstream patch:
  generic/backport-6.6/001-powerpc-kernel-Fix-pcc_save_regs-inclusion.patch[1]

Manually rebased patch:
  bcm53xx/patches-6.6/180-usb-xhci-add-support-for-performing-fake-doorbell.patch[2]

All other patches are automatically refreshed.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.97&id=8a7ac2737211451b8b98657b919c4c4e0a4c0c2f
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.97&id=7609899eb6b70b536123eb58eeab27c764752b82

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Co-authored-by: John Audia <therealgraysky@proton.me>
Tested-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19317
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agokernel: bump 6.12 to 6.12.36
Shiji Yang [Sun, 6 Jul 2025 11:00:53 +0000 (19:00 +0800)]
kernel: bump 6.12 to 6.12.36

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

Remove upstream patches:
  generic/backport-6.12/780-09-v6.13-r8169-add-support-for-RTL8125D.patch[1]
  generic/backport-6.12/781-04-v6.13-net-phy-realtek-merge-the-drivers-for-internal-NBase.patch[2]
  generic/backport-6.12/781-05-v6.13-net-phy-realtek-add-RTL8125D-internal-PHY.patch[3]

All other patches are automatically refreshed.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.36&id=37cb5967bd2513416398ff1a87a5ee2e63270b00
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.36&id=5eb0b10eea271e2e1f7d4fa1a6af6c09b2ecc4f5
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.36&id=5d479182d4ccde76df830a72927b3bdaafd142bf

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Tested-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/19317
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agokernel: bump 6.6 to 6.6.96
Shiji Yang [Sun, 6 Jul 2025 10:50:50 +0000 (18:50 +0800)]
kernel: bump 6.6 to 6.6.96

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

Remove upstream patch:
  generic/pending-6.6/650-Revert-ipv6-save-dontfrag-in-cork.patch[1]

All other patches are automatically refreshed.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.96&id=c46358d0275953b27c3d86f7a224e229f2d57d05

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Tested-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/19317
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agouboot-tools: update to v2025.07
Shiji Yang [Mon, 7 Jul 2025 21:59:43 +0000 (05:59 +0800)]
uboot-tools: update to v2025.07

Update to the latest version.

Remove upstreamed patches:
  010-image-fit-sig-skip-in-tools-build-if-key-is-missing.patch[1]
  011-tools-fit_check_sign-make-key-optional.patch[2]
  012-tools-fit_check_sign-no-libcrypto.patch[2]

[1] https://github.com/u-boot/u-boot/commit/40dcd5088b7f64ee2841c233c8ab82ce9c188d73
[2] https://github.com/u-boot/u-boot/commit/9c79c8fe70da7cd05fa4c242197f14122f245d81

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19342
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agotools/7z: update to 25.00
Shiji Yang [Thu, 10 Jul 2025 12:02:24 +0000 (20:02 +0800)]
tools/7z: update to 25.00

Changelog: https://www.7-zip.org/history.txt

All patches are automatically refreshed.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19360
Signed-off-by: Nick Hainke <vincent@systemli.org>
2 weeks agodropbear: disable RSA-SHA1 by default
Konstantin Demin [Tue, 8 Jul 2025 16:12:26 +0000 (19:12 +0300)]
dropbear: disable RSA-SHA1 by default

Upstream has disabled SHA-1 algorithms by default since version 2025.87.
SHA-1 has known weakness and most SSH implementations support alternatives.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2 weeks agodropbear: simplify rebuild on config changes
Konstantin Demin [Tue, 8 Jul 2025 16:12:26 +0000 (19:12 +0300)]
dropbear: simplify rebuild on config changes

It's hard or even impossible to track affected sources
so it's safe to remove all built objects (if any).

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2 weeks agodropbear: refactor configuration
Konstantin Demin [Tue, 8 Jul 2025 16:12:26 +0000 (19:12 +0300)]
dropbear: refactor configuration

This allows to fine-tune dropbear build options.

This change is heavily based on similar work done by Marius Dinu earlier
so I'd like to say many thanks to original author.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2 weeks agodropbear: bump to 2025.88
Konstantin Demin [Tue, 8 Jul 2025 16:12:25 +0000 (19:12 +0300)]
dropbear: bump to 2025.88

- update dropbear to latest stable 2025.88;
  for the changes see https://matt.ucc.asn.au/dropbear/CHANGES
- rewrite 100-pubkey_path.patch
- refresh remaining patches

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2 weeks agorealtek: enhance RTL930x SerDes/PLL/CMU interoperability
Markus Stockhausen [Mon, 23 Jun 2025 18:12:05 +0000 (14:12 -0400)]
realtek: enhance RTL930x SerDes/PLL/CMU interoperability

The operating mode of a SerDes must be aligned with the attached PHY or
SFP module. That does not only require to change the protocol (e.g. SGMII,
10Gbase-R, ...) but also the speed (e.g. 1.25G). For this the SerDes must
be re-initialized properly.

- It must be taken into power down
- The PLL speed must be set
- Maybe the CMU (clock management unit) must be resetted
- The new mode must be set
- The state machine must be resetted
- The power must be reactivated

Until now this sequence is bugged. First the driver relies on a clean
setup from U-Boot (rtk network on) and second trying to to change mode
and PLL speeds does not work at all. And not to forget: Currently two
adjacent SerDes cannot drive SGMII/HSGMII at the same time. Fix this by
taking care about the right SerDes/PLL/CMU command init order.

P.S. This code is inspired by the work of Jan Hofmann, who tried to
enable parallel SGMII/HSGMII mode. The only missing bit was a proper CMU
reset sequence.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19220
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agowifi-scripts: correctly set basic-rates with wpa_supplicant
David Bauer [Wed, 9 Jul 2025 13:24:29 +0000 (15:24 +0200)]
wifi-scripts: correctly set basic-rates with wpa_supplicant

Correctly load the list of basic_rates from UCI. basic-rates shall be
stored as a option-list. The current code did not retrieve this list
correctly.

wpa_supplicant uses a different config option to set basic-rates
when operating in mesh-mode.

Use the correct config key and calculation for mesh-interfaces.

Signed-off-by: David Bauer <mail@david-bauer.net>
2 weeks agoperf: disable shellcheck
Robert Marko [Thu, 10 Jul 2025 13:08:19 +0000 (15:08 +0200)]
perf: disable shellcheck

Since upstream commit:
b809fc656e763296f227b9b31e8f225e5977a8af ("perf build: Shellcheck support
for OUTPUT directory")

perf will attempt to run shellcheck on the test shell scripts, however
there is no point in doing this in OpenWrt and while perf checks for
shellcheck presence on your host it can fail to build in some cases.

So, simply disable it for now.

Link: https://github.com/openwrt/openwrt/pull/19361
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agoperf: disable BUILD_BPF_SKEL
Robert Marko [Thu, 10 Jul 2025 13:05:39 +0000 (15:05 +0200)]
perf: disable BUILD_BPF_SKEL

BUILD_BPF_SKEL was set to 1 by default in upstream commit:
9925495d96efc14d885ba66c5696f664fe0e663c ("perf build: Default
BUILD_BPF_SKEL, warn/disable for missing deps")

Prior to that, it was disabled by default and you had to enable it to
build BPF skeleton support.

So in order to fix perf compilation with kernel 6.12, lets disable
BUILD_BPF_SKEL.

Fixes: #19310
Link: https://github.com/openwrt/openwrt/pull/19361
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agounetd: update to Git HEAD (2025-07-05)
Felix Fietkau [Thu, 10 Jul 2025 08:47:51 +0000 (10:47 +0200)]
unetd: update to Git HEAD (2025-07-05)

790b41b6b987 pex: indicate refused update requests
8b100a9e311a host: add support for defining per-host metadata

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2 weeks agocli: add json data type
Felix Fietkau [Thu, 10 Jul 2025 08:46:53 +0000 (10:46 +0200)]
cli: add json data type

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2 weeks agolinux-firmware: update to 20250708
John Audia [Tue, 8 Jul 2025 19:55:35 +0000 (15:55 -0400)]
linux-firmware: update to 20250708

% git log --no-merges --pretty=oneline --abbrev-commit 20250627...20250708
74d80fcf8ce2 xe: Add fan_control v203.0.0.0 for BMG
331eac914440 linux-firmware: Update AMD cpu microcode
847cd5aaabe0 amdgpu: Add DCN 3.6
5e95c44fb4a7 amdgpu: Add PSP 14.0.5
520262d1d0a8 amdgpu: Add SDMA 6.1.3
84f443352785 amdgpu: Add GC 11.5.3
1f861a48042a mediatek MT7921: update bluetooth firmware to 20250625154126
d3e7e025210a qcom/adreno: document firmware revisions
4e7094412cd2 qcom/adreno: move A610 and A702 ZAP files to Adreno driver section
ed3c42722a02 qcom: Add sdx61 Foxconn vendor firmware image file
f534fd76aaa8 Revert "linux-firmware: Update firmware file for Intel Pulsar core"
ce7108f47ef6 qcom/adreno: sort entries in WHENCE
0ef7a160552a xe: First HuC release for Pantherlake
bbe12d522f4e xe: First GuC release for Pantherlake
5cf85776762a linux-firmware: update firmware for MT7921 WiFi device
78478bfc4431 rtw89: 8922a: update fw to v0.35.80.0
4e34a870bdb8 rtw89: 8852c: update fw to v0.27.129.1
4729093efd12 rtw89: 8852c: update fw to v0.27.128.0

Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc (Intel N150-based system)

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/19352
Signed-off-by: Nick Hainke <vincent@systemli.org>
2 weeks agoath79: revert wmac node names
Felix Fietkau [Wed, 9 Jul 2025 15:16:27 +0000 (17:16 +0200)]
ath79: revert wmac node names

Changing the node names arbitrarily broke existing configurations, which
rely on the device path in /etc/config/wireless.
Revert that part of the change without altering the compatible strings.

Fixes: 7e09959efda2 ("mac80211: fix wmac node names")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2 weeks agokernel: fix rtl8261n driver for realtek
Andrew LaMarche [Mon, 9 Jun 2025 18:49:28 +0000 (18:49 +0000)]
kernel: fix rtl8261n driver for realtek

The RTL8261N driver does not work correctly on non-mediatek devices. Remove
some of the power controls for Realtek chips.

This assumes the network has been started by the bootloader already:
(rtk network on).

Co-authored-by: Sebastian Gottschall
- https://github.com/mirror/dd-wrt/commit/bf45143f03d40bf259d34bba2151aab46ee011f4
- https://github.com/mirror/dd-wrt/commit/2fb02a5745bb538124a7467b399930b5ca79e71d
- https://github.com/mirror/dd-wrt/commit/598a16a8d801869e09c033f8ca35534289d393cf
Signed-off-by: Andrew LaMarche <andrewjlamarche@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19081
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agokernel: support RTL8264 in rtl8261n driver
Andrew LaMarche [Mon, 9 Jun 2025 18:38:03 +0000 (18:38 +0000)]
kernel: support RTL8264 in rtl8261n driver

Add support for the RTL8264 (quad-10G phy) by matching the appropriate PHY_ID
in the driver.

Signed-off-by: Andrew LaMarche <andrewjlamarche@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19081
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agohostapd: ignore comment lines for hash comparison
Felix Fietkau [Wed, 9 Jul 2025 10:12:40 +0000 (12:12 +0200)]
hostapd: ignore comment lines for hash comparison

Fixes spurious unnecessary bss restarts

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2 weeks agoRevert "ncurses: update to 6.5"
Robert Marko [Wed, 9 Jul 2025 09:51:01 +0000 (11:51 +0200)]
Revert "ncurses: update to 6.5"

This reverts commit 8876192bff497bfda6cbfbbdf29e6cfb3584cc82.

This broke ncurses host build for me, and thus ncurses in general.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agoocteon: ubnt-*: Add device specific DTS pruning
Jakob Haufe [Wed, 18 Jun 2025 10:34:20 +0000 (12:34 +0200)]
octeon: ubnt-*: Add device specific DTS pruning

This imports device specific DTS pruning from
https://github.com/UI-Packages/kernel_e200/blob/master/arch/mips/cavium-octeon/octeon-platform.c#L1067

- Reduce MMC clock frequency on E200/E220 to make
  MMC communication reliable again. See linked issue.
- Remove unused MMC node on E300.

Link: https://github.com/openwrt/openwrt/issues/13762
Signed-off-by: Jakob Haufe <sur5r@sur5r.net>
Link: https://github.com/openwrt/openwrt/pull/19229
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agoncurses: update to 6.5
John Audia [Tue, 8 Jul 2025 19:46:02 +0000 (15:46 -0400)]
ncurses: update to 6.5

Update to 6.5.

Removed patch from pre-2012: 101-ncurses-5.6-20080628-kbs.patch

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/19335
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agoncurses: Add -std=gnu17 to CFLAGS to avoid a GCC15 error when building with glibc
John Audia [Tue, 8 Jul 2025 19:43:12 +0000 (15:43 -0400)]
ncurses: Add -std=gnu17 to CFLAGS to avoid a GCC15 error when building with glibc

Without the newly introduced flag, building with libc ends in errors such the below.
There is an upstream fix[1], but backporting it is not straight forward.

/scratch/union/staging_dir/toolchain-x86_64_gcc-15.1.0_glibc/x86_64-openwrt-linux-gnu/include/c++/15.1.0/cstddef:81:21: error: redefinition of 'struct std::__byte_operand<unsigned char>'
   81 |   template<> struct __byte_operand<unsigned char> { using __type = byte; };
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/union/staging_dir/toolchain-x86_64_gcc-15.1.0_glibc/x86_64-openwrt-linux-gnu/include/c++/15.1.0/cstddef:78:21: note: previous definition of 'struct std::__byte_operand<unsigned char>'
   78 |   template<> struct __byte_operand<bool> { using __type = byte; };
      |                     ^~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:438: ../obj_s/cursesp.o] Error 1

1. https://ncurses.scripts.mit.edu/?p=ncurses.git;a=commit;h=394a1a6cf317912584592e33184ef550e738a4b9

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/19335
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agoxcrypt: work-around broken use of VARIANT with BUILDONLY
Daniel Golle [Wed, 9 Jul 2025 01:55:35 +0000 (02:55 +0100)]
xcrypt: work-around broken use of VARIANT with BUILDONLY

Split the xcrypt package build into two Makefiles and a common part for
the version definition in order to work-around build problems when
combining VARIANT with BUILDONLY and scoped InstallDev.

This is done in order to skip build of libcrypt-compat in case we are
not building against glibc in order to prevent libcrypt.so shared
library being present in staging_dir and by that breaking multiple
packages which then will link against it.

Fixes: e3cf7088f1 ("libcrypt-compat: introduce package")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://github.com/openwrt/openwrt/pull/19353
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 weeks agotoolchain: gcc: 15: fix build error with glibc for aarch64 targets
Robert Marko [Tue, 8 Jul 2025 12:17:16 +0000 (14:17 +0200)]
toolchain: gcc: 15: fix build error with glibc for aarch64 targets

GCC 14+ fails to build due to libatomic specific -march handling.
This build error triggers only with glibc and not with musl libc
which is default.

It seems that this patch from GCC14 was forgotten when GCC15 support was
being added [1].

[1] https://github.com/openwrt/openwrt/commit/44ef34350095c86227ea0cf84b816258c5195e29

Fixes: 68cb84183e38 ("toolchain: add support for GCC 15.1")
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 weeks agomold: Update to 2.40.1
Carsten Schuette [Mon, 7 Jul 2025 18:12:04 +0000 (20:12 +0200)]
mold: Update to 2.40.1

Update mold to 2.40.1

Release notes:
https://github.com/rui314/mold/releases/tag/v2.40.1
https://github.com/rui314/mold/releases/tag/v2.40.0

Signed-off-by: Carsten Schuette <schuettecarsten@googlemail.com>
Link: https://github.com/openwrt/openwrt/pull/19339
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 weeks agotools/mkimage: update to v2025.07
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>
3 weeks agolibnftnl: update to 1.2.9
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>
3 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>
3 weeks agoramips: update drivers to be compatible with kernel 6.12 and above
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>
3 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>
3 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>
3 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>
3 weeks agomac80211: fix wmac node names
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>
3 weeks agokernel: backport GCC15 fix for powerpc
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>
3 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>
3 weeks agoreadline: update to 8.3
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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 weeks agoimage: add support for EROFS rootfs image generation
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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 weeks agoairoha: backport upstream patch for Flow Offload support for AN7581
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>
3 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>
3 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>
3 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>
3 weeks agoramips: fix wifi nodes to upstream standards
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>
3 weeks agoconfig: drop kernel config symbols removed before v6.6
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>
3 weeks agolibnetfilter-conntrack: bump to 1.1.0
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>
3 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>
3 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>
3 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>
3 weeks agombedtls: update to 3.6.4
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>
3 weeks agousbgadget: add OS descriptors support
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>
3 weeks agoopenssl: update to 3.5.1
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>
3 weeks agoimagebuilder: implement STRIP_ABI option for manifest target
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>
3 weeks agorealtek: add RTL931x support to rt-loader
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>
3 weeks agotools/squashfs4: fix compile on Alpine Linux
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>
3 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>
3 weeks agoutil-linux: update to v2.41.1
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>