Felix Fietkau [Wed, 2 Apr 2025 10:54:35 +0000 (12:54 +0200)]
netifd: update to Git mlo (2025-04-02)
3b100d242223 CMakeLists.txt: bump minimum required version
a213d30b1856 scripts: fix dummy mode on systems where libubox is in /usr/local
0c96e7aab6ac update example mac80211 script and wireless config
43cadb39b5e7 wireless: replace with ucode scripts
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Wed, 2 Apr 2025 07:43:20 +0000 (09:43 +0200)]
ucode: add pending patches
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Wed, 4 Dec 2024 10:58:39 +0000 (11:58 +0100)]
mac80211: add WIFI_SCRIPTS_UCODE to PKG_CONFIG_DEPENDS
It affects package depdendencies
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Thu, 4 Apr 2024 12:37:23 +0000 (14:37 +0200)]
hostapd: add AFC support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Tue, 16 Aug 2022 17:35:50 +0000 (19:35 +0200)]
gcc/binutils: disable sysv style hash tables for generated binaries
GNU hash tables are always preferred by musl, so the sysv ones are completely
unused and only waste space. Reduces image size by ~1.4%
Signed-off-by: Felix Fietkau <nbd@nbd.name>
John Crispin [Fri, 7 Jan 2022 09:58:08 +0000 (10:58 +0100)]
ramips: add support for actiontec web7200
Signed-off-by: John Crispin <john@phrozen.org>
Felix Fietkau [Tue, 12 Jan 2021 13:20:05 +0000 (14:20 +0100)]
ramips: add work-in-progress support for D-Link DIR-X1860
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 5 May 2025 11:55:42 +0000 (13:55 +0200)]
unetmsg: add subscriber update callback to notify about publish events
When services start publishing on a topic, this can be used to allow
subscribers to query them.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 5 May 2025 09:38:59 +0000 (11:38 +0200)]
unetmsg: fix issuing requests without previously subscribing
Perform ACL check if not subscribed. Helps with one-shot requests.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 5 May 2025 09:37:39 +0000 (11:37 +0200)]
gdb: update to version 16.2
Sync with toolchain/gdb version
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 5 May 2025 09:37:14 +0000 (11:37 +0200)]
musl: add pending patch to fix CFI annotations
Fixes debugging at least on aarch64, possibly others.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 5 May 2025 07:58:01 +0000 (09:58 +0200)]
libubox: update to Git HEAD (2024-12-19)
3868f47c8f6c blob: constify attr argument to blob_memdup
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Jonas Gorski [Sun, 4 May 2025 14:40:11 +0000 (16:40 +0200)]
kernel: iio: iio-core: update dependencies for 6.12
With kernel 6.11 iio-core gained a dependency to DMA_SHARED_BUFFER,
so add the appropriate dependency.
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Jonas Gorski [Sun, 4 May 2025 14:32:38 +0000 (16:32 +0200)]
kernel: bluetooth: btmtk: update dependencies for 6.12
With kernel 6.11 several mtk usb functions were moved from btusb to
btmtk, adding a usb core depdendency to btmtk (if enabled).
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Nick Hainke [Sun, 4 May 2025 20:38:10 +0000 (22:38 +0200)]
tools/b43-tools: update to latest version, fix C23 build
Update b43-tools to the latest upstream version to fix a
compilation error with C23:
util.h:25:15: error: 'bool' cannot be defined via 'typedef'
25 | typedef _Bool bool;
| ^~~~
Changelog:
c6fc53f replace custom bool typedef with <stdbool.h>
dadf30c fix format warning in compilation
2fe10ea b43-fwdump: Fix forwarding of arguments to disassembler
Link: https://github.com/openwrt/openwrt/pull/18708
Signed-off-by: Nick Hainke <vincent@systemli.org>
Mieczyslaw Nalewaj [Sat, 3 May 2025 11:44:04 +0000 (13:44 +0200)]
kernel: bump 6.12 to 6.12.26
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.26
All patches automatically rebased.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18695
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Robert Marko [Sat, 3 May 2025 22:06:28 +0000 (00:06 +0200)]
libiconv-full: update to 1.18
libiconv 1.17 fails to compile with GCC15 when doing the host build,
luckily version 1.18 already contains the fixes required so update to it.
New in 1.18:
* Many more transliterations, in particular also of Emoji characters.
* The iconv_open function is now POSIX:2024 compliant: it recognizes a
suffix //NON_IDENTICAL_DISCARD in the 'tocode' argument, with the effect
that characters that cannot be represented in the target character set
will be silently discarded. Whereas the suffix //IGNORE in the 'tocode'
argument has the effect of discarding not only characters that cannot be
represented in the target character set, but also invalid multibyte
sequences in the input.
Accordingly, the iconvctl function accepts requests
ICONV_GET_DISCARD_INVALID, ICONV_SET_DISCARD_INVALID,
ICONV_GET_DISCARD_NON_IDENTICAL, ICONV_SET_DISCARD_NON_IDENTICAL.
* The iconv_open function and the iconv program now support multiple suffixes,
such as //TRANSLIT//IGNORE, not only one.
* GB18030 is now an alias for GB18030:2005. A new converter for GB18030:2022
is added. Since this encoding merely cleans up a few private-use-area
mappings, you can continue to use the GB18030 converter, for backward
compatibility. Its Unicode to GB18030 conversion direction has been
enhanced, to help transitioning away from PUA code points.
* When converting from/to an EBCDIC encoding, a non-standard way of
converting newlines can be requested
- at the C level, by calling iconvctl with argument ICONV_SET_FROM_SURFACE
or ICONV_SET_TO_SURFACE, or
- from the iconv program, by setting the environment variable
ICONV_EBCDIC_ZOS_UNIX to a non-empty value.
* Special support for z/OS: The iconv program adds a charset metadata tag to
its output file. (Contributed by Mike Fulton.)
* For conversions from UCS-2, UCS-4, UTF-16, UTF-32, invoking
iconv(cd,NULL,NULL,...) now preserves the byte order state.
Link: https://github.com/openwrt/openwrt/pull/18698
Signed-off-by: Robert Marko <robimarko@gmail.com>
Robert Marko [Sat, 3 May 2025 21:56:04 +0000 (23:56 +0200)]
libiconv-full: drop patch-libtool fixup
It seems that this was required many years ago (It was added in 2012),
probably due to relying on outdated or broken libtool versions, but 1.17
uses libtool 2.4.7.
After trying building both host and target libiconv versions on Fedora and
MacOS I cannot seem to find what patch-libtool is supposed to fixup.
So, I can only presume that it is completely uneeded these days and can
be dropped.
Link: https://github.com/openwrt/openwrt/pull/18698
Signed-off-by: Robert Marko <robimarko@gmail.com>
Konstantin Demin [Fri, 2 May 2025 20:47:01 +0000 (23:47 +0300)]
tools: add options to optimize host binaries
Mains goals are:
- reduce binary size of host tools;
- reduce i/o load on build host;
- increase performance of host tools being built.
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18659
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Zoltan HERPAI [Sat, 3 May 2025 20:51:18 +0000 (20:51 +0000)]
dns320l-mcu: fix compilation with GCC14
Bump version to fix compiling with GCC14.
This fixes the following compile problem:
```
dns320l-daemon.c: In function 'main':
dns320l-daemon.c:740:18: error: implicit declaration of function 'isprint' [-Wimplicit-function-declaration]
740 | else if (isprint (optopt))
| ^~~~~~~
dns320l-daemon.c:50:1: note: include '<ctype.h>' or provide a declaration of 'isprint'
49 | #include "dns320l-daemon.h"
+++ |+#include <ctype.h>
50 |
dns320l-daemon.c:799:5: error: implicit declaration of function 'umask' [-Wimplicit-function-declaration]
799 | umask(0);
| ^~~~~
dns320l-daemon.c:864:5: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch]
864 | return;
| ^~~~~~
dns320l-daemon.c:691:5: note: declared here
691 | int main(int argc, char *argv[])
| ^~~~
```
Link: https://github.com/openwrt/openwrt/pull/18688
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Robert Marko [Wed, 30 Apr 2025 18:40:44 +0000 (20:40 +0200)]
tools: libtool: update to 2.5.4
Update libtool to the current stable 2.5.4 release.
130-trailingslash.patch was upstream, 100 and 110 patches were
manually refreshed while rest was automatically refreshed via quilt.
Link: https://github.com/openwrt/openwrt/pull/18655
Signed-off-by: Robert Marko <robimarko@gmail.com>
Stijn Tintel [Thu, 1 May 2025 22:46:25 +0000 (01:46 +0300)]
realtek: add missing symbol
Commit
d7e82c78d7a2 added a generic kernel patch that exposes a new
symbol REALTEK_PHY_HWMON when REALTEK_PHY and HWMON are enabled. The new
symbol was added to kmod-phy-realtek, but the kmod is not used in the
realtek target.
Fixes: d7e82c78d7a2 ("generic: backport Realtek PHY patches from upstream")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Hauke Mehrtens [Fri, 2 May 2025 22:38:31 +0000 (00:38 +0200)]
toolchain: gcc: Backport patch to fix mips16 linking
Backport patch from upstream GCC 14 branch which fixes linking with
MIPS16 on the pistachio target.
This fixes the following link problem:
```
/builder/shared-workdir/build/staging_dir/toolchain-mipsel_24kc+24kf_gcc-14.2.0_musl/lib/gcc/mipsel-openwrt-linux-musl/14.2.0/../../../../mipsel-openwrt-linux-musl/bin/ld.bfd: ./liblua.so: undefined reference to `__mips16_ledf2'
/builder/shared-workdir/build/staging_dir/toolchain-mipsel_24kc+24kf_gcc-14.2.0_musl/lib/gcc/mipsel-openwrt-linux-musl/14.2.0/../../../../mipsel-openwrt-linux-musl/bin/ld.bfd: ./liblua.so: undefined reference to `__mips16_call_stub_df_2'
/builder/shared-workdir/build/staging_dir/toolchain-mipsel_24kc+24kf_gcc-14.2.0_musl/lib/gcc/mipsel-openwrt-linux-musl/14.2.0/../../../../mipsel-openwrt-linux-musl/bin/ld.bfd: ./liblua.so: undefined reference to `__mips16_muldf3'
```
Link: https://github.com/openwrt/openwrt/pull/18688
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 2 May 2025 22:45:51 +0000 (00:45 +0200)]
toolchain: gcc: Refresh patches
Refresh all GCC patches.
Link: https://github.com/openwrt/openwrt/pull/18688
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 2 May 2025 23:12:59 +0000 (01:12 +0200)]
dns320l-mcu: Fix compilation with GCC 14
This fixes the following compile problem:
```
dns320l-daemon.c: In function 'main':
dns320l-daemon.c:740:18: error: implicit declaration of function 'isprint' [-Wimplicit-function-declaration]
740 | else if (isprint (optopt))
| ^~~~~~~
dns320l-daemon.c:50:1: note: include '<ctype.h>' or provide a declaration of 'isprint'
49 | #include "dns320l-daemon.h"
+++ |+#include <ctype.h>
50 |
dns320l-daemon.c:799:5: error: implicit declaration of function 'umask' [-Wimplicit-function-declaration]
799 | umask(0);
| ^~~~~
dns320l-daemon.c:864:5: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch]
864 | return;
| ^~~~~~
dns320l-daemon.c:691:5: note: declared here
691 | int main(int argc, char *argv[])
| ^~~~
```
Link: https://github.com/openwrt/openwrt/pull/18688
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 2 May 2025 22:29:39 +0000 (00:29 +0200)]
boot-lantiq: Fix compilation with GCC 14
This fixes the following compile problem:
```
arv7506pw11.c: In function 'show_boot_progress':
arv7506pw11.c:59:24: error: 'return' with a value, in function returning void [-Wreturn-mismatch]
59 | return 0;
| ^
arv7506pw11.c:56:6: note: declared here
56 | void show_boot_progress(int arg)
| ^~~~~~~~~~~~~~~~~~
arv7506pw11.c:71:16: error: 'return' with a value, in function returning void [-Wreturn-mismatch]
71 | return 0;
| ^
arv7506pw11.c:56:6: note: declared here
56 | void show_boot_progress(int arg)
| ^~~~~~~~~~~~~~~~~~
```
Link: https://github.com/openwrt/openwrt/pull/18688
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 2 May 2025 21:42:29 +0000 (23:42 +0200)]
ltq-adsl-app: Fix compilation with GCC 14
This fixes the following compile problem:
```
checking for asm/types.h... dsl_cpe_linux.c: In function 'DSL_CPE_ThreadInit':
dsl_cpe_linux.c:779:25: error: assignment to 'DSL_CPE_Thread_t' {aka 'int'} from 'pthread_t' {aka 'struct __pthread *'} makes integer from pointer without a cast [-Wint-conversion]
779 | pThrCntrl->tid = tid;
| ^
dsl_cpe_linux.c: In function 'DSL_CPE_ThreadDelete':
dsl_cpe_linux.c:862:44: error: passing argument 1 of 'pthread_cancel' makes pointer from integer without a cast [-Wint-conversion]
862 | switch(pthread_cancel(pThrCntrl->tid))
| ~~~~~~~~~^~~~~
| |
| DSL_CPE_Thread_t {aka int}
In file included from dsl_cpe_linux.h:35:
/builder/shared-workdir/build/staging_dir/toolchain-mips_mips32_gcc-14.2.0_musl/include/pthread.h:98:20: note: expected 'pthread_t' {aka 'struct __pthread *'} but argument is of type 'DSL_CPE_Thread_t' {aka 'int'}
98 | int pthread_cancel(pthread_t);
| ^~~~~~~~~
dsl_cpe_linux.c: In function 'DSL_CPE_ThreadIdGet':
dsl_cpe_linux.c:1123:11: error: returning 'pthread_t' {aka 'struct __pthread *'} from a function with return type 'DSL_CPE_Thread_t' {aka 'int'} makes integer from pointer without a cast [-Wint-conversion]
1123 | return pthread_self();
| ^~~~~~~~~~~~~~
```
While at it, fix also some additional build warnings.
Link: https://github.com/openwrt/openwrt/pull/18688
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Rosen Penev [Thu, 1 May 2025 01:12:48 +0000 (18:12 -0700)]
ramips: i2s: use devm for debugfs seqfile
Avoids some pointless boilerplate.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18675
Signed-off-by: Robert Marko <robimarko@gmail.com>
Rosen Penev [Thu, 1 May 2025 20:10:54 +0000 (13:10 -0700)]
ramips: i2s: replace spaces with tabs
This seems to be some manual patch editing or rebasing bug.
Found with grep ' '.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18675
Signed-off-by: Robert Marko <robimarko@gmail.com>
Shiji Yang [Wed, 30 Apr 2025 19:20:55 +0000 (03:20 +0800)]
mac80211: ath9k: fix missing prototypes warnings
Fix following warnings by including the corresponding headers:
backports-6.12.6/drivers/net/wireless/ath/ath9k/hsr.c:50:6: error: no previous prototype for 'ath9k_hsr_init' [-Werror=missing-prototypes]
50 | void ath9k_hsr_init(struct ath_hw *ah)
| ^~~~~~~~~~~~~~
backports-6.12.6/drivers/net/wireless/ath/ath9k/hsr.c:165:5: error: no previous prototype for 'ath9k_hsr_disable' [-Werror=missing-prototypes]
165 | int ath9k_hsr_disable(struct ath_hw *ah)
| ^~~~~~~~~~~~~~~~~
backports-6.12.6/drivers/net/wireless/ath/ath9k/hsr.c:177:5: error: no previous prototype for 'ath9k_hsr_enable' [-Werror=missing-prototypes]
177 | int ath9k_hsr_enable(struct ath_hw *ah, int bw, int fq)
| ^~~~~~~~~~~~~~~~
backports-6.12.6/drivers/net/wireless/ath/ath9k/hsr.c:234:5: error: no previous prototype for 'ath9k_hsr_status' [-Werror=missing-prototypes]
234 | int ath9k_hsr_status(struct ath_hw *ah)
| ^~~~~~~~~~~~~~~~
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18637
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Shiji Yang [Mon, 28 Apr 2025 16:01:42 +0000 (00:01 +0800)]
rtl8812au-ct: fix build issue on 6.12 kernel
Update USB shutdown callback for the 6.12 kernel. A sprintf
overlaps issue is also fixed in this patch. Unfortunately,
there are dozens of missing-prototypes warnings so it's hard
to fix them one by one. Let's just silence them.
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18637
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Shiji Yang [Mon, 28 Apr 2025 15:48:12 +0000 (23:48 +0800)]
ath10k-ct: fix build warnings on 6.12 kernel
This patch fixes a lot of missing-prototypes warnings for the
upcoming 6.12 kernel.
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18637
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Shiji Yang [Mon, 28 Apr 2025 14:24:45 +0000 (22:24 +0800)]
mt76: fix build error on 6.12 kernel
Convert platform driver .remove to .remove_new to fix the
incompatible pointer type error on 6.12 kernel.
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18637
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Shiji Yang [Mon, 28 Apr 2025 14:15:51 +0000 (22:15 +0800)]
mac80211: fix unaligned.h header location for 6.12 kernel
Fix mt76 build error on 6.12 kernel:
In file included from /workspaces/openwrt/build_dir/target-x86_64_musl/linux-x86_64/mt76-2025.04.11~
be28ef77/mt76x0/eeprom.c:13:
/workspaces/openwrt/staging_dir/target-x86_64_musl/usr/include/mac80211-backport/asm/unaligned.h:3:15: fatal error: asm/unaligned.h: No such file or directory
3 | #include_next <asm/unaligned.h>
| ^~~~~~~~~~~~~~~~~
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18637
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Shiji Yang [Mon, 28 Apr 2025 13:16:08 +0000 (21:16 +0800)]
mac80211: rt2x00: fix build warnings on 6.12 kernel
Move rt2x00lib_read_eeprom() function prototype from rt2800lib.h to
rt2x00.h and make rt6352_enable_pa_pin() static to fix the missing
prototypes warnings:
/workspaces/openwrt/build_dir/target-x86_64_musl/linux-x86_64/mac80211-regular/backports-6.12.6/drivers/net/wireless/ralink/rt2x00/rt2x00eeprom.c:213:5: error: no previous prototype for 'rt2x00lib_read_eeprom' [-Werror=missing-prototypes]
213 | int rt2x00lib_read_eeprom(struct rt2x00_dev *rt2x00dev)
| ^~~~~~~~~~~~~~~~~~~~~
/workspaces/openwrt/build_dir/target-x86_64_musl/linux-x86_64/mac80211-regular/backports-6.12.6/drivers/net/wireless/ralink/rt2x00/rt2800lib.c:308:6: error: no previous prototype for 'rt6352_enable_pa_pin' [-Werror=missing-prototypes]
308 | void rt6352_enable_pa_pin(struct rt2x00_dev *rt2x00dev, int enable)
| ^~~~~~~~~~~~~~~~~~~~
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18637
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Shiji Yang [Mon, 28 Apr 2025 10:14:09 +0000 (18:14 +0800)]
kernel: trelay: fix build warning on 6.12 kernel
Make trelay_handle_frame() static to fix the build warning:
/workspaces/openwrt/build_dir/target-x86_64_musl/linux-x86_64/trelay/trelay.c:38:21: error: no previous prototype for 'trelay_handle_frame' [-Werror=missing-prototypes]
38 | rx_handler_result_t trelay_handle_frame(struct sk_buff **pskb)
| ^~~~~~~~~~~~~~~~~~~
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18637
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Thomas Richard [Mon, 28 Apr 2025 12:52:26 +0000 (14:52 +0200)]
arm-trusted-firmware-stm32: rework patch for the RTC configuration
A patch was added upstream to temporary enable RTC clock configuration only
for STM32MP15 boards. Use this patch instead of reverting commit
03a581e2.
Now for STM32MP135 boards RTC clock configuration is handled by optee-os.
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/18628
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Thomas Richard [Mon, 28 Apr 2025 12:50:00 +0000 (14:50 +0200)]
optee-os-stm32: bump to 4.6.0
Bump optee-os-stm32 to upstream release 4.6.0.
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/18628
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Thomas Richard [Mon, 28 Apr 2025 12:48:27 +0000 (14:48 +0200)]
uboot-stm32: bump to 2025.04
Bump uboot-stm32 to upstream release 2025.04.
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/18628
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
John Audia [Fri, 2 May 2025 16:44:01 +0000 (12:44 -0400)]
kernel: bump 6.6 to 6.6.89
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.89
All patches automatically rebased.
Build system: x86/64
Build-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Run-tested: 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/18607
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Mieczyslaw Nalewaj [Wed, 30 Apr 2025 11:22:33 +0000 (13:22 +0200)]
kernel: bump 6.6 to 6.6.88
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.88
Manually rebased:
- bcm27xx/patches-6.6/950-0327-media-i2c-ov7251-Make-the-enable-GPIO-optional.patch[1]
- bcm27xx/patches-6.6/950-0521-PCI-brcmstb-Add-BCM2712-support.patch[2]
- generic/hack-6.6/610-net-page_pool-try-to-free-deferred-skbs-while-waitin.patch[3]
- generic/pending-6.6/734-net-ethernet-mediatek-enlarge-DMA-reserve-buffer.patch[4]
All other patches automatically rebased.
1. https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.88&id=
f249c05416ea0bef24c9dbed0e653d2fad87b127
2. https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.88&id=
1fea7726276e5d6526ecd4e7ccb4c91a6135deb5
3. https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.88&id=
95f17738b86fd198924d874a5639bcdc49c7e5b8
4. https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.88&id=
a2874f0dff63829d1f540003e2d83adb610ee64a
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18607
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Zoltan HERPAI [Fri, 2 May 2025 20:46:53 +0000 (22:46 +0200)]
uboot-sifiveu: drop PWM-related patches
These are dropped from later SDK releases, and don't compile
with the recent GCC14 updates as well.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Robert Marko [Fri, 2 May 2025 17:30:47 +0000 (19:30 +0200)]
Revert "toolchain: gcc: make config consistent with glibc/musl"
This reverts commit
57841c83d9c1503a19212766639d17ae5019bb8c.
This is completely breaking the inital GCC configuration and most likely
was not even compile tested, so revert until fixed.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Robert Marko [Fri, 2 May 2025 17:18:38 +0000 (19:18 +0200)]
Revert "kernel: netdevices: Create Vitesse DSA switch packages"
This reverts commit
5687f448a411a570b7d8558b08a132938f3de0f5.
This unfortunately is currently breaking all targets during building
as in 6.6 kernel there is
no CONFIG_NET_DSA_TAG_VSC73XX_8021Q, it was added in 6.11 AFAIK.
So they will all fail due to $(LINUX_DIR)/net/dsa/tag_vsc73xx_8021q.ko missing.
So revert until kmod is fixed.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Robert Marko [Fri, 2 May 2025 17:17:53 +0000 (19:17 +0200)]
Revert "gemini: Add module for VSC73xx switches"
This reverts commit
1c993da8ff2ee9ed33af23657ef6c3d45d19ed2f.
VSC kmod is broken and is causing all targets to fail compiling so revert.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Robert Marko [Thu, 1 May 2025 19:26:27 +0000 (21:26 +0200)]
policycoreutils: update to 3.8.1 and fix build with GCC14
Update policycoreutils to latest 3.8.1 release and add a fix for building
with GCC14 and musl.
Fix will be sent upstream.
Link: https://github.com/openwrt/openwrt/pull/18674
Signed-off-by: Robert Marko <robimarko@gmail.com>
Robert Marko [Thu, 1 May 2025 19:25:14 +0000 (21:25 +0200)]
libsemanage: update to 3.8.1 and fix build with GCC14
Update libsemanage to latest 3.8.1 release and add an upstream backport[1]
that fixes compilation with GCC14 due to basename.
[1] https://github.com/SELinuxProject/selinux/commit/
a339594da6f027aed5d66ec6798a3d732df235e4
Link: https://github.com/openwrt/openwrt/pull/18674
Signed-off-by: Robert Marko <robimarko@gmail.com>
Robert Marko [Thu, 1 May 2025 19:24:46 +0000 (21:24 +0200)]
secilc: update to 3.8.1
Update secilc to latest 3.8.1 release.
Link: https://github.com/openwrt/openwrt/pull/18674
Signed-off-by: Robert Marko <robimarko@gmail.com>
Robert Marko [Thu, 1 May 2025 19:24:26 +0000 (21:24 +0200)]
checkpolicy: update to 3.8.1
Update checkpolicy to latest 3.8.1 release.
Link: https://github.com/openwrt/openwrt/pull/18674
Signed-off-by: Robert Marko <robimarko@gmail.com>
Robert Marko [Thu, 1 May 2025 19:23:59 +0000 (21:23 +0200)]
libsepol: update to 3.8.1
Update libsepol to latest 3.8.1 release.
Link: https://github.com/openwrt/openwrt/pull/18674
Signed-off-by: Robert Marko <robimarko@gmail.com>
Robert Marko [Thu, 1 May 2025 19:23:33 +0000 (21:23 +0200)]
libselinux: update to 3.8.1
Update libselinux to latest 3.8.1 release.
In order to keep building on 32-bit targets with musl, one backport[1]
and one patch pending[2] upstream are required.
[1] https://github.com/SELinuxProject/selinux/commit/
5c3fcbd931b7f9752b5ce29cec3b6813991d61c0
[2] https://lore.kernel.org/selinux/CAP+JOzQBaGv=74tNgczpjZVGpzZo93kxnHXO0isL+TzmOc4byg@mail.gmail.com/T/#t
Link: https://github.com/openwrt/openwrt/pull/18674
Signed-off-by: Robert Marko <robimarko@gmail.com>
Robert Marko [Fri, 2 May 2025 09:07:54 +0000 (11:07 +0200)]
toolchain: binutils: fix compilation with GCC15
GCC15 has switched the C language default from GNU17 to GNU23[1] and this
causes builds to fail with:
In file included from mips-opc.c:29:
mips-opc.c: In function 'decode_mips_operand':
mips-formats.h:86:7: error: expected identifier or '(' before 'static_assert'
86 | static_assert[(1 << (SIZE)) == ARRAY_SIZE (MAP)]; \
| ^~~~~~~~~~~~~
mips-opc.c:214:15: note: in expansion of macro 'MAPPED_REG'
214 | case 'z': MAPPED_REG (0, 0, GP, reg_0_map);
| ^~~~~~~~~~
So, backport upstream fix for this[2] to fix compilation with GCC15.
Patch for 2.40 was manually refreshed as part of the S390 code does not
exist in 2.40 as it was added after it.
[1] https://gcc.gnu.org/gcc-15/porting_to.html#c23
[2] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=
8ebe62f3f0d27806b1bf69f301f5e188b4acd2b4
Fixes: #18678
Link: https://github.com/openwrt/openwrt/pull/18681
Signed-off-by: Robert Marko <robimarko@gmail.com>
Konstantin Demin [Fri, 2 May 2025 10:42:42 +0000 (13:42 +0300)]
toolchain: gcc: make config consistent with glibc/musl
I've observed configuration drift for GCC between musl and glibc
(especially it's final stage):
# musl
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_sys_max_cmd_len=
1572864
# glibc
lt_cv_prog_compiler_static_works=no
lt_cv_prog_compiler_static_works_CXX=no
lt_cv_sys_max_cmd_len=512
These changes should prevent this issue in future:
export lt_cv_prog_compiler_static_works=yes
export lt_cv_prog_compiler_static_works_CXX=yes
export lt_cv_sys_max_cmd_len=
1572864
Also:
- provide custom autotools/libtool variables via properly named
variable ("GCC_CONFIGURE_VARS"),
- move variables from "GCC_MAKE" to "GCC_CONFIGURE_VARS"
(at this moment only "gcc_cv_libc_provides_ssp=yes" for musl),
- propagate it's usage for both "./configure" and "make".
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18646
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Konstantin Demin [Fri, 2 May 2025 10:47:43 +0000 (13:47 +0300)]
make_ext4fs: Update to version 2025-05-02
13767a9 make_ext4fs: add missing space after LDFLAGS
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18682
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Carsten Schuette [Fri, 2 May 2025 06:22:38 +0000 (08:22 +0200)]
mold: update to 2.38.1
https://github.com/rui314/mold/releases/tag/v2.38.0
https://github.com/rui314/mold/releases/tag/v2.38.1
Signed-off-by: Carsten Schuette <schuettecarsten@googlemail.com>
Link: https://github.com/openwrt/openwrt/pull/18679
Signed-off-by: Robert Marko <robimarko@gmail.com>
Linus Walleij [Sun, 12 Jan 2025 00:37:20 +0000 (01:37 +0100)]
gemini: Add module for VSC73xx switches
This adds the Vitesse VSC73xx DSA switch modules to the two
Gemini devices that have them.
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250410-gemini-rtl-dsa-module-v1-2-60af8219b2cc@linaro.org/
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Linus Walleij [Sun, 12 Jan 2025 00:32:35 +0000 (01:32 +0100)]
kernel: netdevices: Create Vitesse DSA switch packages
This adds kernel packages for the Vitesse VSC73XX switches.
I have split the switch into explicit SPI and platform integrated
variants as it's quite a bit of code.
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250410-gemini-rtl-dsa-module-v1-1-60af8219b2cc@linaro.org/
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Markus Stockhausen [Thu, 1 May 2025 17:19:01 +0000 (13:19 -0400)]
realtek: fix RTL8214FC probing on RTL839x
Probing of the RTL8214FC on RTL839x is currently very strange.
- On RTL8393 nothing is detected and only generic PHY is reported
- On RTL8392 the port 1 is not detected while port 2-4 seem to work
Someone left a special RTL8393 detection rules that seems to indicate
that the we probe the internal SerDes instead. That is not true. Since
upgrade to kernel 6.6 the RTL8218/RTL8214FC detection is 100% accurate
and probing functions are only called when really needed.
Fix the issue by removing the condition. For now do PHY patching only
on the RTL838x where it already worked before.
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/18671
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Rosen Penev [Sat, 26 Apr 2025 22:34:51 +0000 (15:34 -0700)]
realtek: use remove_new
Easy compability fix for kernel 6.12.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18660
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Rosen Penev [Sat, 26 Apr 2025 23:48:12 +0000 (16:48 -0700)]
airoha: pwm: use devm
Removes the need for a remove function in platform_device.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18660
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Rosen Penev [Sat, 26 Apr 2025 22:52:57 +0000 (15:52 -0700)]
qualcommax: remoteproc: use remove_new
Easy compability fix for kernel 6.12.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18660
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Rosen Penev [Sat, 26 Apr 2025 22:51:18 +0000 (15:51 -0700)]
ipq40xx: ipqess: use remove_new
Easy compability fix for kernel 6.12.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18660
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Rosen Penev [Sat, 26 Apr 2025 22:49:32 +0000 (15:49 -0700)]
ipq40xx: qca8k: use remove_new
Easy compability fix for kernel 6.12.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18660
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Rosen Penev [Sat, 26 Apr 2025 22:48:16 +0000 (15:48 -0700)]
layerscape: ppfe: use remove_new
Easy compability fix for kernel 6.12.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18660
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Rosen Penev [Sat, 26 Apr 2025 22:46:00 +0000 (15:46 -0700)]
qualcommax: pwm: use remove_new
Easy compability fix for kernel 6.12.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18660
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Rosen Penev [Sat, 26 Apr 2025 22:44:00 +0000 (15:44 -0700)]
ramips: pwm: use remove_new
Easy way to add compatibility for kernel 6.12.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18660
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Rosen Penev [Sat, 26 Apr 2025 22:42:11 +0000 (15:42 -0700)]
ramips: mt7621-i2c: use remove_new
Easy compability fix for kernel 6.12.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18660
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Rosen Penev [Sat, 26 Apr 2025 22:39:30 +0000 (15:39 -0700)]
ramips: eip93: use remove_new
Compatibility fix for kernel 6.12
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18660
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Stijn Tintel [Thu, 1 May 2025 20:09:49 +0000 (23:09 +0300)]
kernel: add KERNEL_STACKDEPOT_MAX_FRAMES
When KERNEL_SLUB_DEBUG is enabled, build fails due to the
KERNEL_STACKDEPOT_MAX_FRAMES missing. Add it.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Link: https://github.com/openwrt/openwrt/pull/18676
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Stijn Tintel [Thu, 1 May 2025 20:02:54 +0000 (23:02 +0300)]
kernel: fix KERNEL_PROBE_EVENTS_BTF_ARGS
We no longer support kernels < 6.6, so drop the dependency. This fixes a
missing symbol with 6.12 when KERNEL_DEBUG_INFO_BTF and
KERNEL_KPROBE_EVENTS are enabled.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Link: https://github.com/openwrt/openwrt/pull/18676
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
George Moussalem [Thu, 1 May 2025 18:01:20 +0000 (22:01 +0400)]
qualcommax: ipq50xx: fix DTB warning in USB node of Linksys MR5500
Fix DTB warning when compiling an image by adding the missing hash sign
of adress-cells in the usb_dwc node.
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18672
Signed-off-by: Robert Marko <robimarko@gmail.com>
George Moussalem [Thu, 1 May 2025 10:55:07 +0000 (14:55 +0400)]
qualcommax: ipq50xx: fix ECC strength for Linksys MR5500
Commit
fc3ff2af0c57504a2e03d635692396c5bb099f17 introduced reading
ECC strength from the device tree. Linksys MR5500 uses the mx-base dtsi
which was originally developed for Linksys MX2000 and MX5500 where the
ECC strength is set to 8. Correct this and set it to strength of 4 as
per the NAND specs for Gigadevice GD5F2GQ5REYIH.
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18672
Signed-off-by: Robert Marko <robimarko@gmail.com>
Mieczyslaw Nalewaj [Thu, 1 May 2025 05:48:59 +0000 (07:48 +0200)]
config: add new TRANSPARENT_HUGEPAGE choice for 6.12 kernel
Kernel 6.12 has a new selection for TRANSPARENT_HUGEPAGE.
Add them here to avoid missing symbols.
Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=
683ec99f12f4c386c23bed7f6a8ef44db5a4999a
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18663
Signed-off-by: Robert Marko <robimarko@gmail.com>
George Moussalem [Thu, 1 May 2025 16:04:32 +0000 (20:04 +0400)]
Revert "qualcommax: ipq50xx: fix GE_PHY and Uniphy resets"
This reverts commit
34e5bc4af54d366147a83904c094d54fec7fb025.
While fixing support for 2.5Gbps mode on uniphy in phy to phy link
setups, it inadvertently broke fixed link scenario. So let's revert this
commit until there's a fix that doesn't impact fixed links.
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18668
Signed-off-by: Robert Marko <robimarko@gmail.com>
Scott Mercer [Wed, 30 Apr 2025 18:46:51 +0000 (14:46 -0400)]
qualcommax: ipq5018: glinet_gl-b3000: fix kernel alignment
fixes the following warning seen in bootlog
"Kernel image misaligned at boot, please fix your bootloader!"
Fixes: 3307fe8 ("qualcommax: ipq50xx: add support for GL.iNET GL-B3000")
Signed-off-by: Scott Mercer <TheRootEd24@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18658
Signed-off-by: Robert Marko <robimarko@gmail.com>
Konstantin Demin [Thu, 1 May 2025 16:07:10 +0000 (19:07 +0300)]
toolchain: glibc: Update glibc 2.38 to recent HEAD
f510d75f nscd: Use time_t for return type of addgetnetgrentX
5aa4bb67 resolv: Fix some unaligned accesses in resolver [BZ #30750]
249646f1 Force DT_RPATH for --enable-hardcoded-path-in-tests
697ab62d i386: Disable Intel Xeon Phi tests for GCC 15 and above (BZ 31782)
c8cb4d2b misc: Add support for Linux uio.h RWF_NOAPPEND flag
71245363 s390x: Fix segfault in wcsncmp [BZ #31934]
7bfc3595 nptl: fix potential merge of __rseq_* relro symbols
d9d019d6 elf: Make dl-rseq-symbols Linux only
bb30bd21 Linux: Make __rseq_size useful for feature detection (bug 31965)
dc512364 resolv: Allow short error responses to match any query (bug 31890)
6cad0f54 resolv: Do not wait for non-existing second DNS response after error (bug 30081)
1bed6acf resolv: Track single-request fallback via _res._flags (bug 31476)
0301637b linux: Update the mremap C implementation [BZ #31968]
f0e21145 mremap: Update manual entry
6bb75212 Add mremap tests
3ac7ba61 Update syscall lists for Linux 6.5
9184c136 resolv: Fix tst-resolv-short-response for older GCC (bug 32042)
059f82c3 Fix name space violation in fortify wrappers (bug 32052)
c005d1bd x86: Fix bug in strchrnul-evex512 [BZ #32078]
28f358bc support: Add FAIL test failure helper
99ffa84b stdio-common: Add test for vfscanf with matches longer than INT_MAX [BZ #27650]
87a1968a Make tst-ungetc use libsupport
804d3c8d ungetc: Fix uninitialized read when putting into unused streams [BZ #27821]
b9f72bd5 ungetc: Fix backup buffer leak on program exit [BZ #27821]
15ca6630 posix: Use <support/check.h> facilities in tst-truncate and tst-truncate64
f30501ca nptl: Use <support/check.h> facilities in tst-setuid3
370be858 libio: Attempt wide backup free only for non-legacy code
4dd86414 Add crt1-2.0.o for glibc 2.0 compatibility tests
fa4ad104 elf: Change ldconfig auxcache magic number (bug 32231)
9423cc53 nptl: initialize rseq area prior to registration
37ded328 nptl: initialize cpu_id_start prior to rseq registration
cf067723 x86: Avoid integer truncation with large cache sizes (bug 32470)
5c9be512 x86_64: Sort fpu/multiarch/Makefile
49016f21 x86_64: Add log2 with FMA
b2a45f1e x86_64: Add expm1 with FMA
c92946d9 x86_64: Add log1p with FMA
58822f95 x86: Check the lower byte of EAX of CPUID leaf 2 [BZ #30643]
7772f935 elf: Fix slow tls access after dlopen [BZ #19924]
5a64f933 x86: Only align destination to 1x VEC_SIZE in memset 4x loop
0d14bf07 sysdeps/x86/Makefile: Split and sort tests
dc176211 x86_64: Fix missing wcsncat function definition without multiarch (x86-64-v4)
04b8d484 x86: Improve large memset perf with non-temporal stores [RHEL-29312]
12fec8aa x86/string: Fixup alignment of main loop in str{n}cmp-evex [BZ #32212]
48642ef1 elf: Avoid some free (NULL) calls in _dl_update_slotinfo
549e7f7c elf: Support recursive use of dynamic TLS in interposed malloc
c32fd593 Fix underallocation of abort_msg_s struct (CVE-2025-0395)
650a0aaa stdlib: Test using setenv with updated environ [BZ #32588]
f984e2d7 assert: Add test for CVE-2025-0395
9ca74b8a AArch64: Improve generic strlen
95aa2143 AArch64: Optimize memset
5fe151d8 AArch64: Remove zva_128 from memset
3de51123 math: Improve layout of expf data
52c2b155 AArch64: Add SVE memset
097299ff AArch64: Use prefer_sve_ifuncs for SVE memset
5a08d049 math: Improve layout of exp/exp10 data
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18648
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
David Bauer [Tue, 29 Apr 2025 17:31:09 +0000 (19:31 +0200)]
ramips: make Genexis EX400 factory image dependent on initramfs
The factory image generation for the Genexis EX400 image currently fails
if CONFIG_TARGET_ROOTFS_INITRAMFS is disabled.
Create the factory image only if said config option is enabled to avoid
failing builds.
Signed-off-by: David Bauer <mail@david-bauer.net>
Shiji Yang [Wed, 30 Apr 2025 16:55:36 +0000 (00:55 +0800)]
generic: add more missing Kconfig symbols for 6.12 kernel
These symbols were found when adding 6.12 kernel support for the
ath79 target.
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18653
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Sat, 5 Apr 2025 16:44:36 +0000 (18:44 +0200)]
kernel/drm-ttm-helper: 6.12: fix missing dependency
Add missing depends kmod-drm-kms-helper.
Package kmod-drm-ttm-helper is missing dependencies for the following libraries:
drm_kms_helper.ko
fb_sys_fops.ko
syscopyarea.ko
sysfillrect.ko
sysimgblt.ko
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Sat, 5 Apr 2025 16:33:30 +0000 (18:33 +0200)]
kernel/backlight: 6.12: fix missing dependency
Add missing depends kmod-fb.
Package kmod-backlight is missing dependencies for the following libraries:
fb.ko
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Wed, 16 Apr 2025 05:53:51 +0000 (07:53 +0200)]
kernel: filter out compiler RUSTC opts from config
These get dynamically set, not relevant for targets.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Tue, 1 Apr 2025 10:41:55 +0000 (12:41 +0200)]
kernel: fortify: Hide run-time copy size from value range tracking
Fix compilation warning treated as an error:
./include/linux/fortify-string.h:114:33: error: '__builtin_memcpy' reading between 65 and
536870904 bytes from a region of size 64 [-Werror=stringop-overread]
114 | #define __underlying_memcpy __builtin_memcpy
| ^
./include/linux/fortify-string.h:633:9: note: in expansion of macro '__underlying_memcpy'
633 | __underlying_##op(p, q, __fortify_size); \
| ^~~~~~~~~~~~~
./include/linux/fortify-string.h:678:26: note: in expansion of macro '__fortify_memcpy_chk'
678 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
./include/linux/bitmap.h:259:17: note: in expansion of macro 'memcpy'
259 | memcpy(dst, src, len);
| ^~~~~~
kernel/padata.c: In function '__padata_set_cpumasks':
kernel/padata.c:735:48: note: source object 'pcpumask' of size [0, 64]
735 | cpumask_var_t pcpumask,
| ~~~~~~~~~~~~~~^~~~~~~~
Link: https://web.git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=239d87327dcd361b0098038995f8908f3296864f
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 17:01:49 +0000 (19:01 +0200)]
kernel/hwmon-sch5627: 6.12: fix missing dependency
Add missing depends kmod-regmap-core.
Package kmod-hwmon-sch5627 is missing dependencies for the following libraries:
regmap-core.ko
Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=
a54fe61639d9f3b6765fee32edda7cfceb6d705a
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 17:01:02 +0000 (19:01 +0200)]
kernel/hwmon-lm92: 6.12: fix missing dependency
Add missing depends kmod-regmap-core.
Package kmod-hwmon-lm92 is missing dependencies for the following libraries:
regmap-core.ko
Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=
1359590a5c48d1d28cd11808178931f146a539e2
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 16:59:18 +0000 (18:59 +0200)]
kernel/hwmon-core: 6.12: fix missing dependency
Add missing depends kmod-i2c-core.
Package kmod-hwmon-core is missing dependencies for the following libraries:
i2c-core.ko
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Tue, 15 Apr 2025 18:03:04 +0000 (20:03 +0200)]
generic: mtdsplit: include appropriate header for kernel 6.12
In kernel 6.12 asm/unaligned.h was moved to linux/unaligned.h[1]
The patch points to the appropriate header depending on the kernel version.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=
5f60d5f6bbc12e782fac78110b0ee62698f3b576
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Tue, 19 Nov 2024 00:06:28 +0000 (01:06 +0100)]
x86: enable 6.12 testing kernel
The x86 now supports 6.12 kernel as testing.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Tue, 15 Apr 2025 21:49:02 +0000 (23:49 +0200)]
kernel/x86: update config for kernel 6.12
Update target x86 config for kernel 6.12.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 16:51:57 +0000 (18:51 +0200)]
kernel: update fb-sys-fops package for kernel 6.12
For kernel 6.12 the fb-sys-fops module setting has been renamed
from CONFIG_FB_SYS_FOPS to CONFIG_FB_SYSMEM_FOPS.
This patch sets the KCONFIG value depending on the kernel version.
Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=
27ad64eac10fcb25fcbfb813921f4d30b3458e13
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 16:49:13 +0000 (18:49 +0200)]
kernel: update fb package on x86 for kernel 6.12
For kernel 6.12 the fb package uses video-common.ko instead of fbdev.ko.
The patch switches these files depending on the kernel version.
Ref:
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=
2fd001cd36005846caa6456fff1008c6f5bae9d4
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=
34cda5ab89d4f30bc8d8f8d28980a7b8c68db6ec
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
John Audia [Sun, 17 Nov 2024 15:28:56 +0000 (10:28 -0500)]
x86: 6.12: manually rebuilding patches
Manually rebuilding patches:
- 103-pcengines_apu6_platform.patch
Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Fri, 21 Mar 2025 15:11:29 +0000 (16:11 +0100)]
kernel/x86: Restore kernel files for v6.6
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/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Fri, 21 Mar 2025 15:11:27 +0000 (16:11 +0100)]
kernel/x86: Create kernel files for v6.12 (from v6.6)
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/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 16:46:31 +0000 (18:46 +0200)]
package/zram: update for kernel 6.12
Updated for compatibility with kernels 6.6 and 6.12.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 16:45:23 +0000 (18:45 +0200)]
package/fs-fscache: update for kernel 6.12
Update KCONFIG and FILES for kernel 6.12 compatibility
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 16:44:18 +0000 (18:44 +0200)]
kernel: 6.12: add snd hda scodec component module
Add snd hda scodec component module
Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=
fd895a74dc1dca31f4ce7786b36812fda6727477
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 16:43:10 +0000 (18:43 +0200)]
package/fs-ntfs: disable for kernel 6.12
Disabled due to removal from kernel 6.12.
Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=
7ffa8f3d30236e0ab897c30bdb01224ff1fe1c89
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 16:42:10 +0000 (18:42 +0200)]
kernel/lan743x: 6.12: fix missing dependency
Add missing depends kmod-phylink.
Package kmod-lan743x is missing dependencies for the following libraries:
phylink.ko
Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=
a5f199a8d8a03512199a9e7cdd4d8ea06c943295
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Wed, 30 Apr 2025 07:21:01 +0000 (09:21 +0200)]
kernel: modules: i40e,ice,iavf: support for kernel 6.12
Add Common Intel Ethernet library (libeth) and Intel Ethernet library (libie).
Add CONFIG_ICE_HWMON setting.
Ref:
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=
306ec721d043bbe5e818d59fbb37c28d999b5d8b
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=
4da71a77fc3be1fcb680c8d78e1a1fb8017905ad
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 16:39:12 +0000 (18:39 +0200)]
kernel/iio-bmp280: 6.12: fix missing dependency
Add missing depends kmod-industrialio-triggered-buffer.
Package kmod-iio-bmp280 is missing dependencies for the following libraries:
industrialio-triggered-buffer.ko
Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=
80cd23f43ddce3bfa0389ab65a442d3dc8de4b4f
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>