Commit Graph
68331 Commits
Author SHA1 Message Date
Tianling Shen 5fa11a1b56 ImmortalWrt v24.10.6: adjust config defaults
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
v24.10.6
2026-04-26 19:16:26 +08:00
Tianling Shen cf234f8de6 mediatek: fix DTS include for zbt z8103ax
mt7981b -> mt7981.

Fixes: 6677ae327a ("mediatek: extract DTS include for zbt z8103ax")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-04-22 09:24:34 +08:00
Tianling Shen 07972a2388 mediatek: add Ruijie RG-X60 support
Hardware specification:
  SoC: MediaTek MT7986A 4x A53
  Flash: 128MB SPI-NAND (W25N01GVZEIG)
  RAM: 512MB DDR3 (W634GU6QB)
  Ethernet: 3x 1GbE (MT7531) + 1x 2.5GbE (EN8811H)
  WiFi: MediaTek MT7975(P)N
  Button: Mesh, Reset
  Power: DC Jack 12V

Flash instructions:
Login into the webUI and flash sysupgrade.bin without saving
configurations.

While at it, create a shared dtsi for X60 and X60-Pro devices and
assign MAC using NVMEM as much as possible. The SPI frequcency has
been increased to 52 MHz as well since the chip supports up to
108 MHz.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-04-18 21:21:24 +08:00
Jörg SeitzandTianling Shen bae932def0 mediatek: add support for device zbt-z8103ax-c
- adopted MTD partition size increase from 64M to 128M
  -> this allows boot to complete
- moved MAC addressing stuff out of partition definitions
- all MAC addressing stuff is in .dtsi

Specifications:

SoC: MediaTek MT7981B
RAM: 256MiB
Flash: Winbond SPI-NAND 128 MiB
Switch: 1 WAN, 3 LAN (Gigabit) MediaTek MT7531
Buttons: Reset, Mesh
Power: DC 12V 1A
WiFi: MT7981B 2.4Ghz & 5.8Ghz

Led Layout from bottom to top:

    Power
    Mesh (RGB Led, user controllable, default set to OpenWrt Status)
    WLAN 2 GHz (user controllable)
    WAN (user controllable)
    LAN3
    LAN2
    LAN1
    WLAN 5 GHz (Not on front panel but blinks through enclosure,
               user controllable)

Buttons:

    Reset
    Mesh (user controllable, no default function)

Installation:

A. Through U-Boot menu:

 -  Prepare your connecting computer to use a static IP in
	network 192.168.1.0/24
 -  Power down the router and hold in the Reset button.
 -  While holding in the button power up the router again.
 -  Hold the button in for 10 seconds and then release.
 -  Use your browser to go to 192.168.1.1
 -  If you see a GUI allowing for flashing firmware then
	you got the right model.
 -  Upload the sysupgrade file.

Note: Recovery GUI can be used to recover from an incorrect
      firmware flash.

B. Through OpenWrt Dashboard:

    If your router comes with OpenWrt preinstalled
	(modified by the seller), you can easily upgrade
	by going to the dashboard (192.168.1.1) and then
	navigate to System -> Backup/Flash firmware,
	then flash the firmware

MAC Addresses were found in Factory partition:

offset 0x4 F8:5E:3C:xx:xx:aa --> Router Label -2
offset 0xa F8:5E:3C:xx:xx:bb --> Router Label -1
offset 0x24 F8:5E:3C:xx:xx:cc --> Router Label +1
offset 0x2a F8:5E:3C:xx:xx:yy --> printed on Router Label

Signed-off-by: Jörg Seitz <github.joeterminal@xoxy.net>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 479f1403f2)
2026-04-17 09:26:02 +08:00
Jörg SeitzandTianling Shen 6677ae327a mediatek: extract DTS include for zbt z8103ax
- Use .dtsi for old z8103ax featuring a 64M Nand
- Prepare .dtsi for model C of z8103ax featuring a 128M Nand

This .dtsi is supposed to match boards labeled as hardware
revision Z8103AX_V01. Model variant D of zbt-z8103ax appears
to use very same board.

DTS include does also

