realtek target needs help

2024-08-03 Thread Hauke Mehrtens
The realtek target supporting the Realtek switches is the only target in OpenWrt main still on Linux kernel 5.15, all other targets are at least on kernel 6.1, most of them are on Linux kernel 6.6. The next OpenWrt major release will use kernel 6.6 only, all targets not migrated to kernel 6.6

Re: [PATCH] kernel: module: usb: remove deprecated Kconfig option CONFIG_XHCI_HCD_DEBUGGING

2024-07-30 Thread Hauke Mehrtens
On 7/26/24 10:07, Florian Eckert wrote: The kconfig option 'CONFIG_XHCI_HCD_DEBUGGING' was removed with commit: https://github.com/torvalds/linux/commit/b2497509df002e9a09c8550cd0ecd2f77c9640d8 Signed-off-by: Florian Eckert --- ...option-CONFIG_USB_XHCI_HCD_DEBUGGING.patch | 36

OpenWrt 22.03.7 seventh service release

2024-07-24 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 22.03 stable version series. It fixes security issues, improves device support, and brings a few bug fixes. Download firmware images using the OpenWrt Firmware Selector: *

OpenWrt 23.05.4 - Service Release

2024-07-19 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 23.05 stable series. It improves device support and brings a few bug fixes including security fixes. Download firmware images using the OpenWrt Firmware Selector: *

[maintainer-tools PATCH 1/4] github-merge-pr: Use GITHUB_TOKEN for API access

2024-07-06 Thread Hauke Mehrtens
Use the GITHUB_TOKEN also for the public https://api.github.com accesses. Over some networks like public hotspots github is blocking unauthenticated access. Signed-off-by: Hauke Mehrtens --- github-merge-pr.sh | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/github

[maintainer-tools PATCH 2/4] github-merge-pr: Add option for no remote operations

2024-07-06 Thread Hauke Mehrtens
This adds the new option GITHUB_NO_PUSH which will prevent the script from doing any changes to remote repositories. Signed-off-by: Hauke Mehrtens --- github-merge-pr.sh | 15 +++ 1 file changed, 15 insertions(+) diff --git a/github-merge-pr.sh b/github-merge-pr.sh index db49c92

[maintainer-tools PATCH 0/4] github-merge-pr: Misc patches

2024-07-06 Thread Hauke Mehrtens
This adds support for my use case. ;-) I want to do the operations which are affecting the remote manually. Sometimes I am doing manual changes in between before merging the PR. Hauke Mehrtens (4): github-merge-pr: Use GITHUB_TOKEN for API access github-merge-pr: Add option for no remote

[maintainer-tools PATCH 4/4] github-merge-pr: doc: Install extra git-filter-repo

2024-07-06 Thread Hauke Mehrtens
The git filter-repo command is not available by default. Signed-off-by: Hauke Mehrtens --- github-merge-pr.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/github-merge-pr.sh b/github-merge-pr.sh index f294c85..1bd3e2f 100755 --- a/github-merge-pr.sh +++ b/github-merge-pr.sh @@ -6,6

[maintainer-tools PATCH 3/4] github-merge-pr: Add option to ignore .mergeable

2024-07-06 Thread Hauke Mehrtens
The option IGNORE_MERGEABLE allows to ignore if the PR is mergeable. This allows to prepare PRs which can not be force pushed with this script. Signed-off-by: Hauke Mehrtens --- github-merge-pr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github-merge-pr.sh b/github

Re: Next OpenWrt 23.05 and 22.03 minor releases

2024-06-30 Thread Hauke Mehrtens
. a security fix as far as I can tell from the description? https://github.com/openwrt/packages/pulls?q=is%3Apr+is%3Aopen+%5B23.05%5D Goetz Am Do., 27. Juni 2024 um 20:21 Uhr schrieb Hauke Mehrtens : Hi, I am planning a new minor release of the 23.05 series and the final release of the 22.03 series

Next OpenWrt 23.05 and 22.03 minor releases

2024-06-27 Thread Hauke Mehrtens
Hi, I am planning a new minor release of the 23.05 series and the final release of the 22.03 series in about 1 week. If you want some commits backported please answer to this mail with the upstream commit hash or create a PR on github for the stable branch. PRs for OpenWrt 23.05:

cont...@openwrt.org mails gone since November 2023

2024-06-24 Thread Hauke Mehrtens
Hi, We lost the mails send to cont...@openwrt.org between 2023-11-18 and 2024-06-21. If you send anything important to this address please resend it. Probably no error message was send back by the mail system. Hauke ___ openwrt-devel mailing list

Re: [PATCH v2 8/8] tegra: trimslice: adjust LED patch to upstream changes

2024-05-31 Thread Hauke Mehrtens
On 5/29/24 16:24, Tomasz Maciej Nowak wrote: From: Tomasz Maciej Nowak LED subsystem has undergone changes how the function and color of LEDs should be specified, so use that, while still keeping the old label. Signed-off-by: Tomasz Maciej Nowak ---

