]> git.ipfire.org Git - thirdparty/openwrt.git/log
thirdparty/openwrt.git
3 months agokernel/drm-ttm-helper: 6.12: fix missing dependency 16547/head
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>
3 months agokernel/backlight: 6.12: fix missing dependency
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>
3 months agokernel: filter out compiler RUSTC opts from config
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>
3 months agokernel: fortify: Hide run-time copy size from value range tracking
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>
3 months agokernel/hwmon-sch5627: 6.12: fix missing dependency
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>
3 months agokernel/hwmon-lm92: 6.12: fix missing dependency
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>
3 months agokernel/hwmon-core: 6.12: fix missing dependency
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>
3 months agogeneric: mtdsplit: include appropriate header for kernel 6.12
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>
3 months agox86: enable 6.12 testing kernel
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>
3 months agokernel/x86: update config for kernel 6.12
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>
3 months agokernel: update fb-sys-fops package for kernel 6.12
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>
3 months agokernel: update fb package on x86 for kernel 6.12
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>
3 months agox86: 6.12: manually rebuilding patches
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>
3 months agokernel/x86: Restore kernel files for v6.6
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>
3 months agokernel/x86: Create kernel files for v6.12 (from v6.6)
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>
3 months agopackage/zram: update for kernel 6.12
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>
3 months agopackage/fs-fscache: update for kernel 6.12
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>
3 months agokernel: 6.12: add snd hda scodec component module
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>
3 months agopackage/fs-ntfs: disable for kernel 6.12
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>
3 months agokernel/lan743x: 6.12: fix missing dependency
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>
3 months agokernel: modules: i40e,ice,iavf: support for kernel 6.12
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>
3 months agokernel/iio-bmp280: 6.12: fix missing dependency
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>
3 months agokernel/i2c-i801: 6.12: fix missing dependency
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 16:37:52 +0000 (18:37 +0200)] 
kernel/i2c-i801: 6.12: fix missing dependency

Add missing depends kmod-i2c-mux.

Package kmod-i2c-i801 is missing dependencies for the following libraries:
i2c-mux.ko

Ref: https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=9c535237245e4bf21758604277279b8ead58a724

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agokernel/hwmon-max6697: 6.12: fix missing dependency
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 16:33:55 +0000 (18:33 +0200)] 
kernel/hwmon-max6697: 6.12: fix missing dependency

Add missing depends kmod-regmap-i2c.

ERROR: modpost: "__regmap_init_i2c" [drivers/hwmon/max6697.ko] undefined!

Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=3a2a8cc3fe24ec48a3d222f5b9db68a3404ffab3

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agokernel/9pnet: 6.12: fix missing dependency
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 16:32:41 +0000 (18:32 +0200)] 
kernel/9pnet: 6.12: fix missing dependency

Add missing depends kmod-fs-netfs.

Package kmod-9pnet is missing dependencies for the following libraries:
netfs.ko

Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=5fb70e7275a61dd404f684370e1add7fe0ebe9c5

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agokernel: adjust kmod-phy-aquantia dependencies for v6.12 kernel
Mantas Pucka [Fri, 22 Nov 2024 08:07:43 +0000 (10:07 +0200)] 
kernel: adjust kmod-phy-aquantia dependencies for v6.12 kernel

Driver moved to different CRC library in v6.12

Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=6c8e2407100e4ff1db86e4af65b74be7895031a2

Signed-off-by: Mantas Pucka <mantas@8devices.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agoconfig: add new options for 6.12 kernel
Mantas Pucka [Mon, 9 Dec 2024 12:38:22 +0000 (14:38 +0200)] 
config: add new options for 6.12 kernel

Since kernel v6.12 couple more options were added to
CGROUP section. Add them here to avoid missing symbols.

Signed-off-by: Mantas Pucka <mantas@8devices.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agogeneric: 6.12: remove outdated kernel symbols
Mieczyslaw Nalewaj [Tue, 15 Apr 2025 21:41:44 +0000 (23:41 +0200)] 
generic: 6.12: remove outdated kernel symbols

Symbols that no longer exist in 6.12 were removed by a script [1].

[1] https://github.com/openwrt/openwrt/pull/15324

Co-authored-by: Mantas Pucka <mantas@8devices.com>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agogeneric: 6.12: add missing symbols
Mieczyslaw Nalewaj [Tue, 15 Apr 2025 21:40:44 +0000 (23:40 +0200)] 
generic: 6.12: add missing symbols

These symbols only become visible when some packages or kernel debug
options get enabled. Move them to generic.

Co-authored-by: Mantas Pucka <mantas@8devices.com>
Co-authored-by: Mathew McBride <matt@traverse.com.au>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agokernel: add new kmod and update kmod-tpm
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 16:29:01 +0000 (18:29 +0200)] 
kernel: add new kmod and update kmod-tpm

Create a crypto-lib-aescfb package needed for new deps for kmod-tpm.

Package kmod-tpm is missing dependencies for the following libraries:
ecdh_generic.ko
kpp.ko
libaescfb.ko

Co-authored-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agokernel: update dependency of kmod-i2c-piix4
John Audia [Wed, 20 Nov 2024 19:32:09 +0000 (14:32 -0500)] 
kernel: update dependency of kmod-i2c-piix4

Add missing depends kmod-i2c-smbus.

Package kmod-i2c-piix4 is missing dependencies for the following libraries:
i2c-smbus.ko

Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=de4f2f52f93257433c9029ba2b4044cd9f029b21

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agopcs-xpcs: 6.12: fix missing dependency
Mieczyslaw Nalewaj [Sun, 27 Apr 2025 16:25:49 +0000 (18:25 +0200)] 
pcs-xpcs: 6.12: fix missing dependency

Add missing depends kmod-mdio-devres.

Package kmod-pcs-xpcs is missing dependencies for the following libraries:
mdio_devres.ko

Ref: https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=f6bb3e9d98c2e8d70587d5ddaf9426ef30d7865c

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agogeneric: 6.12: refresh hack patches
Mieczyslaw Nalewaj [Wed, 30 Apr 2025 09:38:37 +0000 (11:38 +0200)] 
generic: 6.12: refresh hack patches

Refreshed patches for generic/hack-6.12 by running
make target/linux/refresh

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agogeneric: 6.12: manually rebuild hack patches
Mieczyslaw Nalewaj [Wed, 30 Apr 2025 09:52:08 +0000 (11:52 +0200)] 
generic: 6.12: manually rebuild hack patches

