openwrt/staging/jow.git
9 months agolinux: add dtb makefile target to targets list
Christian Marangi [Thu, 8 Feb 2024 22:04:55 +0000 (23:04 +0100)]
linux: add dtb makefile target to targets list

Add dtb makefile target to targets list to permit correct working of

make target/linux/dtb

Fixes: c47532b1ea7f ("kernel-build\eOnmk: add support for compiling only DTS")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agokernel-build.mk: add support for compiling only DTS
Christian Marangi [Wed, 7 Feb 2024 23:49:27 +0000 (00:49 +0100)]
kernel-build.mk: add support for compiling only DTS

Add support for compiling DTS for the selected target. This can be
useful for testing if the DTS correctly compile and doesn't produce any
error.

This adds a new make target. To compile only DTS use:

make target/linux/dtb

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agokernel: bump 6.1 to 6.1.77
John Audia [Tue, 6 Feb 2024 21:44:12 +0000 (16:44 -0500)]
kernel: bump 6.1 to 6.1.77

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

Removed upstreamed:
generic/backport-6.1/707-v6.8-01-net-phy-at803x-fix-passing-the-wrong-reference-for-c.patch[1]
generic/backport-6.1/796-v6.8-ipmr-fix-kernel-panic-when-forwarding-mcast-packets.patch[2]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.77&id=7dc0fefd37dd5fb03fdac6e3e01b1c2291148ccb
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.77&id=d2f1b7fe74afd66298dbb3c7b39e7b62e4df1724

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia <therealgraysky@proton.me>
9 months agokernel: bump 6.1 to 6.1.76
John Audia [Fri, 2 Feb 2024 21:56:39 +0000 (16:56 -0500)]
kernel: bump 6.1 to 6.1.76

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

All patches automatically rebased.

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia <therealgraysky@proton.me>
9 months agolldpd: add option to force EDP
Stephen Howell [Sat, 3 Feb 2024 14:16:09 +0000 (14:16 +0000)]
lldpd: add option to force EDP

allow EDP support if compiled and add force EDP option

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: only use snmp options when compiled in
Stephen Howell [Sat, 3 Feb 2024 13:51:49 +0000 (13:51 +0000)]
lldpd: only use snmp options when compiled in

prevent SNMP options being passed unless lldpd supports them

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: Update Makefile package release
Stephen Howell [Sun, 17 Dec 2023 00:43:09 +0000 (00:43 +0000)]
lldpd: Update Makefile package release

increment Makefile package release to reflect changes to init script

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: add option for tx delay and tx hold
Stephen Howell [Sun, 17 Dec 2023 00:39:48 +0000 (00:39 +0000)]
lldpd: add option for tx delay and tx hold

add option to set LLDP transmit delay, hold timers to set update frequency

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: add option to set system platform
Stephen Howell [Sun, 17 Dec 2023 00:34:37 +0000 (00:34 +0000)]
lldpd: add option to set system platform

add option to override system platform instead of using kernel name

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: add option to force SONMP enabled
Stephen Howell [Sun, 17 Dec 2023 00:28:43 +0000 (00:28 +0000)]
lldpd: add option to force SONMP enabled

add option to force SONMP to be enabled even when no peer detected

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: add option to force FDP on
Stephen Howell [Sun, 17 Dec 2023 00:26:21 +0000 (00:26 +0000)]
lldpd: add option to force FDP on

add option to force FDP when no peers detected

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: set CDP version and allow forcing CDP on
Stephen Howell [Sun, 17 Dec 2023 00:21:12 +0000 (00:21 +0000)]
lldpd: set CDP version and allow forcing CDP on

add option to specify CDPv1 or CDPv2 and separately enable or force each

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: allow disabling LLDP protcol
Stephen Howell [Sun, 17 Dec 2023 00:17:14 +0000 (00:17 +0000)]
lldpd: allow disabling LLDP protcol

add option to allow LLDP disabling while using other supported protocols

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: add portidsubtype option
Stephen Howell [Sat, 16 Dec 2023 23:49:44 +0000 (23:49 +0000)]
lldpd: add portidsubtype option

add option portidsubtype to correct port identifiers and descriptions

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: add agent-type option
Stephen Howell [Sat, 16 Dec 2023 23:49:21 +0000 (23:49 +0000)]
lldpd: add agent-type option

add option to set agent-type to control propogation

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: add LLDP MED options
Stephen Howell [Sat, 16 Dec 2023 23:46:53 +0000 (23:46 +0000)]
lldpd: add LLDP MED options

add option to enable LLDP MED fast-start and set fast-start timer

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: option to disable LLDP-MED inventory TLV
Stephen Howell [Sat, 16 Dec 2023 23:08:08 +0000 (23:08 +0000)]
lldpd: option to disable LLDP-MED inventory TLV