Re: [PATCH 6/7] tegra: enable VDE driver

2024-05-17 Thread Hauke Mehrtens
On 5/15/24 8:05 PM, Tomasz Maciej Nowak wrote: From: Tomasz Maciej Nowak This drives power domain responsible for clean reboot on at least Tegra 2 devices. Signed-off-by: Tomasz Maciej Nowak Hi, Could you explain this change a bit more. My do you deactivate the kmod-video-mem2mem and

OpenWrt 23.05.3 - Service Release

2024-03-24 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 23.05 stable series. It improves device support and brings a few bug fixes including security fixes. Download firmware images using the OpenWrt Firmware Selector: *

Re: Linux kernel 6.1 or 6.6 for OpenWrt 24.x release?

2024-02-05 Thread Hauke Mehrtens
On 2/5/24 11:35, Zoltan HERPAI wrote: On Sat, 3 Feb 2024, Enrico Mioso wrote: On Sat, Feb 03, 2024 at 07:02:44PM +0100, Christian Marangi (Ansuel) wrote: Il giorno sab 3 feb 2024 alle ore 18:55 Janusz Dziedzic ha scritto: sob., 3 lut 2024 o 13:08 Hauke Mehrtens napisał(a): Hi, I track

Re: Linux kernel 6.1 or 6.6 for OpenWrt 24.x release?

2024-02-03 Thread Hauke Mehrtens
On 2/3/24 15:31, Paul D wrote: On 2024-02-03 13:06, Hauke Mehrtens wrote: Hi, I track the status of the Linux kernel 6.1 migration in this github issue: https://github.com/openwrt/openwrt/issues/14546 There are still many targets on kernel 5.15 without testing support for kernel 6.1

Linux kernel 6.1 or 6.6 for OpenWrt 24.x release?

2024-02-03 Thread Hauke Mehrtens
Hi, I track the status of the Linux kernel 6.1 migration in this github issue: https://github.com/openwrt/openwrt/issues/14546 There are still many targets on kernel 5.15 without testing support for kernel 6.1 in OpenWrt master. I assume that we need at least 4 months to get everything to

Re: [VOTE] New member proposal: Robimarko (Robert Marko)

2024-01-30 Thread Hauke Mehrtens
On 1/30/24 19:15, Christian Marangi (Ansuel) wrote: Robert is active in OpenWrt since 2017 and with some recent stats, he has more than 310 commits merged in OpenWrt. He also have uncounted Reviewed-by tag on various PR and merged commits and generally helps in everything related to IPQ

Re: Future of the broadcom-wl package?

2024-01-27 Thread Hauke Mehrtens
On 1/26/24 18:45, Felix Fietkau wrote: Hi, does anybody still care about the broadcom-wl package in OpenWrt? I think it would be nice if we could get rid of it, along with the code support and abstraction for different wireless drivers. It would also allow us to rewrite iwinfo in ucode with

Re: OpenWrt One vs. EU Cyber Resilience Act

2024-01-19 Thread Hauke Mehrtens
The EU is working on a EU Cyber Resilience Act to improve the software security of (consumer) software and (consumer) hardware which contains software. This should be similar to the CE sign, but for software. https://en.wikipedia.org/wiki/Cyber_Resilience_Act After the successful lobbying of

Re: [PATCH] ipq95xx: Add support for IPQ9574 RDP433

2023-12-11 Thread Hauke Mehrtens
On 12/11/23 09:34, Robert Marko wrote: On Mon, 11 Dec 2023 at 06:55, Varadarajan Narayanan wrote: On Fri, Dec 08, 2023 at 11:14:38AM +0100, Robert Marko wrote: On Fri, 8 Dec 2023 at 11:13, Piotr Dymacz wrote: Hi Robert, Adding John's correct e-mail to the loop. On 8.12.2023 11:02,

Re: [PATCH] ipq95xx: Add support for IPQ9574 RDP433

2023-12-11 Thread Hauke Mehrtens
On 12/11/23 06:29, Varadarajan Narayanan wrote: On Thu, Dec 07, 2023 at 08:36:14PM +0800, Chuanhong Guo wrote: Hi! On Thu, Dec 7, 2023 at 7:24 PM Varadarajan Narayanan wrote: On Thu, Dec 07, 2023 at 11:11:03AM +0100, Robert Marko wrote: On 07. 12. 2023. 10:59, Varadarajan Narayanan wrote:

OpenWrt 22.03.6 sixth service release

2023-12-04 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 22.03 stable version series. It fixes security issues, improves device support, and brings a few bug fixes. Download firmware images using the OpenWrt Firmware Selector: *

Re: Battlemesh x OpenWrt meeting in Cyprus?

2023-11-25 Thread Hauke Mehrtens
Hi Arınç and Paul, Thank you Arınç for organizing the Battlemesh in Cyprus. I will probably join the Battlemesh again, but I wont have much time to organize stuff. The following dates are currently proposed: May 15 - 19 May 22 - 26 Wednesday - Sunday, 5 days. Everyone who wants to join,