Manually rebuild hack patches:
 - 200-tools_portability.patch
 - 204-module_strip.patch
 - 210-darwin_scripts_include.patch
 - 251-kconfig.patch
 - 421-drivers-mtd-parsers-add-nvmem-support-to-cmdlinepart.patch
 - 610-net-page_pool-try-to-free-deferred-skbs-while-waitin.patch
 - 721-net-add-packet-mangeling.patch
 - 725-net-phy-aquantia-add-PHY_IDs-for-AQR112-variants.patch
 - 760-net-usb-r8152-add-LED-configuration-from-OF.patch
 - 800-GPIO-add-named-gpio-exports.patch
 - 901-debloat_sock_diag.patch
 - 902-debloat_proc.patch
 - 904-debloat_dma_buf.patch
 - 910-kobject_uevent.patch
 - 911-kobject_add_broadcast_uevent.patch
 - 930-Revert-Revert-Revert-driver-core-Set-fw_devlink-on-b.patch

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
[ improve commit title ]
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agogeneric: 6.12: refresh pending patches
Mieczyslaw Nalewaj [Sat, 26 Apr 2025 19:56:27 +0000 (21:56 +0200)] 
generic: 6.12: refresh pending patches

Refreshed patches for generic/pending-6.12 by running
make target/linux/refresh

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agogeneric: 6.12: move MIPS reloc patch from pending to hack and rework
Christian Marangi [Mon, 14 Apr 2025 16:34:10 +0000 (18:34 +0200)] 
generic: 6.12: move MIPS reloc patch from pending to hack and rework

Move MIPS reloc patch from pending to hack and rework it to adapt to new
kernel 6.12 version.

This required an additional patch. While at it also improve the text
with the original info without cut.

Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agogeneric: 6.12: manually rebuild pending patches
Mieczyslaw Nalewaj [Tue, 29 Apr 2025 22:12:20 +0000 (00:12 +0200)] 
generic: 6.12: manually rebuild pending patches

Manually rebuild pending patches:
 - 103-kbuild-export-SUBARCH.patch
 - 141-jffs2-add-RENAME_EXCHANGE-support.patch
 - 200-ARM-9404-1-arm32-fix-boot-hang-with-HAVE_LD_DEAD_COD.patch
 - 203-kallsyms_uncompressed.patch
 - 270-platform-mikrotik-build-bits.patch
 - 308-mips32r2_tune.patch
 - 330-MIPS-kexec-Accept-command-line-parameters-from-users.patch
 - 402-mtd-spi-nor-write-support-for-minor-aligned-partitions.patch
 - 451-block-partitions-populate-fwnode.patch
 - 476-mtd-spi-nor-add-eon-en25q128.patch
 - 477-mtd-spi-nor-add-eon-en25qx128a.patch
 - 479-mtd-spi-nor-add-xtx-xt25f128b.patch
 - 481-mtd-spi-nor-add-support-for-Gigadevice-GD25D05.patch
 - 482-mtd-spi-nor-add-gd25q512.patch
 - 484-mtd-spi-nor-add-esmt-f25l16pa.patch
 - 485-mtd-spi-nor-add-xmc-xm25qh128c.patch
 - 488-mtd-spi-nor-add-xmc-xm25qh64c.patch
 - 490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
 - 497-mtd-mtdconcat-add-dt-driver-for-concat-devices.patch
 - 498-mtd-spi-nor-locking-support-for-MX25L6405D.patch
 - 510-block-add-uImage.FIT-subimage-block-driver.patch
 - 530-jffs2_make_lzma_available.patch
 - 630-packet_socket_type.patch
 - 666-Add-support-for-MAP-E-FMRs-mesh-mode.patch
 - 681-net-remove-NETIF_F_GSO_FRAGLIST-from-NETIF_F_GSO_SOF.patch
 - 700-netfilter-nft_flow_offload-handle-netdevice-events-f.patch
 - 702-net-ethernet-mtk_eth_soc-enable-threaded-NAPI.patch
 - 706-net-phy-populate-host_interfaces-when-attaching-PHY.patch
 - 711-03-net-dsa-qca8k-add-support-for-port_change_master.patch
 - 734-net-ethernet-mediatek-enlarge-DMA-reserve-buffer.patch
 - 736-03-net-ethernet-mtk_eth_soc-improve-keeping-track-of-of.patch
 - 737-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch
 - 739-03-net-pcs-pcs-mtk-lynxi-add-platform-driver-for-MT7988.patch
 - 801-gpio-gpio-cascade-add-generic-GPIO-cascade.patch
 - 809-01-nvmem-core-generalize-mac-base-cells-handling.patch
 - 811-pci_disable_usb_common_quirks.patch
 - 834-ledtrig-libata.patch
 - 892-leds-Add-LED1202-I2C-driver.patch
 - 920-mangle_bootargs.patch

Co-authored-by: Aditya Nugraha <vortexilation@gmail.com>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
[ improve commit title + minor fixes ]
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agogeneric: 6.12: remove obsolete pending patches
Mieczyslaw Nalewaj [Sat, 12 Apr 2025 11:26:23 +0000 (13:26 +0200)] 
generic: 6.12: remove obsolete pending patches

Remove obsolete pending patches

Unnecessary:
 - 820-w1-gpio-fix-problem-with-platfom-data-in-w1-gpio.patch[1]

[1] https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=9c0a5b3f9e55cf9a3dc85843666cae28adfdf7e3

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agogeneric: 6.12: refresh backport patches
Mieczyslaw Nalewaj [Fri, 25 Apr 2025 14:32:54 +0000 (16:32 +0200)] 
generic: 6.12: refresh backport patches

Refreshed patches for generic/backport-6.12 by running
make target/linux/refresh

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agogeneric: 6.12: manually rebuild backport patches
Mieczyslaw Nalewaj [Fri, 25 Apr 2025 14:31:08 +0000 (16:31 +0200)] 
generic: 6.12: manually rebuild backport patches

Manually rebuild backport patches:
 - 410-v6.13-01-block-add-support-for-defining-read-only-partitions.patch
 - 839-v6.13-net-phy-aquantia-allow-forcing-order-of-MDI-pairs.patch
 - 901-v6.13-net-dsa-mv88e6xxx-Support-LED-control.patch

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
[ improve commit title ]
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agogeneric: 6.12: remove obsolete backport patches
Mieczyslaw Nalewaj [Tue, 22 Apr 2025 15:57:00 +0000 (17:57 +0200)] 
generic: 6.12: remove obsolete backport patches

