openwrt/staging/pepe2k.git
3 months agompc85xx: remove unneeded headers
Rosen Penev [Wed, 4 Sep 2024 23:35:39 +0000 (16:35 -0700)]
mpc85xx: remove unneeded headers

949e1a0856c4a04ac4a3fee1bd4a0cc69ac187c5 moved this code to DTS. Not
needed anymore.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16345
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agoopenssl: update to 3.0.15
Ivan Pavlov [Thu, 5 Sep 2024 08:21:57 +0000 (11:21 +0300)]
openssl: update to 3.0.15

OpenSSL 3.0.15 is a security patch release. The most severe CVE fixed in this release is Moderate.

This release incorporates the following bug fixes and mitigations:

  * Fixed possible denial of service in X.509 name checks (CVE-2024-6119)

  * Fixed possible buffer overread in SSL_select_next_proto() (CVE-2024-5535)

Added github releases url as source mirror

Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16332
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agouboot-envtools: add u-boot system env config for Xiaomi Redmi AX6S
Ivan Pavlov [Mon, 2 Sep 2024 07:46:12 +0000 (10:46 +0300)]
uboot-envtools: add u-boot system env config for Xiaomi Redmi AX6S

Adds u-boot config for access to system env variables on this board

Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16312
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agowireguard-tools: accept iproute2 as dependency
Christian Svensson [Sat, 3 Aug 2024 16:07:41 +0000 (18:07 +0200)]
wireguard-tools: accept iproute2 as dependency

If the user has ip-tiny or ip-full installed there is no need to depend on
BusyBox having any form of `ip` or `ip link` applets.

Signed-off-by: Christian Svensson <blue@cmd.nu>
Link: https://github.com/openwrt/openwrt/pull/16062
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agokernel: Activate POSIX ACL for f2fs, jffs2 and tmpfs
Hauke Mehrtens [Fri, 6 Sep 2024 21:10:45 +0000 (23:10 +0200)]
kernel: Activate POSIX ACL for f2fs, jffs2 and tmpfs

When CONFIG_USE_FS_ACL_ATTR is set we will also activate POSIX ACL
support for the f2fs, jffs2 and tmpfs file system. This option is
activated on all targets with big flash.

Link: https://github.com/openwrt/openwrt/pull/16181
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agokernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets
Leo Barsky [Sun, 1 Sep 2024 19:54:05 +0000 (15:54 -0400)]
kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets

This patch activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash memory targets.
Fixes docker error: "failed to register layer: lsetxattr security.capability /usr/bin/ping: operation not supported"
Forum discussion:
https://forum.openwrt.org/t/docker-pull-fails-failed-to-register-layer-operation-not-supported/138253

Signed-off-by: Leo Barsky <leobrsky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/16181
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agohostapd: ensure that interface name is not null
Gioacchino Mazzurco [Sat, 31 Aug 2024 12:33:52 +0000 (14:33 +0200)]
hostapd: ensure that interface name is not null

Include hotfix suggested by Sebastian Gottschall to fix bug introduced
with APuP patchset

Signed-off-by: Gioacchino Mazzurco <gio@polymathes.cc>
Link: https://github.com/mirror/dd-wrt/commit/0c3001a69e8d8300569e416de856c96e903ad130
Link: https://github.com/openwrt/openwrt/pull/16298
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agokernel: bump 6.1 to 6.1.108
Zxl hhyccc [Wed, 4 Sep 2024 12:43:31 +0000 (20:43 +0800)]
kernel: bump 6.1 to 6.1.108

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

All patches automatically rebased.

Build system: bcm53xx octeon

Signed-off-by: Zxl hhyccc <zxlhhy@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16325
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agokernel: bump 6.6 to 6.6.49
John Audia [Wed, 4 Sep 2024 19:32:54 +0000 (15:32 -0400)]
kernel: bump 6.6 to 6.6.49

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

All patches automatically rebased.

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

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/16328
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agoltq-ptm: propagate reset errors to probe
Rosen Penev [Wed, 4 Sep 2024 18:15:28 +0000 (11:15 -0700)]
ltq-ptm: propagate reset errors to probe

Instead of avoiding returning, propagate error so that the kernel
infrastructure can handle it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16262
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agoltq-atm: propagate EPROBE_DEFER to probe
Rosen Penev [Thu, 15 Aug 2024 02:40:00 +0000 (19:40 -0700)]
ltq-atm: propagate EPROBE_DEFER to probe

Instead of ignoring errors, let the linux infrastructure handle it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16262
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agofilogic: add missing 2.5G PHY LEDs configuration for Zyxel EX5700
Yan Cangang [Mon, 5 Aug 2024 12:35:56 +0000 (12:35 +0000)]
filogic: add missing 2.5G PHY LEDs configuration for Zyxel EX5700

configure 2.5G PHY LEDs to:

2500/1000: green with blink on TX/RX
100/10: green+yellow with blink on TX/RX

which is similar to other 1G PHY LEDs, which are:

1000: green with blink on TX/RX
100/10: green+yellow with blink on TX/RX

Fixes: 6cc14bf66aa ("filogic: support Telenor branded ZyXEL EX5700")
Signed-off-by: Yan Cangang <nalanzeyu@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16082
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agomt76: update to Git HEAD (2024-09-05)
Felix Fietkau [Thu, 5 Sep 2024 13:10:35 +0000 (15:10 +0200)]
mt76: update to Git HEAD (2024-09-05)

5c5e685eb028 wifi: mt76: mt7915: improve hardware recovery
a897606f7c26 wifi: mt76: mt76x0: fix locking regression
65cc3daf2a33 wifi: mt76: support per-band MAC addresses from OF child nodes

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agonetifd: update to Git HEAD (2024-09-05)
Felix Fietkau [Thu, 5 Sep 2024 08:16:19 +0000 (10:16 +0200)]
netifd: update to Git HEAD (2024-09-05)

