Re: [PATCH 6/6] binutils: Update to version 2.37

2021-11-07 Thread Hauke Mehrtens
On 11/6/21 10:27 PM, John Thomson wrote: Hi Hauke, On Mon, 1 Nov 2021, at 16:54, Hauke Mehrtens wrote: PKG_NAME:=binutils -PKG_VERSION:=2.35.2 +PKG_VERSION:=2.37 I am seeing a problem compiling package/devel/binutils 2.37 This is not showing on the buildbots, so not urgent. I opened an

Re: [PATCH 1/2] kernel: add missing UBSAN config symbols

2021-11-07 Thread Hauke Mehrtens
On 11/3/21 7:08 PM, Stijn Tintel wrote: Enabling KERNEL_UBSAN exposes several missing symbols. Add new kernel build options for UBSAN_BOUNDS and UBSAN_TRAP, disable CONFIG_TEST_UBSAN in the generic kernel configs and enable CONFIG_UBSAN_MISC in generic 5.10 config. The latter symbol was removed i

Re: [PATCH 2/2] kernel: add missing KASAN config symbols

2021-11-07 Thread Hauke Mehrtens
at it, disable TEST_KASAN_MODULE in the generic 5.10 config. Fixes build failures with KERNEL_KASAN enabled. Signed-off-by: Stijn Tintel Acked-by: Hauke Mehrtens --- config/Config-kernel.in | 7 +++ target/linux/generic/config-5.10 | 1 + 2 files changed, 8 insertions(+) diff --

Re: [PATCH] uboot-lantiq: danube: fix hanging lzma kernel uncompression

2021-11-07 Thread Hauke Mehrtens
On 11/3/21 12:10 AM, Mathias Kresin wrote: 11/2/21 11:52 PM, Hauke Mehrtens: On 11/2/21 11:35 PM, Mathias Kresin wrote: At least since gcc 7.3.0 (OpenWrt 18.06) lwr/lwl are used in the assembly  of LzmaProps_Decode. The instructions are using unaligned access, which locks up danube boards

Re: [PATCH V2] bcm47xx: relocate LZMA loader

2021-11-08 Thread Hauke Mehrtens
("brcm47xx: relocate loader to higher address") 2909a4b78e2b ("brcm47xx: relocate the stack in loader") Cc: Hauke Mehrtens Signed-off-by: Rafał Miłecki Acked-by: Hauke Mehrtens --- target/linux/bcm47xx/image/lzma-loader/src/Makefile | 4 ++-- 1 file changed, 2 insertions(+),

[PATCH 1/2] kernel: Deactivate B53 symbols in generic configuration

2021-11-14 Thread Hauke Mehrtens
Deactivate all the symbols of the B53 DSA driver in the generic kernel configuration. Multiple targets are now using this drivers and they only need some of the options. This fixes the bcm4908 build which didn't deactivate all of the options. Signed-off-by: Hauke Mehrtens --- target/

[PATCH 2/2] bcm4908: Deactivate pci feature

2021-11-14 Thread Hauke Mehrtens
This target does not activate CONFIG_PCI kernel configuration option, do not activate the PCI feature. This will deactivate some PCI drivers which are not building without PCI support in the kernel. Signed-off-by: Hauke Mehrtens --- target/linux/bcm4908/Makefile | 2 +- 1 file changed, 1

brcmfmac problems

2021-11-22 Thread Hauke Mehrtens
Hi, I tried brcmfmac on a Raspberry Pi 4 with OpenWrt master and ran into some problems. By default the following /etc/config/wireless is generated: -- config wifi-device 'radio0' option type 'mac80211' option path 'platform/soc/fe30.mmcnr/mmc_host/mmc1/mmc1:0001/m

Re: [PATCH 0/3] realtek: fix default network configuration

2021-11-28 Thread Hauke Mehrtens
On 4/12/21 2:27 PM, Bjørn Mork wrote: The default network configuration for the realtek target has already given several users serious problems. Being able to install OpenWrt without having console access is important to many users. Not everyone is prepared to solder a header. Being able to loc

Re: [RFC PATCH] treewide: drop librt and libpthread packages

2021-11-29 Thread Hauke Mehrtens
On 11/18/21 12:58 PM, Jo-Philipp Wich wrote: Since OpenWrt's main libc library, musl, does not provide separate shared object files for libpthread and librt, the existing binary packages for them are empty placeholders which provide no runtime functionality and frequently cause confusion among us

Re: [PATCH v2] realtek: sort the port list numerically

2021-11-29 Thread Hauke Mehrtens
order does not match stock firmware behaviour. Suggested-by: Sander Vanheule Signed-off-by: Bjørn Mork --- Hauke Mehrtens writes: I applied the first and the last patch, could you please resend the reworked patch "realtek: sort the port list numerically ". Thanks! Crossing fingers

Re: [PATCH 0/3] realtek: add support for Panasonic Switch-M8eG PN28080K

2021-11-29 Thread Hauke Mehrtens
On 11/12/21 10:00 PM, Sander Vanheule wrote: Hi, On Sun, 2021-10-03 at 15:53 +0900, INAGAKI Hiroshi wrote: [...] INAGAKI Hiroshi (3):   realtek: enable pca953x driver for target   realtek: enable gpio-restart driver in target   realtek: add support for Panasonic Switch-M8eG PN28080K  tar