Remove obsolete backport patches already included in kernel 6.12 including the patches:
 - 623-v6.14-net-ipv6-fix-TCP-GSO-segmentation-with-NAT.patch - backported to kernel 6.12.21[1]
 - 785-05-v6.15-net-sfp-add-quirk-for-FS-SFP-10GM-T-copper-SFP-module.patch - backported to kernel 6.12.24[2]
 - 910-v6.13-pmdomain-core-add-dummy-release-function-to-genpd-de.patch - backported to kernel 6.12.9[3]

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=8940e6168bb353379772ef2555610a82ac569e36
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=163e8c1083b41289aad2afd06c39b9f859dc4ec0
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=cba9d51794ecde58a21e4e96bcfd0a18f7dd4ff8

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agokernel/generic: Restore kernel files for v6.6
Mieczyslaw Nalewaj [Tue, 29 Apr 2025 22:02:32 +0000 (00:02 +0200)] 
kernel/generic: 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>
3 months agokernel/generic: Create kernel files for v6.12 (from v6.6)
Mieczyslaw Nalewaj [Tue, 29 Apr 2025 22:02:28 +0000 (00:02 +0200)] 
kernel/generic: 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>
3 months agokernel: add define for kernel 6.12
Mieczyslaw Nalewaj [Fri, 25 Apr 2025 14:26:52 +0000 (16:26 +0200)] 
kernel: add define for kernel 6.12

Add define 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>
3 months agoead: fix compilation with GCC14 18645/head
Robert Marko [Wed, 30 Apr 2025 09:53:45 +0000 (11:53 +0200)] 
ead: fix compilation with GCC14

Trying to compile EAD with now default GCC14 will fail due to now erroring
out on implicit int type as well as implicit function declarations.

Due to this, the packaged configure script will fail on the simple compiler
test as the generated test uses main loop with an implicit int type.

So, instead of patching multiple test cases in the shipped configure script
for tinysrp lets run autoreconf on it so its regenerated.

We also need to pass -Wno-error=implicit-function-declaration as there are
multiple instances of tinysrp code relying on implicit function declarations.

Link: https://github.com/openwrt/openwrt/pull/18645
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agopackage: basefiles: add oem image dectection to fwtool.sh 18554/head
Scott Mercer [Mon, 21 Apr 2025 15:23:07 +0000 (11:23 -0400)] 
package: basefiles: add oem image dectection to fwtool.sh

with more new device, now able to flash oem
images from luci, fwtools erroneously marks
firmware as incompatible and does not warn
across keeping configs during update.

this patch aims to add both oem detection
and a warning msg advising firmware is compatible
(OpenWrt -> OEM) but configuration is not

tested on ipq5018: gl-b3000

Signed-off-by: Scott Mercer <TheRootEd24@gmail.com>
package: basefiles: add oem image dectection to fwtool

    some new devices are now able to flash oem
    images from luci, fwtools erroneously marks
    firmware as incompatible and does not warn
    of keeping configs during update for this condition.

    this patch aims to add both oem detection
    and trigger the existing warning msg, advising firmware is compatible
    (OpenWrt -> OEM) but configuration is not

tested on ipq5018: gl-b3000

Signed-off-by: Scott Mercer <TheRootEd24@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18554
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agogeneric: refresh patches 18640/head
Mieczyslaw Nalewaj [Tue, 29 Apr 2025 21:59:58 +0000 (23:59 +0200)] 
generic: refresh patches

Refreshed patches by running:
make target/linux/refresh

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18640
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agoqualcommax: ipq50xx: fix GE_PHY and Uniphy resets 18638/head
George Moussalem [Tue, 29 Apr 2025 13:24:46 +0000 (17:24 +0400)] 
qualcommax: ipq50xx: fix GE_PHY and Uniphy resets

Fix the resets of the GE_PHY and Uniphy found on the IPQ5018 SoC.
Bitmasks are used to perform multiple resets simultaneously, including
the RX and TX clocks. This enables the Uniphy to properly shift between
SGMII/1G and SGMII+/2.5G modes.

While at it, properly reorder the patches, and rename some to follow
naming standards.

Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18638
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agounetd: cli: allow skipping pretty printing of status data
Felix Fietkau [Wed, 30 Apr 2025 09:03:39 +0000 (11:03 +0200)] 
unetd: cli: allow skipping pretty printing of status data

Makes it more useful for services built around the CLI API

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agocli: add explicit option for pretty printing command result data
Felix Fietkau [Wed, 30 Apr 2025 09:02:22 +0000 (11:02 +0200)] 
cli: add explicit option for pretty printing command result data

No-op for now, but allows making output more machine readable

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agoucode-mod-uline: fix crash on cleanup
Felix Fietkau [Wed, 30 Apr 2025 08:40:38 +0000 (10:40 +0200)] 
ucode-mod-uline: fix crash on cleanup

- only run a single poll in the uloop_fd cb to avoid use-after-free on close
- delete the uloop_fd on close
- when calling into ucode, fetch the vm pointer before the call in order
  to avoid accessing the stale uline context

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agoucode-mod-uline: fix build warnings
Felix Fietkau [Wed, 30 Apr 2025 08:32:55 +0000 (10:32 +0200)] 
ucode-mod-uline: fix build warnings

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agogeneric: drop extra-old-deprecated pending fix patch for sch codel
Christian Marangi [Tue, 29 Apr 2025 16:55:19 +0000 (18:55 +0200)] 
generic: drop extra-old-deprecated pending fix patch for sch codel

Patch 620-net_sched-codel-do-not-defer-queue-length-update.patch is
actually an ancient patch that somehow manage to be ported for 7 solid
years.

This comes from [1] where a fix patch was proposed. Nobody notice that
the proposed patch was actually rejected upstream in favor of [2]. And
the upstream fix patch is present in kernel from version 4.18.

This means that we were actually fixing for a non existant bug and maybe
introducing regression down the line.

Drop the patch for good as we already have a fix for it in flace for a
long time.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=109581
[2] https://github.com/torvalds/linux/commit/35b42da69e35536da603a50e40aa6c41b2f7b0f8

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agoqualcommax: ipq50xx: fix ipq5018 GE PHY and tidy up mdio nodes 18634/head
George Moussalem [Tue, 29 Apr 2025 10:32:20 +0000 (14:32 +0400)] 
qualcommax: ipq50xx: fix ipq5018 GE PHY and tidy up mdio nodes

As part of the previous commit to add the #clock-cells property to the
GE PHY, the PHY was inadvertently moved under the second mdio node in
the dtsi, and therefore broke the init sequence as the driver was trying
to use the wrong mdio bus to set the init values (ex. DAC, MSE, and AZ).
So let's move it back under the right mdio node and, while at it, pad
the register addresses to 8 hex numbers and re-order properties in line
with Linux DTS coding standards.

Fixes: 6782d0e66fd607a3536d5fd94e998d2d700ffeaf
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18634
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agoqualcommax: ipq60xx: LED mapping update for Netgear WAX610 and WAX610Y 18624/head
Erik Servili [Mon, 28 Apr 2025 01:39:23 +0000 (03:39 +0200)] 
qualcommax: ipq60xx: LED mapping update for Netgear WAX610 and WAX610Y