61c606d6e66b device: simplify external device settings handling

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agokernel: bridge: fix switchdev host mdb entry updates
Felix Fietkau [Wed, 4 Sep 2024 10:37:55 +0000 (12:37 +0200)]
kernel: bridge: fix switchdev host mdb entry updates

Avoid imbalance in host multicast database updates

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agobpftool: add host build
Eric Long [Fri, 9 Aug 2024 16:42:34 +0000 (00:42 +0800)]
bpftool: add host build

Besides probing BPF information in running system, bpftool is also used in
generating skeleton, dumping BTF, etc. that is widely used in modern BPF
development. Make it available as a host tool so that we can use it in
package build.

Tested build targeting malta/le on Arch Linux x86_64. bpftools currently
does not support processing cross-endian BPF objects, so big-endian host
is needed to build for big-endian targets using bpftools.

Signed-off-by: Eric Long <i@hack3r.moe>
Link: https://github.com/openwrt/openwrt/pull/16122
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agonetifd: update to Git HEAD (2024-09-03)
Felix Fietkau [Tue, 3 Sep 2024 13:14:27 +0000 (15:14 +0200)]
netifd: update to Git HEAD (2024-09-03)

480551a3adc4 interface: add support for disabling renew on topology change
b7b294266781 device: add more debugging code
595094f5c213 device: do not pull device present state from hotplug events
4e11e52e9b98 main: add messages to udebug regardless of their log level
091d063f4a9d wireless: handle link updates even if devices are present already
a8e90853c936 interface: improve hotplug handling reliability
cdb41673ceea device: remove redundant newlines from debug messages
cd2a7964f2c0 device: revert to explicit device_set_present calls

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agostarfive: enable 6.6 testing kernel
Zoltan HERPAI [Sun, 1 Sep 2024 14:08:47 +0000 (14:08 +0000)]
starfive: enable 6.6 testing kernel

starfive now supports 6.6 kernel as testing.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
3 months agostarfive: refresh config-6.6
Zoltan HERPAI [Sun, 1 Sep 2024 14:08:21 +0000 (14:08 +0000)]
starfive: refresh config-6.6

Refresh kernel config for Linux 6.6.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
3 months agostarfive: add patches for 6.6
Zoltan HERPAI [Sun, 1 Sep 2024 14:06:29 +0000 (14:06 +0000)]
starfive: add patches for 6.6

Add updated patches for 6.6. DMA/cache-handling patches
have been reworked / backported from upstream.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
3 months agokernel/starfive: Restore kernel files for v6.1
Zoltan HERPAI [Sun, 1 Sep 2024 14:05:25 +0000 (14:05 +0000)]
kernel/starfive: Restore kernel files for v6.1

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: Zoltan HERPAI <wigyori@uid0.hu>
3 months agokernel/starfive: Create kernel files for v6.6 (from v6.1)
Zoltan HERPAI [Sun, 1 Sep 2024 14:05:25 +0000 (14:05 +0000)]
kernel/starfive: Create kernel files for v6.6 (from v6.1)

This is an automatically generated commit.

When doing `git bisect`, consider `git bisect --skip`.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
3 months agoocteon: n821: sysupgrade for Cisco vEdge 1000
Christian Svensson [Sun, 11 Aug 2024 11:27:49 +0000 (13:27 +0200)]
octeon: n821: sysupgrade for Cisco vEdge 1000

This commit adds the logic required to install OpenWrt on a
Cisco/Viptela vEdge 1000 while nicely integrating with the already
present bootloader and making it possible to roll back to stock OS.

The vEdge 1000 has a built-in SSD with a ext2 partition from which
the stock u-boot boots the Linux kernel from.

In order for Linux not to be confused about which partition the root
file system is on, there are some tricks needed to ensure the partition
is identifiable at boot time. For this we use blkid as part of the
scripts, and sfdisk as part of the manual installation process
documented on the wiki. Thus, those packages have been added as a
platform dependency. Finally, the u-boot environment is updated which
requires the use of uboot-envtools.

Tested on a Cisco vEdge 1000.

Signed-off-by: Christian Svensson <blue@cmd.nu>
Link: https://github.com/openwrt/openwrt/pull/16140
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agoramips: mt76x8: add support for Yuncore CPE200
Daniel Golle [Thu, 22 Aug 2024 02:25:12 +0000 (03:25 +0100)]
ramips: mt76x8: add support for Yuncore CPE200

Yuncore CPE200 is an outdoor unit with IEEE 802.11ac radio.

Hardware:
 - SoC: MediaTek MT7628DAN (MIPS 580MHz)
 - Flash: 8 MiB Spansion S25FL064K
 - RAM: 64 MiB (built-into SoC)
 - WLAN: 5 GHz (MT7613AE)
 - Ethernet: 1x 10/100 Mbps WAN, 1x 10/100 LAN (MT7628)
 - Buttons: 1 Reset button, 2 buttons for display UI (unsupported)
 - LEDs: 4x Green (Power, LAN, WAN, WiFi)
 - Display: 4 digit 7-segment display driven by an additional
            microcontroller (unsupported)
 - Serial console: unpopulated header, 57600 8n1 (RX only)
 - Power: 12 VDC, 1 A

Installation:
The installation can be done via the recovery HTTP server which is built
into the bootloader. Hold down the reset button while connecting the
device to power and keep holding a bit more than 3 seconds. Connect to
http://192.168.0.100/ and upload sysupgrade.bin file.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 months agoocteon: ubnt-edgerouter: fix sysupgrade config backup/restore
Jakob Haufe [Thu, 22 Aug 2024 21:26:04 +0000 (23:26 +0200)]
octeon: ubnt-edgerouter: fix sysupgrade config backup/restore

er is missing from platform_copy_config() and octeon_move_config(), so
config is lost on every sysupgrade.

Signed-off-by: Jakob Haufe <sur5r@sur5r.net>
Link: https://github.com/openwrt/openwrt/pull/16238
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agouboot-mediatek: add missing dependency for mt7988_rfb-spim-nand
Felix Fietkau [Mon, 2 Sep 2024 09:20:13 +0000 (11:20 +0200)]
uboot-mediatek: add missing dependency for mt7988_rfb-spim-nand

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agou-boot.mk: pass CROSS_COMPILE during config
Felix Fietkau [Mon, 2 Sep 2024 08:58:18 +0000 (10:58 +0200)]
u-boot.mk: pass CROSS_COMPILE during config

