openwrt/staging/xback.git
8 days agohostapd: bump to 2024-09-06 (wip) master
Koen Vandeputte [Wed, 11 Sep 2024 08:32:57 +0000 (10:32 +0200)]
hostapd: bump to 2024-09-06 (wip)

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
8 days agohostapd: sync config files with upstream
Koen Vandeputte [Tue, 24 Oct 2023 12:36:15 +0000 (14:36 +0200)]
hostapd: sync config files with upstream

Sync all config files, without changing current behaviour

This removes some upstream deprecated options while
introducing new ones.

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
8 days agoadd rmnet driver (wip)
Koen Vandeputte [Wed, 21 Aug 2024 08:46:11 +0000 (10:46 +0200)]
add rmnet driver (wip)

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
8 days agoath10k-ct: add Coverage Class setting ipq40xx and qca99xx WiFi (WIP)
Koen Vandeputte [Tue, 21 May 2024 12:49:14 +0000 (14:49 +0200)]
ath10k-ct: add Coverage Class setting ipq40xx and qca99xx WiFi (WIP)

Since QCA wireless firmware version 10.4 the Coverage Class can be set
for ipq40xx and qca99xx circuits via the wmi interface.
A timeout value adjusts protocol timing for the extra radio propagation
time that is inherent to transmission over larger than local distances.

In due time an upstream patch in mac80211 can be anticipated.
This patch enables use of ipq40xx SoC based devices in OpenWrt in the
mean time when Coverage Class setting is required.

Authors:
Sebastian Gottschall    <s.gottschall@dd-wrt.com>
William Wortel          <wwortel@dorpstraat.com>

Signed-off-by: William Wortel <wwortel@dorpstraat.com>
Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
8 days agokernel: re-add missing symbols
Koen Vandeputte [Tue, 11 Jun 2024 13:27:58 +0000 (15:27 +0200)]
kernel: re-add missing symbols

a recent cleanup commit also removed our own custom symbols
added by various in-tree drivers.

re-add these symbols as the compiler will complain about
them otherwise on specific targets during kernel build:

MikroTik RB91x NAND driver support (MTD_NAND_RB91X) [N/m/y/?] (NEW) make[8]: *** [scripts/kconfig/Makefile:77: syncconfig] Error 1

Fixes: 2d00ed7caa ("kernel: trim outdated kernel config symbols")
Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
8 days agoath79: rb91x: enable pcie power early (WIP)
Koen Vandeputte [Mon, 8 Jan 2024 16:25:07 +0000 (17:25 +0100)]
ath79: rb91x: enable pcie power early (WIP)

ensure PCIe devices get enumerated properly during power-on

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
8 days agoath79: rb91x: revert ref clock back to 25MHz
Koen Vandeputte [Mon, 8 Jan 2024 16:24:12 +0000 (17:24 +0100)]
ath79: rb91x: revert ref clock back to 25MHz

My boards contain a 25MHz xtal, not a 40MHz one ..

9 days agoipq40xx: define config-names for Aruba boards
David Bauer [Tue, 10 Sep 2024 02:25:59 +0000 (04:25 +0200)]
ipq40xx: define config-names for Aruba boards

Aruba boards now ship with multiple DTS and image-configurations per
image. Newer apboot revs expect a configuration for their hardware to be
present.

Signed-off-by: David Bauer <mail@david-bauer.net>
9 days agoucode: fix host installation
David Bauer [Mon, 19 Aug 2024 13:25:10 +0000 (15:25 +0200)]
ucode: fix host installation

The path for linking libucode.so was not specified for the ucode binary.
This breaks execution of ucode in the host context.

Signed-off-by: David Bauer <david.bauer@uniberg.com>
9 days agotreewide: update contact information
David Bauer [Wed, 28 Aug 2024 22:46:30 +0000 (00:46 +0200)]
treewide: update contact information

Change contact information of comitter as requested.

Reviewed-by: Sarah Mädel <openwrt@tbspace.de>
Signed-off-by: David Bauer <mail@david-bauer.net>
9 days agoramips: mt76x8: add missing model string to Yuncore M300
Daniel Golle [Tue, 10 Sep 2024 22:16:12 +0000 (00:16 +0200)]
ramips: mt76x8: add missing model string to Yuncore M300