Fix swapped WLAN LEDs and move to blue LEDs to match stock behavior. Add LAN LED mappings.

Signed-off-by: Erik Servili <serverror@serverror.com>
Link: https://github.com/openwrt/openwrt/pull/18624
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agotoolchain: gcc: switch default to 14 18597/head
Robert Marko [Fri, 25 Apr 2025 13:02:24 +0000 (15:02 +0200)] 
toolchain: gcc: switch default to 14

Its time to use GCC14 as the default compiler instead of GCC13.

Link: https://github.com/openwrt/openwrt/pull/18597
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agoramips: correct wifi driver packages for TP-Link MR200 v6 18633/head
Shiji Yang [Tue, 29 Apr 2025 10:16:29 +0000 (18:16 +0800)] 
ramips: correct wifi driver packages for TP-Link MR200 v6

TP-Link Archer MR200 v6 uses the MT7613 wireless chip, hence
the default wifi driver packages should be kmod-mt7615e and
kmod-mt7663-firmware-ap.

Fixes: https://github.com/openwrt/openwrt/issues/18627
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18633
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agobcm47xx: old gpio wdt: use remove_new 18591/head 18617/head
Rosen Penev [Sat, 26 Apr 2025 22:54:02 +0000 (15:54 -0700)] 
bcm47xx: old gpio wdt: 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/18617
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agoltq-adsl: use remove_new for platform_device 18616/head
Rosen Penev [Sat, 26 Apr 2025 23:16:46 +0000 (16:16 -0700)] 
ltq-adsl: use remove_new for platform_device

Easy way to add compatibility for kernel 6.12.

Since the linux 3.8 patch undoes a bunch of stuff in platform, just
modiify everything in platform.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18616
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agoqualcommax: ipq50xx: drop unused factory.ubi for ELECOM WRC-X3000GS2 18611/head
INAGAKI Hiroshi [Wed, 23 Apr 2025 07:48:13 +0000 (16:48 +0900)] 
qualcommax: ipq50xx: drop unused factory.ubi for ELECOM WRC-X3000GS2

Drop the firmware image entry "factory.ubi" from IMAGES for ELECOM
WRC-X3000GS2.
`Device/UbiFit` is added in the early stage of working for adding
support of the device, but finally, only `KERNEL_IN_UBI` is neccesary
and factory.ubi is not. So `Device/UbiFit` should have been replaced
to `KERNEL_IN_UBI` but it was forgotten.

Fixes: 3b7d72bc2e ("qualcommax: add support for ELECOM WRC-X3000GS2")
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18611
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agogeneric: convert MTK PCS patch to .remove_new
Christian Marangi [Sat, 26 Apr 2025 18:04:31 +0000 (20:04 +0200)] 
generic: convert MTK PCS patch to .remove_new

Convert MTK PCS patch to .remove_new to simplify support for new 6.12
kernel version.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agokernel: fix UDPv6 GSO segmentation with NAT
Felix Fietkau [Sat, 26 Apr 2025 17:10:54 +0000 (19:10 +0200)] 
kernel: fix UDPv6 GSO segmentation with NAT

Fixes issues with rx-gro-list and NAT66

Fixes: https://github.com/openwrt/openwrt/issues/18387
Fixes: https://github.com/openwrt/openwrt/issues/18516
Fixes: https://github.com/openwrt/openwrt/issues/18608
Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agomediatek: add missing pipe
David Bauer [Fri, 25 Apr 2025 19:40:39 +0000 (21:40 +0200)] 
mediatek: add missing pipe

Signed-off-by: David Bauer <mail@david-bauer.net>
3 months agomediatek: fix GL.iNet GL-MT2500 preinit interface
David Bauer [Wed, 23 Apr 2025 19:06:54 +0000 (21:06 +0200)] 
mediatek: fix GL.iNet GL-MT2500 preinit interface

This was previously set incorrectly to a non-existant interface.

Signed-off-by: David Bauer <mail@david-bauer.net>
3 months agomediatek: filogic: add support for ASUS RT-AX52
Christoph Krapp [Mon, 14 Apr 2025 18:47:56 +0000 (20:47 +0200)] 
mediatek: filogic: add support for ASUS RT-AX52

Hardware
--------
SOC:   MediaTek MT7981b
RAM:   256MB DDR3
FLASH: 128MB SPI-NAND (Winbond W25N01GV)
WIFI:  Mediatek MT7981b DBDC 802.11ax 2.4/5 GHz
ETH:   MediaTek MT7531 Switch
UART:  3V3 115200 8N1 (Pinout silkscreened / Do not connect VCC)

Installation
-----------------------------------------------------------
Vendor-UI Method
-----------------------------------------------------------
1. Download the OpenWrt initramfs.trx image.

2. Connect the PC via LAN to one of the yellow router ports and wait
   until your PC to get a DHCP lease.

3. Browse to http://192.168.50.1

4. If your router is brand new, finish the setup process and log into
   the Web-UI.

5. Navigate to Administration -> Firmware Upgrade and upload the
   downloaded OpenWrt image.

6. Wait for OpenWrt to boot. Transfer the sysupgrade image to the device
   using scp and install using sysupgrade.

   $ sysupgrade -n <path-to-sysupgrade.bin>
-----------------------------------------------------------
TFTP Method
-----------------------------------------------------------
1. Download the OpenWrt initramfs image. Copy the image to a TFTP server
   reachable at 192.168.1.70/24. Rename the image to rtax52.bin.

2. Connect the PC with TFTP server to the RT-AX52.
   Set a static ip on the ethernet interface of your PC.
     (ip address: 192.168.1.70, subnet mask:255.255.255.0)
  Conect to the serial console,
   interrupt the autoboot process by pressing '4' when prompted.

3. Download & Boot the OpenWrt initramfs image.

   $ setenv ipaddr 192.168.1.1
   $ setenv serverip 192.168.1.70
   $ tftpboot 0x46000000 rtax52.bin
   $ bootm 0x46000000

4. Wait for OpenWrt to boot. Transfer the sysupgrade image to the device
   using scp and install using sysupgrade.

   $ sysupgrade -n <path-to-sysupgrade.bin>
---------------------------------------------------------------------------
Revert to stock firmware:
1: Download the rt-ax52 firmware from ASUS official website. Save
   the firmware to tftp server directory and rename to RT-AX52.trx

2: Connect the PC with TFTP server to the RT-AX52.
   Set a static ip on the ethernet interface of your PC.
     (ip address: 192.168.1.70, subnet mask:255.255.255.0)