OpenWrt 23.05.2 - Service Release

2023-11-15 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 23.05 stable series. It improves device support and brings a few bug fixes. Download firmware images using the OpenWrt Firmware Selector: * https://firmware-selector.openwrt.org/?version=23.05.2

Re: [PATCH ustream-ssl 1/2] ustream-mbedtls: Add compatibility with Mbed TLS 3.0.0

2023-11-12 Thread Hauke Mehrtens
On 11/12/23 20:16, Rosen Penev wrote: On Sat, Nov 11, 2023 at 1:35 PM Hauke Mehrtens wrote: This adds support for compiling the code against Mbed TLS 3.0.0. It still compiles against Mbed TLS 2.28. The following changes were needed: * DES and 3DES was removed * mbedtls_pk_context

[PATCH ustream-ssl 2/2] cmake: Fail if undefined symbols are used

2023-11-11 Thread Hauke Mehrtens
Make the linking of the shared library fail when undefined symbols are used. Linking undefined symbols in a shared library normally works and the linking of the binary using the shared library fails. We also compile some example applications and they failed already. Signed-off-by: Hauke Mehrtens

[PATCH ustream-ssl 1/2] ustream-mbedtls: Add compatibility with Mbed TLS 3.0.0

2023-11-11 Thread Hauke Mehrtens
zed * mbedtls_pk_parse_keyfile() now gets a random callback * mbedtls/certs.h contains test data and is not installed any more and not needed. Signed-off-by: Hauke Mehrtens --- ustream-mbedtls.c | 12 +++- ustream-mbedtls.h | 1 - 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ustream-mbedtl

[PATCH v2] Deactivate _FORTIFY_SOURCE in jitterentropy-base.c

2023-10-31 Thread Hauke Mehrtens
does not show an error message in this case, but has the same internal problems. Signed-off-by: Hauke Mehrtens --- CMakeLists.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) Changelog: v2: Use SET_PROPERTY and COMPILE_OPTIONS diff --git a/CMakeLists.txt b/CMakeLists.txt index

[PATCH] Deactivate _FORTIFY_SOURCE in jitterentropy-base.c

2023-10-30 Thread Hauke Mehrtens
does not show an error message in this case, but has the same internal problems. Signed-off-by: Hauke Mehrtens --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a1ee0c1..78954c0 100644 --- a/CMakeLists.txt +++ b

Re: [PATCH] mac80211: add support for rtw88_8822bu

2023-10-22 Thread Hauke Mehrtens
On 10/22/23 12:31, Alexis Lothoré wrote: From: Alexis Lothoré Kernel 6.1 has introduced support for RTW8822BU network adapter, which is an USB variant of the rtw8822b 802.11ac chipset family. Build and install the corresponding module in the rtw88 package Signed-off-by: Alexis Lothoré ---

OpenWrt 23.05.0 - First stable release

2023-10-13 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the first stable release of the OpenWrt 23.05 stable series. OpenWrt 23.05.0 incorporates over 4300 commits since branching the previous OpenWrt 22.03 release and has been under development for over one year. Download firmware images using the

OpenWrt 23.05.0-rc4 - Fourth Release Candidate

2023-10-02 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the fourth release candidate of the upcoming OpenWrt 23.05 stable series. OpenWrt 23.05.0-rc4 incorporates over 4200 commits since branching the previous OpenWrt 22.03 release and has been under development for over one year. This is just a

Re: [PATCH 22.03] mt76: backport various mt7603 fixes to improve Wi-Fi stability

2023-08-27 Thread Hauke Mehrtens
On 8/25/23 07:44, Shiji Yang wrote: From: Shiji Yang The SSID of MT7628 will disappear under heavy load, which makes wireless unusable. These patches can fix this critical issue. Since the mt76 mainline is no longer compatible with OpenWrt-22.03. So let's backport them separately. b14c2351dd

OpenWrt 23.05.0-rc3 - Third Release Candidate

2023-08-22 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the third release candidate of the upcoming OpenWrt 23.05 stable series. OpenWrt 23.05.0-rc3 incorporates over 4200 commits since branching the previous OpenWrt 22.03 release and has been under development for over one year. This is just a

Re: [PATCH v1 2/5] ixp4xx: Resurrect IXP4xx support using device tree

2023-08-11 Thread Hauke Mehrtens
On 6/19/23 13:31, Linus Walleij wrote: This resurrects the support for IXP4xx using device tree rather than the old (deleted) board files. The final pieces of IXP4xx board files were deleted in Linux v5.19. Ext4 root filesystems on CF and USB are supported by the default config. We support

Re: [PATCH 1/5] boot/apex: Restore the APEX boot loader

2023-08-11 Thread Hauke Mehrtens
On 6/19/23 13:31, Linus Walleij wrote: This is a partial revert of the deletion of the IXP4xx target: we restore the APEX boot loader so we can use it for the NSLU2 and related targets. The APEX upstream is as dead as it gets so I have applied OpenWrts old patches on top of the never released

Re: [PATCH uci 2/2] remove internal usage of redundant uci_ptr.last