Add missing 'model' string to DT, so /tmp/sysinfo/model gets populated.

Fixes: e497c975d3 ("ramips: mt76x8: add support for Yuncore M300")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
9 days agoramips: mt76x8: add missing model string to Yuncore CPE200
Daniel Golle [Tue, 10 Sep 2024 22:14:43 +0000 (00:14 +0200)]
ramips: mt76x8: add missing model string to Yuncore CPE200

Add missing 'model' string to DT, so /tmp/sysinfo/model gets populated.

Fixes: 64dae1052b ("ramips: mt76x8: add support for Yuncore CPE200")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
9 days agouboot-mediatek: fix OpenWrt One NAND size
John Crispin [Sat, 31 Aug 2024 17:00:47 +0000 (19:00 +0200)]
uboot-mediatek: fix OpenWrt One NAND size

The final version of the PCB has 256MB NAND instead of 128MB.

Signed-off-by: John Crispin <john@phrozen.org>
9 days agouboot-envtools: add support for OpenWrt One
John Crispin [Sat, 31 Aug 2024 16:59:35 +0000 (18:59 +0200)]
uboot-envtools: add support for OpenWrt One

Signed-off-by: John Crispin <john@phrozen.org>
9 days agomediatek: fix OpenWrt One NAND size
John Crispin [Sat, 31 Aug 2024 16:58:50 +0000 (18:58 +0200)]
mediatek: fix OpenWrt One NAND size

The final version of the PCB has 256MB NAND instead of 128MB.

Signed-off-by: John Crispin <john@phrozen.org>
9 days agomediatek: fix OpenWrt One MACs
John Crispin [Sat, 31 Aug 2024 16:56:59 +0000 (18:56 +0200)]
mediatek: fix OpenWrt One MACs

* Ignore the MACs passed by the bootloader.
* fix nvmem-cell-cells warning
* fix the node names
* add dbdc wifi MACs

Signed-off-by: John Crispin <john@phrozen.org>
9 days agokernel: backport nvmem changes from v6.11
Rafał Miłecki [Tue, 10 Sep 2024 11:43:03 +0000 (13:43 +0200)]
kernel: backport nvmem changes from v6.11

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
9 days agokernel: backport nvmem changes from v6.10
Rafał Miłecki [Tue, 10 Sep 2024 11:42:59 +0000 (13:42 +0200)]
kernel: backport nvmem changes from v6.10

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
9 days agokernel: backport nvmem changes from v6.9
Rafał Miłecki [Tue, 10 Sep 2024 11:42:55 +0000 (13:42 +0200)]
kernel: backport nvmem changes from v6.9

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
9 days agostarfive: drop 6.1 support
Zoltan HERPAI [Sun, 8 Sep 2024 20:54:23 +0000 (22:54 +0200)]
starfive: drop 6.1 support

Now that 6.6 is the default, remove the 6.1 config and patches.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
9 days agostarfive: switch default to 6.6
Zoltan HERPAI [Sun, 8 Sep 2024 20:52:55 +0000 (22:52 +0200)]
starfive: switch default to 6.6

Switch the default kernel to 6.6.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
10 days agoocteon: set Linux 6.6 as the default kernel
Rui Salvaterra [Wed, 21 Aug 2024 15:51:56 +0000 (16:51 +0100)]
octeon: set Linux 6.6 as the default kernel

And remove support for 6.1 while at it.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15838
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agoocteon: add support for testing kernel 6.6
Rui Salvaterra [Sun, 30 Jun 2024 11:34:37 +0000 (12:34 +0100)]
octeon: add support for testing kernel 6.6

A rather trivial addition. Patches automatically rebased. Also add the new
CONFIG_USB_DWC3_OCTEON (disabled) to the generic 6.6 config and sort it, while
at it.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15838
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agobcm53xx: drop 6.1 support
Mieczyslaw Nalewaj [Wed, 7 Aug 2024 14:59:12 +0000 (16:59 +0200)]
bcm53xx: 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/16103
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agobcm53xx: drop 5.15 support
Mieczyslaw Nalewaj [Wed, 7 Aug 2024 14:57:34 +0000 (16:57 +0200)]
bcm53xx: drop 5.15 support