[PATCH 2/3] libnl-tiny: Add NLA_PUT_S32()

2021-12-12 Thread Hauke Mehrtens
This function is used by iw 5.16. Signed-off-by: Hauke Mehrtens --- package/libs/libnl-tiny/Makefile | 2 +- .../patches/0001-attr.h-Add-NLA_PUT_S32.patch | 62 +++ 2 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 package/libs/libnl-tiny

[PATCH 21.02] mac80211: Update toversion 5.10.83

2021-12-12 Thread Hauke Mehrtens
The following patches were backported from upstream before and are not needed any more: package/kernel/mac80211/patches/ath/980-ath10k-fix-max-antenna-gain-unit.patch package/kernel/mac80211/patches/subsys/307-mac80211-do-not-access-the-IV-when-it-was-stripped.patch Signed-off-by: Hauke

[PATCH 1/3] mac80211: Update to version 5.15.6

2021-12-12 Thread Hauke Mehrtens
package/kernel/mac80211/patches/subsys/308-mac80211-fix-radiotap-header-generation.patch Signed-off-by: Hauke Mehrtens --- package/kernel/mac80211/Makefile | 6 +- ...egression-with-iram-recovery-feature.patch | 121 -- .../930-ath10k_add_tpt_led_trigger.patch

[PATCH 3/3] iw: Update to version 5.16

2021-12-12 Thread Hauke Mehrtens
Revert a commit to allow providing CFLAGS and LIBS from OpenWrt package Makefile. This downgrades the nl80211.h to kernel 5.15 and removes FILS_CRYPTO_OFFLOAD. This is needed to make it compatible with our patches mac80211 from kernel 5.15 Signed-off-by: Hauke Mehrtens --- package/network

[PATCH 19.07] mac80211: Update to version 4.19.220

2021-12-12 Thread Hauke Mehrtens
The following patch was backported from upstream before and is not needed any more: package/kernel/mac80211/patches/ath/980-ath10k-fix-max-antenna-gain-unit.patch Signed-off-by: Hauke Mehrtens --- package/kernel/mac80211/Makefile | 6 +-- .../patches/ath/542

Re: [PATCH 21.02] mac80211: Update toversion 5.10.83

2021-12-13 Thread Hauke Mehrtens
On 12/13/21 2:16 PM, Koen Vandeputte wrote: On 12.12.21 22:18, Hauke Mehrtens wrote: The following patches were backported from upstream before and are not needed any more: package/kernel/mac80211/patches/ath/980-ath10k-fix-max-antenna-gain-unit.patch package/kernel/mac80211/patches

[PATCH] linux-firmware: Update to version 20121216

2021-12-18 Thread Hauke Mehrtens
The rtl8723bs firmware was removed and a symlink to the rtl8723bu firmware was created like it is done in upstream linux-firmware. Signed-off-by: Hauke Mehrtens --- package/firmware/linux-firmware/Makefile | 4 ++-- package/firmware/linux-firmware/realtek.mk | 8 +--- 2 files changed, 3

Re: [PATCH 19.07] kernel: bump 4.14 to 4.14.259

2021-12-28 Thread Hauke Mehrtens
well. Run tested on ipq40xx/glinet-b1300 and mvebu/turris-omnia. Signed-off-by: Petr Štetiar Acked-by: Hauke Mehrtens ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[PATCH 2/3] toolchain: glibc: Increase minimum kernel version to 5.4

2021-12-29 Thread Hauke Mehrtens
Increase the minimum kernel version needed by the glibc compiled for OpenWrt to version 5.4. With this setting the glibc build will remove all code needed to support older kernel versions. Signed-off-by: Hauke Mehrtens --- toolchain/glibc/common.mk | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 1/3] toolchain: glibc: Update to version 2.34

2021-12-29 Thread Hauke Mehrtens
backwards compatibility any more. Signed-off-by: Hauke Mehrtens --- package/libs/toolchain/Makefile | 5 + toolchain/glibc/common.mk | 8 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/package/libs/toolchain/Makefile b/package/libs/toolchain/Makefile index

[PATCH 3/3] toolchain: glibc: Enable --enable-bind-now

2021-12-29 Thread Hauke Mehrtens
Enable --enable-bind-now when CONFIG_PKG_RELRO_FULL is set. This option is activated by default. This will enable full RELRO protection. Signed-off-by: Hauke Mehrtens --- toolchain/glibc/common.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/toolchain/glibc/common.mk b/toolchain/glibc

Re: [RFT] Kernels for next release

2022-01-01 Thread Hauke Mehrtens
On 12/31/21 6:49 PM, Paul Spooren wrote: Hi all, Kernels for the next release are looking pretty good; except for six targets we got everything running on 5.10! Thanks to everyone who contributed and tested! The following five target support Kernel 5.10 and need testing: - ath25 - bcm63xx - l

Re: Switch issues and CI to GitHub

2022-01-09 Thread Hauke Mehrtens
On 1/7/22 10:34, Paul Spooren wrote: Hi all, Back at the Hamburg meeting in 2019 and a succeeding vote we decided to migrate over to a self-hosted GitLab instance. Some years passed and nothing really happened so I’d like to give this another go. None of the OpenWrt project members is willing