2023-08-01 Thread Hauke Mehrtens
On 7/14/23 20:28, Jan Venekamp wrote: In uci_lookup_ptr and uci_set the pointer uci_ptr ptr.last is set to the element corresponding to the first of: ptr.o, ptr.s, ptr.p. Thus, ptr.last is redundant and in case of uci_set is (and was) not always consistently set. In order to simplify the code

[PATCH uci] file: Fix uci -m import command

2023-07-13 Thread Hauke Mehrtens via openwrt-devel
uot;uci: optimize update option in uci_set") Signed-off-by: Hauke Mehrtens --- file.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/file.c b/file.c index 93abfae..b01480c 100644 --- a/file.c +++ b/file.c @@ -449,6 +449,7 @@ static void uci_parse_config(struct

OpenWrt 23.05.0-rc2 - Second Release Candidate

2023-06-28 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the second release candidate of the upcoming OpenWrt 23.05 stable series. OpenWrt 23.05.0-rc2 incorporates over 4000 commits since branching the previous OpenWrt 22.03 release and has been under development for over one year. This is just a

[PATCH] Make struct nla_policy and struct nlattr const

2023-06-25 Thread Hauke Mehrtens
Make the struct nla_policy and the struct nlattr const in many places like it is done in full libnl. This bringe our libnl-tiny closer to the upstream version. Signed-off-by: Hauke Mehrtens --- attr.c | 14 +-- genl.c | 4 ++-- include/netlink

Re: [PATCH 1/9] kernel/generic: remove CONFIG_FB_NOTIFY

2023-06-25 Thread Hauke Mehrtens
On 4/26/23 01:23, Elliott Mitchell wrote: I don't know what version of Linux this option disappeared at, but it is clearly gone now. Signed-off-by: Elliott Mitchell --- target/linux/generic/config-5.10 | 1 - target/linux/generic/config-5.15 | 1 - 2 files changed, 2 deletions(-) diff

OpenWrt 23.05.0-rc1 first release candidate

2023-06-09 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the first release candidate of the upcoming OpenWrt 23.05 stable series. OpenWrt 23.05.0-rc1 incorporates over 3900 commits since branching the previous OpenWrt 22.03 release and has been under development for over one year. This is just a

Re: OpenWrt vs Defense positions

2023-05-07 Thread Hauke Mehrtens
On 5/1/23 21:28, Peter Naulls wrote: For those of you who track the small but very real OpenWrt job market, you may have seen there's a creep into Defense/Clearance jobs. Here's but one example: https://careers-bluehalo.icims.com/jobs/3844/job As a self-declared pacifist (and anyway, dual

OpenWrt 22.03.5 fifth service release

2023-05-01 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 22.03 stable version series. It fixes security issues, improves device support, and brings a few bug fixes. Download firmware images using the OpenWrt Firmware Selector: *

OpenWrt 21.02.7 seventh service release

2023-05-01 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 21.02 stable version series. It fixes security issues and brings a bug fix. Download firmware images using the OpenWrt Firmware Selector: * https://firmware-selector.openwrt.org/?version=21.02.7

Re: Regression in backport MEMREAD ioctl ? [Was: Re: mt7622: belkin-rt3200: r22602-42eeb22450: Kernel panic: kernel stack overflow]

2023-04-21 Thread Hauke Mehrtens
On 4/21/23 15:17, Michał Kępień wrote: Hi Petr, Since the crash happens right after snand driver initialization, I think the most likely candidate is this one: fa4dc86e9808 kernel: backport MEMREAD ioctl Maybe there are still some stack declarations of struct mtd_oob_ops left that aren't

next OpenWrt 22.03 and 21.02 minor release

2023-03-27 Thread Hauke Mehrtens
Hi, I would like to create a new OpenWrt 22.03 and 21.02 minor release in the next week. OpenWrt 21.02.6 would be the final release of the OpenWrt 21.02 series. On github the following pull requests are tagged for the releases:

Re: [libnl-tiny PATCH] attr: add NLA_S8

2023-03-19 Thread Hauke Mehrtens
On 3/15/23 14:37, Nick Hainke wrote: NLA_S8 is used by newer hostapd versions. Signed-off-by: Nick Hainke --- attr.c | 1 + include/netlink/attr.h | 35 +++ 2 files changed, 36 insertions(+) diff --git a/attr.c b/attr.c index

Re: Reusable Github Actions and containers [Was: Re: [PATCH uci 2/2] CI: Add github action]

2023-03-12 Thread Hauke Mehrtens
Hi Petr, thanks for the comments. These patches are my minimal version to get something running. I will try to extend it in the new few weeks. On 3/11/23 09:57, Petr Štetiar wrote: Hauke Mehrtens [2023-03-09 00:18:10]: Hi, thanks for taking care, LGTM for a start. I'll just provide my

Re: [PATCH uci 1/2] fuzz: Compile using libstd++