- set wifi mac addresses in &wifi section
- set eth mac addresses in &eth section
- set LAN switch mac addresses in &switch section

All of the above allows to get rid of 11_fix_wifi_mac script

Signed-off-by: Jörg Seitz <github.joeterminal@xoxy.net>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit b21b019af4)
2026-04-17 09:25:55 +08:00
Tianling Shen 03e5e9122d Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-04-14 11:05:28 +08:00
Hauke Mehrtens 44df9972d5 scripts/ext-tools.sh: set all prebuilt tool files to same timestamp
The GitHub CI was sometimes still building some tools again even when
the same version was already pre-built. This change fixes the problem
and should improve the speed of the GitHub CI actions. The duration of
the "Build tools" step will be reduced from 5 to 20 minutes down to
10 to 15 seconds.

make also checks that dependencies are not more recent than the target
it wants to build. Previously find returned files in an arbitrary order
and touch set the current timestamp. Since touch is called per file the
timestamps differ in fractional seconds, so not all files got the same
time. make detected a more recent dependency and started to rebuild.
Now all files are set to the same timestamp and make will assume
everything is up to date.

It is sufficient to only touch the stamp files to prevent rebuilding.

Link: https://github.com/openwrt/openwrt/pull/22888
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit cd6cb9f765)
2026-04-12 20:14:18 +02:00
Mario Andrés PérezandHauke Mehrtens c77f9c834d bcm53xx: image: sync targets names with DT compatible
Some devices profile names and *.dts files are named without suffix
"-v1" but the DT compatible has the suffix. (xwr-3150 exception)

This breaks ASU sysupgrades since the default SUPPORTED_DEVICES is the
makefile image profile target and it does not match the actual DT
compatible sent by the ASU client.

This is not breaking sysupgrade because the platform implementation
does not depends on DEVICE_NAME(not use sysupgrade-TAR). And the
board_name() checks are done against the correct DT compatible.[1]

[1]: https://github.com/openwrt/openwrt/blob/09e7b24ceb5d9310334c4f88327dc6d58052e7fd/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh#L36-L62
Fixes: https://github.com/openwrt/asu/issues/560
Fixes: https://github.com/openwrt/asu/issues/560#issuecomment-2083236275
Fixes: https://github.com/openwrt/asu/issues/1108
Fixes: https://forum.openwrt.org/t/luci-attended-sysupgrade-support-thread/230552/243
Fixes: c459a6b "bcm53xx: add support for Luxul FullMAC WiFi devices"
Fixes: 1d47f81 "bcm53xx: build images for Luxul ABR-4500 and XBR-4500 routers"
Signed-off-by: Mario Andrés Pérez <mapb_@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/21056
(cherry picked from commit ff63c5cd82)
Link: https://github.com/openwrt/openwrt/pull/22829
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-12 20:12:58 +02:00
Goetz GoerischandHauke Mehrtens 2b9f01bebc kernel: bump 6.6 to 6.6.133
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.133

All patches autorefreshed.

Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22752
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-12 20:06:33 +02:00
Goetz GoerischandHauke Mehrtens 04b36e29d5 kernel: bump 6.6 to 6.6.132
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.132

All patches autorefreshed.

Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22752
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-12 20:06:33 +02:00
Goetz GoerischandHauke Mehrtens 51ac6f9a7f kernel: bump 6.6 to 6.6.131
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.131

All patches autorefreshed.

Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22752
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-12 20:06:33 +02:00
Goetz GoerischandHauke Mehrtens 032575c72a kernel: bump 6.6 to 6.6.130
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.130

Manually refreshed patches:
generic/hack-6.6/790-SFP-GE-T-ignore-TX_FAULT.patch [1]
generic/pending-6.6/680-net-add-TCP-fraglist-GRO-support.patch [4]

Dropped upstreamed patches:
airoha/patches-6.6/083-01-v6.13-resource-Add-resource-set-range-and-size-helpers.patch [2]
generic/pending-6.6/685-net-gso-fix-tcp-fraglist-segmentation-after-pull-fro.patch [3]