3: Conect to the serial console,  power on again,  interrupt the
   autoboot process by pressing '4' when prompted.
  $: ubi remove linux
  $: ubi remove jffs2
  $: ubi remove rootfs
  $: ubi remove rootfs_data
  $: ubi create linux 0x45fe000
  $: reset

  Then the dut will reboot,interrupt the autoboot process by
  pressing '2' when prompted.
       2: Load System code then write to Flash via TFTP.
       Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
       $: enter y
  you will see the follow, type enter directly:
       Input device IP (192.168.1.1) ==:
       Input server IP (192.168.1.70) ==:
       Input Linux Kernel filename (RT-AX52.trx) ==:

4: wait for the device run up

Based on support for ASUS RT-AX52 by liudongdongdong7397
and trx image generation by remittor

Signed-off-by: Christoph Krapp <achterin@gmail.com>
3 months agomediatek: add support for Routerich AX3000 v1
Mikhail Zhilkin [Sun, 13 Apr 2025 07:02:53 +0000 (07:02 +0000)] 
mediatek: add support for Routerich AX3000 v1

Routerich AX3000 v1 is a wireless WiFi 6 router.

Specification
-------------
- SoC       : MediaTek MT7981BA dual-core ARM Cortex-A53 1.3 GHz
- RAM       : DDR3 512 MiB
- Flash     : SPI-NAND 128 MiB (Winbond)
- WLAN      : MediaTek MT7976CN dual-band WiFi 6
  - 2.4 GHz : b/g/n/ax, MIMO 2x2
  - 5 GHz   : a/n/ac/ax, MIMO 2x2
- Ethernet  : 10/100/1000 Mbps x3, LAN (MediaTek MT7531AE)
              10/100/1000 Mbps x1, WAN (MT7981 internal PHY)
- USB       : 1x 3.0 with power control
- UART      : through-hole on PCB
  - [J500] GND, TX, RX, 3.3V (115200n8)
- Buttons   : Mesh, Reset
- LEDs      : 1x Power (Blue)
              1x WiFi 2.4 GHz (Blue)
              1x WiFi 5 GHz (Red)
              1x Mesh (Blue)
              3x LAN activity (Blue)
              1x WAN activity (Blue)
              1x WAN no-internet (Red)
- Power     : 12 VDC, 1.5 A

Installation
------------
Flash OpenWrt 'sysupgrade.bin' image using stock firmware web-interface
(without keeping settings).

Return to stock
---------------
Install stock firmware image (without keeping settings) using OpenWrt
sysupgrade method.

Recovery
--------
Connect uart, use u-boot menu to flash stock firmware image or boot
OpenWrt initramfs image.

MAC addresses
-------------
+---------+-------------------+-----------+
|         | MAC               | Algorithm |
+---------+-------------------+-----------+
| WAN     | 24:0f:5e:xx:xx:08 | label     |
| LAN     | 24:0f:5e:xx:xx:09 | label+1   |
| WLAN 2g | 24:0f:5e:xx:xx:0a | label+2   |
| WLAN 5g | 24:0f:5e:xx:xx:0b | label+3   |
+---------+-------------------+-----------+
The WLAN 2g MAC was found in 'Factory', 0x4

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
3 months agomediatek: filogic: fix mistaken executable bit on dts file
Mikhail Zhilkin [Sun, 13 Apr 2025 17:39:34 +0000 (17:39 +0000)] 
mediatek: filogic: fix mistaken executable bit on dts file

This commit fixes mistaken executable bit on
mt7981b-mercusys-mr80x-v3.dts file.

Fixes: 7921e48d4357 ("mediatek: add support for Mercusys MR80X v3")
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
3 months agouboot-mvebu: rb5009: disable YAFFS 18598/head
Robert Marko [Fri, 25 Apr 2025 13:45:23 +0000 (15:45 +0200)] 
uboot-mvebu: rb5009: disable YAFFS

YAFFS support in U-Boot is basically abandoned and will even fail to
build with GCC14, so simply disable it.

Link: https://github.com/openwrt/openwrt/pull/18598
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agolantiq: fix syntax error for fritz736x 18594/head
Tianling Shen [Fri, 25 Apr 2025 10:00:25 +0000 (18:00 +0800)] 
lantiq: fix syntax error for fritz736x

Add missing semicolon to the end of the property.
Remove whitespace while at it.

Fixes: 5a3b9d88f158 ("lantiq: Improve support for LED's fritz736x")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/18594
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agoqualcommax: fix ECC strength of SPI-NAND flash on GL-iNet GL-B3000 18595/head
INAGAKI Hiroshi [Fri, 25 Apr 2025 10:00:42 +0000 (19:00 +0900)] 
qualcommax: fix ECC strength of SPI-NAND flash on GL-iNet GL-B3000

Fix nand-ecc-strength property in the spi-nand node of GL-iNet GL-B3000
to 4, to solve the following ECC error on that spi-nand chip.

[    1.551618] ubi0: attaching mtd11
[    1.552331] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read only 64 bytes, retry
[    1.554455] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read only 64 bytes, retry
[    1.565931] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read only 64 bytes, retry
[    1.576568] ubi0 error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read 64 bytes
[    1.587146] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.6.87 #0
[    1.597153] Hardware name: GL.iNet GL-B3000 (DT)
[    1.602881] Call trace:
[    1.607739]  dump_backtrace+0xa0/0xe0
[    1.609910]  show_stack+0x18/0x24
[    1.613728]  dump_stack_lvl+0x48/0x60
[    1.617027]  dump_stack+0x18/0x24
[    1.620672]  ubi_io_read+0x11c/0x32c
[    1.623972]  ubi_io_read_ec_hdr+0x50/0x1f0
[    1.627618]  ubi_attach+0x35c/0x133c
[    1.631524]  ubi_attach_mtd_dev+0x494/0xaf4
[    1.635257]  ubi_init_attach+0xac/0x2e4
[    1.639163]  do_one_initcall+0x6c/0x1fc
[    1.642983]  kernel_init_freeable+0x204/0x2e4
[    1.646803]  kernel_init+0x28/0x1dc
[    1.651316]  ret_from_fork+0x10/0x20

The GL-B3000 has a Winbond W25N01GW and the spare size (oobsize) of it
is 64. So the maximum available ECC strength with the qpic-snand driver
is 4 but not 8.
The "nand-ecc-strength" property was not used before the commit
fc3ff2af0c ("qualcommax: allow overriding ECC strength for qpic-snand")
and calculated from the registered spare size in the Linux Kernel. As a
result, we had no issues on the GL-B3000 with the wrong ECC strength
value.