Avoids running into unset architecture specific config symbols

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agouboot-mediatek: fix build error on mt7981-rfb and openwrt-one
Felix Fietkau [Mon, 2 Sep 2024 08:40:05 +0000 (10:40 +0200)]
uboot-mediatek: fix build error on mt7981-rfb and openwrt-one

Remove an unnecessary config option that was breaking the build

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agouboot-mediatek: fix broken patch
Felix Fietkau [Mon, 2 Sep 2024 08:39:06 +0000 (10:39 +0200)]
uboot-mediatek: fix broken patch

Add missing --- line

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agomediatek: mt7988a-rfb: align order of SFPs with SDK build
Daniel Golle [Mon, 2 Sep 2024 08:14:20 +0000 (10:14 +0200)]
mediatek: mt7988a-rfb: align order of SFPs with SDK build

MediaTek SDK uses eth2 as additional LAN port and eth1 as WAN.
Do the same also in OpenWrt to keep settings aligned with the SDK.

Suggested-by: Bc-bocun Chen <bc-bocun.chen@mediatek.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 months agoqoriq: enable 6.6 testing kernel
Mieczyslaw Nalewaj [Mon, 5 Aug 2024 19:18:05 +0000 (21:18 +0200)]
qoriq: enable 6.6 testing kernel

The qoriq now supports 6.6 kernel as testing.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16079
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
3 months agoqoriq: refresh config-6.6
Mieczyslaw Nalewaj [Mon, 5 Aug 2024 19:15:56 +0000 (21:15 +0200)]
qoriq: refresh config-6.6

Refresh kernel config for Linux 6.6.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16079
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
3 months agokernel/qoriq: Restore kernel files for v6.1
Mieczyslaw Nalewaj [Mon, 5 Aug 2024 19:13:59 +0000 (21:13 +0200)]
kernel/qoriq: Restore kernel files for v6.1

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: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16079
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
3 months agokernel/qoriq: Create kernel files for v6.6 (from v6.1)
Mieczyslaw Nalewaj [Mon, 5 Aug 2024 19:13:53 +0000 (21:13 +0200)]
kernel/qoriq: Create kernel files for v6.6 (from v6.1)

This is an automatically generated commit.

When doing `git bisect`, consider `git bisect --skip`.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16079
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
3 months agokernel: bump 6.1 to 6.1.107
Zxl hhyccc [Thu, 29 Aug 2024 18:17:58 +0000 (02:17 +0800)]
kernel: bump 6.1 to 6.1.107

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

All patches automatically rebased.

Build system: bcm53xx octeon

Signed-off-by: Zxl hhyccc <zxlhhy@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16283
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agokernel: bump 6.6 to 6.6.48
John Audia [Thu, 29 Aug 2024 17:38:03 +0000 (13:38 -0400)]
kernel: bump 6.6 to 6.6.48

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

Removed upstreamed:
generic/backport-6.6/752-04-v6.6-net-ethernet-mtk_wed-check-update_wo_rx_stats-in-mtk.patch[1]
generic/pending-6.6/601-udp-fix-receiving-fraglist-GSO_packets.patch[2]
mediatek/patches-6.6/951-net-ethernet-mtk_wed-fix-use-after-free-panic-in-mtk.patch[3]
rockchip/patches-6.6/302-mmc-allow-probe-to-defer-if-clock-is-not-ready.patch[4]

Manually rebased:
bcm27xx/patches-6.6/950-0058-Revert-Bluetooth-Always-request-for-user-confirmatio.patch

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.48&id=7ede6ef04c9ffc466844a297d3d68bea8a06093d
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.48&id=cfa692e7e71b22d35174a796d10b9111bafa0686
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.48&id=326a89321f9d5fe399fe6f9ff7c0fc766582a6a0
4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.48&id=7bbf8f8b8861dd2a6215f1aded425c66e6c376a0

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

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/16282
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agonetfilter: add nf_conntrack_sane to kmod-nf-nathelpers-extra
Florian Eckert [Tue, 13 Aug 2024 06:04:56 +0000 (08:04 +0200)]
netfilter: add nf_conntrack_sane to kmod-nf-nathelpers-extra

'SANE' is a protocol for remote access to scanners as implemented by the
'saned' daemon. Like FTP, it uses separate control and data connections.

So let´s enable this in the kernel and add them to 'kmod-nf-nathelper-extra'.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
3 months agonetfilter: add nf_conntrack_netbios_ns to kmod-nf-nathelper-extra
Florian Eckert [Tue, 13 Aug 2024 06:04:55 +0000 (08:04 +0200)]
netfilter: add nf_conntrack_netbios_ns to kmod-nf-nathelper-extra

NetBIOS name service requests are sent as broadcast messages from an
unprivileged port and responded to with unicast messages to the
same port. This make them hard to firewall properly because connection
tracking doesn't deal with broadcasts.

So let´s enable this in the kernel and add them to 'kmod-nf-nathelper-extra'.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
3 months agoltq-vdsl-vr11-app: perform orderly shutdown on exit
Jan Hoffmann [Fri, 12 Jul 2024 13:49:53 +0000 (15:49 +0200)]
ltq-vdsl-vr11-app: perform orderly shutdown on exit

Try to do a clean disconnection via L3 request before the connection is
stopped.

Because this might take up to 6 seconds (the driver does 3 attempts with
a timeout of 2 seconds each), a termination timeout needs to be defined
in the init script.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
3 months agoltq-vdsl-vr11-app: always disconnect on exit
Jan Hoffmann [Fri, 12 Jul 2024 13:49:52 +0000 (15:49 +0200)]
ltq-vdsl-vr11-app: always disconnect on exit