Re: [PATCH v2 1/2] uhttpd: Reload config after uhttpd-mod-ubus was added

2022-01-10 Thread Hauke Mehrtens
On 1/6/22 22:52, Rafał Miłecki wrote: On 6.01.2022 22:50, Rafał Miłecki wrote: On 20.03.2021 20:57, Hauke Mehrtens wrote: Without this change the config is only committed, but the uhttpd daemon is not reloaded. This reload is needed to apply the config. Without the reload of uhttpd, the ubus

Re: [PATCH v2 1/2] uhttpd: Reload config after uhttpd-mod-ubus was added

2022-01-10 Thread Hauke Mehrtens
On 1/11/22 00:03, Hauke Mehrtens wrote: On 1/6/22 22:52, Rafał Miłecki wrote: On 6.01.2022 22:50, Rafał Miłecki wrote: On 20.03.2021 20:57, Hauke Mehrtens wrote: Without this change the config is only committed, but the uhttpd daemon is not reloaded. This reload is needed to apply the config

Re: [RFT] Kernels for next release

2022-01-10 Thread Hauke Mehrtens
Hi Alexey, On 1/10/22 19:30, Alexey Brodkin wrote: Hi Paul, Hauke, I would be fine to remove the arc770 and the ipq807x targets. I removed ipq807x for now, arc770 should receive a patch within the next days. Well, actually the original patch for ARC770 posted by Evgeniy some time ago is

Re: [PATCH] firmware-utils: support checksum for AVM fritzbox wasp SOCs

2022-01-16 Thread Hauke Mehrtens
Hi, This code looks good in general just some small comments. Hauke On 1/13/22 11:20, kestrel1...@t-online.de wrote: From: Daniel Kestrel This patch adds creating the checksum to be able to create an image and boot the secondary ath79 based wireless assist (WASP) SoC with a second instance o

[PATCH 1/2] devices: Add Atheros AR9381

2022-01-16 Thread Hauke Mehrtens
This adds the Atheros AR9381 to the devices list. This card was found in the TP-LINK TD-W8970. Signed-off-by: Hauke Mehrtens --- devices.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/devices.txt b/devices.txt index e6c18e6..3cec45a 100644 --- a/devices.txt +++ b/devices.txt @@ -172,6

[PATCH 2/2] devices: Add Cypress CYW43455

2022-01-16 Thread Hauke Mehrtens
This adds the Cypress CYW43455. This device was found on the Raspberry Pi 4. Signed-off-by: Hauke Mehrtens --- devices.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/devices.txt b/devices.txt index 3cec45a..19c7a48 100644 --- a/devices.txt +++ b/devices.txt @@ -198,4 +198,5 @@ 0x14c3

[PATCH] ltq-vdsl-mei: Remove static linking

2022-01-16 Thread Hauke Mehrtens
This removes -static compile option. The -static option tells GCC to link this statically with the libc, which we do not want in OpenWrt. We want to link everything dynamically to the libc. This fixes a compile problem with glibc. Signed-off-by: Hauke Mehrtens --- .../patches/030-no-static

Re: [PATCH 2/2] devices: Add Cypress CYW43455

2022-01-17 Thread Hauke Mehrtens
On 1/17/22 09:19, Paul Spooren wrote: Which project is this for? I don’t see a devices.txt in openwrt.git. Hi Paul, Sorry I missed the project name. This is for the iwinfo project: https://git.openwrt.org/?p=project/iwinfo.git;a=blob;f=devices.txt;h=e6c18e65e9be0d9d65dfc60f1b77c06dfb8efdee;hb=

Re: [PATCH 1/2] devices: Add Atheros AR9381

2022-01-18 Thread Hauke Mehrtens
On 1/18/22 23:38, Sergey Ryazanov wrote: Hello Hauke, On Mon, Jan 17, 2022 at 12:35 AM Hauke Mehrtens wrote: This adds the Atheros AR9381 to the devices list. This card was found in the TP-LINK TD-W8970. Signed-off-by: Hauke Mehrtens --- devices.txt | 1 + 1 file changed, 1 insertion

Re: [PATCH 1/2] devices: Add Atheros AR9381

2022-01-19 Thread Hauke Mehrtens
On 1/19/22 01:33, Sergey Ryazanov wrote: On Wed, Jan 19, 2022 at 2:31 AM Hauke Mehrtens wrote: On 1/18/22 23:38, Sergey Ryazanov wrote: On Mon, Jan 17, 2022 at 12:35 AM Hauke Mehrtens wrote: This adds the Atheros AR9381 to the devices list. This card was found in the TP-LINK TD-W8970

[PATCH] arc770: Remove arc770 target

2022-01-22 Thread Hauke Mehrtens
target also does not have many users we are aware of. If someone wants to have this target back, feel free to add a fixed version of this target again. Signed-off-by: Hauke Mehrtens --- package/devel/perf/Makefile | 2 +- target/linux/arc770/Makefile | 22

[PATCH 2/2] octeontx: Refresh kernel configuration

2022-01-23 Thread Hauke Mehrtens
Refresh the kernel configuration. No manual changes done. Signed-off-by: Hauke Mehrtens --- target/linux/octeontx/config-5.10 | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/target/linux/octeontx/config-5.10 b/target/linux/octeontx/config-5.10 index 18426a449661

