63380 Commits

Author SHA1 Message Date
Felix Fietkau
7953376400 cli: use model scope for hook calls
Make the scope consistent with other callbacks

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-02-28 17:36:01 +01:00
Felix Fietkau
bc078b833a cli: add support for create/destroy object editor with single type
Allows hooking create/destroy in a separate menu without having the user
specify a type argument.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-02-28 17:36:01 +01:00
Felix Fietkau
895b4e7caf cli: add support for partial completion with separator character
Useful for completing long lists of possible values with common prefix

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-02-28 17:36:01 +01:00
Sander Vanheule
04ecccf3e9 realtek: Drop redundant LED labels
Some devices have both the color/function and label property defined.
The label can be constructed from the former properties, making it
redundant.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
2025-02-28 16:30:29 +01:00
Sander Vanheule
13a5e02e28 realtek: Add status LED for Netgear GS310TP
Power LED is identical to GS308T.

Link: https://forum.openwrt.org/t/222970/11
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2025-02-28 14:15:17 +01:00
Bjørn Mork
be181cb3b3 realtek: add thermal zones for SFP sensors on SKS8300-8X
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
Create thermal zones for SFP internal sensors, enabling shutdown
on critical temperatures.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/17967
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2025-02-27 19:24:45 +01:00
Bjørn Mork
f29b57dc68 realtek: add thermal zones for SFP sensors on GS1900-10HP
Create thermal zones for SFP internal sensors, enabling shutdown
on critical temperatures.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/17967
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2025-02-27 19:24:45 +01:00
Bjørn Mork
864d6743ee realtek: thermal driver for rtl838x and rtl930x SoCs
Add simple driver reading the internal temperature sensor.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/17967
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2025-02-27 19:24:44 +01:00
Robert Marko
fe37574be6
libpcap: add missing PKG_CONFIG_DEPENDS entries
Currently, enabling USB, BT or Netfilter support after initial compilation
will not trigger a rebuild, so add the missing PKG_CONFIG_DEPENDS so
that rebuild gets triggered.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
2025-02-27 12:39:16 +01:00
Álvaro Fernández Rojas
3d3328bf5f kernel: r8126: update to v10.015.00
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
Changelog: https://github.com/openwrt/rtl8126/compare/10.014.01...10.015.00

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2025-02-27 11:56:50 +01:00
Álvaro Fernández Rojas
a8dea562aa kernel: r8125: update to v9.015.00
Changelog: https://github.com/openwrt/rtl8125/compare/9.014.01...9.015.00

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2025-02-27 11:56:06 +01:00
Álvaro Fernández Rojas
23fdbd4e71 omcproxy: update to latest version
Changelog: bfba2aa758...582cd8d3ae

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18130
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-27 11:52:27 +01:00
Hauke Mehrtens
2389793edf kernel: kmod-btmtk: Extract btmtk.ko into own package
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
btmtk.ko is used by btusb.ko and btmtkuart.ko, add it into an own
package and make both packages depend on it.

Fixes: 1c42a0be3619 ("kernel: modules: bluetooth: separating UART and USB drivers")
Link: https://github.com/openwrt/openwrt/pull/18110
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-26 23:31:36 +01:00
Bjørn Mork
d6977ab33a realtek: rtl930x: sgmii support
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
This makes sgmii work for 1000Base-T SFPs by stupidly adding the sgmii mode
wherever 1000base-x is accepted.  No intelligence has been used in the
process.  But it "works for me".

There is an obvious need for refactoring this code to make it more obvious
how and why we configure the mac/phy link like we do for different modes.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/17950
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2025-02-25 20:53:30 +01:00
Bjørn Mork
1fc19bc06e realtek: rtl93xx: mdio-smbus support for clause 45 and Rollball SFPs
These features have been added to the mdio-i2c driver and are now used by
the sfp driver. The support is required for some newer SFPs.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/17950
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2025-02-25 20:53:30 +01:00
Bjørn Mork
4457c1eee4 realtek: rtl93xx: support SFPs with phys
This driver use "phy-handle" as a placeholder for mac configuration
data.  Such handles are therefore required for all ports - even those
connected directly to SFP slots and having a managed property set to
"in-band-status".

The DSA core will register these nodes as if they are real phys. This
prevents later attachment of pluggable phys with errors like

   sfp sfp-p8: sfp_add_phy failed: -EBUSY

Replace the virtual SFP slot handles with "pseudo-phy-handle" to keep
the driver logic as-is but hide the node from the DSA core.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/17950
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2025-02-25 20:53:30 +01:00
Bjørn Mork
ccf54ca673 realtek: sfp: add mdio bus only for sfps with a phy
The SMBus patch broke the logic and caused the driver to always
register an mdio bus, regardless of the sfp.  Restore original
logic.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/17950
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2025-02-25 20:53:30 +01:00
Bjørn Mork
736229ba99 realtek: sfp: prevent duplicate hwmon devices when re-probing on interface up
Re-probing on interface up will register a new duplicate hwmon device. Skip
the hwmon probe if we already have a sensor device.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/17950
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2025-02-25 20:53:30 +01:00
Bjørn Mork
ef4b022150 realtek: i2c-rtl9300: fix crash on block transfers
Fix a typo which resulted in wrong .read hooks and unset .write
hooks.  This made I2C_SMBUS_BLOCK_DATA transfers dereference the
NULL .write hook and Oops.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/17950
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2025-02-25 20:53:30 +01:00
Bjørn Mork
d5dcb88906 realtek: dsa: silence debug log noise
The log noise emmitted by this driver is overwhelming, even for developers
looking at specific issues.  Demoting to debug allows individual messages
to be dynamically enabled instead.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/17950
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2025-02-25 20:53:30 +01:00
Bjørn Mork
024e9dbace realtek: dsa: silence log noise on route offload
Adding a static IPv4 route made the driver repeatedly print

 rtl83xx_l3_nexthop_update: Setting up fwding: ip 192.168.1.42, GW mac 0000001b21a7xxxx
 Route with id 3 to 192.168.99.0 / 24
 rtl83xx_l3_nexthop_update: total packets: 0
 Warning: TEMPLATE_FIELD_RANGE_CHK: not configured