Move the code for disconnection on exit to a separate function, and also
call it in the code paths for SIGINT and the "quit" CLI command.

While at it, make the patch description a bit clearer.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
3 months agoltq-vdsl-vr9-app: always disconnect on exit
Jan Hoffmann [Fri, 12 Jul 2024 13:49:51 +0000 (15:49 +0200)]
ltq-vdsl-vr9-app: always disconnect on exit

Move the code for disconnection on exit to a separate function, and also
call it in the code path for the "quit" CLI command.

While at it, make the patch description a bit clearer.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
3 months agoltq-vdsl-vr11-app: fix error handling during disconnection
Jan Hoffmann [Fri, 12 Jul 2024 13:49:50 +0000 (15:49 +0200)]
ltq-vdsl-vr11-app: fix error handling during disconnection

Use the correct return value in error message.

Fixes: 6e4c9738bed0 ("ltq-vdsl-vr11-app: add version 4.23.1 for vr11 targets")
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
3 months agoltq-vdsl-vr9-app: fix error handling during disconnection
Jan Hoffmann [Fri, 12 Jul 2024 13:49:49 +0000 (15:49 +0200)]
ltq-vdsl-vr9-app: fix error handling during disconnection

Use the correct return value in error message.

Fixes: 1daaef31b352 ("ltq-vdsl-app: disconnect when service is stopped")
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
3 months agokernel: modules: usb: remove deprecated Kconfig option CONFIG_USB_XHCI_HCD_DEBUGGING
Florian Eckert [Wed, 31 Jul 2024 06:34:41 +0000 (08:34 +0200)]
kernel: modules: usb: remove deprecated Kconfig option CONFIG_USB_XHCI_HCD_DEBUGGING

The Kconfig option 'CONFIG_USB_XHCI_HCD_DEBUGGING' has been removed with the
following commit upstream in the Linux kernel.

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b2497509df002e9a09c8550cd0ecd2f77c9640d8

This Kconfig option is therefore no longer valid for the kernel version
6.6 and could be removed.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
3 months agoath79: qihoo,c301: use nvmem
Rosen Penev [Fri, 14 Jun 2024 19:26:01 +0000 (12:26 -0700)]
ath79: qihoo,c301: use nvmem

Userspace handling is deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16244
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agobcm4908: drop 6.1 support
Mieczyslaw Nalewaj [Fri, 2 Aug 2024 12:54:30 +0000 (14:54 +0200)]
bcm4908: drop 6.1 support

Drop config and files for Linux 6.1.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16057
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agobcm4908: use kernel 6.6 by default
Mieczyslaw Nalewaj [Fri, 2 Aug 2024 12:52:37 +0000 (14:52 +0200)]
bcm4908: use kernel 6.6 by default

Switch to Linux kernel version 6.6.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16057
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agouboot-envtools: ath79: add Belkin F9K1115v2/F9J1108v2 u-boot env support
Paweł Owoc [Tue, 30 Jul 2024 10:44:21 +0000 (12:44 +0200)]
uboot-envtools: ath79: add Belkin F9K1115v2/F9J1108v2 u-boot env support

Add support for Belkin F9K1115v2/F9J1108v2 u-boot env

Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16033
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agoath79: nec,wg800hp: convert to nvmem
Rosen Penev [Sat, 15 Jun 2024 22:19:04 +0000 (15:19 -0700)]
ath79: nec,wg800hp: convert to nvmem

Userspace handling is deprecated.

Unused wan mac added to dts. Requires DSA to implement.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16246
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agoath79: elecom,wab: use nvmem
Rosen Penev [Sat, 15 Jun 2024 20:42:25 +0000 (13:42 -0700)]
ath79: elecom,wab: use nvmem

Userspace handling is deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16247
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agobase-files: fix merge of passwd/shadow/group lines with trailing colons
Matthias Schiffer [Thu, 29 Aug 2024 18:24:02 +0000 (20:24 +0200)]
base-files: fix merge of passwd/shadow/group lines with trailing colons

Empty trailing fields get lost when the lines are split and merged again
at colons, resulting in unparsable entries. Only use the split fields for
matching against the other file, but emit the original line unchanged
to fix the issue.

Fixes: de7ca7dafadf ("base-files: merge /etc/passwd et al at sysupgrade config restore")
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
3 months agoath79: nec,wX1200cr: use nvmem
Rosen Penev [Fri, 14 Jun 2024 19:19:15 +0000 (12:19 -0700)]
ath79: nec,wX1200cr: use nvmem

Userspace handling is deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16245
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agokernel: set vlan mc emulation for rtl8367d family chips
Mieczyslaw Nalewaj [Thu, 22 Aug 2024 11:30:28 +0000 (13:30 +0200)]
kernel: set vlan mc emulation for rtl8367d family chips

Set vlan mc emulation for rtl8367d family chips

Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/14804
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agokernel: set RGMII mode for rtl8367d family chips
Mieczyslaw Nalewaj [Wed, 21 Aug 2024 09:46:14 +0000 (11:46 +0200)]
kernel: set RGMII mode for rtl8367d family chips

Set RGMII mode for rtl8367d family chips

Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/14804
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agokernel: set vlan mc for rtl8367d family chips
Mieczyslaw Nalewaj [Sun, 21 Jul 2024 21:00:59 +0000 (23:00 +0200)]
kernel: set vlan mc for rtl8367d family chips

Set vlan mc for rtl8367d family chips

Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/14804
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agokernel: set and get vlan 4k for rtl8367d family chips
Mieczyslaw Nalewaj [Tue, 20 Aug 2024 19:19:41 +0000 (21:19 +0200)]
kernel: set and get vlan 4k for rtl8367d family chips

Set and get vlan 4k for rtl8367d family chips

Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/14804
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agokernel: set and get mc index for rtl8367d family chips
Mieczyslaw Nalewaj [Sun, 21 Jul 2024 20:55:17 +0000 (22:55 +0200)]
kernel: set and get mc index for rtl8367d family chips