Drop config and files for Linux 5.15.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16103
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agobcm53xx: use kernel 6.6 by default
Mieczyslaw Nalewaj [Wed, 7 Aug 2024 14:54:47 +0000 (16:54 +0200)]
bcm53xx: 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/16103
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agobpf: fix llvm version check
Konstantin Demin [Thu, 13 Jun 2024 17:56:31 +0000 (20:56 +0300)]
bpf: fix llvm version check

- specify CC target explicitly

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15703
Signed-off-by: Robert Marko <robimarko@gmail.com>
11 days agokernel: bump 6.6 to 6.6.50
John Audia [Sun, 8 Sep 2024 07:30:39 +0000 (03:30 -0400)]
kernel: bump 6.6 to 6.6.50

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

All patch automatically rebased.

Test version: r27317-8e6543fae5
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/16351
Signed-off-by: Nick Hainke <vincent@systemli.org>
11 days agokernel: bump 6.1 to 6.1.109
Zxl hhyccc [Sun, 8 Sep 2024 12:12:34 +0000 (20:12 +0800)]
kernel: bump 6.1 to 6.1.109

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

All patches automatically rebased.

Build system: bcm53xx octeon

Signed-off-by: Zxl hhyccc <zxlhhy@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16353
Signed-off-by: Nick Hainke <vincent@systemli.org>
11 days agoscripts/feeds: Support feed update with git pull --rebase --autostash
Hannu Nyman [Sat, 4 May 2024 06:57:07 +0000 (09:57 +0300)]
scripts/feeds: Support feed update with git pull --rebase --autostash

Add feed update option '-s' that performs 'git pull --rebase --autostash':
* possible local uncommited changes are autostashed before pull,
* local commits are then rebased on top of the new commits pulled
  from origin and
* finally git does 'stash pop'.

This enables feed update while there are local development commits
and possibly also local uncommited changes.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Link: https://github.com/openwrt/openwrt/pull/15377
Signed-off-by: Robert Marko <robimarko@gmail.com>
11 days agoscripts/feeds: Support feed update with git pull --rebase
Hannu Nyman [Sat, 4 May 2024 06:56:32 +0000 (09:56 +0300)]
scripts/feeds: Support feed update with git pull --rebase

Add feed update option '-r' to perform "git pull --rebase" so that
possible local commits are rebased on top of the new commits pulled
from origin. That enables git pull while there are local
development commits.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Link: https://github.com/openwrt/openwrt/pull/15377
Signed-off-by: Robert Marko <robimarko@gmail.com>
11 days agorockchip: backport pcie update for rock 5a
Tianling Shen [Fri, 6 Sep 2024 07:20:46 +0000 (15:20 +0800)]
rockchip: backport pcie update for rock 5a

This enables the M.2 E-key on ROCK 5A board.
Reorder rk356x patch while at it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/16340
Signed-off-by: Robert Marko <robimarko@gmail.com>
11 days agouboot-rockchip: sort build target alphabetically
Tianling Shen [Fri, 6 Sep 2024 07:16:33 +0000 (15:16 +0800)]
uboot-rockchip: sort build target alphabetically

move nanopc-t6 recipes above rock 5b.

Fixes: 9482341a4752 ("rockchip: add support for nanopc t6")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/16340
Signed-off-by: Robert Marko <robimarko@gmail.com>
11 days agoipq807x: add support for TP-Link EAP660 HD v1
George Witt [Mon, 5 Aug 2024 21:29:37 +0000 (16:29 -0500)]
ipq807x: add support for TP-Link EAP660 HD v1

Specifications:
* SoC: Qualcomm IPQ8072A (64-bit Quad-core Arm Cortex-A53 @ 2200MHz)
* Memory: 2x ESMT M15T4G16256A-DEBG2G (1 GiB DDR3-1866 13-13-13)
* Serial Port: 3v3 TTL 115200n8
* Wi-Fi: QCN5054 (4x4 5 GHz 802.11ax)
* Wi-Fi: QCN5024 (4x4 2.4 GHz 802.11b/g/n/ax)
* Ethernet: QCA8081 (10/100/1000/2.5GBASE-T)
* Flash: Winbond W29N01HZSINF (128 MiB)
* LEDs: 1x Blue Status (GPIO 42 Active High)
* Buttons: 1x Reset (GPIO 50 Active Low)