[PATCH] kernel: Fix compile warning

2022-01-23 Thread Hauke Mehrtens
This fixes the following compile warning: CC init/do_mounts.o init/do_mounts.c:478:19: warning: 'mount_ubi_rootfs' defined but not used [-Wunused-function] 478 | static int __init mount_ubi_rootfs(void) | ^~~~ Signed-off-by: Hauk

[PATCH 1/2] kernel: Add CONFIG_CRYPTO_DEV_OCTEONTX_CPT kernel config option

2022-01-23 Thread Hauke Mehrtens
This new kernel configuration option is available when building the octeontx target. Signed-off-by: Hauke Mehrtens --- target/linux/generic/config-5.10 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10 index c9e44e11c25a

OpenWrt 21.02 and 19.07 minor release

2022-01-24 Thread Hauke Mehrtens
Hi, I would like to tag a new 21.02 and 19.07 minor release in about one week. I am not aware of a severe security problem, it was just some time since the last release. Are there any known regressions in the current stable branches compared to the last release and should we fix them? If w

Re: OpenWrt 21.02 and 19.07 minor release

2022-01-24 Thread Hauke Mehrtens
On 1/24/22 22:53, Hauke Mehrtens wrote: Hi, I would like to tag a new 21.02 and 19.07 minor release in about one week. I am not aware of a severe security problem, it was just some time since the last release. Are there any known regressions in the current stable branches compared to the

[PATCH 04/11] mbedtls: Update to version 2.16.12

2022-01-30 Thread Hauke Mehrtens
() and mbedtls_ssl_free() would cause an internal session buffer to be free()'d twice. CVE-2021-44732 The sizes of the ipk changed on MIPS 24Kc like this: 182454 libmbedtls12_2.16.11-2_mips_24kc.ipk 182742 libmbedtls12_2.16.12-1_mips_24kc.ipk Signed-off-by: Hauke Mehrtens --- package/libs/mb

[PATCH 03/11] gdb: Update gdb to version 11.2

2022-01-30 Thread Hauke Mehrtens
s_24kc.ipk 191828 gdbserver_11.1-3_mips_24kc.ipk 191811 gdbserver_11.2-4_mips_24kc.ipk Signed-off-by: Hauke Mehrtens --- package/devel/gdb/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/devel/gdb/Makefile b/package/devel/gdb/Makefile index 24569634a9c1..dd

[PATCH 08/11] util-linux: Do not build raw any more.

2022-01-30 Thread Hauke Mehrtens
;disk-utils/raw.8', needed by 'all-am'. Stop. Signed-off-by: Hauke Mehrtens --- package/utils/util-linux/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux/Makefile index 1714aff95ba0..f2d58b413fd5 100644 ---

[PATCH 05/11] ethtool: Update to version 5.16

2022-01-30 Thread Hauke Mehrtens
into master 32457a9 monitor: do not show duplicate options in help text c01963e Release version 5.16. The sizes of the ipk changed on MIPS 24Kc like this: 34317 ethtool_5.15-1_mips_24kc.ipk 34311 ethtool_5.16-1_mips_24kc.ipk Signed-off-by: Hauke Mehrtens --- package/network/utils/ethtool/Makef

[PATCH 02/11] toolchain: gdb: Update to version 11.2

2022-01-30 Thread Hauke Mehrtens
ll be encoded using DW_ATE_UTF) * PR gdb/28758 (GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section) * PR gdb/28785 (Support SHT_RELR (.relr.dyn) section) Signed-off-by: Hauke Mehrtens --- toolchain/gdb/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[PATCH 01/11] toolchain: glibc: update to latest 2.34 HEAD

2022-01-30 Thread Hauke Mehrtens
wd() CVE-2021-3998: Unexpected return value from realpath() for too long results Signed-off-by: Hauke Mehrtens --- toolchain/glibc/common.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk index e957ff52e509..51d13c457ea

[PATCH 09/11] e2fsprogs: Update to version 1.46.5

2022-01-30 Thread Hauke Mehrtens
libss2_1.46.5-1_mips_24kc.ipk 3148 lsattr_1.45.6-2_mips_24kc.ipk 3227 lsattr_1.46.5-1_mips_24kc.ipk 22530 resize2fs_1.45.6-2_mips_24kc.ipk 22909 resize2fs_1.46.5-1_mips_24kc.ipk 33315 tune2fs_1.45.6-2_mips_24kc.ipk 34511 tune2fs_1.46.5-1_mips_24kc.ipk Signed-off-by: Hauke Mehrtens

[PATCH 07/11] util-linux: Update to version 2.37.3

2022-01-30 Thread Hauke Mehrtens
unprivileged user to unmount other user's filesystems that are either world-writable themselves or mounted in a world-writable directory. Signed-off-by: Hauke Mehrtens --- package/utils/util-linux/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/

[PATCH 06/11] strace: Update to version 5.16

2022-01-30 Thread Hauke Mehrtens
The sizes of the ipk changed on MIPS 24Kc like this: 289764 strace_5.14-1_mips_24kc.ipk 310899 strace_5.16-1_mips_24kc.ipk Signed-off-by: Hauke Mehrtens --- package/devel/strace/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/devel/strace/Makefile b