Set and get mc index for rtl8367d family chips

Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/14804
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agokernel: set and get ports speed for rtl8367d family chips
Mieczyslaw Nalewaj [Fri, 23 Aug 2024 19:24:03 +0000 (21:24 +0200)]
kernel: set and get ports speed for rtl8367d family chips

Set and get ports speed for rtl8367d family chips

Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/14804
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agokernel: rtl8367b: detect rtl8367d chip family
Mieczyslaw Nalewaj [Sat, 27 Jul 2024 13:41:14 +0000 (15:41 +0200)]
kernel: rtl8367b: detect rtl8367d chip family

Detect the RTL8367D chip family and set the appropriate extif

Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/14804
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agokernel: netdevices: adjust mlxsw network drivers
Til Kaiser [Sat, 3 Aug 2024 08:48:34 +0000 (10:48 +0200)]
kernel: netdevices: adjust mlxsw network drivers

* Adds the x86_64 dependency for mlxsw_core

* Removes the redundant mlxsw_core dependency
from mlxsw-minimal and mlxsw-spectrum

* Removes the DCB configuration symbols because
they were moved into the generic configuration

Signed-off-by: Til Kaiser <mail@tk154.de>
Link: https://github.com/openwrt/openwrt/pull/15362
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agogeneric: 6.6: add missing DCB symbols
Til Kaiser [Sat, 3 Aug 2024 08:29:25 +0000 (10:29 +0200)]
generic: 6.6: add missing DCB symbols

Disables Data Center Bridging support for some network drivers by
default to avoid compilation errors when CONFIG_DCB is enabled.

Signed-off-by: Til Kaiser <mail@tk154.de>
Link: https://github.com/openwrt/openwrt/pull/15362
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agolinux-firmware: add firmware for all Mellanox Spectrum Switches
Til Kaiser [Sun, 28 Apr 2024 12:24:11 +0000 (14:24 +0200)]
linux-firmware: add firmware for all Mellanox Spectrum Switches

This commit adds the currently missing Mellanox
Spectrum-2, Spectrum-3, and Spectrum-4 firmware files.

Signed-off-by: Til Kaiser <mail@tk154.de>
Link: https://github.com/openwrt/openwrt/pull/15362
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agokernel: modules: add x86 dependency for leds-mlxcpld
Til Kaiser [Sun, 28 Apr 2024 12:25:23 +0000 (14:25 +0200)]
kernel: modules: add x86 dependency for leds-mlxcpld

This commit adds the missing x86 dependency for
the Mellanox mlxcpld LED driver.

Signed-off-by: Til Kaiser <mail@tk154.de>
Link: https://github.com/openwrt/openwrt/pull/15362
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agorockchip: add support for Radxa ROCK 3B
FUKAUMI Naoki [Wed, 14 Aug 2024 21:49:13 +0000 (06:49 +0900)]
rockchip: add support for Radxa ROCK 3B

Radxa ROCK 3B is a Pico-ITX form factor SBC[1] using the Rockchip
RK3568(J).

Hardware
--------
- Rockchip RK3568(J) SoC
- Quad A55 CPU
- Mali-G52 GPU
- 1 TOPS @ INT8 NPU
- 2GB/4GB/8GB LPDDR4 RAM
- eMMC connector
- Micro SD Card slot
- NVMe SSD through the M.2 M Key (2-lane PCIe 3.0)
- SPI Flash for bootloader
- 2x Gigabit ethernet port (one supports PoE with add-on PoE HAT)
- 1x M.2 E Key socket with SDIO, UART and USB interfaces
- 1x M.2 B Key socket with PCIe, SATA, and USB interfaces
- 1x SIM card socket
- 1x USB 3.0 Type-A HOST port
- 1x USB 3.0 Type-A OTG port
- 2x USB 2.0 Type-A HOST ports
- 40 Pin GPIO header

[1] https://radxa.com/products/rock3/3b

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

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Link: https://github.com/openwrt/openwrt/pull/16185
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agorockchip: add support for Radxa ZERO 3E and 3W
FUKAUMI Naoki [Thu, 22 Aug 2024 01:09:21 +0000 (10:09 +0900)]
rockchip: add support for Radxa ZERO 3E and 3W

Radxa ZERO 3E and 3W are light, compact and tiny SBC[1][2] using the
Rockchip RK3566.

Hardware
--------
- Rockchip RK3566 SoC
- Quad A55 CPU
- Mali-G52-2EE GPU
- 1 TOPS @ INT8 NPU
- 1GB/2GB/4GB/8G LPDDR4 RAM
- Optional 8GB/16GB/32GB/64GB eMMC (3E)
- Micro SD Card slot
- 1x Gigabit ethernet port (supports PoE with add-on PoE HAT) (3E)
- WiFi6/BT5.4 (3W) (not supported yet on OpenWrt)
- 1x USB 3.0 Type-C HOST port
- 1x USB 2.0 Type-C OTG port
- Optional 40 Pin GPIO header

[1] https://radxa.com/products/zeros/zero3e
[2] https://radxa.com/products/zeros/zero3w

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

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Link: https://github.com/openwrt/openwrt/pull/16185
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agorockchip: add support for Radxa ROCK 3C
FUKAUMI Naoki [Wed, 14 Aug 2024 02:26:48 +0000 (11:26 +0900)]
rockchip: add support for Radxa ROCK 3C

Radxa ROCK 3C is a high-performance, low-cost SBC[1] using the
Rockchip RK3566.

Hardware
--------
- Rockchip RK3566 SoC
- Quad A55 CPU
- Mali-G52-2EE GPU
- 1 TOPS @ INT8 NPU
- 1GB/2GB/4GB LPDDR4 RAM
- eMMC connector
- Micro SD Card slot
- NVMe SSD through the M.2 M Key connector(2230) or M.2 Extension
  board(2232/2260/2280)
- SATA through the Radxa Penta SATA HAT
- 1x Gigabit ethernet port(supports PoE with add-on PoE HAT)
- WiFi6/BT5.4 (not supported yet on OpenWrt)
- 1x USB 3.0 Type-A HOST port
- 2x USB 2.0 Type-A HOST ports
- 1x USB 2.0 Type-A OTG port
- 40 Pin GPIO header