These messages are only useful to developers while debugging offloading.
Demote to debug level, which in general is more useful for developers
by allowing precise dynamic control.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/17950
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2025-02-25 20:53:30 +01:00
Robert Marko
e1acc7a67b Revert "tools/autoconf-archive: bump to 2024.10.16"
Some checks failed
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
This reverts commit bbb3b985b036193d814e9742d07143330d19a71a.

LuaJIT support that is included in 2024.10.16 was supposed to be optional
but unfortunately, it seems that there is a bug[1] and its now breaking FRR
host builds and more.

So, revert the update for now.

[1] https://lists.gnu.org/archive/html/autoconf-archive-maintainers/2024-11/msg00000.html

Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-25 18:12:32 +01:00
Kristian Skramstad
a76651a24a kernel: qca-nss-dp: update to 12.5.5
Some checks failed
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Has been cancelled
There is some new changes since 12.5.r2 to 12.5.5, so refresh
and update patches.

Changes:
modified:   package/kernel/qca-nss-dp/Makefile
modified:   package/kernel/qca-nss-dp/patches/0006-nss_dp_main-Use-a-phy-handle-property-to-connect-to-.patch
modified:   package/kernel/qca-nss-dp/patches/0008-nss-dp-allow-setting-netdev-name-from-DTS.patch
deleted:    package/kernel/qca-nss-dp/patches/0011-01-edma_v1-rework-hw_reset-logic-to-permit-rmmod-and-in.patch
deleted:    package/kernel/qca-nss-dp/patches/0011-02-nss_dp_switchdev-correctly-unregister-notifier-on-dp.patch
deleted:    package/kernel/qca-nss-dp/patches/0011-03-nss_dp_main-swap-dp_exit-function-call.patch
deleted:    package/kernel/qca-nss-dp/patches/0011-04-nss_dp_main-call-unregister_netdev-first-in-dp_remov.patch
deleted:    package/kernel/qca-nss-dp/patches/0011-05-nss_dp_main-use-phy_detach-instead-of-disconnect-in-.patch
deleted:    package/kernel/qca-nss-dp/patches/0011-06-edma_v1-skip-edma_disable_port-in-edma_cleanup-subse.patch

Log:
2024-10-16 |4c9f671| [qca-nss-dp] removed the calling of fal_port_autoneg_status_get
2024-10-16 |fb33119| Merge "[qca-nss-dp] Change Debug Level of TX Complete Errors"
2024-10-15 |e197b9d| [qca-nss-dp] Change Debug Level of TX Complete Errors
2024-10-03 |1b7aeb1| Merge remote-tracking branch origin/AU_LINUX_QSDK_GINGER_OPEN_TARGET_ALL.12.5.5.230.918 into HEAD
2024-10-01 |830ac73| Merge "[qca-nss-dp] Enable rmmod support for qca-nss-dp module."
2024-06-05 |aef242d| [qca-nss-dp] Enable rmmod support for qca-nss-dp module.
2024-09-18 |b1bfeb6| Merge "[qca-nss-dp] Move pr_info to pr_debug"
2024-09-12 |54aee26| Merge "[qca-nss-dp] Fix Loopback ring teardown path"
2024-09-10 |21f6567| Merge "[qca-nss-dp] Extend Tx Complete errors to track individual error type"
2024-09-10 |7fee76f| Merge "[qca-nss-dp] Destination VP xmit support"
2024-09-09 |0d4ecfd| [qca-nss-dp] Fix Loopback ring teardown path
2024-08-29 |438ab8e| [qca-nss-dp] Move pr_info to pr_debug
2024-08-29 |3f45e3d| Merge "[qca-nss-dp] Fix EDMA Recovery API to Prevent Multiple RX NAPI Add Calls"
2024-08-23 |7a792b1| [qca-nss-dp] Fix EDMA Recovery API to Prevent Multiple RX NAPI Add Calls
2024-07-08 |1227746| [qca-nss-dp] Add support for DDR extended buffer
2024-08-20 |d45bceb| [qca-nss-dp] Extend Tx Complete errors to track individual error type
2024-06-17 |a8f7155| [qca-nss-dp] Destination VP xmit support
2024-08-21 |a5d189b| Merge "[qca-nss-dp] Support for the PPE-VP Qdisc feature"
2024-08-16 |da97bc7| Merge "[qca-nss-dp] Restrict compilation of a file in DP module"
2024-06-22 |bf90fe9| [qca-nss-dp] Support for the PPE-VP Qdisc feature
2024-02-07 |6ceeb8f| [qca-nss-dp] Enable EDMA driver to allocate from beyond 4GB space.
2024-03-19 |4a7ff28| [qca-nss-dp] Restrict compilation of a file in DP module
2024-07-09 |73bad34| [qca-nss-dp] Check for DS node state before getting ppe queue
2024-05-03 |22cdbd6| [qca-nss-dp] Add PPE-DS Enqueue vp to queue mapping
2024-07-04 |5d6ef18| Merge "[qca-nss-dp] NAPI Budget change for KPI improvement"
2024-07-02 |cd0b543| Merge "[qca-nss-dp] Read fake_mac header indication from rx_desc"
2024-07-01 |160b988| [qca-nss-dp] NAPI Budget change for KPI improvement
2024-05-22 |54c2fd1| [qca-nss-dp]: Fixing SA warnings as part of qca-nss-dp module.
2024-06-22 |602534b| [qca-nss-dp] Read fake_mac header indication from rx_desc
2023-11-24 |10210e2| [qca-nss-dp] EDMA register changes for ipq54xx
2024-05-22 |1af0d03| Merge "[qca-nss-dp]: Change to support PPE-VP path for MLO Assist"
2024-05-15 |2acd9f3| [qca-nss-dp]: Change to support PPE-VP path for MLO Assist
2023-09-27 |1ca59f2| [qca-nss-dp] DP changes for ipq54xx
2024-04-18 |bc60c5a| Merge "[qca-nss-dp] Add support for the XGMAC latency computation"
2024-04-18 |6a67d6d| Merge "[qca-nss-dp] Fix the packets processing in the Rx NAPI"

Signed-off-by: Kristian Skramstad <kristian+github@83.no>
Link: https://github.com/openwrt/openwrt/pull/17731
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-25 10:46:33 +01:00
Paweł Owoc
7b401a9d95 qualcommax: fix upgrade function for Linksys MX dual boot devices
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Function remove_oem_ubi_volume was called before CI_UBIPART variable was defined.