[PATCH 10/11] libcap: Update to version 2.63

2022-01-30 Thread Hauke Mehrtens
The sizes of the ipk changed on MIPS 24Kc like this: 11248 libcap_2.51-1_mips_24kc.ipk 14461 libcap_2.63-1_mips_24kc.ipk 18864 libcap-bin_2.51-1_mips_24kc.ipk 20576 libcap-bin_2.63-1_mips_24kc.ipk Signed-off-by: Hauke Mehrtens --- package/libs/libcap/Makefile| 6

[PATCH 11/11] uboot-envtools: Update to version 2022.01

2022-01-30 Thread Hauke Mehrtens
The sizes of the ipk changed on MIPS 24Kc like this: 13281 uboot-envtools_2021.01-54_mips_24kc.ipk 13308 uboot-envtools_2022.01-1_mips_24kc.ipk Signed-off-by: Hauke Mehrtens --- package/boot/uboot-envtools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package

[PATCH 2/2] toolchain: glibc: Remove patch for ARC700

2022-01-30 Thread Hauke Mehrtens
The ARC700 target was renoved, this patch is not needed any more. Signed-off-by: Hauke Mehrtens --- toolchain/glibc/patches/300-arc.patch | 55 --- 1 file changed, 55 deletions(-) delete mode 100644 toolchain/glibc/patches/300-arc.patch diff --git a/toolchain/glibc

[PATCH 1/2] kernel: Make kmod-usb-net-lan78xx depend on kmod-of-mdio

2022-01-30 Thread Hauke Mehrtens
kmod-usb-net-lan78xx depends on kmod-of-mdio when this package is activated. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/usb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index

Re: [PATCH 04/11] mbedtls: Update to version 2.16.12

2022-01-30 Thread Hauke Mehrtens
On 1/30/22 17:25, Hauke Mehrtens wrote: This fixes the following security problems: * Zeroize several intermediate variables used to calculate the expected value when verifying a MAC or AEAD tag. This hardens the library in case the value leaks through a memory disclosure vulnerability

Re: [PATCH] linux-firmware: intel: add firmware for AX210

2022-01-31 Thread Hauke Mehrtens
On 1/31/22 18:10, Sungbo Eo wrote: Add the most recent supported firmware file for Intel Wi-Fi 6E AX210 wireless chip. The API version 67 is not yet supported by the driver. Additional PNVM file is required since API version 62. Signed-off-by: Sungbo Eo Acked-by: Hauke Mehrtens +Package

Re: [PATCH] linux-firmware: intel: add firmware for AX210

2022-02-01 Thread Hauke Mehrtens
On 2/1/22 07:02, Sungbo Eo wrote: On 2022-02-01 14:46, Sungbo Eo wrote: On 2022-02-01 04:38, Hauke Mehrtens wrote: On 1/31/22 18:10, Sungbo Eo wrote: Add the most recent supported firmware file for Intel Wi-Fi 6E AX210 wireless chip. The API version 67 is not yet supported by the driver

[PATCH] bcm63xx: Remove patch already in Linux stable

2022-02-01 Thread Hauke Mehrtens
Remove the 434-nand-brcmnand-fix-OOB-R-W-with-Hamming-ECC.patch, it was already applied to Linux 5.10.37 and is not needed any more. Signed-off-by: Hauke Mehrtens --- ...rcmnand-fix-OOB-R-W-with-Hamming-ECC.patch | 34 --- 1 file changed, 34 deletions(-) delete mode 100644

bcm63xx kernel 5.10

2022-02-03 Thread Hauke Mehrtens
Hi, We would like to switch the bcm63xx target to kernel 5.10. Paul created a pull request for that: https://github.com/openwrt/openwrt/pull/4616 There is still a problem with Macronix NAND flash chips, see the comments from the pull request. Could someone please have a look into this probl

ath25 kernel 5.10

2022-02-03 Thread Hauke Mehrtens
Hi, We would like to switch the ath25 target to kernel 5.10. Paul created a pull request for that: https://github.com/openwrt/openwrt/pull/4890 Could you please test this target and report back if it works for you with kernel 5.10 or if we have any regressions compared to kernel 5.4. Please

octeontx kernel 5.10

2022-02-03 Thread Hauke Mehrtens
Hi, We would like to switch the octeontx target to kernel 5.10. Paul created a pull request for that: https://github.com/openwrt/openwrt/pull/4609 Could you please test this target and report back if it works for you with kernel 5.10 or if we have any regressions compared to kernel 5.4. Ple

[PATCH] octeon: Switch to kernel 5.10 and mark source only

2022-02-03 Thread Hauke Mehrtens
, but mark it as source only so the binaries will not be included in the next release. If someone fixes the memory leak please remove the source only tag again so we can create binary images again. Signed-off-by: Hauke Mehrtens --- target/linux/octeon/Makefile | 5 ++--- 1 file changed, 2

Re: bcm63xx kernel 5.10

2022-02-04 Thread Hauke Mehrtens
On 2/4/22 19:23, Florian Fainelli wrote: On 2/4/2022 9:28 AM, Daniel González Cabanelas wrote: Hi Hauke: El vie, 4 feb 2022 a las 0:48, Hauke Mehrtens () escribió: Hi, We would like to switch the bcm63xx target to kernel 5.10. Paul created a pull request for that: https://github.com