Fixes: 3307fe8ee4 ("qualcommax: ipq50xx: add support for GL.iNET GL-B3000")
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18595
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agoudebug: add missing dependencies
Felix Fietkau [Thu, 24 Apr 2025 12:22:34 +0000 (14:22 +0200)] 
udebug: add missing dependencies

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agouboot-tools: validate all uImage.FIT sub-images
Daniel Golle [Thu, 24 Apr 2025 05:43:59 +0000 (06:43 +0100)] 
uboot-tools: validate all uImage.FIT sub-images

uImage.FIT validation was restricted to certain sub-image types
which is problematic as it then won't validate eg. 'filesystem' type
subimages. Also prevent decompressing sub-images into a arbitrary
sized buffer just to then free that buffer -- there is not need to
do this and creating malicious compressed payloads which overflow the
buffer is too easy.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 months agomold: dont allow on MacOS 18575/head
Robert Marko [Wed, 23 Apr 2025 12:18:48 +0000 (14:18 +0200)] 
mold: dont allow on MacOS

Mold does not really work on MacOS, when attempting to use it for example
for ubus:
mold: get_self_path is not supportedcollect2: error: ld returned 1 exit status

Which was introduced by [1] so it seems that MacOS is not supported, so
lets make it non selectable when MacOS is the host.

[1] https://github.com/rui314/mold/commit/f9a37e9dd43681758bbc5647ba9e596ec4ea9f33

Link: https://github.com/openwrt/openwrt/pull/18575
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agoconfig: allow using mold on riscv64
Robert Marko [Wed, 23 Apr 2025 11:07:13 +0000 (13:07 +0200)] 
config: allow using mold on riscv64

Mold supports 32 and 64 bit RISC-V, but since we only support the 64 bit
version allow using mold on it.

Link: https://github.com/openwrt/openwrt/pull/18575
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agoconfig: allow using mold on loongarch64
Robert Marko [Wed, 23 Apr 2025 10:46:30 +0000 (12:46 +0200)] 
config: allow using mold on loongarch64

Mold supports 32 and 64 bit LoongArch, but since we only support the 64 bit
version allow using mold on it.

Link: https://github.com/openwrt/openwrt/pull/18575
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agomold: update to 2.37.1
Robert Marko [Wed, 23 Apr 2025 10:45:04 +0000 (12:45 +0200)] 
mold: update to 2.37.1

mold has seen a bunch of bugfixes and improvements since 2.33.0, so
lets update it.

Link: https://github.com/openwrt/openwrt/pull/18575
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agotoolchain: mold: add PKG_NAME to Makefile 18567/head
Weijie Gao [Tue, 22 Apr 2025 18:15:09 +0000 (02:15 +0800)] 
toolchain: mold: add PKG_NAME to Makefile

In include/host-build.mk, HOST_BUILD_DIR is set by default value:
HOST_BUILD_DIR ?= $(BUILD_DIR_HOST)/$(PKG_NAME)

However the mold package has no PKG_NAME set at all. This means the
HOST_BUILD_DIR is identical to $(BUILD_DIR_HOST).

In the Host/Prepare stage, by default, the $(HOST_BUILD_DIR) will be
deleted at first unconditionally. Since HOST_BUILD_DIR is identical
to $(BUILD_DIR_HOST), the entire build_dir/toolchain-* directory will
be removed and this will cause build failure.

Adding PKG_NAME:=ld.mold can solve this issue.

Signed-off-by: Weijie Gao <hackpascal@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18567
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agomac80211: ath9k: remove wrong devm for request_irq 18570/head
Rosen Penev [Tue, 22 Apr 2025 22:56:01 +0000 (15:56 -0700)] 
mac80211: ath9k: remove wrong devm for request_irq

Since the irq gets copied to sc, it's a really bad idea to use devm,
especially when probe fails.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Fixes: 4e18d22 ("mac80211: ath9k: simplify probe with devm")
Link: https://github.com/openwrt/openwrt/pull/18570
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agotools/squashfs3-lzma: fix compilation with GCC15 18572/head
Rosen Penev [Wed, 23 Apr 2025 02:09:56 +0000 (19:09 -0700)] 
tools/squashfs3-lzma: fix compilation with GCC15

Function pointers require proper types now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18572
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agobpf-headers: fix kernel-$(PKG_PATCHVER) location
Mieczyslaw Nalewaj [Wed, 23 Apr 2025 05:28:26 +0000 (07:28 +0200)] 
bpf-headers: fix kernel-$(PKG_PATCHVER) location

Change kernel-$(PKG_PATCHVER) location to $(TOPDIR)/target/linux/generic/
Change required after commit 8865dadea7b94e7859b416d3b1931b897ea43c48

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [fix include path]
3 months agokernel: Fix patch folders setting for test kernel
Mieczyslaw Nalewaj [Tue, 22 Apr 2025 20:59:58 +0000 (22:59 +0200)] 
kernel: Fix patch folders setting for test kernel

Move kernel-version.mk include to proper place to properly set patch folders for test kernel.

Fixes: 8865dadea7b94e7859b416d3b1931b897ea43c48
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
3 months agoutil-linux: change include order to fix build error
Felix Fietkau [Wed, 23 Apr 2025 08:04:22 +0000 (10:04 +0200)] 
util-linux: change include order to fix build error

Prevent accidentally including an old version of uuid.h, which causes
the build to fail because of missing definitions.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 months agokernel: r8168: add RSS variant 18573/head
Álvaro Fernández Rojas [Wed, 23 Apr 2025 07:39:24 +0000 (09:39 +0200)] 
kernel: r8168: add RSS variant

Instead of enabling RSS support, let's introduce a variant and let users
choose between both variants since it can cause network issues.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
3 months agokernel: r8127: rss: enable ENABLE_MULTIPLE_TX_QUEUE
Álvaro Fernández Rojas [Wed, 23 Apr 2025 07:38:04 +0000 (09:38 +0200)] 
kernel: r8127: rss: enable ENABLE_MULTIPLE_TX_QUEUE

We need both ENABLE_RSS_SUPPORT and ENABLE_MULTIPLE_TX_QUEUE in order to
support multiple RX and TX queues.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
3 months agokernel: r8126: rss: enable ENABLE_MULTIPLE_TX_QUEUE
Álvaro Fernández Rojas [Wed, 23 Apr 2025 07:37:43 +0000 (09:37 +0200)] 
kernel: r8126: rss: enable ENABLE_MULTIPLE_TX_QUEUE

We need both ENABLE_RSS_SUPPORT and ENABLE_MULTIPLE_TX_QUEUE in order to
support multiple RX and TX queues.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
3 months agokernel: r8125: rss: enable ENABLE_MULTIPLE_TX_QUEUE
Pavel Kubelun [Wed, 16 Apr 2025 18:07:32 +0000 (21:07 +0300)] 
kernel: r8125: rss: enable ENABLE_MULTIPLE_TX_QUEUE