Fixes: df1f6e1e18 (qualcommax: ipq807x: Remove OEM UBI volume before upgrade for Linksys MX devices)
Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18090
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-24 21:11:41 +01:00
Daniel Golle
7a9a646c72 linux-firmware: update to 20250211
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Waiting to run
Build host tools / Build host tools for linux and macos based systems (push) Waiting to run
Changes since 20241110:
 bb591083 i915: Update Xe2LPD DMC to v2.28
 68eeb2a5 ASoC: tas2781: Add regbin firmware by index for single device
 31e5b6b0 WHENCE: qca: add missing version information
 e6e52fde WHENCE: qca: add missing version information
 920ec27d WHENCE: split generic QCA section into USB and serial sections
 bb5d129b rtl_bt: Update RTL8852B BT USB FW to 0x0474_842D
 608fdf4c iwlwifi: add Bz/gl FW for core93-123 release
 c1252c30 iwlwifi: update ty/So/Ma firmwares for core93-123 release
 69e83a8d iwlwifi: update cc/Qu/QuZ firmwares for core93-82 release
 5b217397 ASoC: tas2781: Add dsp firmware for new projects
 24625a79 amdgpu: DMCUB update for DCN401
 99720d02 ath12k: WCN7850 hw2.0: update board-2.bin
 a3f44afe ath12k: QCN9274 hw2.0: update to WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1
 94a1e6ed ath12k: QCN9274 hw2.0: update board-2.bin
 3a44e641 ath11k: WCN6750 hw1.0: update board-2.bin
 ccc21e6c ath11k: QCN9074 hw1.0: update to WLAN.HK.2.9.0.1-02146-QCAHKSWPL_SILICONZ-1
 73718ee7 ath11k: QCA6698AQ hw2.1: add to WLAN.HSP.1.1-04479-QCAHSPSWPL_V1_V2_SILICONZ_IOE-1
 06fe00a9 ath11k: QCA6698AQ hw2.1: add board-2.bin
 bc502ac3 ath11k: QCA6390 hw2.0: update board-2.bin
 7003cdef ath11k: QCA2066 hw2.1: update to WLAN.HSP.1.1-03926.13-QCAHSPSWPL_V2_SILICONZ_CE-2.52297.6
 8cd06dd2 ath11k: QCA2066 hw2.1: update board-2.bin
 0dba9647 ath11k: IPQ8074 hw2.0: update to WLAN.HK.2.9.0.1-02146-QCAHKSWPL_SILICONZ-1
 bd0511af ath11k: IPQ6018 hw1.0: update to WLAN.HK.2.7.0.1-02409-QCAHKSWPL_SILICONZ-1
 51f77040 copy-firmware: Fix 'No such file or directory' error.
 e38da104 ath11k: add device-specific firmware for QCM6490 boards
 6b12b964 qca: add more WCN3950 1.3 NVM files
 42101764 qca: add firmware for WCN3950 chips
 93160a02 qca: move QCA6390 firmware to separate section
 03087bcd qca: restore licence information for WCN399x firmware
 61d257d5 amdgpu: DMCUB updates for various ASICs
 a204b433 amdgpu: DMCUB updates forvarious AMDGPU ASICs
 7db7f79e qca: Update Bluetooth WCN6750 1.1.0-00476 firmware to 1.1.3-00069
 bba19e40 qcom:x1e80100: Support for Lenovo T14s G6 Qualcomm platform
 b3553788 qcom:x1e80100: Support for Lenovo T14s G6 Qualcomm platform
 211fbc28 linux-firmware: Update FW files for MRVL SD8997 chips
 4f91bc37 i915: Update Xe2LPD DMC to v2.27
 0ff5d857 qca: Update Bluetooth WCN6856 firmware 2.1.0-00642 to 2.1.0-00650
 9c2bf7af rtl_bt: Update RTL8852B BT USB FW to 0x049B_5037
 8f070131 amdgpu: Update ISP FW for isp v4.1.1
 84e4027f trivial: contrib: wrap the process in try/except to catch server issues
 e75caebf trivial: contrib: use python-magic to detect encoding of emails
 52e96183 QCA: Add Bluetooth firmware for QCA6698
 0e16f416 amdgpu: revert DMCUB 3.1.4 firmware
 7c07d2d2 amlogic: update firmware for w265s2
 634d0a0a mediatek MT7925: update bluetooth firmware to 20250113153307
 3b6b1cba linux-firmware: update firmware for MT7925 WiFi device
 a6cc7472 amdgpu: update psp 13.0.10 firmware
 133355e8 amdgpu: update gc 11.0.3 firmware
 ed8de441 amdgpu: update psp 13.0.8 firmware
 11ec4d49 amdgpu: update psp 13.0.5 firmware
 78caaee2 amdgpu: update vcn 4.0.0 firmware
 d9f8cb2a amdgpu: update psp 13.0.0 firmware
 29761144 amdgpu: update gc 11.0.0 firmware
 9ac860c0 amdgpu: update beige goby firmware
 f959a13f amdgpu: update dimgrey cavefish firmware
 8e978d08 amdgpu: update navy flounder firmware
 a4b34d9c amdgpu: update sienna cichlid firmware
 7b211e6a amdgpu: update navi14 firmware
 4ea4ad03 amdgpu: update smu 14.0.3 firmware
 d3547493 amdgpu: update psp 14.0.3 firmware
 0ca6b708 amdgpu: update gc 12.0.1 firmware
 367fe221 amdgpu: update navi12 firmware
 5d6d3f3e amdgpu: update smu 14.0.2 firmware
 70482da5 amdgpu: update psp 14.0.2 firmware
 95bfb9ef amdgpu: update gc 12.0.0 firmware
 64e0a082 amdgpu: update gc 9.4.3 firmware
 dcb68fd8 amdgpu: update navi10 firmware
 7718769c amdgpu: update vcn 4.0.4 firmware
 02d16372 amdgpu: update psp 13.0.7 firmware
 f0f3895c amdgpu: update gc 11.0.2 firmware
 73c7a2bd amdgpu: update yellow carp firmware
 f07c3754 qcom: correct licence information for SA8775P binaries
 efa7a4c2 qcom: update SLPI firmware for RB5 board
 6dca3000 amdgpu: DMCUB updates for various AMDGPU ASICs
 dfc33728 qcom: add DSP firmware for SA8775p platform
 f5dae710 qcom: correct venus firmware versions
 dd5f35ba qcom: add missing version information
 dcc4a069 linux-firmware: Update firmware (v10) for mt7988 internal
 fd01e808 iwlwifi: add Bz FW for core90-93 release
 ee800d83 linux-firmware: wilc3000: add firmware for WILC3000 WiFi device
 d36d77d5 rtw89: 8852b: update fw to v0.29.29.8
 b93e274c rtw89: 8852c: update fw to v0.27.122.0
 6d24ab23 rtw89: 8922a: update fw to v0.35.54.0
 9dbec479 rtw89: 8922a: update fw to v0.35.52.1 and stuffs
 882976ea rtw89: 8852bt: update fw to v0.29.110.0
 20cace1a rtw89: 8852b: update fw to v0.29.29.7
 b3049665 amdgpu: DMCUB updates for various AMDGPU ASICs
 5d60a596 amdgpu: update sdma 6.0.3 firmware
 a071c69c amdgpu: update psp 13.0.10 firmware
 17dce2a9 amdgpu: update gc 11.0.3 firmware
 256dd4b1 amdgpu: update sdma 4.4.5 firmware
 9ecdd733 amdgpu: update psp 13.0.14 firmware
 c380f294 amdgpu: update gc 9.4.4 firmware
 df61f757 amdgpu: update psp 13.0.5 firmware
 9e98368a amdgpu: update vega20 firmware
 3f7b0107 amdgpu: update vega12 firmware
 8253e1ba amdgpu: update vega10 firmware
 f46e1c5e amdgpu: update vcn 4.0.0 firmware
 3822f749 amdgpu: update psp 13.0.0 firmware
 ca765ac8 amdgpu: update gc 11.0.0 firmware
 e3d76647 amdgpu: update picasso firmware
 5ade735e amdgpu: update beige goby firmware
 ab3f55cb amdgpu: update vangogh firmware
 dcae23bb amdgpu: update dimgrey cavefish firmware
 81afa06d amdgpu: update navy flounder firmware
 38f582b0 amdgpu: update psp 13.0.11 firmware
 2a6b035e amdgpu: update gc 11.0.4 firmware
 a3010763 amdgpu: update vcn 4.0.2 firmware
 5f1d715f amdgpu: update psp 13.0.4 firmware
 29110540 amdgpu: update gc 11.0.1 firmware
 28cfd823 amdgpu: update sienna cichlid firmware
 52d598fe amdgpu: update vcn 4.0.6 firmware
 521a4cd3 amdgpu: update psp 14.0.1 firmware
 28f84675 amdgpu: update vcn 4.0.5 firmware
 1e70894c amdgpu: update gc 11.5.0 firmware
 44e3c3ba amdgpu: update vcn 5.0.0 firmware
 f96ec199 amdgpu: update smu 14.0.3 firmware
 572e86af amdgpu: update psp 14.0.3 firmware
 ffbb5c05 amdgpu: update gc 12.0.1 firmware
 42fe6fa0 amdgpu: update navi14 firmware
 67e008dc amdgpu: update arcturus firmware
 2f09a8e7 amdgpu: update renoir firmware
 c795a0cc amdgpu: update smu 14.0.2 firmware
 b255f18f amdgpu: update psp 14.0.2 firmware
 335a3d30 amdgpu: update gc 12.0.0 firmware
 0910afb8 amdgpu: update navi12 firmware
 210ed963 amdgpu: update vcn 4.0.3 firmware
 45612237 amdgpu: update sdma 4.4.2 firmware
 e7a51c79 amdgpu: update psp 13.0.6 firmware
 32114486 amdgpu: update gc 9.4.3 firmware
 a76f74a1 amdgpu: update yellow carp firmware
 cd6cef46 amdgpu: update vcn 4.0.4 firmware
 3320119d amdgpu: update psp 13.0.7 firmware
 80802ba0 amdgpu: update gc 11.0.2 firmware
 39332647 amdgpu: update navi10 firmware
 4f47e84d amdgpu: update aldebaran firmware
 5e1e0ae5 cirrus: cs35l56: Correct some links to address the correct amp instance
 7ccc69cf linux-firmware: Update firmware file for Intel Bluetooth Magnetar core
 35f74899 linux-firmware: Update firmware file for Intel BlazarU core
 127ac452 linux-firmware: Update firmware file for Intel Bluetooth Solar core
 838bf587 cirrus: cs35l41: Add Firmware for Ayaneo system 1f660105
 af598a3f Fix has_gnu_parallel function
 e39831b1 rtl_bt: Add separate config for RLT8723CS Bluetooth part
 804b3e69 amdgpu: revert VCN 3.1.2 firmware
 599deec0 amdgpu: revert yellow carp VCN firmware
 95867e92 amdgpu: revert sienna cichlid VCN firmware
 81ca4929 amdgpu: revert navy flounder VCN firmware
 382f95f0 amdgpu: revert dimgrey cavefish VCN firmware
 0f3495ac WHENCE: Link the Raspberry Pi CM5 and 500 to the 4B
 729c0c8e copy-firmware.sh: Fix typo in error message.
 2b781910 Add support to install files/symlinks in parallel.
 c170fc69 Makefile: Remove obsolete/broken reference.
 a100ea55 check_whence.py: Use a more portable shebang.
 bf3697e4 rtl_bt: Update RTL8852B BT USB FW to 0x04BE_1F5E
 9cf329b3 cnm: update chips&media wave521c firmware.
 c92f98b8 WHENCE: Add "Info:" tag to text that's clearly not part of the license
 e1e114f8 rtl_nic: add firmware rtl8125bp-2
 891a8d4f qcom: venus-5.4: update firmware binary for sc7180 and qcs615
 bd491523 cirrus: cs35l56: Correct filenames of SSID 17aa3832
 9c46d10f cirrus: cs35l56: Add and update firmware for various Cirrus CS35L54 and CS35L56 laptops
 2cb303e7 cirrus: cs35l56: Correct SSID order for 103c8d01 103c8d08 10431f43
 16329652 rtl_nic: add firmware rtl8125d-2
 7012ac97 linux-firmware: Update firmware file for Intel BlazarU core
 209c18b0 amdgpu: update dmcub 0.0.246.0 firmware
 27272156 Add top level license file.
 f5aeeb47 amdgpu: update raven firmware
 1363a0ea amdgpu: update gc 11.0.3 firmware
 a69ccec7 amdgpu: update psp 13.0.14 firmware
 be80726a amdgpu: update vcn 3.1.2 firmware
 0269927e amdgpu: update vpe 6.1.3 firmware
 66a1d205 amdgpu: update psp 14.0.4 firmware
 929c0891 amdgpu: update gc 11.5.2 firmware
 39ba34e6 amdgpu: update vcn 4.0.0 firmware
 53c443d3 amdgpu: update gc 11.0.0 firmware
 63dcba16 amdgpu: update picasso firmware
 0985337b amdgpu: update beige goby firmware
 6c7f2c6a amdgpu: update vangogh firmware
 7f87800c amdgpu: update dimgrey cavefish firmware
 3b1a3e06 amdgpu: update navy flounder firmware
 1fa991ad amdgpu: update gc 11.0.4 firmware
 c6d3af09 amdgpu: update green sardine firmware
 32de3dbc amdgpu: update vcn 4.0.2 firmware
 d4e69c52 amdgpu: update gc 11.0.1 firmware
 9ae22572 amdgpu: update sienna cichlid firmware
 923200c8 amdgpu: update vcn 4.0.6 firmware
 0599265e amdgpu: update gc 11.5.1 firmware
 0dc221f2 amdgpu: update vcn 4.0.5 firmware
 f6295215 amdgpu: update psp 14.0.0 firmware
 dd3f6661 amdgpu: add vcn 5.0.0 firmware
 614375e1 amdgpu: add smu 14.0.3 firmware
 664fb29d amdgpu: add sdma 7.0.1 firmware
 54a0aa85 amdgpu: add psp 14.0.3 firmware
 72eda6ac amdgpu: add gc 12.0.1 firmware
 90fcc01f amdgpu: update navi14 firmware
 e264aa6f amdgpu: update renoir firmware
 141c3088 amdgpu: add smu 14.0.2 firmware
 49612d12 amdgpu: add sdma 7.0.0 firmware
 95f3ca63 amdgpu: add psp 14.0.2 firmware
 c852aecc amdgpu: add gc 12.0.0 firmware
 51744331 amdgpu: update navi12 firmware
 308d5f14 amdgpu: update psp 13.0.6 firmware
 252ffc5b amdgpu: update yellow carp firmware
 f3d0f0ba amdgpu: update vcn 4.0.4 firmware
 eb22099a amdgpu: update gc 11.0.2 firmware
 c3eccd75 amdgpu: update navi10 firmware
 f367a87d amdgpu: update aldebaran firmware
 52a3bca7 upstream amdnpu firmware
 7f116580 QCA: Add Bluetooth nvm files for WCN785x
 ea71da6f i915: Update Xe2LPD DMC to v2.24
 3f08f270 cirrus: cs35l56: Add firmware for Cirrus CS35L56 for various Dell laptops
 42b01d49 iwlwifi: add Bz-gf FW for core89-91 release
 16414d8b QCA: Update Bluetooth WCN785x firmware to 2.0.0-00515-2
 113d0f19 amdgpu: update smu 13.0.10 firmware
 a956cc9c amdgpu: update sdma 6.0.3 firmware
 72809ef1 amdgpu: update psp 13.0.10 firmware
 cce4f155 amdgpu: update gc 11.0.3 firmware
 b015f2e6 amdgpu: add smu 13.0.14 firmware
 3b20eb12 amdgpu: add sdma 4.4.5 firmware
 e736a04b amdgpu: add psp 13.0.14 firmware
 4017dd0e amdgpu: add gc 9.4.4 firmware
 ad211a73 amdgpu: update vcn 3.1.2 firmware
 821595b4 amdgpu: update psp 13.0.5 firmware
 ebdbabc2 amdgpu: update psp 13.0.8 firmware
 f665d459 amdgpu: update vega20 firmware
 d0e86e75 amdgpu: update vega12 firmware
 1c720ff4 amdgpu: update psp 14.0.4 firmware
 cc7d01ee amdgpu: update gc 11.5.2 firmware
 ac83d136 amdgpu: update vega10 firmware
 92cfa0cc amdgpu: update vcn 4.0.0 firmware
 b3848445 amdgpu: update smu 13.0.0 firmware
 ed656376 amdgpu: update psp 13.0.0 firmware
 f5e2c676 amdgpu: update gc 11.0.0 firmware
 54d70b86 amdgpu: update beige goby firmware
 7416c173 amdgpu: update vangogh firmware
 169ab504 amdgpu: update dimgrey cavefish firmware
 3e78bb66 amdgpu: update navy flounder firmware
 c770f5bb amdgpu: update psp 13.0.11 firmware
 7508bcff amdgpu: update gc 11.0.4 firmware
 95091a45 amdgpu: update vcn 4.0.2 firmware
 9ae39887 amdgpu: update psp 13.0.4 firmware
 bfca88ab amdgpu: update gc 11.0.1 firmware
 c9244523 amdgpu: update sienna cichlid firmware
 5bce792a amdgpu: update vpe 6.1.1 firmware
 398e526f amdgpu: update vcn 4.0.6 firmware
 4a172771 amdgpu: update psp 14.0.1 firmware
 d316e650 amdgpu: update gc 11.5.1 firmware
 0109c8f4 amdgpu: update vcn 4.0.5 firmware
 9fdafc63 amdgpu: update psp 14.0.0 firmware
 cca5bb4a amdgpu: update gc 11.5.0 firmware
 50bd1edb amdgpu: update navi14 firmware
 78829a1a amdgpu: update arcturus firmware
 0b20421f amdgpu: update renoir firmware
 e790f175 amdgpu: update navi12 firmware
 93116bb7 amdgpu: update sdma 4.4.2 firmware
 d9e052f0 amdgpu: update psp 13.0.6 firmware
 8d6dc052 amdgpu: update gc 9.4.3 firmware
 799542f9 amdgpu: update vcn 4.0.4 firmware
 bca51065 amdgpu: update psp 13.0.7 firmware
 ce9cd47f amdgpu: update gc 11.0.2 firmware
 f9e90ac1 amdgpu: update navi10 firmware
 9a186727 amdgpu: update aldebaran firmware
 508d770e ice: update ice DDP wireless_edge package to 1.3.20.0
 1db0dc9f ice: update ice DDP comms package to 1.3.52.0
 b0cdbcef ice: update ice DDP package to ice-1.3.41.0
 b94113ee amdgpu: update DMCUB to v9.0.10.0 for DCN314
 60f838aa amdgpu: update DMCUB to v9.0.10.0 for DCN351
 48bb90cc linux-firmware: Update AMD cpu microcode
 00643cab xe: Update GUC to v70.36.0 for BMG, LNL
 36d0c646 i915: Update GUC to v70.36.0 for ADL-P, DG1, DG2, MTL, TGL
 60cdfe18 iwlwifi: add Bz-gf FW for core91-69 release
 1e7f6588 qcom: venus-5.4: add venus firmware file for qcs615
 aeede7af qcom: update venus firmware file for SC7280
 77a11ffc QCA: Add 22 bluetooth firmware nvm files for QCA2066
 4023ed0b mediatek MT7922: update bluetooth firmware to 20241106163512
 ff344a7f mediatek MT7921: update bluetooth firmware to 20241106151414
 862cd742 linux-firmware: update firmware for MT7922 WiFi device
 45c98412 linux-firmware: update firmware for MT7921 WiFi device
 01842da4 qcom: Add QDU100 firmware image files.
 af7f6e4f qcom: Update aic100 firmware files
 af70c9d5 dedup-firmware.sh: fix infinite loop for --verbose

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-02-24 13:52:59 +00:00
Hannu Nyman
e03676a9ba tools/autoconf: Fix relocatable patch
Fix the 000-relocatable.patch broken by e0f5ce9. The patch segment about
detecting STAGING_DIR_HOST was erroneously removed, as upstream had
deleted the previous bin/autoconf.as and had implemented it in perl
in bin/autoconf.in. Re-create the previous functionality in that.