All other patches autorefreshed.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.130&id=783025a3babbc526dd0b31f36cc4edc8c2153c8a
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.130&id=ffe8617e2e5b388d43462a56c5042e35f701195b
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.130&id=e19201b0c67da5146eaac06fd3d44bd7945c3448
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.130&id=1f2b859225eb8d1ec974214ce4a581f8c528ae57

Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22752
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-12 20:06:33 +02:00
Trix TaicletandHauke Mehrtens 9d0bafca52 uboot-tegra: fix build with swig 4.3.0
Swig 4.3.0 has changed SWIG_Python_AppendOutput, which now requires an
additional parameter `is_void`. SWIG_AppendOutput remains unchanged.
This was fixed upstream in u-boot/u-boot@a63456b

```
scripts/dtc/pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_next_node':
scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few arguments to function 'SWIG_Python_AppendOutput'
 5581 |     resultobj = SWIG_Python_AppendOutput(resultobj, val);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
```

This is the same fix as applied in 363e07d.

Signed-off-by: Trix Taiclet <git@trix.moe>
Link: https://github.com/openwrt/openwrt/pull/22870
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-12 20:02:12 +02:00
Trix TaicletandHauke Mehrtens 1e61a54d72 uboot-sunxi: fix build with swig 4.3.0
Swig 4.3.0 has changed SWIG_Python_AppendOutput, which now requires an
additional parameter `is_void`. SWIG_AppendOutput remains unchanged.
This was fixed upstream in u-boot/u-boot@a63456b

```
scripts/dtc/pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_next_node':
scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few arguments to function 'SWIG_Python_AppendOutput'
 5581 |     resultobj = SWIG_Python_AppendOutput(resultobj, val);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
```

This is the same fix as applied in 363e07d.

Signed-off-by: Trix Taiclet <git@trix.moe>
Link: https://github.com/openwrt/openwrt/pull/22870
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-12 20:02:12 +02:00
Robert Marko fbca86e8bd qualcommax: ipq807x: mx5300: use existing aliases node
No need to add another aliases node just for the label-mac-device,
luckily DTC was smart enough to combine them together in the final DTB.

Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 1f535037b1)
2026-04-10 18:31:26 +02:00
Tianling Shen 4e2dc2070f Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-04-10 10:31:01 +08:00
Steffen FörsterandRobert Marko beaf298c4c qualcommax: ipq807x: label mac for Linksys MX5300
The correct label mac is needed in a downstream project.

Signed-off-by: Steffen Förster <nemesis@chemnitz.freifunk.net>
Link: https://github.com/openwrt/openwrt/pull/22802
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-04-07 14:15:08 +02:00
Tianling Shen 6185228029 Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-04-07 10:39:47 +08:00
Florian MaurerandHauke Mehrtens a64f028d39 ramips-mt7621: fix xiaomi mi ac2100 mac address
The Xiaomi Redmi/Mi Router AC2100 does have the correct label mac on the WAN interface.
This MAC is available as gmac1.

Signed-off-by: Florian Maurer <f.maurer@outlook.de>
Link: https://github.com/openwrt/openwrt/pull/22567
(cherry picked from commit b1713d623b)
Link: https://github.com/openwrt/openwrt/pull/22624
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-03 17:51:10 +02:00
Goetz GoerischandHauke Mehrtens 81abc8d9d1 kernel: bump 6.6 to 6.6.129
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.129
Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22348
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-03 17:15:21 +02:00
Goetz GoerischandHauke Mehrtens ea7c6f03ac kernel: bump 6.6 to 6.6.128
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.128

Add new KConfig symbols:
MFD_TN48M_CPLD [7]
MFD_SPACEMIT_P1 [8]

Removes upstreamed patches:
bcm27xx/patches-6.6/950-0291-media-i2c-ov5647-Correct-pixel-array-offset.patch [1]
bcm27xx/patches-6.6/950-0292-media-i2c-ov5647-Correct-minimum-VBLANK-value.patch [2]
bcm27xx/patches-6.6/950-0310-media-i2c-ov5647-Sensor-should-report-RAW-color-spac.patch [3]