add option to disable LLDP-MED inventory TLV transmission

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: Init adds no-version option
Stephen Howell [Sat, 16 Dec 2023 22:57:18 +0000 (22:57 +0000)]
lldpd: Init adds no-version option

add option to disable advertising kernel version

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: Allow neighbour filtering
Stephen Howell [Sat, 16 Dec 2023 22:52:10 +0000 (22:52 +0000)]
lldpd: Allow neighbour filtering

add filter option to init script.

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: LLDPD binds to only specified interfaces
Stephen Howell [Sat, 16 Dec 2023 22:41:22 +0000 (22:41 +0000)]
lldpd: LLDPD binds to only specified interfaces

Bind to the configured system interfaces only. Switchport interfaces
are no longer ignored and uci interface values for LLDPD are honored.

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agolldpd: Init config read on reload
Stephen Howell [Sat, 16 Dec 2023 22:32:19 +0000 (22:32 +0000)]
lldpd: Init config read on reload

Init script reload with trigger to detect config file update.
Reload command added to attempt non-impactful lldpd reload where
lldpcli can be used to update config without process restart.
Config hash function used to track whether process restart is needed.

Signed-off-by: Stephen Howell <howels@allthatwemight.be>
9 months agobmips: dts: move leds dt-bindings include to SoCs
Álvaro Fernández Rojas [Wed, 7 Feb 2024 16:38:11 +0000 (17:38 +0100)]
bmips: dts: move leds dt-bindings include to SoCs

bmips has all the dt-bindings includes inside each SoC .dtsi files, so let's
move the new includes there instead of adding them to each board .dts files.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 months agoramips: fix dts error in LED color/function conversion
Christian Marangi [Wed, 7 Feb 2024 22:59:33 +0000 (23:59 +0100)]
ramips: fix dts error in LED color/function conversion

Fix DTS error in LED color/function conversion due to a bug in the
conversion script.

Fixes: 19c45b95dbb5 ("ramips: convert to new LED color/function format where possible")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agolantiq: fix dts error in LED color/function conversion
Christian Marangi [Wed, 7 Feb 2024 22:54:35 +0000 (23:54 +0100)]
lantiq: fix dts error in LED color/function conversion

Fix DTS error in LED color/function conversion due to a bug in the
conversion script.

Fixes: 0c3f3eb229e4 ("lantiq: convert to new LED color/function format where possible")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agoipq806x: fix dts error in LED color/function conversion
Christian Marangi [Wed, 7 Feb 2024 22:50:48 +0000 (23:50 +0100)]
ipq806x: fix dts error in LED color/function conversion

Fix DTS error in LED color/function conversion due to a bug in the
conversion script.

Fixes: 33e796232911 ("ipq806x: convert to new LED color/function format where possible")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agostrace: update to 6.7
Nick Hainke [Wed, 7 Feb 2024 11:59:23 +0000 (12:59 +0100)]
strace: update to 6.7

Release Notes:
https://github.com/strace/strace/releases/tag/v6.7

Signed-off-by: Nick Hainke <vincent@systemli.org>
9 months agobase-files/leds: add setting the LED color via uci
Florian Eckert [Thu, 1 Feb 2024 11:51:02 +0000 (12:51 +0100)]
base-files/leds: add setting the LED color via uci

Add the possibility that colored LEDs can also be configured via the uci.

config led 'led1'
option name '<name>'
option sysfs '<path>'
option trigger 'default-on'
option default '1'
--> option color_{$color} '<0-255>'

The supported names of the variable "${color}" for the selected LED can be
queried in the file with the name 'multi_index'.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
9 months agobase-files/leds: merging code sequences that belongs together
Florian Eckert [Thu, 1 Feb 2024 10:31:20 +0000 (11:31 +0100)]
base-files/leds: merging code sequences that belongs together

Setting the trigger and checking whether the trigger can be set belong
together and should not be interrupted by other lines of code.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
9 months agobase-files/leds: save led color value if available
Florian Eckert [Thu, 1 Feb 2024 10:17:17 +0000 (11:17 +0100)]
base-files/leds: save led color value if available

There are monochrome LEDs that can only display one color. However, there
are also LEDs that can display multiple colors. This can be tested in the
led subsystem of the kernel if the files 'multi_index' and 'multi_intensity'
are present in the folder '/sys/class/leds/<ledname>'.

Until now it was not possible to reset the default color. This commit adds
the missing information in the file '/var/run/led.state' so that the bootup
color can be seen on the LED again when the LED configuration has been changed.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
9 months agorealtek: convert to new LED color/function format where possible
Christian Marangi [Wed, 7 Feb 2024 13:48:44 +0000 (14:48 +0100)]
realtek: convert to new LED color/function format where possible

Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agorealtek: drop redundant label with new LED color/function format
Christian Marangi [Wed, 7 Feb 2024 13:48:44 +0000 (14:48 +0100)]
realtek: drop redundant label with new LED color/function format