Fixes: #18059
Fixes: e0f5ce974 ("tools/autoconf: bump to 2.72")
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Link: https://github.com/openwrt/openwrt/pull/18073
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-24 14:12:47 +01:00
Felix Fietkau
15c27ce9f0 ucode-mod-uline: fix prompt after set_hint with string bigger than the window size
Redraw the prompt after the hint instead of trying to move backwards

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-02-24 13:31:53 +01:00
Shiji Yang
06c6481e7f tools: zlib: switch to git source
Switch to the git repository source so that we can use zstd
compression algorithm to create smaller package tarball. This
patch also corrected the license file name[1].

[1] 352cb28d12

Suggested-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/17880
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-24 12:44:02 +01:00
Shiji Yang
c43c816afc zlib: switch to git source
Switch to the git repository source so that we can use zstd
compression algorithm to create smaller package tarball. This
patch also corrected the license file name[1] and the CPE ID[2].

[1] 352cb28d12
[2] https://nvd.nist.gov/products/cpe/detail/95C64A3E-A897-4D55-B74A-D2285440D164

Suggested-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/17880
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-24 12:44:02 +01:00
Robert Marko
87f3365d90 Revert "tools/automake: bump to 1.17"
This reverts commit b930ce3bf7aa350cf0252dbf95c9447e51be4de9.