Installation Instructions (Serial+TFTP):
1. Solder 4 pin header to JP1 and bridge pads of R58 and R62.
2. Connect 3V3 TTL port to TX, RX, and GND, which are positions 1, 2,
   and 3 respectively. Be sure to crossover TX and RX.
3. Copy RAM firmware image
   openwrt-qualcommax-ipq807x-tplink_eap660hd-v1-initramfs-uImage.itb
   to TFTP server root, available at 192.168.10.1.
4. Connect PoE ethernet cable to the RJ45 port and hold Ctrl+B in the
   serial console (115200 baud) until autoboot is halted.
5. Run the following commands in the U-boot prompt:
   # tftpboot 0x44000000 openwrt-qualcommax-ipq807x-tplink_eap660hd-v1-initramfs-uImage.itb
   # bootm
   You may need to type Ctrl+C and Enter before running these commands
   to clear invisible characters from the buffer.
6. Run the following command in a terminal to copy the sysupgrade image
   to be installed (check IP address):
   $ scp openwrt-qualcommax-ipq807x-tplink_eap660hd-v1-squashfs-sysupgrade.bin root@192.168.1.1:/tmp/
7. Activate the OpenWrt serial console and run the following commands:
   # cd /tmp
   # sysupgrade -n openwrt-qualcommax-ipq807x-tplink_eap660hd-v1-squashfs-sysupgrade.bin
8. The AP will reboot and OpenWrt will be successfully installed.

Signed-off-by: George Witt <george.witt@nltsproject.org>
Link: https://github.com/openwrt/openwrt/pull/15832
Signed-off-by: Robert Marko <robimarko@gmail.com>
11 days agouboot-laniq: fix compilation with GCC14
Rosen Penev [Tue, 3 Sep 2024 21:21:29 +0000 (14:21 -0700)]
uboot-laniq: fix compilation with GCC14

GCC errors on returning int in void function now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16348
Signed-off-by: Robert Marko <robimarko@gmail.com>
11 days agostarfive: 6.6: add serial1 alias for JH7100
Zoltan HERPAI [Fri, 6 Sep 2024 09:12:25 +0000 (11:12 +0200)]
starfive: 6.6: add serial1 alias for JH7100

This alias was present in 6.1. Add back to restore a fully working console after
sbi0 (earlycon) gets disabled during the boot process.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
12 days agoramips: pinctrl-aw9523: update to current upstream
Rosen Penev [Wed, 21 Aug 2024 16:06:03 +0000 (09:06 -0700)]
ramips: pinctrl-aw9523: update to current upstream

Various cleanups and bugfixes were applied.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16215
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agompc85xx: add static to init functions
Rosen Penev [Fri, 6 Sep 2024 22:22:00 +0000 (15:22 -0700)]
mpc85xx: add static to init functions

No reason for them not to be so. Matches various upstream commits for
PPC.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16345
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agompc85xx: remove calibrate_decr
Rosen Penev [Fri, 6 Sep 2024 22:13:21 +0000 (15:13 -0700)]
mpc85xx: remove calibrate_decr

With upstream commit 0aafbdf35c75cbfec82636d01e6dc7950bc1507c , this is
now default. No need to override.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16345
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agompc85xx: replace probe with compatible
Rosen Penev [Fri, 6 Sep 2024 22:08:18 +0000 (15:08 -0700)]
mpc85xx: replace probe with compatible

Upstream commit does this for simple cases, which all of these are.

Commit: 1c96fcdef8c7492ecf34ed70102a1ae5253ef9d1

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16345
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days 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>
13 days 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>
13 days 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>
13 days 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>
13 days 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>
13 days 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>
13 days 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>
13 days 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>
13 days 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>
13 days 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>
13 days 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>
13 days 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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>
2 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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>