Manually rebase patches:
bcm27xx/patches-6.6/950-0331-mfd-simple-mfd-i2c-Add-configuration-for-RPi-POE-HAT.patch [4]
bcm27xx/patches-6.6/950-1275-drivers-mfd-sensehat-Add-Raspberry-Pi-Sense-HAT-to-s.patch [4]
bcm27xx/patches-6.6/950-1330-media-i2c-ov5647-Add-V4L2_CID_LINK_FREQUENCY-control.patch [5]
lantiq/patches-6.6/0101-find_active_root.patch [6]

All other patches autorefeshed.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=1f413dac763a8caed44d8591aa064e4ab8061f52
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=e5f4aad2627dd9e5da46ad1325795ec12046facb
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=c146483bad46e4abb7ab9c706adc51cd54f1a81e
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=b07aa526d05378bd6d2d61294424e411f4a14fe0
[5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=089625cccd7eb8d65a381e81f1e3e1db064334df
[6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=9fbbd62436cec79b6a08c03f5711fcbef89a208d
[7] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=29040d42d641892cbd7c5d91306063ceb2cac103
[8] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=d9e5d3e1924abe95babc0762c8f5c67382bf389a

Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22348
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-03 17:14:57 +02:00
Shiji YangandHauke Mehrtens 2120db27b5 lantiq: fix mtdparsers refcount leak and memory leak
Release previously allocated memory and OF node before return.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22276
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 4778e35464)
Link: https://github.com/openwrt/openwrt/pull/22348
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-03 17:14:27 +02:00
Tianling Shen 985637f52f loongarch64: increase CMA size to 64M for drm support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit d82e3b0bfe)
2026-03-31 12:25:35 +08:00
Tianling Shen 2b462245b9 kernel: netdevices: enable hinic/igbvf/stmmac-core driver for loongarch64
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 9bd14fd6c5)
2026-03-31 12:25:33 +08:00
Tianling Shen 6fee224a35 loongarch64: add common pcie ethernet drivers by default
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 7259b8ca82)
2026-03-27 18:35:23 +08:00
Tianling Shen 862107cd95 yt6801: add Motorcomm YT6801 PCIe ethernet driver
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-03-26 14:12:30 +08:00
Tianling Shen 2173af82a7 Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-03-18 11:06:51 +08:00
Hauke Mehrtens 214a657cfa OpenWrt v24.10.6: revert to branch defaults
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-03-17 23:48:43 +01:00
Hauke Mehrtens ec8eeaa8fb OpenWrt v24.10.6: adjust config defaults
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-03-17 23:48:40 +01:00
Oliver SedlbauerandHauke Mehrtens 81be8a8869 ramips: mt76x8: fix bootcount init script file permissions
The bootcount init script is missing the executable bit (644 instead of 755),
causing the script to not be executable:

  /etc/preinit: line 44: /etc/init.d/bootcount: Permission denied

Fixes: c3b8108a2b ("ramips: Add support for Xiaomi MiWiFi 3A")
Signed-off-by: Oliver Sedlbauer <os@dev.tdt.de>
Link: https://github.com/openwrt/openwrt/pull/22446
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit a15b224e83)
2026-03-17 01:58:59 +01:00
Hauke Mehrtens 3214b8a328 lantiq: adapt gpio-stp-xway node name to get clock
The MIPS code assigns the clock node based on the device tree node name.
This name was renamed with kernel 6.12.58 and v6.6.117. Adapt our out of
tree device tree files to this rename to fix loading the STP GPIO
driver.

Without this fix the driver fails like this:
```
[    0.320000] gpio-stp-xway 1e100bb0.stp: Failed to get clock
[    0.330000] gpio-stp-xway 1e100bb0.stp: probe with driver gpio-stp-xway failed with error -2
```

Link: https://git.kernel.org/linus/b0d04fe6a633ada2c7bc1b5ddd011cbd85961868
Fixes: https://github.com/openwrt/openwrt/issues/21697
Co-Authored-By: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22444
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit d405685b44)
[Fix danube.dtsi too]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-03-17 01:58:10 +01:00
Hauke Mehrtens 77d54cca84 jsonfilter: fix memory leak in jsonfilter
Cherry pick an upstream patch to fix a memory leak.