Bump to 1.17 broke SDK portability as it partially reverted commit
("automake: portability fixes") which made Perl PATH "/usr/bin/env perl"
as that is portable, as otherwise automake will set the absolute path to
the Perl binary and this will then fail when using SDK on a different
system as that PATH is not present.

So, since fixing this would require backport of upstream commit
("configure: make perl path with whitespace a warning, not error.") which
requires autoreconf to be done in order for configure to get regenerated
we cannot do it because at that time we do not have automake built.

So, for now revert the bump until upstream makes a new release.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-24 12:27:47 +01:00
Felix Fietkau
00e4b23e27 kernel: fix IPv6 TCP GSO segmentation with NAT
Add missing checksum update

Fixes: https://github.com/openwrt/openwrt/issues/15857
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-02-24 12:26:37 +01:00
Daniel Golle
3a7467ffde ethtool: work-around ETHTOOL_GRSSH/ETHTOOL_SRSSH ABI breakage
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
ethtool since version 6.9 introduced support for getting/setting RSS
input transformation supported in Linux since version 6.8.

The now changed kernel ioctl ABI, however, cannot be detected from
userland, and ethtool since version 6.9 simply assumes that a previously
reserved field is now used to set the input transformation.
Unfortunately the default value RXH_XFRM_NO_CHANGE (0xff) used by ethtool
userland creates an incompatibility with older kernels which cannot be
resolved easily without introducing even more ABI breakage.