2023-03-12 Thread Hauke Mehrtens
On 3/11/23 10:01, Petr Štetiar wrote: Hauke Mehrtens [2023-03-09 00:18:09]: Hi, It looks like libfuzzer is compiled using libstd++ on Debian Bookworm and not libc++. Using libc++ causes linking errors, use libstd++ instead. so maybe this should be detected and decided at runtime? Otherwise

[PATCH uci 2/2] CI: Add github action

2023-03-08 Thread Hauke Mehrtens
supports it. Signed-off-by: Hauke Mehrtens --- I created a github pull request with these changes too: https://github.com/openwrt/libubox/pull/2 .github/workflows/test.yml | 83 ++ 1 file changed, 83 insertions(+) create mode 100644 .github/workflows

[PATCH uci 1/2] fuzz: Compile using libstd++

2023-03-08 Thread Hauke Mehrtens
It looks like libfuzzer is compiled using libstd++ on Debian Bookworm and not libc++. Using libc++ causes linking errors, use libstd++ instead. Signed-off-by: Hauke Mehrtens --- tests/fuzz/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fuzz

[PATCH libubox 1/2] fuzz: Compile using libstd++

2023-03-08 Thread Hauke Mehrtens
It looks like libfuzzer is compiled using libstd++ on Debian Bookworm and not libc++. Using libc++ causes linking errors, use libstd++ instead. Signed-off-by: Hauke Mehrtens --- tests/fuzz/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fuzz

[PATCH libubox 2/2] CI: Add github action

2023-03-08 Thread Hauke Mehrtens
Add a github action to build libubox and then execute the tests. clang 14 generates debug informations in DWARF 5 format, but valgrind 19.0 does not support that. Install valgrind 20.0 from experimental which supports it. Signed-off-by: Hauke Mehrtens --- I created a github pull request

OpenWrt @ Battlemesh

2023-03-07 Thread Hauke Mehrtens
Hi, Wireless Battlemesh v15 is coming up in May 8-14. https://battlemesh.org/BattleMeshV15 Battlemesh will take place this year in Calafou, Vallbona d'Anoia, Barcelona. We were thinking to do a OpenWrt meeting in parallel or before/after Battlemesh. I would like to know if it makes sense to

Re: [PATCH uqmi] fix uloop initialization

2023-03-05 Thread Hauke Mehrtens
Hi Leon, Please add a prefix for which application with patch is next time. git format-patch origin/master --subject-prefix="PATCH uqmi" On 11/27/22 09:38, Leon M. Busch-George wrote: uloop_init is already called in main. uloop_done is just missing. Signed-off-by: Leon M. Busch-George ---

Re: [ubus PATCH] libubus: remove global variables

2023-03-05 Thread Hauke Mehrtens
Hi Simon, On 1/5/23 15:30, Simon Tate wrote: Remove the use of global blob_buf and blob_attr variables to allow for better thread safety with a ctx per thread on client invoke and sends. Add the same variables to within each calling function's scope, encapsulating the memory usage there.

Re: [PATCH v2] mvebu: add support for Fortinet FortiGate 50E

2023-03-05 Thread Hauke Mehrtens
On 3/1/23 17:01, INAGAKI Hiroshi wrote: Fortinet FortiGate 50E (FG-50E) is a UTM, based on Armada 385 (88F6820). Notes: - All "SPEED" LEDs(Green/Amber) of LAN and 1000M "SPEED" LEDs(Green) of WAN1/2 are connected to GPIO expander. There is no way to indicate link speed of

Re: [PATCH v2] mt7621: move uboot-envtools to DEFAULT_PACKAGES

2023-02-27 Thread Hauke Mehrtens
On 2/27/23 13:38, Bjørn Mork wrote: Several devices depend on fw_printenv during sysupgrade. Make sure it always is present in all images, including initramfs images built by the buildbots. Fixes: 2449a632084b ("ramips: mt7621: Add support for ZyXEL NR7101") Signed-off-by: Bjørn Mork ---

Re: [PATCH] octeontx: add f2fs and ext4 support

2023-02-26 Thread Hauke Mehrtens
On 2/26/23 18:26, Hauke Mehrtens wrote: On 2/22/23 00:08, Tim Harvey wrote: Add both ext4 and f2fs support for overlayfs. The fstools mount_root application will choose f2fs if the overlay volume space available exceeds 100MB, otherwise ext4 is used. Signed-off-by: Tim Harvey ---   target

Re: [PATCH] arm64: only enable BHI mitigation on affected CPUs

2023-02-26 Thread Hauke Mehrtens
On 11/7/22 07:36, DENG Qingfang wrote: When kernel 5.15 support was added, a new config symbol for ARM64 BHI mitigation was enabled, which was also later backported to 5.10. However, only a few CPUs are affected by BHI [0]. Disable it by default, and enable it only on Cortex-A72 targets. [0]

Re: [PATCH] mt7621: move uboot-envtools to DEFAULT_PACKAGES