Re: [PATCH 0/6] backport fixes and improvements for MT7530

2022-02-05 Thread Hauke Mehrtens
On 2/3/22 13:06, DENG Qingfang wrote: Hi, This series backports some patches from upstream to address the current MT7530 DSA driver's problems. Thanks. DENG Qingfang (6): kernel: backport MediaTek jumbo frame support kernel: backport MT7530 ageing time support kernel: backport MT7530

Re: [PATCH 0/6] backport fixes and improvements for MT7530

2022-02-05 Thread Hauke Mehrtens
On 2/5/22 19:21, Rosen Penev wrote: On Sat, Feb 5, 2022 at 10:12 AM Hauke Mehrtens wrote: On 2/3/22 13:06, DENG Qingfang wrote: Hi, This series backports some patches from upstream to address the current MT7530 DSA driver's problems. Thanks. DENG Qingfang (6): kernel: bac

Re: [PATCH 0/6] backport fixes and improvements for MT7530

2022-02-05 Thread Hauke Mehrtens
On 2/5/22 19:34, DENG Qingfang wrote: On Sun, Feb 6, 2022 at 2:23 AM Hauke Mehrtens wrote: On 2/5/22 19:21, Rosen Penev wrote: On Sat, Feb 5, 2022 at 10:12 AM Hauke Mehrtens wrote: On 2/3/22 13:06, DENG Qingfang wrote: Hi, This series backports some patches from upstream to address the

Re: [PATCH 0/6] backport fixes and improvements for MT7530

2022-02-05 Thread Hauke Mehrtens
On 2/5/22 20:00, DENG Qingfang wrote: On Sun, Feb 6, 2022 at 2:43 AM Hauke Mehrtens wrote: Hi, When I remove this check it works for me: If you change the check to PHY_INTERFACE_MODE_NA, does it still work? It is set to PHY_INTERFACE_MODE_GMII by default on this board. If I change the

Re: [PATCH 0/6] backport fixes and improvements for MT7530

2022-02-05 Thread Hauke Mehrtens
On 2/5/22 22:15, Arınç ÜNAL wrote: On 05/02/2022 21:23, Hauke Mehrtens wrote: On 2/5/22 19:21, Rosen Penev wrote: On Sat, Feb 5, 2022 at 10:12 AM Hauke Mehrtens wrote: On 2/3/22 13:06, DENG Qingfang wrote: Hi, This series backports some patches from upstream to address the current

Re: [PATCH v2 1/2] kernel: backport MediaTek Ethernet PHY driver

2022-02-06 Thread Hauke Mehrtens
On 2/6/22 06:45, DENG Qingfang wrote: Add support for MediaTek Gigabit Ethernet PHYs found in MT7530. Fix some link instability issues. Signed-off-by: DENG Qingfang --- v2: removed interface mode check, should work for MT7531. ...MediaTek-Gigabit-Ethernet-PHY-driver.patch | 159 +

Re: OpenWrt 21.02 and 19.07 minor release

2022-02-09 Thread Hauke Mehrtens
On 1/25/22 00:07, Hauke Mehrtens wrote: On 1/24/22 22:53, Hauke Mehrtens wrote: Hi, I would like to tag a new 21.02 and 19.07 minor release in about one week. I am not aware of a severe security problem, it was just some time since the last release. Are there any known regressions in the

Re: OpenWrt 21.02 and 19.07 minor release

2022-02-12 Thread Hauke Mehrtens
On 2/10/22 16:12, Seo Suchan wrote: looks like those dnsmasq exploits aren't real bugs never looked by human (no commit related by it), but bots confirmed that thoses look fixed by commit 011f8cf1d011ade2f9e7231fca3cabfb1e8eaf06 https://oss-fuzz.com/revisions?job=afl_asan_dnsmasq&range=202112

Re: bcm63xx kernel 5.10

2022-02-14 Thread Hauke Mehrtens
On 2/4/22 00:48, Hauke Mehrtens wrote: Hi, We would like to switch the bcm63xx target to kernel 5.10. Paul created a pull request for that: https://github.com/openwrt/openwrt/pull/4616 There is still a problem with Macronix NAND flash chips, see the comments from the pull request. Could

Re: OpenWrt 21.02 and 19.07 minor release

2022-02-14 Thread Hauke Mehrtens
On 2/13/22 01:26, Hauke Mehrtens wrote: On 2/10/22 16:12, Seo Suchan wrote: looks like those dnsmasq exploits aren't real bugs never looked by human (no commit related by it), but bots confirmed that thoses look fixed by commit 011f8cf1d011ade2f9e7231fca3cabfb1e8eaf06 https://oss-fuz

Re: [PATCH] kernel: Disable CONFIG_COMPAT_32BIT_TIME by default

2022-02-20 Thread Hauke Mehrtens
On 2/19/22 20:16, Petr Štetiar wrote: Linus Walleij [2021-04-14 15:23:11]: Hi, Several targets enable this selectively, probably some of them should consider disabling it and see what happens. we're now using musl 1.2.2 so we should be good to go. So if you want to proceed, can you please u

Re: [PATCH 19.07] wolfssl: bump to 5.1.1-stable