Work-around the issue and fix support for --set-rxfh and --set-rxfh-indir
ethtool userland tool commands by making the support for input_xfrm
conditional on compile time, and keep it disabled for Linux 6.6.

Fixes: 8c2dcd1518 ("ethtool: update to 6.10")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-02-24 05:07:01 +00:00
Rudy Andram
da2cc98458 wireless-regdb: Update to version 2025.02.20
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
b43aeb5 wireless-regdb: assert and correct maximum bandwidth within frequency difference
68588bf wireless-regdb: Update regulatory info for Syria (SY) for 2020
0dda57e wireless-regdb: Update regulatory info for Moldova (MD) on 6GHz for 2022
b19ab0b wireless-regdb: Update regulatory info for Azerbaijan (AZ) on 6GHz for 2024
f67f40d wireless-regdb: Update regulatory info for Oman (OM)
bd70876 wireless-regdb: Update regulatory rules for Armenia (AM) on 2.4 and 5 GHz
6c7cbcc wireless-regdb: Permit 320 MHz bandwidth in 6 GHz band in ETSI/CEPT
f9f6b30 wireless-regdb: Update regulatory rules for Austria (AT)
39b47ea wireless-regdb: Update regulatory info for Cayman Islands (KY) for 2024
3dd7ceb wireless-regdb: allow NO-INDOOR flag in db.txt
4d754a1 wireless-regdb: Update regulatory rules for Iran (IR) on both 2.4 and 5Ghz for 2021
8c8308a wireless-regdb: Update frequency range with NO-INDOOR for Oman (OM)
c2f11e2 wireless-regdb: update regulatory database based on preceding changes