2023-02-26 Thread Hauke Mehrtens
On 11/17/22 18:21, Bjørn Mork wrote: Several devices depend on fw_printenv during sysupgrade. Make sure it always is present in all images, including initramfs images built by the buildbots. Fixes: 2449a632084b ("ramips: mt7621: Add support for ZyXEL NR7101") Signed-off-by: Bjørn Mork ---

Re: [PATCH] sunxi: enable CONFIG_NVMEM_SYSFS

2023-02-26 Thread Hauke Mehrtens
On 12/30/22 17:47, Robert Marko wrote: On Fri, 30 Dec 2022 at 03:41, Jan-Niklas Burfeind wrote: in both the stable and the testing kernel h2+/h3/h5 devices have a Secure ID that can be read from `/sys/bus/nvmem/devices/sunxi-sid0/nvmem`. Enabling CONFIG_NVMEM_SYSFS grants sysfs access from

Re: [PATCH] hostapd: add support for unicast beacons

2023-02-26 Thread Hauke Mehrtens
On 1/9/23 14:47, Raphaël Mélotte wrote: Also refresh patches. Upstream status: https://patchwork.ozlabs.org/project/hostap/patch/20230105200945.761324-1-raphael.melo...@mind.be/ Signed-off-by: Raphaël Mélotte --- .../620-add-support-for-unicast-beacons.patch | 70 +++

Re: [PATCH] hostapd: add option to ignore data frames from unknown stations

2023-02-26 Thread Hauke Mehrtens
On 1/26/23 11:04, Raphaël Mélotte wrote: Also refresh patches. Upstream hostapd status: https://patchwork.ozlabs.org/project/hostap/patch/20230126091539.2325752-1-raphael.melo...@mind.be/ Signed-off-by: Raphaël Mélotte --- ...-ignore-data-frames-from-unknown-sta.patch | 72

Re: [PATCH] octeontx: add f2fs and ext4 support

2023-02-26 Thread Hauke Mehrtens
On 2/22/23 00:08, Tim Harvey wrote: Add both ext4 and f2fs support for overlayfs. The fstools mount_root application will choose f2fs if the overlay volume space available exceeds 100MB, otherwise ext4 is used. Signed-off-by: Tim Harvey --- target/linux/octeontx/Makefile| 3 ++-

Re: [PATCH] kernel: replace out-of-tree hwmon-gsc driver with in-tree

2023-02-26 Thread Hauke Mehrtens
On 2/18/23 01:24, Tim Harvey wrote: The Gateworks GSC drivers were merged in Linux v5.8: - remove the old out-of-tree module - add configuration for the in-tree modules Signed-off-by: Tim Harvey --- package/kernel/hwmon-gsc/Makefile | 28 --- package/kernel/hwmon-gsc/src/Makefile | 1

[PATCH ustream-ssl v2] ustream-mbedtls: Use getrandom() instead of /dev/urandom

2023-02-19 Thread Hauke Mehrtens
Instead of keeping a file descriptor open just use the getrandom syscall to get random data. This is supported by the musl, glibc and Linux for some time now. This also improves the error handling in case this function returns not as many bytes as expected. Signed-off-by: Hauke Mehrtens

Re: [PATCH ustream-ssl] ustream-mbedtls: Use getrandom() instead of /dev/urandom

2023-02-19 Thread Hauke Mehrtens
Hi Torsten, Sorry for the late answer, I forgot about this mail thread. On 1/30/23 10:57, Torsten Duwe wrote: Hi Hauke! On Sun, 29 Jan 2023 17:08:38 +0100 Hauke Mehrtens wrote: drivers/char/random.c lines 1240- ... * Reading from /dev/urandom has the same functionality as calling

[PATCH netifd 2/5] netifd: Fix multiple -Wsign-compare warnings

2023-02-19 Thread Hauke Mehrtens
of int. Signed-off-by: Hauke Mehrtens --- bonding.c | 2 +- handler.c | 5 +++-- interface-ip.c | 2 +- main.c | 4 ++-- system-linux.c | 21 - ubus.c | 4 ++-- vlan.c | 4 ++-- wireless.c | 2 +- 8 files changed, 24 insertions(+), 20

[PATCH netifd 4/5] netifd: Explicitly zero initialize variables

2023-02-19 Thread Hauke Mehrtens
The -pedantic option was complaining about the old initialization and prefers if it is explicitly initialized to zero. Signed-off-by: Hauke Mehrtens --- proto.c| 2 +- system-linux.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proto.c b/proto.c index 01473f2

[PATCH netifd 5/5] netifd: Activate -Wextra compile warnings

2023-02-19 Thread Hauke Mehrtens
This activates some more compile warnings. -pedantic is not yet activated, then we see too many errors which I do not know how to mitigate. Signed-off-by: Hauke Mehrtens --- CMakeLists.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt

[PATCH netifd 3/5] netifd: Do not return values in void function

2023-02-19 Thread Hauke Mehrtens
These two functions return void, do not try to return a parameter. Signed-off-by: Hauke Mehrtens --- interface-event.c | 6 -- main.c| 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/interface-event.c b/interface-event.c index a40f6dc..b03bfbc 100644