2022-02-20 Thread Hauke Mehrtens
(fixed in 5.1.1) Cc: Hauke Mehrtens Cc: Eneas U de Queiroz Signed-off-by: Petr Štetiar Acked-by: Hauke Mehrtens --- package/libs/wolfssl/Config.in| 6 ++- package/libs/wolfssl/Makefile | 23 ++--- .../patches/100-disable-hardening-check.patch | 2

OpenWrt 22.0X release plan

2022-02-20 Thread Hauke Mehrtens
Hi, All the major new features for the next OpenWrt major release are mostly merged into master. The kernel 5.10 upgrade for the bcm63xx target is still missing. Paul created a issue to track the remaining tasks: https://github.com/openwrt/openwrt/issues/9248 This will be extended with new pr

[PATCH 2/2] realtek: Fix tc default package

2022-02-28 Thread Hauke Mehrtens
The tc package does not exits any more, it was split into tc-tiny and tc-full. Include tc-tiny by default into realtek images. This increases the compressed image size by about 260KBytes. Signed-off-by: Hauke Mehrtens --- target/linux/realtek/Makefile | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 1/2] realtek: Use firewall4

2022-02-28 Thread Hauke Mehrtens
instead of firewall and iptables. This also adds the additional package kmod-nft-offload. The only difference to the router type is the missing ppp and ppp-mod-pppoe package. This increases the compressed image size by about 260KBytes. Signed-off-by: Hauke Mehrtens --- target/linux/realtek/Makefile

Re: [PATCH 1/2] realtek: Use firewall4

2022-02-28 Thread Hauke Mehrtens
On 2/28/22 23:00, Sander Vanheule wrote: Hi Hauke, On Mon, 2022-02-28 at 22:37 +0100, Hauke Mehrtens wrote: The realtek target is not a router, but basic device, see DEVICE_TYPE. The basic device type does not come with firewall by default, see include/target.mk for details. The realtek target

OpenWrt 19.07.9 service release