Fixed in OpenWrt main branch in commit
2c2cea8864 ("package: update jsonfilter to latest HEAD 2026-03-12")

Link: https://github.com/openwrt/jsonpath/commit/e086664e6a570630e8feba889482f174a9a8715e
Link: https://github.com/openwrt/openwrt/pull/22440
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-03-16 00:54:02 +01:00
Daniel Golle 3e77f8c7ab procd: update to git HEAD (2026-03-14)
Update procd cherry-picking fixes from main branch to dedicated
openwrt-24.10 backport branch.

 c59f2d8 instance: don't print error in case cgroups are disabled
 196291a instance: use positive error numbers for strerror()
 d23ddec rcS, ubus: constify char * arguments and variables where appropriate
 aeeef20 instance: use mkdir_p helper
 d033b7c signal: handle SIGUSR1 as halt
 8bc8377 cgroups: fix syntax error
 909d02b instance: check length of names when creating cgroups
 5ec782f procd: jail/cgroups: fix OOB write in cgroups_apply()
 8581313 hotplug-dispatch: fix filter disallowing setting PATH
 6265463 service instance: Improve handling of watchdog config changes
 45bef92 service instance: Fix overwriting of watchdog linked list members
 8294471 coldplug: fix missing header include
 fb1c92b hotplug-dispatch: fix missing header include
 6dafa86 initd/coldplug: create /dev/null before running udevtrigger
 c268f13 hotplug-dispatch: redirect output to /dev/null
 b8c4f86 hotplug-dispatch: use stat if d_type is DT_UNKNOWN
 1f2aa1a system: fix arguments validation in ubus handler
 7e5e049 service: fix use-after-free on service data update
 3f48d76 instance: convert jail feature flags to bitmap
 2c7c0d2 rcS: avoid duplicate pending "running" calls
 5a9b16d service: re-run init script "running" command after instance restart
 d5a45ff jail: fix NULL-pointer dereference when connection to ubus failed
 8de8cdf jail: always handle mkdir() return value
 fa594db jail: seccomp-oci: fix uninitialized pointer read in error path

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-03-14 01:18:07 +00:00
Jonas Gorski 68befe26ac umdns: update to Git HEAD (2026-02-06)
a52cdb354d13 dns: validate IPv4 record addresses
b798c24205b5 dns: validate IPv6 record addresses
a3dcb4adc635 dns: validate reverse dns query name lengths

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
(cherry picked from commit 8a7eb57ab8)
2026-03-12 20:41:06 +01:00
Hauke Mehrtens fb624926e3 wireless-regdb: update to version 2026.02.04
75bedc5 wireless-regdb: Update regulatory info for Australia (AU) for 2025
a6e5195 wireless-regdb: Update broken link in regulatory.bin(5) manpage
9e8c67f wireless-regdb: Update regulatory info for Malaysia (MY) for 2024
61a4637 wireless-regdb: Update regulatory info for Malaysia (MY) for 2025
5cefe55 wireless-regdb: Update regulatory info for Tunisia (TN) on 6GHz for 2025
1a729ae wireless-regdb: Update regulatory info for Canada (CA) for 2025
ea20dfa wireless-regdb: update regulatory database based on preceding changes

Link: https://github.com/openwrt/openwrt/pull/22150
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 7c5e329b54)
2026-03-12 00:17:52 +01:00
Tianling Shen 86ccf0e8e1 Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-03-11 14:22:08 +08:00
Hauke MehrtensandTianling Shen 451b1ee049 ustream-ssl: update to Git HEAD (2026-03-01)
99f1c0db5a72 ustream-openssl: Fix use-after-free crash under high load and optimize BIO_METHOD lifecycle

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit e558d763be)
2026-03-11 14:21:23 +08:00
Christian MarangiandTianling Shen 47ac19447c 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>
(cherry picked from commit 5bfb5ee68f)
2026-03-11 14:21:15 +08:00
Aleksander Jan BajkowskiandChristian Marangi 6f55a70589 airoha: an7581: add switch ports interrups
The MT7531 has an incorrect interrupt number described in the DTS.
This commit also adds PHY interrupts. They work the same as on
the MT7988.

Tested on Gemtek W1700k.