[PATCH netifd 1/5] netifd: bridge: Fix format string position

2023-02-19 Thread Hauke Mehrtens
This fixes the following compile error: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] blobmsg_printf() has the following signature: int blobmsg_printf(struct blob_buf *buf, const char *name, const char *format, ...) Signed-off-by: Hauke Mehrtens

[PATCH netifd 0/5] Fix some compiler warnings

2023-02-19 Thread Hauke Mehrtens
This fixes some compiler warnings and activates -Wextra by default now. Hauke Mehrtens (5): netifd: bridge: Fix format string position netifd: Fix multiple -Wsign-compare warnings netifd: Do not return values in void function netifd: Explicitly zero initialize variables netifd: Activate

Re: [PATCH] bcm47xx: relocate LZMA loader #2

2023-02-08 Thread Hauke Mehrtens
E1000 V2.1) 3. BCM47186B0 (Luxul XWR-600) It isn't needed but also doesn't break: 1. BCM5354 (Asus WL-500gP V2) Ref: 4cd97e476089 ("bcm47xx: relocate LZMA loader") Cc: Hauke Mehrtens Signed-off-by: Rafał Miłecki Acked-by: Hauke Mehrtens Maybe we should increase this even more,

Re: Release Goals 23.x?

2023-02-05 Thread Hauke Mehrtens
On 1/24/23 20:48, Nick wrote: Hey, We have testing-support for 5.15 in almost all targets, so we may be able to release it shortly [0]? WIP 6.1 support is already underway in OpenWrt [1]. We are using GCC 12 as our default compiler version[2]. Binutils has been updated to version 2.40. Could

Re: [PATCH v2] ramips: add support for Huasifei WS1208V2

2023-02-03 Thread Hauke Mehrtens
On 1/27/23 14:57, arinc9.u...@gmail.com wrote: From: Arınç ÜNAL The Huasifei WS1208V2 is an AC1200 router featuring 5 Ethernet ports with a Quectel RM520N-GL cellular modem which supports QMI and MBIM modes. Specifications: - MT7621AT, 256 MiB RAM, 16 MiB SPI Flash - MT7603EN 2.4 GHz &

Re: [PATCH ustream-ssl] ustream-mbedtls: Use getrandom() instead of /dev/urandom

2023-01-29 Thread Hauke Mehrtens
On 1/29/23 15:13, Torsten Duwe wrote: On Sat, 28 Jan 2023 19:41:13 +0100 Hauke Mehrtens wrote: Instead of keeping a file descriptor open just use the getrandom syscall to get random data. This is supported by the musl, glibc and Linux for some time now. This also improves the error handling

[PATCH ustream-ssl] ustream-mbedtls: Use getrandom() instead of /dev/urandom

2023-01-28 Thread Hauke Mehrtens
Instead of keeping a file descriptor open just use the getrandom syscall to get random data. This is supported by the musl, glibc and Linux for some time now. This also improves the error handling in case this function returns not as many bytes as expected. Signed-off-by: Hauke Mehrtens

WRT54GS flash broken

2023-01-22 Thread Hauke Mehrtens
Hi, I wanted to flash a recent OpenWrt onto a WRT54GS today and broke something. I used the recovery mechanism in the CFE boot loader: CFE version 1.0.37 for BCM947XX (32bit,SP,LE) Build Date: Fri Jun 25 15:49:22 CST 2004 (root@Amin) Copyright (C) 2000,2001,2002,2003 Broadcom

[PATCH relayd] route: Fix compile warning with glibc

2023-01-21 Thread Hauke Mehrtens
~~ cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. Signed-off-by: Hauke Mehrtens --- route.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/route.c b/route.c index c552d1f..602fdc9 100644 --- a/route.c +++ b/route.c @@ -36,13 +36

OpenWrt 22.03.3 third service release

2023-01-08 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 22.03 stable version series. It fixes security issues, improves device support, and brings a few bug fixes. Download firmware images using the OpenWrt Firmware Selector: *

Re: [PATCH] ramips: add support for D-Link DAP-X1860 A1

2023-01-06 Thread Hauke Mehrtens
On 12/13/22 23:15, Sebastian Schaper wrote: The DAP-X1860 is a wall-plug AX1800 repeater. Specifications: - MT7621, 256 MiB RAM, 128 MiB SPI NAND - MT7915 + MT7975 2x2 802.11ax (DBDC) - Ethernet: 1 port 10/100/1000 - LED RSSI bargraph (2x green, 1x red/green), incorrectly populated

Re: [PATCH v3] ramips: mt7621: Add Arcadyan WE420223-99 support

2023-01-06 Thread Hauke Mehrtens
On 1/2/23 17:36, Harm Berntsen wrote: The Arcadyan WE420223-99 is a WiFi AC simultaneous dual-band access point distributed as Experia WiFi by KPN in the Netherlands. It features two ethernet ports and 2 internal antennas. Specifications -- SOC : Mediatek MT7621AT ETH : Two 1

Re: [RFC PATCH 0/2] toolchain: build all user space with sanitizer on glibc