2022-02-28 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest service release of OpenWrt 19.07. It fixes security issues, improves device support, and brings a few bug fixes. We recently moved our bugs to GitHub, please report issues over there (after checking that nobody else posted the same is

Re: [PATCH] base-files: call "sync" after initial setup

2022-03-01 Thread Hauke Mehrtens
before /etc/init.d/boot . It's probably the stage when the most new files get created. All later changes are usually done using smarter C apps (e.g. busybox or uci) that creates tmp files and uses rename() that is expected to be atomic. Signed-off-by: Rafał Miłecki Acked-by: Hauke Me

[PATCH] iproute2: Remove libxtables from some tc variants

2022-03-01 Thread Hauke Mehrtens
so.1 (0x77d42000) libc.so => /lib/ld-musl-mips-sf.so.1 (0x77de8000) libz.so.1 => /usr/lib/libz.so.1 (0x77d1e000) This is based on a patch from Tiago Gaspar. Signed-off-by: Hauke Mehrtens --- package/network/utils/iproute2/Makefile | 42 +++-- 1 file

[PATCH] linux-firmware: Update to version 20220209

2022-03-06 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- package/firmware/linux-firmware/Makefile | 6 +++--- package/firmware/linux-firmware/intel.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/firmware/linux-firmware/Makefile b/package/firmware/linux-firmware/Makefile index

[PATCH] realtek: Fix kernel dependencies on CONFIG_MDIO_SMBUS

2022-03-13 Thread Hauke Mehrtens
mp; MDIO_BUS [=y] && I2C_SMBUS [=n] Selected by [y]: - SFP [=y] && NETDEVICES [=y] && PHYLIB [=y] && I2C [=y] && PHYLINK [=y] && (HWMON [=y] || HWMON [=y]=n) Fixes: 45053b507c66 ("realtek: Add support for SFP EEPROM-access over SMBus") Signed

Re: [PATCH] realtek: Fix kernel dependencies on CONFIG_MDIO_SMBUS

2022-03-14 Thread Hauke Mehrtens
On 3/14/22 06:56, Birger Koblitz wrote: Hi, CONFIG_SFP should only depend on CONFIG_MDIO_SMBUS on the RTL93xx platforms. This is because only on those platforms there is hardware support for an SMBus controller which is used for the MDIO of the SFP ports. If we had known about the worning, then

Re: OpenWrt 22.0X release plan (22.03)

2022-03-19 Thread Hauke Mehrtens
On 2/20/22 23:57, Hauke Mehrtens wrote: Hi, All the major new features for the next OpenWrt major release are mostly merged into master. The kernel 5.10 upgrade for the bcm63xx target is still missing. Paul created a issue to track the remaining tasks: https://github.com/openwrt/openwrt

[PATCH v2 0/3] realtek: Fix default package selection

2022-03-25 Thread Hauke Mehrtens
these 3 patches also into openwrt 22.03. I do not have a realtek board at hand, if you test this please add a Tested-By please. Hauke Mehrtens (3): realtek: Remove dnsmasq and odhcpd-ipv6only from default realtek: Use firewall4 realtek: Fix tc default package target/linux/realtek/Makefile

[PATCH v2 1/3] realtek: Remove dnsmasq and odhcpd-ipv6only from default

2022-03-25 Thread Hauke Mehrtens
Do not include the dnsmasq and odhcpd-ipv6only package by default any more. These services are not needed on a switch. If someone needs this it is still possible to use opkg or image builder to add them. This decreases the compressed image size by about 165KBytes. Signed-off-by: Hauke Mehrtens

[PATCH v2 2/3] realtek: Use firewall4

2022-03-25 Thread Hauke Mehrtens
instead of firewall and iptables. This also adds the additional package kmod-nft-offload. The only difference to the router type is the missing ppp, ppp-mod-pppoe, dnsmasq and odhcpd-ipv6only package. This increases the compressed image size by about 422KBytes. Signed-off-by: Hauke Mehrtens

[PATCH v2 3/3] realtek: Fix tc default package

2022-03-25 Thread Hauke Mehrtens
The tc package does not exits any more, it was split into tc-tiny, tc-full and tc-bpf. Include tc-bpf by default into realtek images. This increases the compressed image size by about 232KBytes. Signed-off-by: Hauke Mehrtens --- Use tc-bpf instead of tc-tiny. We already have libbpf and libelf

Re: realtek: remove firewall and other core components? [Was: Re: [PATCH 1/2] realtek: Use firewall4]

2022-03-25 Thread Hauke Mehrtens
On 3/23/22 23:10, Birger Koblitz wrote: Hi, On 23/03/2022 21:09, Sander Vanheule wrote: Hi everyone, One extra argument in favour of keeping the firewall in the default config, is that the devices with more advanced stock FW also provide an ACL feature to filter out traffic based on MAC, IP

Re: [PATCH v2 3/3] realtek: Fix tc default package

2022-03-29 Thread Hauke Mehrtens
On 3/25/22 17:35, Paul Spooren wrote: Looks good to me. I’m just wondering if LuCI will pull in dnsmasq et al again for release builds. Stijn tested this on top of OpenWrt 22.03 branch successfully. He also activated LuCI and dnsmasq was not pulled in. Hauke __

Re: bug in busybox lock

2022-03-31 Thread Hauke Mehrtens
On 3/31/22 16:11, e9hack wrote: Hi, commit busybox: fix busybox lock applet pidstr buffer overflow looks wrong for me: --- a/package/utils/busybox/patches/220-add_lock_util.patch +++ b/package/utils/busybox/patches/220-add_lock_util.patch @@ -109,7 +109,7 @@  +  if (!waitonly) {

Re: OpenWrt 22.0X release plan (22.03)

2022-04-03 Thread Hauke Mehrtens
On 4/3/22 09:23, Hannu Nyman wrote: On 2/20/22 23:57, Hauke Mehrtens wrote: > We would like to branch off OpenWrt 22.03 as openwrt-21.03 tomorrow. > We would also like to create branches on the default feeds too. > > Petr will set up the new build bot instance together with

[PATCH 4/6] at91/sama7: Use ext4 driver for ext2 and ext3

2022-04-05 Thread Hauke Mehrtens
Use the ext4 driver for ext2 and ext3 too. This feature is activated in the OpenWrt generic configuration. Signed-off-by: Hauke Mehrtens --- target/linux/at91/sama7/config-default | 6 -- 1 file changed, 6 deletions(-) diff --git a/target/linux/at91/sama7/config-default b/target/linux

[PATCH 0/6] at91/sama7: Update kernel configuration to fix build

2022-04-05 Thread Hauke Mehrtens
really work. Could someone please confirm this. If the SoC does not support USB host mode, we should remove USB from the FEATURES list. If this works, I will also add this to OpenWrt 22.03. Hauke Mehrtens (6): at91/sama7: Remove config options build as module at91/sama7: Do not activate

[PATCH 6/6] at91/sama7: Activate USB host support

2022-04-05 Thread Hauke Mehrtens
Activate support for USB host in the sub target. The USB subsystem has to be compiled into the kernel if it is used. Signed-off-by: Hauke Mehrtens --- target/linux/at91/sama7/config-default | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/at91/sama7/config-default b/target

[PATCH 2/6] at91/sama7: Do not activate cgroups and namespaces

2022-04-05 Thread Hauke Mehrtens
cgroups and namespaces should be configured by the generic OpenWrt configuration and not for a specific target. Signed-off-by: Hauke Mehrtens --- target/linux/at91/sama7/config-default | 17 - 1 file changed, 17 deletions(-) diff --git a/target/linux/at91/sama7/config-default

[PATCH 3/6] at91/sama7: Deactivate certification and key system

2022-04-05 Thread Hauke Mehrtens
This was probably activated by mac80211 which was activated before. mac80211 is build from backports in OpenWrt. Signed-off-by: Hauke Mehrtens --- target/linux/at91/sama7/config-default | 16 1 file changed, 16 deletions(-) diff --git a/target/linux/at91/sama7/config-default

[PATCH 1/6] at91/sama7: Remove config options build as module

2022-04-05 Thread Hauke Mehrtens
-by: Hauke Mehrtens --- target/linux/at91/sama7/config-default | 40 ++ 1 file changed, 2 insertions(+), 38 deletions(-) diff --git a/target/linux/at91/sama7/config-default b/target/linux/at91/sama7/config-default index 8c453659dc47..86fb4d4af663 100644 --- a/target/linux

<    6   7   8   9   10   11   12   13   14   15   >