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-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

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

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: [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 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

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

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: backport

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: 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

[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

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.

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.

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

[PATCH netifd] system-linux: Do not unconditionally activate IPv6 on devices

2022-02-02 Thread Hauke Mehrtens via openwrt-devel
net.ipv6.conf.eth0_0.disable_ipv6 = 1 and add a device setting, but no interface setting in the UCI network configuration IPv6 will still get activated. With this change the IPv6 setting will not be changed any more when no interface is configured. In the interface settings it can still be changed.

[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

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

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 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

[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

[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 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 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 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 07/11] util-linux: Update to version 2.37.3

2022-01-30 Thread Hauke Mehrtens
an 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/utils

[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 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 02/11] toolchain: gdb: Update to version 11.2

2022-01-30 Thread Hauke Mehrtens
will 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 deletions(-) diff

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

2022-01-30 Thread Hauke Mehrtens
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/Makefile | 4 ++-- 1 file

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

2022-01-30 Thread Hauke Mehrtens
-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 --- a/package/utils/util

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

2022-01-30 Thread Hauke Mehrtens
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..dd1df7af8551

[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/mbedtls

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

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

[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: Hauke Mehrtens

[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

[PATCH] arc770: Remove arc770 target

2022-01-22 Thread Hauke Mehrtens
. This 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

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] util-linux: Add taskset

2022-01-19 Thread Hauke Mehrtens via openwrt-devel
pplication from util Linux. It is already build, but not packaged yet. Signed-off-by: Hauke Mehrtens --- package/utils/util-linux/Makefile | 15 +++ 1 file changed, 15 insertions(+) diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux/Makefile index 74f3f17469..

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 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:

[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

[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 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

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

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 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: [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: 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

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 -

[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

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

2021-12-29 Thread Hauke Mehrtens
for 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 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

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] 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 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 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

[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 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 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 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

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  

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! Crossi

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

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

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

[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/linux

[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

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(+),

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 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 --git

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

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

Re: [PATCH] bcm47xx: relocate LZMA loader

2021-11-07 Thread Hauke Mehrtens
https://git.openwrt.org/d5cf4a5aa4a3211012967748569d9a631ee19466 Cc: Hauke Mehrtens Signed-off-by: Rafał Miłecki --- target/linux/bcm47xx/image/lzma-loader/src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/bcm47xx/image/lzma-loader/src/Makefile b

OpenWrt 19.07 end of life on 4. March 2022

2021-11-06 Thread Hauke Mehrtens
Hi, The OpenWrt 19.07 stable branch will be end of life on 4. March 2022. Till then it is in security maintenance mode, we will provide updates for security problems and will also do point releases when necessary. After this date we will not even fix severe security problems any more. We

Re: awk problem on pistachio (24kc+24kf)

2021-11-06 Thread Hauke Mehrtens
On 11/5/21 2:24 PM, Daniel Golle wrote: On Tue, Nov 02, 2021 at 11:49:02PM +0100, Hauke Mehrtens wrote: Hi, On pistachio sysupgrade in master fails and I got down to a problem with awk. This command returns different results on pistachio compared to other targets: echo "mtd2: 000

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

2021-11-02 Thread 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 using memory mapped NOR flash. It isn't clear whether it is a limitation of the

awk problem on pistachio (24kc+24kf)

2021-11-02 Thread Hauke Mehrtens
Hi, On pistachio sysupgrade in master fails and I got down to a problem with awk. This command returns different results on pistachio compared to other targets: echo "mtd2: 2000 1000 \"uEnv\"" | awk -F: '{print $1}' When I execute this on an lantiq/xrx200 or mt7622 device I get

Re: RFC: layerscape: update to kernel 5.10

2021-11-02 Thread Hauke Mehrtens
On 11/2/21 11:49 AM, Martin Schiller wrote: I have now found the cause of my boot problems with linux 5.10. (see [1] for reference) By changing the TEXT_OFFSET to 0x0 (instead of 0x8 before) in the upstream commit [2] and deactivated kernel option CONFIG_RELOCATABLE the system could not

[PATCH] config: Activate SECCOMP also on MIPS 64

2021-11-01 Thread Hauke Mehrtens
This activates SECCOMP also on mips64 and mips64el. This was working fine in a basic test in qemu. Signed-off-by: Hauke Mehrtens --- I only did very basic testing, why was this not activated in the beginning? config/Config-build.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] toolchain: Allow sanitizer on mips and mipsel

2021-11-01 Thread Hauke Mehrtens
Support for libsanitizer on MIPS 32 and MIPSEL 32 was added with GCC 9. MIPS 64 and ARC are still not supported. Signed-off-by: Hauke Mehrtens --- package/libs/toolchain/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libs/toolchain/Makefile b/package

[PATCH 2/6] gdb: Update to version 11.1

2021-11-01 Thread Hauke Mehrtens
GDB 11.1 now depends on gmp. Signed-off-by: Hauke Mehrtens --- package/devel/gdb/Makefile| 6 +++--- package/devel/gdb/patches/110-shared_libgcc.patch | 12 ++-- package/devel/gdb/patches/130-gdb-ctrl-c.patch| 2 +- 3 files changed, 10 insertions(+), 10

[PATCH 1/6] toolchain: gdb: Update to version 11.1

2021-11-01 Thread Hauke Mehrtens
The removed patch was already applied upstream. gdb now mandatory depends on gmp, tell configure where to find it explicitly. We already build gmp in the tools directory for gcc. Also make it use mpfr and mpc as we also build both of them. Signed-off-by: Hauke Mehrtens --- Debian ships a gdb

[PATCH 3/6] valgrind: Update to version 3.18.1

2021-11-01 Thread Hauke Mehrtens
are different from most other systems. The patch is pending upstream: https://bugs.kde.org/show_bug.cgi?id=444781 Signed-off-by: Hauke Mehrtens --- On MIPS BE 32 bit with glibc valgrind does not work for me any more. I am getting this: root

[PATCH 5/6] strace: Update to version 5.14

2021-11-01 Thread Hauke Mehrtens
Explicitly deactivate libselinux, otherwise we get a hard dependency to libselinux. Signed-off-by: Hauke Mehrtens --- package/devel/strace/Makefile | 9 + package/devel/strace/patches/010-m4.patch | 8 2 files changed, 9 insertions(+), 8 deletions(-) diff --git

[PATCH 0/6] Update some development tools

2021-11-01 Thread Hauke Mehrtens
This updates some of the development tools to their recent versions. Hauke Mehrtens (6): toolchain: gdb: Update to version 11.1 gdb: Update to version 11.1 valgrind: Update to version 3.18.1 valgrind: Activate also on MIPS 64 strace: Update to version 5.14 binutils: Update to version

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

2021-11-01 Thread Hauke Mehrtens
This matches the version used in the toolchain. Signed-off-by: Hauke Mehrtens --- package/devel/binutils/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/devel/binutils/Makefile b/package/devel/binutils/Makefile index ca1099349c12..5fdb83036ea3 100644

[PATCH 4/6] valgrind: Activate also on MIPS 64

2021-11-01 Thread Hauke Mehrtens
This activates valgrind also on mips64 and mips64el. This was working fine in a basic test in qemu. Signed-off-by: Hauke Mehrtens --- package/devel/valgrind/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/devel/valgrind/Makefile b/package/devel/valgrind

[PATCH 2/2] jail: elf: Remove MIPS 64 warning

2021-11-01 Thread Hauke Mehrtens
the same error messages on MIPS 32 BE, when I removed the compile check. This was tested in qemu on MIPS 64 BE and MIPS64 LE. Signed-off-by: Hauke Mehrtens --- jail/elf.c | 12 1 file changed, 12 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index 18a7b7c..176d046 100644

[PATCH 1/2] jail: elf: Use 64 bit variables for elf offsets

2021-11-01 Thread Hauke Mehrtens
like this at bootup on MIPS 64 BE: [ 16.622602] do_page_fault(): sending SIGSEGV to ujail for invalid read access from 0100f37251e3 [ 16.622907] epc = 00aaab4ed0e0 in ujail[aaab4e+18000] [ 16.623237] ra = 00aaab4ed694 in ujail[aaab4e+18000] Signed-off-by: Hauke Mehrtens

[PATCH 3/5] pistachio: Copy kernel 5.4 patches to 5.10

2021-10-30 Thread Hauke Mehrtens
This just copies the patches and the configuration from kernel 5.4 to kernel 5.10. Signed-off-by: Hauke Mehrtens --- target/linux/pistachio/Makefile | 1 + target/linux/pistachio/config-5.10| 372 ++ ...ine-img-mdc-Handle-early-status-read.patch | 68

[PATCH 1/5] kernel: Set some options in generic configuration

2021-10-30 Thread Hauke Mehrtens
Add CONFIG_USB_ETH and CONFIG_PWM_JZ4740 to generic kernel configuration. Signed-off-by: Hauke Mehrtens --- target/linux/at91/sam9x/config-default | 1 - target/linux/at91/sama5/config-default | 1 - target/linux/bcm27xx/bcm2709/config-5.10 | 1 - target/linux/bcm27xx/bcm2711/config-5.10

[PATCH 4/5] pistachio: Make kernel 5.10 patches apply

2021-10-30 Thread Hauke Mehrtens
Make the patches apply on kernel 5.10 and refresh the patches and the kernel configuration on top of kernel 5.10. Signed-off-by: Hauke Mehrtens --- target/linux/pistachio/config-5.10| 77 +++ ...mg-spfi-Implement-dual-and-quad-mode.patch | 18 ++--- ...-device-0

[PATCH 5/5] pistachio: Take bootargs from device tree

2021-10-30 Thread Hauke Mehrtens
the device tree. This makes the system boot on the board again. Signed-off-by: Hauke Mehrtens --- target/linux/pistachio/config-5.10 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/pistachio/config-5.10 b/target/linux/pistachio/config-5.10 index f510b389a890

[PATCH 2/5] pistachio: Fix FIT image configuration name

2021-10-30 Thread Hauke Mehrtens
The pistachio U-Boot expects a default configuration with the name config@1 in the FIT image. The default was changed in OpenWrt some months ago. This makes the board boot again. Fixes: 9f714398e060 ("build: use config-1 instead of config@1 as default") Signed-off-by: Hauke Mehrtens -

[PATCH] mac80211: ath10k: Fix crash of QCA9984

2021-10-30 Thread Hauke Mehrtens
This backports an upstream fix which is currently pending in the ath git repository for inclusion into the mainline kernel. This was reported in the forum: https://forum.openwrt.org/t/build-for-netgear-r7800/316/3211 Signed-off-by: Hauke Mehrtens --- I have only compile tested this patch

OpenWrt 21.02.1 First service release

2021-10-29 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the first service release of OpenWrt 21.02. It fixes security issues, improves device support, and brings a few bug fixes. Main changes from OpenWrt 21.02.0 Major bug fixes * Fix Let's Encrypt certificate handling in WolfSSL * Fix sysupgrade

Re: [RFC] 21.02.1 backports

2021-10-21 Thread Hauke Mehrtens
On 10/21/21 1:01 AM, Paul Spooren wrote: Hi all, Hauke an me plan to tag 21.02.1 this Friday. Motivation is the recent breakage (and fix) of HTTPS secured by Let's Encrypt certificates. More information is available in the commit message[0] of the fix. Please post your backport requests

Re: ath11k - pci - backports/.config issue

2021-10-21 Thread Hauke Mehrtens
On 10/21/21 6:52 PM, Robert Marko wrote: On Thu, 21 Oct 2021 at 18:30, Janusz Dziedzic wrote: czw., 21 paź 2021 o 17:54 Robert Marko napisał(a): For PCI/USB bus level support there are per target feature flags that are set and then you can check if those are set so that you cant even

<    1   2   3   4   5   6   7   8   9   10   >