We need both ENABLE_RSS_SUPPORT and ENABLE_MULTIPLE_TX_QUEUE in order to
support multiple RX and TX queues.

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18509
[bump release, improve commit description and package changes]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
3 months agokernel: r8125: disable ASPM
Pavel Kubelun [Wed, 16 Apr 2025 18:07:32 +0000 (21:07 +0300)] 
kernel: r8125: disable ASPM

Disable ASPM support for this NIC, fixing strange behavior problems, such as
increased latency, strange uneven throughput, etc.
With this option disabled the NIC achieves stable performance.
Upsteam r8169 driver disables ASPM by default for this NIC.

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18509
[bump release, fix commit description, split 2nd tx queue part]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
3 months agokernel: r8127: load module at boot time
Álvaro Fernández Rojas [Wed, 23 Apr 2025 07:20:43 +0000 (09:20 +0200)] 
kernel: r8127: load module at boot time

This allows the network interface naming to be stable, free from any
possible interaction from external USB network devices that might
claim usb* interface names.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
3 months agokernel: r8126: load module at boot time
Álvaro Fernández Rojas [Wed, 23 Apr 2025 07:20:18 +0000 (09:20 +0200)] 
kernel: r8126: load module at boot time

This allows the network interface naming to be stable, free from any
possible interaction from external USB network devices that might
claim usb* interface names.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
3 months agokernel: r8125: load module at boot time
Álvaro Fernández Rojas [Wed, 23 Apr 2025 07:18:22 +0000 (09:18 +0200)] 
kernel: r8125: load module at boot time

This allows the network interface naming to be stable, free from any
possible interaction from external USB network devices that might
claim usb* interface names.

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18509
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
3 months agokernel: r8168: load module at boot time
Álvaro Fernández Rojas [Wed, 23 Apr 2025 07:17:21 +0000 (09:17 +0200)] 
kernel: r8168: load module at boot time

This allows the network interface naming to be stable, free from any
possible interaction from external USB network devices that might
claim usb* interface names.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
3 months agokernel: r8101: load module at boot time
Álvaro Fernández Rojas [Wed, 23 Apr 2025 07:11:51 +0000 (09:11 +0200)] 
kernel: r8101: load module at boot time

This allows the network interface naming to be stable, free from any
possible interaction from external USB network devices that might
claim usb* interface names.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
3 months agoramips: mt7620: Add support for the devolo WiFi Repeater ac (MT 2767, 2779) 16956/head
Hugo Monteiro [Wed, 20 Mar 2024 23:11:47 +0000 (23:11 +0000)] 
ramips: mt7620: Add support for the devolo WiFi Repeater ac (MT 2767, 2779)

Specification:
    - MT7620A 580 MHz MIPS24KEc
    - 64MB RAM
    - 8MB SPI NOR
    - MediaTek MT7612E 5.0GHz 802.11a/n/ac
    - MediaTek MT7620 2.4GHz 802.11b/g/n
    - 5 LEDs (white)
    - 1 button
    - 1 Gbit port Realtek RTL8211E GbE Phy

Serial Interface:
    - 3 Pins GND, RX, TX
    - Settings: 57600, 8N1

Based on support from edimax_ew-7476rpc/edimax_ew-747x
and netgear_ex3700/netgear_ex3x00_ex61xx

Notes:
 - ATM there is no known way to revert to stock firmware

Flash instruction:
The only known way to flash OpenWrt image is to use tftp in U-Boot, with the
aid of a serial adapter for U-Boot console access:

1. Open the device and connect to the serial port. The device is very similar
   to Edimax 7476RPC. See https://openwrt.org/toh/edimax/ew-7476rpc. No VCC!
2. Configure PC with static IP 192.168.1.2/24 and tftp server and
   connect PC to device using an ethernet cable.
3. Power on the device and, on the serial console, as soon as U-Boot starts
   loading, press "2" to interrupt loading.
4. Enter device ip address 192.168.1.1, PC ip address 192.168.1.2
   and the firmware filename placed on the TFTP server.
5. Device will download file from server, write it to flash and reboot.

Signed-off-by: Hugo Monteiro <monteiro.hugo@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16956
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agolantiq: Improve support for LED's fritz736x 18038/head
Robert Senderek [Wed, 19 Feb 2025 22:24:11 +0000 (23:24 +0100)] 
lantiq: Improve support for LED's fritz736x

add support for fon / internet LED
solves: https://github.com/openwrt/openwrt/issues/17787
This LED is marked Internet or Fon depend on version

Tested on fritz7362sl

Signed-off-by: Robert Senderek <robert.senderek@10g.pl>
Link: https://github.com/openwrt/openwrt/pull/18038
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 months agoqualcommax: add support for ELECOM WRC-X3000GS2 18543/head
INAGAKI Hiroshi [Mon, 10 Feb 2025 15:34:29 +0000 (00:34 +0900)] 
qualcommax: add support for ELECOM WRC-X3000GS2

ELECOM WRC-X3000GS2 is a 2.4/5 GHz band 11ax (Wi-Fi 6) router, based on
IPQ5018.

Specification:

- SoC             : Qualcomm IPQ5018
- RAM             : DDR3 256 MiB (Zentel A3T2GF40CBF-HP)
- Flash           : SPI-NAND 128 MiB (Macronix MX35UF1G24AD-Z4I)
- WLAN            : 2.4/5 GHz 2T2R
  - 2.4 GHz       : Qualcomm IPQ5018 (SoC)
  - 5 GHz         : Qualcomm Atheros QCN6102
- Ethernet        : 5x 10/100/1000 Mbps
  - wan (phy)     : Qualcomm IPQ5018 (SoC)
  - lan (switch)  : Qualcomm Atheros QCA8337
- LEDs/Keys (GPIO): 8x/3x
- UART            : through-hole on PCB, 4pins near the barcode
  - assignment    : 3.3V, TX, RX, NC, GND from the barcode side
  - settings      : 115200n8
- Power           : 12 VDC, 1 A (Max. 11.5W)

Flash instruction using initramfs-factory.bin image:

1. Boot WRC-X3000GS2 normally with router mode
2. Access to the WebUI ("http://192.168.2.1/") on the device and open
   the firmware update page ("ファームウェア更新")
3. Select the OpenWrt factory.bin image and click apply ("適用") button
4. Wait ~120 seconds to complete flashing

Switching to the stock firmware:

1. Load the elecom.sh script

   . /lib/upgrade/elecom.sh