2023-01-05 Thread Hauke Mehrtens
On 1/4/23 18:39, Christian Marangi wrote: On Sun, Jan 17, 2021 at 06:10:34PM +0100, Hauke Mehrtens wrote: This patch allows to build most the OpenWrt user space with address and undefined behavior sanitizer activated by default. This only works with glibc and gcc 10 and I only tested

Re: AW: [PATCH v2 0/7] 22.03 lantiq: add support for x490 Fritzboxes

2022-10-26 Thread Hauke Mehrtens
, that as a start there will not be any downloadable images that cover all possible functionality. Daniel. -Original-Nachricht- Betreff: Re: [PATCH v2 0/7] 22.03 lantiq: add support for x490 Fritzboxes Datum: 2022-10-25T00:24:57+0200 Von: "Hauke Mehrtens" An: "Torsten Duwe&qu

Re: CVEs in OpenWrt 22.03

2022-10-26 Thread Hauke Mehrtens
On 10/25/22 17:21, Dave Taht wrote: On Tue, Oct 25, 2022 at 7:37 AM Peter Naulls wrote: On 10/24/22 18:21, Hauke Mehrtens wrote: Hauke, thanks for replying! As I said on a related thread - if an eu body can be found to care more deeply on these issues, I'm pretty sure 30-50k of funding

Re: CVEs in OpenWrt 22.03

2022-10-26 Thread Hauke Mehrtens
On 10/25/22 16:29, Peter Naulls wrote: On 10/24/22 18:21, Hauke Mehrtens wrote: Hauke, thanks for replying! I also prefer if the CVE number is named in the patch. If this is missing somewhere you could send a patch or pull request to rename the patch. I'm afraid I don't have any explicit

Re: SBOM Tool for OpenWRT to feed Dependency Track

2022-10-24 Thread Hauke Mehrtens
On 10/18/22 16:38, Pfendtner Steffen wrote: Hi, We decided to publish our internal fork of the Timesys SBOM Tool we found on github. You find our version at: https://github.com/ads-tec/sbom-openwrt It takes a complete OpenWRT build tree as input and will generate a SBOM in CycloneDX JSON

Re: [PATCH v2 0/7] 22.03 lantiq: add support for x490 Fritzboxes

2022-10-24 Thread Hauke Mehrtens
On 10/23/22 13:19, Torsten Duwe wrote: Hi all, Here is my second attempt for initial FritzBox x490 support. 22.03 now has all the necessary prerequisites, so support can be added according to the rules. The original code snippets were submitted by John Crispin (IIRC), Andreas Böhler and Daniel

Re: CVEs in OpenWrt 22.03

2022-10-24 Thread Hauke Mehrtens
On 10/20/22 22:26, Peter Naulls wrote: Apologies for the obtuseness of the previous email about the squashfs permissions - that's related to the following, but a different topic.  I can now say that we're undergoing a security review for our system which is very much based upon OpenWrt

OpenWrt 21.02.5 fifth service release

2022-10-17 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 21.02 stable version series. It fixes security issues. Download firmware images using the OpenWrt Firmware Selector: * https://firmware-selector.openwrt.org/?version=21.02.5 Download firmware images

Security Advisory 2022-10-17-1 - Multiple issues in mac80211 and cfg80211 (CVE-2022-41674, CVE-2022-42719, CVE-2022-42720, CVE-2022-42721 and CVE-2022-42722)

2022-10-17 Thread Hauke Mehrtens
DESCRIPTION Multiple vulnerabilities were found in the Linux Kernel mac80211 and cfg80211 framework. OpenWrt takes the mac80211 and cfg80211 framework from the wireless backports project which copies it from a more recent Linux kernel version. These vulnerabilities are in the multi BSSID

OpenWrt 22.03.2 second service release

2022-10-17 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 22.03 stable version series. It fixes security issues, improves device support, and brings a few bug fixes. Download firmware images using the OpenWrt Firmware Selector: *

OpenWrt 21.02.4 fourth service release

2022-10-12 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 21.02 stable version series. It fixes security issues, improves device support, and brings a few bug fixes. Download firmware images using the OpenWrt Firmware Selector: *

OpenWrt 22.03.1 first service release

2022-10-12 Thread Hauke Mehrtens
Hi, The OpenWrt community is proud to announce the newest stable release of the OpenWrt 22.03 stable version series. It fixes security issues, improves device support, and brings a few bug fixes. Download firmware images using the OpenWrt Firmware Selector: *

Re: OpenWrt 21.02.4 and OpenWrt 22.03.1 release planning

2022-10-09 Thread Hauke Mehrtens
On 10/6/22 16:42, Szabolcs Hubai wrote: Hi Hauke, There is another LZMA ERROR 1 issue [0] for a ramips/rt3883 device. I have sent a fix for that to GitHub as PR#10834 [1]. It's not on the master, as it is not reviewed yet. The problem is that this device is a SEAMA device, and it got the

  1   2   3   4   5   6   7   8   9   10   >