Drop redundant label with new LED color/function format declared.
This was needed previously when the new format wasn't supported by
leds.sh functions script. Now that is supported this property
can be removed in favor of the new format.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agoramips: convert to new LED color/function format where possible
Christian Marangi [Wed, 7 Feb 2024 13:48:43 +0000 (14:48 +0100)]
ramips: convert to new LED color/function format where possible

Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agoramips: drop redundant label with new LED color/function format
Christian Marangi [Wed, 7 Feb 2024 13:48:43 +0000 (14:48 +0100)]
ramips: drop redundant label with new LED color/function format

Drop redundant label with new LED color/function format declared.
This was needed previously when the new format wasn't supported by
leds.sh functions script. Now that is supported this property
can be removed in favor of the new format.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agoqualcommax: convert to new LED color/function format where possible
Christian Marangi [Wed, 7 Feb 2024 13:48:43 +0000 (14:48 +0100)]
qualcommax: convert to new LED color/function format where possible

Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agoqualcommax: drop redundant label with new LED color/function format
Christian Marangi [Wed, 7 Feb 2024 13:48:42 +0000 (14:48 +0100)]
qualcommax: drop redundant label with new LED color/function format

Drop redundant label with new LED color/function format declared.
This was needed previously when the new format wasn't supported by
leds.sh functions script. Now that is supported this property
can be removed in favor of the new format.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agoocteon: convert to new LED color/function format where possible
Christian Marangi [Wed, 7 Feb 2024 13:48:41 +0000 (14:48 +0100)]
octeon: convert to new LED color/function format where possible

Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agomvebu: convert to new LED color/function format where possible
Christian Marangi [Wed, 7 Feb 2024 13:48:41 +0000 (14:48 +0100)]
mvebu: convert to new LED color/function format where possible

Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agomvebu: drop redundant label with new LED color/function format
Christian Marangi [Wed, 7 Feb 2024 13:48:40 +0000 (14:48 +0100)]
mvebu: drop redundant label with new LED color/function format

Drop redundant label with new LED color/function format declared.
This was needed previously when the new format wasn't supported by
leds.sh functions script. Now that is supported this property
can be removed in favor of the new format.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agompc85xx: convert to new LED color/function format where possible
Christian Marangi [Wed, 7 Feb 2024 13:48:40 +0000 (14:48 +0100)]
mpc85xx: convert to new LED color/function format where possible

Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agompc85xx: drop redundant label with new LED color/function format
Christian Marangi [Wed, 7 Feb 2024 13:48:40 +0000 (14:48 +0100)]
mpc85xx: drop redundant label with new LED color/function format

Drop redundant label with new LED color/function format declared.
This was needed previously when the new format wasn't supported by
leds.sh functions script. Now that is supported this property
can be removed in favor of the new format.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agomediatek: convert to new LED color/function format where possible
Christian Marangi [Wed, 7 Feb 2024 13:48:39 +0000 (14:48 +0100)]
mediatek: convert to new LED color/function format where possible

Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agomediatek: drop redundant label with new LED color/function format
Christian Marangi [Wed, 7 Feb 2024 13:48:39 +0000 (14:48 +0100)]
mediatek: drop redundant label with new LED color/function format

Drop redundant label with new LED color/function format declared.
This was needed previously when the new format wasn't supported by
leds.sh functions script. Now that is supported this property
can be removed in favor of the new format.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agolantiq: convert to new LED color/function format where possible
Christian Marangi [Wed, 7 Feb 2024 13:48:38 +0000 (14:48 +0100)]
lantiq: convert to new LED color/function format where possible

Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agokirkwood: convert to new LED color/function format where possible
Christian Marangi [Wed, 7 Feb 2024 13:48:38 +0000 (14:48 +0100)]
kirkwood: convert to new LED color/function format where possible

Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agokirkwood: drop redundant label with new LED color/function format
Christian Marangi [Wed, 7 Feb 2024 13:48:38 +0000 (14:48 +0100)]
kirkwood: drop redundant label with new LED color/function format

Drop redundant label with new LED color/function format declared.
This was needed previously when the new format wasn't supported by
leds.sh functions script. Now that is supported this property
can be removed in favor of the new format.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agoipq806x: convert to new LED color/function format where possible
Christian Marangi [Wed, 7 Feb 2024 13:48:37 +0000 (14:48 +0100)]
ipq806x: convert to new LED color/function format where possible

Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agoipq40xx: convert to new LED color/function format where possible
Christian Marangi [Wed, 7 Feb 2024 13:48:37 +0000 (14:48 +0100)]
ipq40xx: convert to new LED color/function format where possible

Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agoipq40xx: drop redundant label with new LED color/function format
Christian Marangi [Wed, 7 Feb 2024 13:48:37 +0000 (14:48 +0100)]
ipq40xx: drop redundant label with new LED color/function format