[1] https://radxa.com/products/rock3/3c

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

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Link: https://github.com/openwrt/openwrt/pull/16185
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agouboot-rockchip: renumber patches
FUKAUMI Naoki [Wed, 14 Aug 2024 02:24:43 +0000 (11:24 +0900)]
uboot-rockchip: renumber patches

renumber patches for upcoming new device support

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Link: https://github.com/openwrt/openwrt/pull/16185
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agotools: libtool: do not symlink files in bootstrap
Matthias Schiffer [Thu, 29 Aug 2024 18:04:02 +0000 (20:04 +0200)]
tools: libtool: do not symlink files in bootstrap

Another instance of files in build_dir symlinking to staging_dir. While
the symlinks do not currently cause any bugs in the libtool package,
such symlinks were found to make the build more fragile, as writing to
the symlink may accidentally modify the shared file in staging_dir. Pass
--copy to bootstrap to disable the symlinking.

Link: https://github.com/openwrt/openwrt/pull/15825
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
3 months agoinclude: autotools: do not symlink files in autoreconf
Matthias Schiffer [Thu, 29 Aug 2024 18:04:02 +0000 (20:04 +0200)]
include: autotools: do not symlink files in autoreconf

In Gluon's Github Actions CI, we were occasionally seeing bizarre build
errors that looked like a config.sub file had been corrupted, or changed
while it was being executed.

The cause turned out to be an interaction of the symlinks created by
autoreconf (pointing from individual tools' build dirs into
`staging_dir/host/share/automake-1.16`) and OpenWrt's host-build.mk,
which replaced config.guess and config.sub *after* autoreconf. The
result was that the replacement of these files ended up following the
symlinks and writing the files in `staging_dir/host/share/automake-1.16`
instead of a package's build dir. This could cause other packages' builds
to fail if they were currently executing the scripts while they were
being written.

To fix this, disable autoreconf's symlinking feature, so that modifying
these files in a package's build directory can't accidentally affect the
staged versions.

Link: https://github.com/openwrt/openwrt/pull/15825
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
3 months agobuild: fix CMake generator for non-Ninja builds
Ivan Romanov [Mon, 26 Aug 2024 07:45:38 +0000 (12:45 +0500)]
build: fix CMake generator for non-Ninja builds

OpenWRT by default uses the Ninja generator, but some packages disable
Ninja and use the default Unix Makefiles generator. This generator can
be overridden in the user environment with `CMAKE_GENERATOR`. This patch
explicitly sets the correct generator when `PKG_USE_NINJA:=0`.

In particular, the `mt76` package uses the Makefiles generator.

Signed-off-by: Ivan Romanov <drizt72@zoho.eu>
Link: https://github.com/openwrt/openwrt/pull/16263
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agomediatek: phase out uImage.FIT partition parser
Daniel Golle [Sat, 10 Aug 2024 02:55:46 +0000 (03:55 +0100)]
mediatek: phase out uImage.FIT partition parser

All boards using the deprecated uImage.FIT partition parser have
been migrated to the new fitblk driver. Drop the now no longer
needed partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 months agomediatek: filogic: convert Zyxel EX5601-T0 to fitblk
Daniel Golle [Thu, 8 Aug 2024 15:43:25 +0000 (16:43 +0100)]
mediatek: filogic: convert Zyxel EX5601-T0 to fitblk

Use fitblk driver instead of deprecated partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 months agomediatek: filogic: convert Netcore N60 to fitblk
Daniel Golle [Thu, 8 Aug 2024 15:42:59 +0000 (16:42 +0100)]
mediatek: filogic: convert Netcore N60 to fitblk

Use fitblk driver instead of deprecated partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 months agomediatek: filogic: convert Xiaomi WR30U to fitblk
Daniel Golle [Thu, 8 Aug 2024 15:42:15 +0000 (16:42 +0100)]
mediatek: filogic: convert Xiaomi WR30U to fitblk

Use fitblk driver instead of deprecated partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 months agomediatek: filogic: convert Xiaomi AX3000T to fitblk
Daniel Golle [Thu, 8 Aug 2024 15:41:43 +0000 (16:41 +0100)]
mediatek: filogic: convert Xiaomi AX3000T to fitblk

Use fitblk driver instead of deprecated partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 months agomediatek: filogic: convert Qihoo 360T7 to fitblk
Daniel Golle [Thu, 8 Aug 2024 15:41:21 +0000 (16:41 +0100)]
mediatek: filogic: convert Qihoo 360T7 to fitblk

Use fitblk driver instead of deprecated partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 months agomediatek: filogic: convert JCG Q30 PRO to fitblk
Daniel Golle [Thu, 8 Aug 2024 15:22:53 +0000 (16:22 +0100)]
mediatek: filogic: convert JCG Q30 PRO to fitblk

Use fitblk driver instead of deprecated partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 months agomediatek: filogic: convert H3C Magic NX30 Pro to fitblk
Daniel Golle [Thu, 8 Aug 2024 15:22:17 +0000 (16:22 +0100)]
mediatek: filogic: convert H3C Magic NX30 Pro to fitblk

Use fitblk driver instead of deprecated partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 months agomediatek: filogic: convert MT7981 RFB to fitblk
Daniel Golle [Fri, 9 Aug 2024 02:48:13 +0000 (03:48 +0100)]
mediatek: filogic: convert MT7981 RFB to fitblk

Use fitblk driver instead of deprecated uImage.FIT partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 months agouboot-mediatek: detect rootdisk on MT7981
Daniel Golle [Thu, 8 Aug 2024 18:00:27 +0000 (19:00 +0100)]
uboot-mediatek: detect rootdisk on MT7981

Set /chosen/rootdisk according to boot_mode register, similar to
MT7986.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 months agogeneric: hack: fix patch description
Daniel Golle [Mon, 26 Aug 2024 16:19:07 +0000 (17:19 +0100)]
generic: hack: fix patch description