Signed-off-by: Rudy Andram <rmandrad@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17957
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-24 00:30:21 +01:00
Andre Heider
4aea0689e7 ltq-vdsl-vr11-mei: remove static linking
This removes -static compile option. The -static option tells GCC to
link this statically with the libc, which we do not want in OpenWrt. We
want to link everything dynamically to the libc. This fixes a compile
problem with glibc.

References: 71bdff91 "ltq-vdsl-mei: Remove static linking"
Signed-off-by: Andre Heider <a.heider@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18056
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-24 00:25:29 +01:00
Andre Heider
d787839afa ltq-vdsl-vr11-mei: remove support for older kernel versions
There's only v6.6 in-tree, remove anything older.

Signed-off-by: Andre Heider <a.heider@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18056
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-24 00:25:29 +01:00
Paweł Owoc
3b7a92754e linux: use packages kmod-hci-uart and kmod-btusb instead of kmod-bluetooth
Use Bluetooth UART and USB packages separetly.

Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15118
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-24 00:08:42 +01:00
Paweł Owoc
1c42a0be36 kernel: modules: bluetooth: separating UART and USB drivers
Not all devices need Bluetooth UART and USB drivers to be installed together. Three separate drivers have been created:
- kmod-bluetooth
- kmod-hci-uart
- kmod-btusb

Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15118
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-24 00:08:42 +01:00
Paweł Owoc
f4f0a847a4 kernel: modules: bluetooth: creating a new Bluetooth menu
Move Bluetooth modules to new Bluetooth menu from Other menu.

Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15118
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-24 00:08:39 +01:00
Bjørn Mork
8b3c845835 realtek: ONTi ONT-S508CL-8S is a relabeled XikeStor SKS8300-8X
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Waiting to run
Build host tools / Build host tools for linux and macos based systems (push) Waiting to run
Both hardware and firmware of these devices appears identical except for the
manufacturers logo and device name.  The documented XikeStor SKS8300-8X
installation method is verified to work on the ONTi ONT-S508CL-8S using
Openwrt images made for the XikeStor SKS8300-8X. This includes the OEM boot
loader magic password phrases.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/18071
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2025-02-23 17:23:35 +01:00
Shiji Yang
3ffe54a1e1 tools: xz: update to 5.6.4
The serious liblzma backdoor vulnerability (CVE-2024-3094) has
been fixed since v5.6.2. It's time to bump this tool to the
latest version. This patch also added a new GitHub package URL.

Changelogs:
https://github.com/tukaani-project/xz/releases/tag/v5.6.2
https://github.com/tukaani-project/xz/releases/tag/v5.6.3
https://github.com/tukaani-project/xz/releases/tag/v5.6.4

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/18063
Signed-off-by: Nick Hainke <vincent@systemli.org>
2025-02-23 12:21:26 +01:00
John Audia
d664d74669 kernel: bump 6.6 to 6.6.79
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.79

Manually rebased:
	ramips/patches-6.6/810-uvc-add-iPassion-iP2970-support.patch

All other patches automatically rebased.

Build system: x86/64
Build-tested: bcm27xx/bcm2712, filogic/glinet_gl-mt6000, filogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64
Run-tested: bcm27xx/bcm2712, filogic/glinet_gl-mt6000, filogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/18066
Signed-off-by: Nick Hainke <vincent@systemli.org>
2025-02-23 12:17:38 +01:00
Shiji Yang
ce67f08449 tools: zstd: update to 1.5.7
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Waiting to run
Build host tools / Build host tools for linux and macos based systems (push) Waiting to run
This new version has some performance enhancements.

Changelog:
https://github.com/facebook/zstd/releases/tag/v1.5.7

Upstreamed patch:
001-Provide-variant-pkg-config-file-for-multi-threaded-s.patch[1]

[1] f1f1ae369a

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/18064
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-22 20:30:00 +01:00
Robert Marko
cb5fb841a5 iproute2: update to 6.13
Update iproute2 to 6.13.

Release notes:
https://lwn.net/ml/all/20250120194053.3744d96b@hermes.local/

Allows us to drop multiple upstreamed patches:
package/network/utils/iproute2/patches/013-endian.h.patch
package/network/utils/iproute2/patches/014-basename.patch
package/network/utils/iproute2/patches/015-limits.h.patch
package/network/utils/iproute2/patches/016-limits.h.patch
package/network/utils/iproute2/patches/017-linux-limits.patch
package/network/utils/iproute2/patches/018-linux-limits.patch

Link: https://github.com/openwrt/openwrt/pull/18067
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-22 20:22:26 +01:00
Dominick Grift
aba52e092c selinux-policy: update to version v2.1
Rebased onto dssp5-base. Baseline is:
ss, tc, stubby, irqbalance, usbutils, ethtool, tcpdump, mtr,
bmon, zram-swap, parted, e2fsprogs, gdisk, block-mount,
kmod-fs-ext4, kmod-fs-f2fs, kmod-usb-storage, f2fs-tools-selinux,
kmod-usb-storage-uas, kmod-usb3, wireguard-tools,
openssh-sftp-server, luci-light, resolveip, blockd

Changes since v2.0:

3dcc957 three issues:
434bad8 /new_root related
04d18a5 README armsr combined-efi
506d8c1 /efi is not a thing in armsr combined-efi
c0db1ed efivarfs remove these filecons
4eb35b7 adds efivars noseclabelfs for armsr combined-efi
bbc6a6b adds /dev/ttyS3 to tty serialtermdev
1467206 README local logins
6ae3185 rename eficapsulemiscnodedev
d43ded0 rename to vportserialtermdev
a47d2f8 fixes virtio port serialtermdev
03aec70 blockmount: make it a bit more robust
70f1ed3 hotplugcall not sure what config triggers this
3338764 boarddetect: i was expecting this
d97548a deal with /dev/tty and /dev/vcs
c6ba4a5 adds virtio block device
d03e216 adds virtio vport serialtermdev for qemu guest agent
2dc0291 validatefirmwareimage: allow getattr of *all* dev chr files
fdfb3a7 adds /dev/efi_capsule_loader for armsr combined target
b129fb9 validatefirmwareimage ordering
b5e81b4 validatefirmwareimage clean up
0932dc5 README typo fixes
a1f88f0 README fix
e6c68be README typo fixes
a232c21 hvcloginserialtermdev: macro not used
d7edd95 support /usr/local and update README
c0d2947 validatefirmwareimage comment
7dbc9b3 validatefirmwareimage: allow find to getattr of dev.except char
f647175 platformtmpfile: elaborate a bit in comment
52f32c1 reintroduce misc.cil
320d77f validatefirmwareimage: /lib/upgrade/platform.sh
365fc65 deal with /efi for combined images
183b412 adds hvc logserialtermdev
20cd42a sshdsysagent: limited support for legacy scp -O with firmware images
1ccee8d validatefirmwareimages: some events related to "combined" images
9b47fc3 jshn reads /dev/urandom
f86def7 adds /tmp/log/apk.log
f1247b3 these are relative to the current namespace
32c0cc8 hotplugcall qemu virtio-console-helper
5cc41f5 uclient-fetch for manually downloading sysupgrade related
c8140bd cgi-io creates firmware and backup atomically
edf517b factoryreset deal with firstboot compatibility
f5116b5 pppd: redundant, is implied with shell client type
86be72c updates README
8c08ca1 luci-mod-system: a bit of speculation here
417f4a5 adds /dev/autofs
1ed537c misc.cil: remove
01d014a selinuxsecfile: be more specific
53fca71 rename blockd module
b4c9b15 ttyloginserialtermdev: ordering
016c3c1 sysagent traversal of /root is enough
d0d7c91 hotplugcall: net/00-sysctl
2821746 adds ttyAMA0 and some incomplete rules for board-detect

Run-tested: ilogic-openwrt_one, ipq40xx-generic-linksys_mr8300

Tested-by: Stefan Hellermann <stefan@the2masters.de>
Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250116092312.1350223-1-dominick.grift@defensec.nl/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-22 19:52:00 +01:00
Jan Hoffmann
4baf162d83 ltq-vdsl-vr11-app: exit more quickly if orderly shutdown fails
On exit, the app tries to do an orderly shutdown of the DSL connection
before it is stopped forcibly. Since the driver does 3 attempts with a
timeout of 2 seconds each, this might take about 6 seconds in the worst
case.

This is problematic on sysupgrade, because any process that doesn't exit
within 4 seconds is killed. This means that the DSL connection might not
be stopped at all before the actual system upgrade begins.

To avoid this, use the newly added option in the driver to not retry the
L3 request on failure.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250130102108.1606919-3-jan@3e8.eu/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-22 18:55:54 +01:00
Jan Hoffmann
03bbd36e67 ltq-vdsl-vr11: add option for L3 request without retry on failure
This allows to attempt an orderly shutdown via L3 request while avoiding
excessive delay in the failure case (up to 6 seconds with the currently
hard-coded 3 attempts).

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250130102108.1606919-2-jan@3e8.eu/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-22 18:55:44 +01:00
Jan Hoffmann
a9b4d1f4b9 ltq-vdsl-vr9-mei: avoid unnecessary usage of unsafe_memcpy
Commit 7bc487c12eef ("kernel: ltq-vdsl-vr9-mei: fix warning about
field-spanning write") patched the driver to use unsafe_memcpy in
MEI_IoctlCmdMsgWrite.

However, this is not actually necessary. The assignment of the variable
"pDestPtr" can be modified so that the compiler knows about the correct
size. This way, the check in the fortified memcpy works correctly.

While at it, also adjust all places where similar code is used to copy
from a CMV_STD_MESSAGE_T struct.

Also mark all related structs as packed, because the code (and the
driver in general) seems to rely on that anyway.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250206225444.2521817-2-jan@3e8.eu/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-22 18:53:19 +01:00
Jan Hoffmann
6df4e4663b ltq-vdsl-vr11-mei: fix field-spanning write warning
Since the update to kernel 6.1, a warning like this appears in the
kernel log:

[   49.773953] ------------[ cut here ]------------
[   49.773998] WARNING: CPU: 3 PID: 2349 at target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/dsl_cpe_mei-ugw_8.5.2.10/src/drv_mei_cpe_msg_process.c:3570 MEI_IoctlCmdMsgWrite+0x290/0x2c8 [drv_mei_cpe]
[   49.777670] memcpy: detected field-spanning write (size 4) of single field "pDestPtr" at target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/dsl_cpe_mei-ugw_8.5.2.10/src/drv_mei_cpe_msg_process.c:3570 (size 2)
...
[   50.087078] ---[ end trace 0000000000000000 ]---

The variable "pDestPtr" points to the field "header.index" in a
CMV_STD_MESSAGE_T struct (header is a CMV_STD_MESSAGE_HEADER_T struct).
The offending code intentionally copies data beyond this field, which is
followed by "header.length" and "payload".

To fix this, change the assignment of "pDestPtr" to use the pointer to
the message plus the offset of the "header.index" field. This way, the
compiler knows about the size and thus the false positive warning
disappears.

While at it, also adjust all places where similar code is used to copy
from a CMV_STD_MESSAGE_T struct.

Also mark all related structs as packed, because the code (and the
driver in general) seems to rely on that anyway.

Fixes: https://github.com/openwrt/openwrt/issues/17142
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250206225444.2521817-1-jan@3e8.eu/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-22 18:53:05 +01:00
Chukun Pan
9df4a88e60 sunxi: enable usbgadget feature
The USB of most sunxi devices works in otg or peripheral mode.
Enable this feature to use usbgadget. Tested on OrangePi Zero3.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250221140105.250920-1-amadeus@jmu.edu.cn/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-22 18:43:23 +01:00
Sander Vanheule
890293c13c realtek: add PoE enable line to Netgear GS310TP
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
By switching to the new RTL8231 driver in commit b7af54d5c18c ("realtek:
Simple conversions to RTL8231 MFD driver"), the bootloader state of the
RTL8231's pins is now maintained. As the bootloader de-asserts the PoE
enable signal, this means PoE output is no longer available.

Add a gpio-hog with high output, restoring the line value from when the
pin was configured (by default) as an input with a pull-up resistor.
This will hard-enable the PoE output, but the individual ports can still
be administratively disabled by realtek-poe or a similar tool.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
2025-02-22 12:31:24 +01:00