Drop redundant label with new LED color/function format declared.
This was needed previously when the new format wasn't supported by
leds.sh functions script. Now that is supported this property
can be removed in favor of the new format.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agobmips: convert to new LED color/function format where possible
Christian Marangi [Wed, 7 Feb 2024 13:48:36 +0000 (14:48 +0100)]
bmips: convert to new LED color/function format where possible

Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agobcm63xx: convert to new LED color/function format where possible
Christian Marangi [Wed, 7 Feb 2024 13:48:35 +0000 (14:48 +0100)]
bcm63xx: convert to new LED color/function format where possible

Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agoath79: convert to new LED color/function format where possible
Christian Marangi [Wed, 7 Feb 2024 13:48:34 +0000 (14:48 +0100)]
ath79: convert to new LED color/function format where possible

Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agoath79: drop redundant label with new LED color/function format
Christian Marangi [Wed, 7 Feb 2024 13:48:34 +0000 (14:48 +0100)]
ath79: drop redundant label with new LED color/function format

Drop redundant label with new LED color/function format declared.
This was needed previously when the new format wasn't supported by
leds.sh functions script. Now that is supported this property
can be removed in favor of the new format.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agotoolchain: binutils: add support for version 2.42
Nick Hainke [Tue, 6 Feb 2024 11:26:33 +0000 (12:26 +0100)]
toolchain: binutils: add support for version 2.42

Release Notes:
https://lists.gnu.org/archive/html/info-gnu/2024-01/msg00016.html

Signed-off-by: Nick Hainke <vincent@systemli.org>
9 months agotools/cmake: update to 3.28.3
Nick Hainke [Tue, 6 Feb 2024 11:04:21 +0000 (12:04 +0100)]
tools/cmake: update to 3.28.3

Release Notes:
https://www.kitware.com/cmake-3-28-3-available-for-download/

Signed-off-by: Nick Hainke <vincent@systemli.org>
9 months agotools/pkgconf: update to 2.1.1
Nick Hainke [Tue, 6 Feb 2024 11:13:59 +0000 (12:13 +0100)]
tools/pkgconf: update to 2.1.1

Changes:
https://github.com/pkgconf/pkgconf/blob/2edf954f3a80d2ccb4ba41938e5078fdde9d3ca4/NEWS

Signed-off-by: Nick Hainke <vincent@systemli.org>
9 months agokexec-tools: update to 2.0.28
Nick Hainke [Sat, 3 Feb 2024 00:55:26 +0000 (01:55 +0100)]
kexec-tools: update to 2.0.28

Release Notes:
- https://www.spinics.net/lists/kexec/msg32139.html
- https://www.spinics.net/lists/kexec/msg33447.html

Signed-off-by: Nick Hainke <vincent@systemli.org>
9 months agowifi-scripts: fix copy&paste issue in metadata
Felix Fietkau [Tue, 6 Feb 2024 09:47:14 +0000 (10:47 +0100)]
wifi-scripts: fix copy&paste issue in metadata

Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 months agogeneric: 6.1: backport patch fixing kernel panic with mcast packets
Christian Marangi [Mon, 5 Feb 2024 20:33:33 +0000 (21:33 +0100)]
generic: 6.1: backport patch fixing kernel panic with mcast packets

Backport patch fixing kernel panic with mcast packets, patch is already
scheduled to be backported to stable kernels and will be dropped once
new stable kernel version are released.

Fixes: #14554
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agorealtek: enable in-band configuration of SFP port on ZyXEL XGS1250-12
Tobias Schramm [Mon, 25 Dec 2023 17:07:39 +0000 (18:07 +0100)]
realtek: enable in-band configuration of SFP port on ZyXEL XGS1250-12

The rtl93xx SoC supports both 1000Base-X and 10GBase-CR on its SerDes
interfaces. Enable dynamic switching between mac-signaled modes to
support 1000Base-X and 10GBase-CR on the SFP port.

Signed-off-by: Tobias Schramm <tobias@t-sys.eu>
9 months agorealtek: 5.15: rtl93xx: add 1000Base-X and 10GBase-CR support on SerDes
Tobias Schramm [Sun, 4 Feb 2024 15:28:07 +0000 (16:28 +0100)]
realtek: 5.15: rtl93xx: add 1000Base-X and 10GBase-CR support on SerDes

This patch adds support for 1000Base-X and 10GBase-CR directly on the
SerDes lanes of rtl93xx SoCs.
This fixes SFP/SFP+ support on devices like the XSG1250-12.