That patch title of 911-kobject_add_broadcast_uevent.patch has been
wrongly copied from 910-kobject_uevent.patch.
Change the description from "lib: add uevent_next_seqnum()" to
"lib: add broadcast_uevent()", so that the git history doesn't look
all weird when importing both patches to a git tree.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 months agohostapd: fix anqp_3gpp_cell_net list delimiter
Sarah Maedel [Wed, 28 Aug 2024 09:27:05 +0000 (11:27 +0200)]
hostapd: fix anqp_3gpp_cell_net list delimiter

This patch fixes the list delimiter between 3GPP networks
passed to hostapd.

> list iw_anqp_3gpp_cell_net '262,001'
> list iw_anqp_3gpp_cell_net '262,002'

When passing a list of "iw_anqp_3gpp_cell_net" parameters via UCI,
hostapd would crash at startup:
> daemon.err hostapd: Line 73: Invalid anqp_3gpp_cell_net: 262,001:262,002

Using a semicolon as a delimiter, hostapd will start as expected.

Signed-off-by: Sarah Maedel <git@tbspace.de>
3 months agoRevert "CI: update actions/labeler to v5"
Robert Marko [Mon, 26 Aug 2024 21:29:06 +0000 (23:29 +0200)]
Revert "CI: update actions/labeler to v5"

This reverts commit a70555fb4f9b008494007e69dd520651b3da608d.

It is breaking GH PR-s currently, so revert until fixed.

Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agoCI: update actions/labeler to v5
Goetz Goerisch [Sat, 24 Aug 2024 12:07:23 +0000 (14:07 +0200)]
CI: update actions/labeler to v5

* Version 5 of this action updated the runtime to Node.js 20. All scripts are now run with Node.js 20 instead of Node.js 16 and are affected by any breaking changes between Node.js 16 and 20.

Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16251
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agouqmi: update to latest HEAD
David Bauer [Sun, 25 Aug 2024 21:25:41 +0000 (23:25 +0200)]
uqmi: update to latest HEAD

28b48a1 uim: add support for ICC communication channel
f582e00 qmi: fix dynamic array macro
d381f80 data: add support for ICC channel

Signed-off-by: David Bauer <mail@david-bauer.net>
3 months agomt76: update to Git HEAD (2024-08-25)
Felix Fietkau [Sun, 25 Aug 2024 19:24:44 +0000 (21:24 +0200)]
mt76: update to Git HEAD (2024-08-25)

dbc9b0df7c01 linux-firmware: update firmware for MT7996
4e8167b94175 wifi: mt76: connac: fix checksum offload fields of connac3 RXD
084eaaf4792e wifi: mt76: mt7915: fix sta poll list corruption on hw restart
aea16bfe8d50 firmware: update MT7981 firmware to version 20240507201102
65bbd4c394a9 firmware: update MT7986 firmware to version 20240507160203
1f4ac8faa529 wifi: mt76: connac: move mt7615_mcu_del_wtbl_all to connac
b76f16ea6521 wifi: mt76: mt7915: improve hardware restart reliability
e6afe9218a27 wifi: mt76: mt7915: fix unused variable error
d6611d015efd firmware: update mt7916/mt7981/mt7986 firmware to version 20240823
ddeb304aae6d wifi: mt76: mt7921: fix wrong UNII-4 freq range check for the channel usage
904ef52a8d04 wifi: mt76: mt7996: fix uninitialized TLV data

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agoustream-ssl: update to Git HEAD (2024-07-28)
Petr Štetiar [Sun, 28 Jul 2024 08:11:39 +0000 (08:11 +0000)]
ustream-ssl: update to Git HEAD (2024-07-28)

99bd3d2b167c ustream-openssl: fix compilation with OPENSSL_NO_DEPRECATED

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Link: https://github.com/openwrt/openwrt/pull/16020
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agomediatek: filogic: add support for Cudy AP3000 Outdoor
Pawel Dembicki [Sun, 4 Aug 2024 20:47:47 +0000 (22:47 +0200)]
mediatek: filogic: add support for Cudy AP3000 Outdoor

Hardware highlights:
  - MediaTek MT7981 WiSoC
  - 256MB DDR3 RAM
  - 64MB SPI-NAND
  - MediaTek MT7981 2x2 DBDC 802.11ax 2T2R (2.4 / 5)
  - 1x LED in two colors
  - 2x Button
  - 1x 1GbE
  - Two detachable antenas, two internal pcb antenas
  - PoE powered (standalone)

MAC:
LAN MAC: label mac
2.4G MAC: label mac -1
5G MAC: label mac

How to install:
1. Apply Cudy Intermediate OpenWrt image for AP3000 Outdoor V1
2. Install OpenWrt sysupgrade image

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16156
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agotreewide: rename ZyXEL to Zyxel
Goetz Goerisch [Fri, 7 Jun 2024 12:42:32 +0000 (14:42 +0200)]
treewide: rename ZyXEL to Zyxel

The company Zyxel rebranded some years ago.
Currently the casing is according to the old branding even
for newer devices which already use the new branding.

This commit aligns the casing of Zyxel everywhere.

Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15652
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agorockchip: fix model name for Radxa ROCK 3A
FUKAUMI Naoki [Fri, 23 Aug 2024 04:18:25 +0000 (13:18 +0900)]
rockchip: fix model name for Radxa ROCK 3A

This patch fixes model name in dts as below:

Radxa ROCK3 model A -> Radxa ROCK 3A

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Link: https://github.com/openwrt/openwrt/pull/16232
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agouboot-rockchip: fix model name for Radxa ROCK 3A, 5A, and 5B
FUKAUMI Naoki [Fri, 23 Aug 2024 04:16:15 +0000 (13:16 +0900)]
uboot-rockchip: fix model name for Radxa ROCK 3A, 5A, and 5B

This patch fixes model name in dts as below:

Radxa ROCK3 model A  -> Radxa ROCK 3A
Radxa ROCK 5 model A -> Radxa ROCK 5A
Radxa ROCK 5 model B -> Radxa ROCK 5B

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Link: https://github.com/openwrt/openwrt/pull/16232
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agoarmsr: use console=tty1 to make console more readily available
Mark Mentovai [Fri, 28 Jun 2024 17:14:59 +0000 (13:14 -0400)]
armsr: use console=tty1 to make console more readily available

Like x86, armsr is frequently virtualized, and is used for development
and debugging. Kernel messages should be more readily apparent by
default. This can be achieved by adding console=tty1 to the kernel
command line, enabling the console on a (possibly virtual) display and
keyboard, in addition to a serial port.

This also enables failsafe on tty1. Failsafe mode operates on consoles
known by the kernel, without regard to /etc/inittab.

armsr's /etc/inittab is also updated to specify tty1 instead of tty0.
tty1 is technically more correct: tty1 is the first virtual console,
where tty0 reflects the current active virtual console (which is likely
to be tty1).

This configuration matches x86, which is another target commonly used
for virtualization, development, and debugging in the same way. x86's
kernel command line had specified console=tty0, although console=tty1 is
more correct for the reasons given above. This also brings x86's kernel
command line console= into agreement with its /etc/inittab, which
already used tty1.

Signed-off-by: Mark Mentovai <mark@mentovai.com>
Link: https://github.com/openwrt/openwrt/pull/16213
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agoramips: mt7621_nand: don't set owner
Rosen Penev [Thu, 15 Aug 2024 02:59:19 +0000 (19:59 -0700)]
ramips: mt7621_nand: don't set owner

Found with coccinelle:

No need to set .owner here. The core will do it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16217
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agotrace-cmd: update to 3.3
Rosen Penev [Sun, 11 Aug 2024 22:38:27 +0000 (15:38 -0700)]
trace-cmd: update to 3.3

Use local tarballs instead of upstream generated ones. Smaller.

Fix version to be compatible with apk.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16219
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agodnsmasq: Add EDNS0 Upstream support
Carsten Schuette [Wed, 17 Jul 2024 18:09:46 +0000 (20:09 +0200)]
dnsmasq: Add EDNS0 Upstream support

Forward client mac address and subnet on dns queries. Pi-hole and Adguard use this feature to send the originators ip address/subnet so it can be logged and not just the nat address of the router. This feature has been added since version 2.56 of dnsmasq and would be nice to expose this feature in openwrt.

Signed-off-by: Carsten Schuette <schuettecarsten@googlemail.com>
Link: https://github.com/openwrt/openwrt/pull/15965
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agobmips: add support for TP-Link TD-W8968 V3
Mathesh Velayudan [Thu, 4 Jul 2024 12:09:51 +0000 (17:39 +0530)]
bmips: add support for TP-Link TD-W8968 V3

TP-Link TD-W8968 v3 is an 300Mbps Wireless N USB ADSL2+ Modem Router based on
Broadcom BCM6318 SoC.

Hardware:
   CPU:          Broadcom BCM6318, 333 MHz, 1 core
   Flash:        8MB
   RAM:          64 MB
   Ethernet:     4x 10/100 Mbps
   Wireless:     802.11b/g/n, BCM43217
   LEDs/Buttons: 10x / 3x
   USB:          1x 2.0

Flash instructions:
* Assign static IP 192.168.1.100 to PC
* Unplug the power source
* Press the RESET button at the router, don't release it yet!
* Plug the power source. Wait for some seconds
* Release the RESET button
* Browse to http://192.168.1.1
* Upload the openwrt-bmips-bcm6318-tp-link_td-w8968-v3-squashfs-cfe.bin file
* Wait some minutes until the firmware upgrade finish.

Signed-off-by: Mathesh Velayudan <123v.mathesh@gmail.com>
3 months agogeneric: 6.6: backport upstream Realtek PHY patch
Álvaro Fernández Rojas [Sat, 24 Aug 2024 13:05:30 +0000 (15:05 +0200)]
generic: 6.6: backport upstream Realtek PHY patch

- Fix setting of PHY LEDs Mode B bit on RTL8211F.
- Rename pending Realtek PHY patches.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
3 months agomt76: Change AutoLoad macro call for mt7925e and mt7925u
Daniel Pawlik [Thu, 22 Aug 2024 19:00:40 +0000 (21:00 +0200)]
mt76: Change AutoLoad macro call for mt7925e and mt7925u

There was a typo done for mt7925e and mt7925u in the KernelPackage
definitions, which caused the system to load the wrong kernel modules.

Signed-off-by: Daniel Pawlik <pawlik.dan@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16236
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agorockchip: fix compatible string for Radxa ROCK 5A
FUKAUMI Naoki [Thu, 22 Aug 2024 01:38:59 +0000 (10:38 +0900)]
rockchip: fix compatible string for Radxa ROCK 5A

revert unwanted change for compatible string.

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Link: https://github.com/openwrt/openwrt/pull/16221
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agorockchip: add support for nanopc t6
xiaobo tian [Wed, 21 Aug 2024 06:40:27 +0000 (14:40 +0800)]
rockchip: add support for nanopc t6

SoC: Rockchip RK3588
CPU: Quad-core ARM Cortex-A76(up to 2.4GHz) and quad-core Cortex-A55 CPU (up to 1.8GHz)
GPU: Mali-G610 MP4, compatible with OpenGLES 1.1, 2.0, and 3.2, OpenCL up to 2.2 and Vulkan1.2
VPU: 8K@60fps H.265 and VP9 decoder, 8K@30fps H.264 decoder, 4K@60fps AV1 decoder, 8K@30fps H.264 and H.265 encoder
NPU: 6TOPs, supports INT4/INT8/INT16/FP16
RAM: 64-bit 4GB/8GB/16GB LPDDR4X at 2133MHz
Flash: 32GB/64GB/256GB eMMC, at HS400 mode
microSD: support up to SDR104 mode
Ethernet: 2x PCIe 2.5G Ethernet

Signed-off-by: xiaobo tian <peterwillcn@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16158
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>