2. Check the current index of rootfs

   bootconfig_rw_index 0:bootconfig rootfs

3. Set the index to inverted value

   bootconfig_rw_index 0:bootconfig rootfs <value>
   bootconfig_rw_index 0:bootconfig1 rootfs <value>

   example:

   - step2 returned "0":

     bootconfig_rw_index 0:bootconfig rootfs 1
     bootconfig_rw_index 0:bootconfig1 rootfs 1

   - step2 returned "1":

     bootconfig_rw_index 0:bootconfig rootfs 0
     bootconfig_rw_index 0:bootconfig1 rootfs 0

4. Reboot

Partition Layout (Stock FW):

0x000000000000-0x000000080000 : "0:SBL1"
0x000000080000-0x000000100000 : "0:MIBIB"
0x000000100000-0x000000140000 : "0:BOOTCONFIG"
0x000000140000-0x000000180000 : "0:BOOTCONFIG1"
0x000000180000-0x000000280000 : "0:QSEE"
0x000000280000-0x000000380000 : "0:QSEE_1"
0x000000380000-0x0000003c0000 : "0:DEVCFG"
0x0000003c0000-0x000000400000 : "0:DEVCFG_1"
0x000000400000-0x000000440000 : "0:CDT"
0x000000440000-0x000000480000 : "0:CDT_1"
0x000000480000-0x000000500000 : "0:APPSBLENV"
0x000000500000-0x000000640000 : "0:APPSBL"
0x000000640000-0x000000780000 : "0:APPSBL_1"
0x000000780000-0x000000880000 : "0:ART"
0x000000880000-0x000000900000 : "0:TRAINING"
0x000000900000-0x000003c40000 : "rootfs"
0x000003c40000-0x000003fc0000 : "Config"
0x000003fc0000-0x000007300000 : "rootfs_1"
0x000007300000-0x000007680000 : "Config_2"
0x000007680000-0x000007b80000 : "Reserved"
0x000007b80000-0x000007c00000 : "FWHEADER"
0x000007c00000-0x000007c80000 : "Factory"

Known Issues:

- All Wi-Fi related peripherals are disabled.
  This device has only 256 MiB RAM and it's too few for ath11k. To
  prevent OOM when using LuCI or other softwares, disable Wi-Fi related
  peripherals in device tree at the moment.

- This device has a Macronix MX35UF1G24AD SPI-NAND chip registered as
  oobsize=128 in Linux Kernel. But using BCH8 breaks I/O on the chip
  with the following errors, so this support uses BCH4 instead.

  root@OpenWrt:~# strings /dev/mtdblock10
  [26427.133154] mtdblock: MTD device '0:appsblenv' is NAND, please consider using UBI block devices instead.
  [26427.134125] I/O error, dev mtdblock10, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 2
  [26427.142240] I/O error, dev mtdblock10, sector 8 op 0x0:(READ) flags 0x80700 phys_seg 3 prio class 2
  [26427.151427] I/O error, dev mtdblock10, sector 16 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 2
  [26427.160440] I/O error, dev mtdblock10, sector 24 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
  [26427.169619] I/O error, dev mtdblock10, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
  [26427.178083] Buffer I/O error on dev mtdblock10, logical block 0, async page read

Notes:

- This device has dual-boot feature and it's managed by the index in the
  0:bootconfig and 0:bootconfig1 partitions.

MAC Addresses:

LAN    : 38:97:A4:xx:xx:60 (0:APPSBLENV, "eth1addr"/"ethaddr"  (text))
WAN    : 38:97:A4:xx:xx:63 (0:APPSBLENV, "eth0addr" (text))
2.4 GHz: 38:97:A4:xx:xx:61 (0:APPSBLENV, "wifi0"    (text))
5 GHz  : 38:97:A4:xx:xx:62 (0:APPSBLENV, "wifi1"    (text))

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18543
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agoqualcommax: allow overriding ECC strength for qpic-snand
INAGAKI Hiroshi [Fri, 14 Feb 2025 09:19:58 +0000 (18:19 +0900)] 
qualcommax: allow overriding ECC strength for qpic-snand

Make the ECC strength in the qpic-snand driver configurable via device
tree to use the device-specific ECC strength value.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18543
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agouboot-envtools: ipq50xx: add support for ELECOM WRC-X3000GS2
INAGAKI Hiroshi [Sat, 15 Feb 2025 00:16:49 +0000 (09:16 +0900)] 
uboot-envtools: ipq50xx: add support for ELECOM WRC-X3000GS2

Add support for ELECOM WRC-X3000GS2 to update "bootdelay" variable
configured as "0" by default when sysupgrade.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18543
Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agoipq-wifi: update to Git HEAD (2025-04-22)
Robert Marko [Tue, 22 Apr 2025 18:56:25 +0000 (20:56 +0200)] 
ipq-wifi: update to Git HEAD (2025-04-22)

38ede16b25d0 qcn9274: add board file for 8devices Kiwi-DVK
df0dc1d03bed qcn9074: update BDF for Linksys MR5500
96ca48d7bb67 ipq5018: add BDF for ELECOM WRC-X3000GS2
acf37292d2c1 qcn6122: add BDF for ELECOM WRC-X3000GS2

Signed-off-by: Robert Marko <robimarko@gmail.com>
3 months agokernel: move kernel version files to linux/generic directory 18537/head
Christian Marangi [Sat, 19 Apr 2025 12:54:23 +0000 (14:54 +0200)] 
kernel: move kernel version files to linux/generic directory

To further improve cleanup and maintenance usage, move the kernel
version files to target/linux/generic directory. This permits to self
contain any change to the specific generic directory instead of having
to bload the include directory of periodic changes.

In kernel-version.mk we now use GENERIC_PLATFORM_DIR provided by
target.mk. To make this work, we need to move the inclusion of
kernel-version.mk in target.mk right after GENERIC_PLATFORM_DIR is
defined.

This also comes to permit downstream project to provide a custom generic
directory and specify the kernel version complete of the hash and the
minor version without having to affect other feeds.

In such case both generic and the target directory are provided as feeds
and OpenWrt reference these specific one instead of the generic one.

For downstream it's still suggested and preferable to all match the
shipped generic kernel minor version but this change permits to at least
enforce good practice instead of having to bloat OpenWrt include file of
all kind of downstream changes (making porting to OpenWrt mainline even
more difficult)

Link: https://github.com/openwrt/openwrt/pull/18537
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 months agoath79: convert driver to .remove_new 18535/head
Mieczyslaw Nalewaj [Sat, 19 Apr 2025 10:23:14 +0000 (12:23 +0200)] 
ath79: convert driver to .remove_new

Convert driver to .remove_new in preparation for kernel 6.12 support.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18535
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>