Suggested-by: Benjamin Larsson <benjamin.larsson@genexis.eu>
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Link: https://github.com/openwrt/openwrt/pull/21016
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 788958880b)
[ fix conflict error, adapt for kernel 6.6 ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2026-03-11 00:26:12 +01:00
Ziyang HuangandChristian Marangi 54045c9e53 airoha: an7581: correct led nodename
Use standard name.

Signed-off-by: Ziyang Huang <hzyitc@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/20482
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit f5bf8c2b94)
2026-03-11 00:21:25 +01:00
Ziyang HuangandChristian Marangi 2045b37953 airoha: an7581: correct phy nodename
Let node unit address same as reg.

Signed-off-by: Ziyang Huang <hzyitc@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/20482
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 077120fb64)
2026-03-11 00:21:17 +01:00
Ziyang HuangandChristian Marangi 0dbc3f8a3c airoha: an7581: move the switch led label from soc-level to board-level
Different boards use different port map. For example, some board may use
a GE port as WAN. So defining the led label in board-level is better.

Signed-off-by: Ziyang Huang <hzyitc@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/20482
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit ea54b6a478)
2026-03-11 00:18:59 +01:00
Ziyang HuangandChristian Marangi 90b8458808 airoha: an7581: move the switch port label from soc-level to board-level
Different boards use different port map. Defining the port labels in
board-level is better.

Signed-off-by: Ziyang Huang <hzyitc@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/20482
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit e2f7ad08c7)
2026-03-11 00:15:15 +01:00
Ziyang HuangandChristian Marangi ef3c7ee1fb airoha: an7581: disable all switch port and phy by default
Some board only use some of them, so enable as necessary in
board-level dts.

Signed-off-by: Ziyang Huang <hzyitc@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/20482
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 007aa5a51c)
2026-03-11 00:15:03 +01:00
Chukun PanandChristian Marangi cee2968fca airoha: an7581: refresh kernel config
Enable MEDIATEK_GE_SOC_PHY driver and disable NET_DSA_MT7530_MDIO.
Refresh kernel configs with 'make kernel_oldconfig CONFIG_TARGET=subtarget'.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://github.com/openwrt/openwrt/pull/20190
(cherry picked from commit dae30d83ea)
[ fix conflict error ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2026-03-10 16:06:26 +01:00
Christian Marangi 6dda63a373 airoha: an7581: cleanup kernel config
Cleanup kernel config and drop all unrelated configs. This have the side
effect of fixing the port not going up automatically due to Bridge VLAN
Filtering disabled.

Link: https://github.com/openwrt/openwrt/pull/18112
(cherry picked from commit 7805100e15)
[ fix conflict errors ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2026-03-09 19:57:27 +01:00
Tim HarveyandHauke Mehrtens 01aff6f3c2 imx: cortexa53: enable DMA contiguous memory allocator
Enable and configure DMA contiguous memory allocator. Without this
CMA itself will be disabled.

Fixes: ae8bf1a26e ("imx: add imx8m support")
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
(cherry picked from commit eef354ff34)
Link: https://github.com/openwrt/openwrt/pull/22203
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-03-09 01:42:02 +01:00
Goetz GoerischandHauke Mehrtens 1b4efac836 Revert "kernel: revert ip6_tunnel use skb_vlan_inet_prepare() in __ip6_tnl_rcv()"
This reverts commit 466d57ea24.

A backport commit was missing, which was backported upstream with
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.127&id=f478b8239d6564b20bbf2972e441c31f945a2b76
Link: https://lore.kernel.org/all/CANn89iL5ksZZCJr7SK9=4Sw6EejdOzr5_m6pBMM8RVtbLy_ACA@mail.gmail.com/

Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21919
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-03-09 01:35:14 +01:00
Goetz GoerischandHauke Mehrtens 5e819e4bde kernel: bump 6.6 to 6.6.127
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.127

Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21919
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-03-09 01:35:14 +01:00
Goetz GoerischandHauke Mehrtens 1591d66f09 kernel: bump 6.6 to 6.6.126
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.126

All patches autorefreshed.

Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21919
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-03-09 01:35:14 +01:00