Signed-off-by: Tobias Schramm <tobias@t-sys.eu>
9 months agorealtek: 5.15: rtl930x: introduce SerDes mode macros
Tobias Schramm [Sun, 4 Feb 2024 14:55:01 +0000 (15:55 +0100)]
realtek: 5.15: rtl930x: introduce SerDes mode macros

Previously SerDes modes were specified ad-hoc in hex. Introduce and use
macros for SerDes modes.

Signed-off-by: Tobias Schramm <tobias@t-sys.eu>
9 months agorealtek: 5.15: rtl93xx: fix switch/case indentation
Tobias Schramm [Mon, 5 Feb 2024 19:31:59 +0000 (20:31 +0100)]
realtek: 5.15: rtl93xx: fix switch/case indentation

Small stylistic fixup, one switch case statement was incorrectly indented.

Signed-off-by: Tobias Schramm <tobias@t-sys.eu>
9 months agorealtek: 5.15: rtl93xx: remove unused SerDes mode selection
Tobias Schramm [Sun, 4 Feb 2024 14:15:49 +0000 (15:15 +0100)]
realtek: 5.15: rtl93xx: remove unused SerDes mode selection

rtl93xx_phylink_mac_config used to determine sds_mode without ever using
it. Drop that code.

Signed-off-by: Tobias Schramm <tobias@t-sys.eu>
9 months agorealtek: 5.15: rtl930x: fix SerDes phy register write
Tobias Schramm [Mon, 25 Dec 2023 16:50:26 +0000 (17:50 +0100)]
realtek: 5.15: rtl930x: fix SerDes phy register write

The indirect SerDes phy register write function was missing the actual
write call. Add it.

Signed-off-by: Tobias Schramm <tobias@t-sys.eu>
9 months agogeneric: 6.1: backport patch to enable PHYLIB_LEDS kconfig dynamically
Christian Marangi [Mon, 5 Feb 2024 16:54:18 +0000 (17:54 +0100)]
generic: 6.1: backport patch to enable PHYLIB_LEDS kconfig dynamically

Backport patch to enable PHYLIB_LEDS kconfig dynamically instead of
having to select this config for every target that makes use of PHY LEDs
API.

All affected patch are automatically refreshed.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agobcm27xx: refresh kernel configs
Álvaro Fernández Rojas [Mon, 5 Feb 2024 17:37:29 +0000 (18:37 +0100)]
bcm27xx: refresh kernel configs

Refresh outdated kernel configs.

Fixes: b76fcf1bbe1d ("bcm27xx: enable video symbols"
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 months agobcm27xx: bcm2712: switch default ASPM policy to Powersave
Marty Jones [Mon, 5 Feb 2024 16:08:02 +0000 (11:08 -0500)]
bcm27xx: bcm2712: switch default ASPM policy to Powersave

Fixes instability issues with NVMe drives on RPi 5

Signed-off-by: Marty Jones <mj8263788@gmail.com>
9 months agobcm27xx: add isp-bcm2835 kernel module
Álvaro Fernández Rojas [Sat, 27 Jan 2024 23:05:35 +0000 (00:05 +0100)]
bcm27xx: add isp-bcm2835 kernel module

kmod-isp-bcm2835 enables ISP HW on the Raspberry Pi.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 months agobcm27xx: add codec-bcm2835 kernel module
Álvaro Fernández Rojas [Sat, 27 Jan 2024 23:04:42 +0000 (00:04 +0100)]
bcm27xx: add codec-bcm2835 kernel module

kmod-codec-bcm2835 enables HW accelerated video decoding/encoding on the
Raspberry Pi.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 months agobcm27xx: enable video symbols
Álvaro Fernández Rojas [Sat, 27 Jan 2024 23:02:26 +0000 (00:02 +0100)]
bcm27xx: enable video symbols

CONFIG_MEDIA_CONTROLLER has to be enabled for Raspberry Pi V4L2 drivers.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 months agobcm27xx: camera-bcm2835: fix module autoload
Álvaro Fernández Rojas [Sat, 27 Jan 2024 22:56:45 +0000 (23:56 +0100)]
bcm27xx: camera-bcm2835: fix module autoload

camera-bcm2835 depends on video-videobuf2, which has 65 as load value.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 months agobcm27xx: video: remove disabled video symbols
Álvaro Fernández Rojas [Sat, 27 Jan 2024 22:55:21 +0000 (23:55 +0100)]
bcm27xx: video: remove disabled video symbols

These symbols are now in the generic 6.1 config.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 months agokernel: modules: video: add missing video-mem2mem symbol
Álvaro Fernández Rojas [Sat, 3 Feb 2024 11:03:56 +0000 (12:03 +0100)]
kernel: modules: video: add missing video-mem2mem symbol

v4l2-mem2mem.ko needs CONFIG_V4L2_MEM2MEM_DEV symbol.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 months agokernel: modules: video: add missing video-videobuf2 symbol
Álvaro Fernández Rojas [Sun, 4 Feb 2024 09:21:01 +0000 (10:21 +0100)]
kernel: modules: video: add missing video-videobuf2 symbol

videobuf2-v4l2.ko needs CONFIG_VIDEOBUF2_V4L2 symbol.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 months agokernel: modules: video: remove v4l2-common from video-core
Álvaro Fernández Rojas [Sun, 4 Feb 2024 09:18:05 +0000 (10:18 +0100)]
kernel: modules: video: remove v4l2-common from video-core

v4l2-common.ko was merged into videodev.ko and no longer exists.

Fixes: ac5671f46cb4 ("kernel: remove obsolete kernel version switches for 4.19")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 months agokernel: 6.1: add bcm27xx video symbols
Álvaro Fernández Rojas [Sat, 27 Jan 2024 22:53:18 +0000 (23:53 +0100)]
kernel: 6.1: add bcm27xx video symbols

Add missing Raspberry Pi video symbols.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 months agoqualcommax: enable PHYLIB LED support
Robert Marko [Mon, 5 Feb 2024 14:06:06 +0000 (15:06 +0100)]
qualcommax: enable PHYLIB LED support

CONFIG_PHYLIB_LEDS is required in order for phylib to probe the DT for LEDs
attached to PHY-s.

Fixes: 75ad5c2 ("qualcommax: switch to qca8081 upstream PHY driver")
Signed-off-by: Robert Marko <robimarko@gmail.com>
9 months agowireless-regdb: update to 2024.01.23
Yuu Toriyama [Sat, 3 Feb 2024 19:09:14 +0000 (04:09 +0900)]
wireless-regdb: update to 2024.01.23

The maintainer and repository of wireless-regdb has changed.
    https://lore.kernel.org/all/CAGb2v657baNMPKU3QADijx7hZa=GUcSv2LEDdn6N=QQaFX8r-g@mail.gmail.com/

Changes:
    37dcea0 wireless-regdb: Update keys and maintainer information
    9e0aee6 wireless-regdb: Makefile: Reproducible signatures
    8c784a1 wireless-regdb: Update regulatory rules for China (CN)
    149c709 wireless-regdb: Update regulatory rules for Japan (JP) for December 2023
    bd69898 wireless-regdb: Update regulatory rules for Singapore (SG) for September 2023
    d695bf2 wireless-regdb: Update and disable 5470-5730MHz band according to TPC requirement for Singapore (SG)
    4541300 wireless-regdb: update regulatory database based on preceding changes

Signed-off-by: Yuu Toriyama <PascalCoffeeLake@gmail.com>
9 months agorealtek: fix zyxel-vers usage for XGS1250-12
Stijn Segers [Sun, 4 Feb 2024 12:20:32 +0000 (13:20 +0100)]
realtek: fix zyxel-vers usage for XGS1250-12

Commit daefc646e6d4 ("realtek: fix ZyXEL initramfs image generation")
fixed a shell expansion issue with zyxel-vers usage. Commit 045baca10b15
("realtek: deduplicate GS1900 recipes") took care of this for the
rtl838x and rtl839x subtargets, but the single device officially
supported in rtl930x - the XGS1250-12 - was overlooked. This commit
updates the XGS1250-12 build recipe as well.

Signed-off-by: Stijn Segers <foss@volatilesystems.org>
9 months agogeneric: 6.1: add even more missing Kconfig for video-core
Christian Marangi [Sun, 4 Feb 2024 00:12:51 +0000 (01:12 +0100)]
generic: 6.1: add even more missing Kconfig for video-core

Add even more missing Kconfig for video-core introduced by recent fixup
to video kmods.

Fixes: 76b0d24157f2 ("kernel: modules: video: fix video-core for 6.1")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agogeneric: 6.1: add patch fixing bugs with LED netdev trigger
Christian Marangi [Sat, 3 Feb 2024 23:58:15 +0000 (00:58 +0100)]
generic: 6.1: add patch fixing bugs with LED netdev trigger

Backport one patch merged upstream that prevent a deadlock for LED
netdev trigger and add a pending patch that fix kernel panic on
interface rename trigger notification with invalid dev.

Fixes: #14477
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agogeneric: 6.1: add missing Kconfig for video-core
Christian Marangi [Sat, 3 Feb 2024 20:42:21 +0000 (21:42 +0100)]
generic: 6.1: add missing Kconfig for video-core

Add missing Kconfig for video-core introduced by recent fixup to video
kmods.

Fixes: 76b0d24157f2 ("kernel: modules: video: fix video-core for 6.1")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agogeneric: 6.1: replace ipq40xx MDIO patch with upstream version
Christian Marangi [Sat, 3 Feb 2024 20:26:32 +0000 (21:26 +0100)]
generic: 6.1: replace ipq40xx MDIO patch with upstream version

Replace ipq40xx MDIO patch with upstream version now that the driver
part got merged upstream.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agogeneric: 6.1: backport LED fixes for qca808x PHY
Christian Marangi [Sat, 3 Feb 2024 20:18:23 +0000 (21:18 +0100)]
generic: 6.1: backport LED fixes for qca808x PHY

Backport LED fixes for qca808x PHY to restore correct functionality.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 months agomt76: update to Git HEAD (2024-02-03)
Felix Fietkau [Sat, 3 Feb 2024 15:17:06 +0000 (16:17 +0100)]
mt76: update to Git HEAD (2024-02-03)

a9693e1979c2 linux-firmware: add firmware for MT7996
0258dc90e3a1 wifi: mt76: mt7603: fix reading target power from eeprom
3e81173d9e2b wifi: mt76: mt7603: initialize chainmask
786a339bac36 wifi: mt76: mt7996: fix fortify warning
bc37a7ebc267 wifi: mt76: mt7996: fix fw loading timeout
027bab6a88a3 wifi: mt76: usb: create a dedicated queue for psd traffic
e8909c610c3b wifi: mt76: usb: store usb endpoint in mt76_queue
8b3d96fa4ead wifi: mt76: mt792xu: enable dmashdl support
7864d7ad0ed0 wifi: mt76: mt76x2u: add netgear wdna3100v3 to device table
27c81f7c1480 wifi: mt76: mt7925: fix connect to 80211b mode fail in 2Ghz band
b7443c63069a wifi: mt76: mt7925: fix SAP no beacon issue in 5Ghz and 6Ghz band
bab721a65f5a wifi: mt76: mt7925: fix mcu query command fail
1f0f71ed81e8 wifi: mt76: mt7925: fix wmm queue mapping
bcfe2ad966f3 wifi: mt76: mt7925: fix fw download fail
f982c3d67a29 wifi: mt76: mt7925: fix WoW failed in encrypted mode
6a72716ec213 wifi: mt76: mt7925: fix the wrong header translation config
50928b7e1359 wifi: mt76: mt7925: add flow to avoid chip bt function fail
762ab4530e8f wifi: mt76: mt7925: add support to set ifs time by mcu command
87deaf82efa4 wifi: mt76: mt7925: update PCIe DMA settings
c190c1576522 wifi: mt76: mt7925: support temperature sensor
025d5734caba wifi: mt76: mt7996: check txs format before getting skb by pid
4768bfa2baca wifi: mt76: mt7996: fix TWT issues
a65e3eced907 wifi: mt76: mt7996: disable AMSDU for non-data frames
d71716d93aee wifi: mt76: mt7996: fix incorrect interpretation of EHT MCS caps
f21728f3f4bd wifi: mt76: mt7996: ensure 4-byte alignment for beacon commands
68dad7dacd2a wifi: mt76: mt7996: fix HE beamformer phy cap for station vif
66a28f340cdc wifi: mt76: mt7996: mark GCMP IGTK unsupported
b47ad8a7764e wifi: mt76: mt7996: fix efuse reading issue
c2fc7dae7b72 wifi: mt76: mt7996: remove TXS queue setting
e0f1ed168ed5 wifi: mt76: mt7996: add locking for accessing mapped registers
d0cc92c1fd08 wifi: mt76: connac: set correct muar_idx for mt799x chipsets
ae0c62279adc wifi: mt76: mt7996: fix HIF_TXD_V2_1 value
ecc14276af54 wifi: mt76: mt792x: fix ethtool warning
9827df56b241 wifi: mt76: move wed common utilities in wed.c
dccbd2598505 wifi: mt76: mt7925: fix the wrong data type for scan command
9907f4f20261 wifi: mt76: mt792x: add the illegal value check for mtcl table of acpi
1b088a7ac06d wifi: mt76: mt7921e: fix use-after-free in free_irq()
f3c5b4820d7f wifi: mt76: mt7925e: fix use-after-free in free_irq()
d75eac9f5531 wifi: mt76: mt7921: fix incorrect type conversion for CLC command
7bd5401f5bb1 wifi: mt76: mt792x: fix a potential loading failure of the 6Ghz channel config from ACPI
ea55196bc4a0 wifi: mt76: mt792x: update the country list of EU for ACPI SAR
6124ea9135ed wifi: mt76: mt7921: fix the unfinished command of regd_notifier before suspend

Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 months agobroadcom-wl: remove package
Felix Fietkau [Fri, 26 Jan 2024 19:16:32 +0000 (20:16 +0100)]
broadcom-wl: remove package

Also remove remaining wireless extension support, since this package
was the only in-tree user of it

Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 months agowifi-scripts: add script to add phy capabilities to board.json
Felix Fietkau [Fri, 26 Jan 2024 13:36:44 +0000 (14:36 +0100)]
wifi-scripts: add script to add phy capabilities to board.json

Useful for UI and config generators. Will be used as intermediate
step for generating the default wifi configuration

Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 months agowifi-scripts: add new package, move wifi scripts to a single place
Felix Fietkau [Fri, 26 Jan 2024 10:03:39 +0000 (11:03 +0100)]
wifi-scripts: add new package, move wifi scripts to a single place

Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 months agomalta: Remove kernel 5.15 configuration
Hauke Mehrtens [Fri, 2 Feb 2024 13:02:51 +0000 (14:02 +0100)]
malta: Remove kernel 5.15 configuration

Malta is using kernel 6.1 by default now, remove configuration for
kernel 5.15.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
9 months agomalta: Use kernel 6.1 by default
Hauke Mehrtens [Fri, 2 Feb 2024 13:01:46 +0000 (14:01 +0100)]
malta: Use kernel 6.1 by default

All 4 subtargets are compiling fine and booting up in qemu.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
9 months agotools/ccache: update to 4.9
Nick Hainke [Fri, 2 Feb 2024 12:34:24 +0000 (13:34 +0100)]
tools/ccache: update to 4.9

Release Notes:
https://ccache.dev/releasenotes.html#_ccache_4_9

Manually refresh patch:
- 100-honour-copts.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
9 months agokernel: modules: video: fix video-coda for 6.1
Tim Harvey [Thu, 18 Jan 2024 22:50:00 +0000 (14:50 -0800)]
kernel: modules: video: fix video-coda for 6.1

The coda kernel modules were moved between 5.15 and 6.1.
Adapt the coda-vpu and imx-vdoa modules for that.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
9 months agokernel: modules: video: fix drm-imx for 6.1
Tim Harvey [Thu, 18 Jan 2024 22:40:34 +0000 (14:40 -0800)]
kernel: modules: video: fix drm-imx for 6.1

Linux 6.1 changed DRM_GEM_DMA_HELPER to a module (drm_dma_helper.ko).

Add this to the drm-imx to fix module dependencies.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
9 months agokernel: modules: video: fix kmod-imx-pxp build for 6.1
Lech Perczak [Thu, 11 Jan 2024 21:45:05 +0000 (22:45 +0100)]
kernel: modules: video: fix kmod-imx-pxp build for 6.1

Location of the module file was changed between 5.15 and 6.1. Adapt the
recipe for that.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
9 months agokernel: modules: video: fix video-core for 6.1
Tim Harvey [Thu, 18 Jan 2024 19:19:30 +0000 (11:19 -0800)]
kernel: modules: video: fix video-core for 6.1

Linux 6.1 wraps core video drivers in a MEDIA_PLATFORM_DRIVERS submenu.
Enable that for 6.1 and add some new necessary undefines to
target/linux/generic/config-6.1 to avoid build failures.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
9 months agokernel: modules: video: fix kmod-video-imx-ldb build under 6.1
Lech Perczak [Thu, 11 Jan 2024 22:04:07 +0000 (23:04 +0100)]
kernel: modules: video: fix kmod-video-imx-ldb build under 6.1

drm_dp_aux_bus.ko isn't built or required anymore under kernel 6.1. Mark
that in the recipe.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
9 months agokernel: modules: video: fix deps for kmod-drm-imx-hdmi for 6.1
Lech Perczak [Thu, 11 Jan 2024 21:13:47 +0000 (22:13 +0100)]
kernel: modules: video: fix deps for kmod-drm-imx-hdmi for 6.1

kmod-drm-imx-hdmi depends on kmod-drm-display-helper since 6.1. Include
that in OpenWrt's recipes.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
9 months agoimx: 6.1: refresh remaining patches
Lech Perczak [Thu, 11 Jan 2024 20:58:49 +0000 (21:58 +0100)]
imx: 6.1: refresh remaining patches

Only the Apalis Ixora actually required manual touchups.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
9 months agoimx: add 6.1 kernel as testing
Tim Harvey [Mon, 8 Jan 2024 21:25:39 +0000 (13:25 -0800)]
imx: add 6.1 kernel as testing

allow to test 6.1 kernel for imx

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
9 months agoimx: 6.1: refresh kernel config
Tim Harvey [Mon, 8 Jan 2024 21:25:38 +0000 (13:25 -0800)]
imx: 6.1: refresh kernel config

done via 'make kernel_oldconfig' followed by adding missing symbols
required for 6.1

Signed-off-by: Tim Harvey <tharvey@gateworks.com>