Re: [PATCH v3] kernel: backport MT7530 IRQ support

2022-02-09 Thread Daniel Golle
On Thu, Feb 10, 2022 at 12:00:25PM +0800, DENG Qingfang wrote: > Support MT7530 PHY link change interrupts, and enable for MT7621. > > For external MT7530, a GPIO IRQ line is required, which is > board-specific, so it should be added to each DTS. In case the > interrupt-controller property is miss

Re: [RFC] ApkWrt

2022-02-12 Thread Daniel Golle
On Sat, Feb 12, 2022 at 02:28:40PM +, Lucas Ramage wrote: > This is incredible work Paul! > > If I were running Alpine, would I be able to install an OpenWrt repository in > /etc/apk/repositories and install OpenWrt packages? At this point Alpine is still using APK version 2.2 while Paul's A

Re: [RFC] ApkWrt

2022-02-12 Thread Daniel Golle
Spooren wrote: > > > Date: Sat, 12 Feb 2022 14:16:05 > > From: Paul Spooren > > To: openwrt-devel > > Cc: Ariadne Conill , > > Daniel Golle , Timo Teras , > > John Crispin > > Subject: [RFC] ApkWrt > > > > Hi all, > > > >

Re: [PATCH v3 1/2] linux: introduce multi-cpu dsa patch

2022-02-20 Thread Daniel Golle
On Thu, Feb 03, 2022 at 01:44:11AM +0100, Ansuel Smith wrote: > Add support for multi-cpu dsa. This is a reworked version of the RFC patch > proposed some time ago. > By default every dsa port is connected to the first cpu port and the command > 'ip link set PORT cpu CPU_PORT' can be used to change

Re: [PATCH v3 2/2] iproute2: add support for cpu set

2022-02-20 Thread Daniel Golle
On Thu, Feb 03, 2022 at 01:44:12AM +0100, Ansuel Smith wrote: > Add support for cpu set useful to set CPU port for dsa devices. Please also document the newly added 'cpu' parameter in the command- line output -- the manpage isn't even installed/available for OpenWrt users. > > Signed-off-by: Ans

Re: [PATCH] realtek: ZyXEL GS1900-48: drop gpio-restart

2022-02-20 Thread Daniel Golle
On Sun, Feb 20, 2022 at 09:13:24PM +0100, Birger Koblitz wrote: > Hi, > > during development I came across situations where the RTL839x > SoC's own reset did not always completely reset its state. > U-Boot was no longer able to boot via tftp afterwards. > This is the same situation we see on the R

Re: [PATCH v3 2/2] iproute2: add support for cpu set

2022-02-20 Thread Daniel Golle
On Mon, Feb 21, 2022 at 01:37:10AM +0100, Ansuel Smith wrote: > > > > On Thu, Feb 03, 2022 at 01:44:12AM +0100, Ansuel Smith wrote: > > > Add support for cpu set useful to set CPU port for dsa devices. > > > > Please also document the newly added 'cpu' parameter in the command- > > line output -- t

Re: [PATCH] realtek: ZyXEL GS1900-48: drop gpio-restart

2022-02-21 Thread Daniel Golle
On Mon, Feb 21, 2022 at 10:04:13AM +0100, Sander Vanheule wrote: > On Sun, 2022-02-20 at 21:13 +0100, Birger Koblitz wrote: > > Hi, > > > > during development I came across situations where the RTL839x > > SoC's own reset did not always completely reset its state. > > U-Boot was no longer able to

Re: [PATCH v3 2/2] iproute2: add support for cpu set

2022-02-21 Thread Daniel Golle
On Mon, Feb 21, 2022 at 03:27:19PM +0300, Arınç ÜNAL wrote: > On 21/02/2022 05:30, Daniel Golle wrote: > > On Mon, Feb 21, 2022 at 01:37:10AM +0100, Ansuel Smith wrote: > > > > > > > > On Thu, Feb 03, 2022 at 01:44:12AM +0100, Ansuel Smith wrote: > > >

Re: [PATCH] realtek: ZyXEL GS1900-48: drop gpio-restart

2022-02-21 Thread Daniel Golle
On Mon, Feb 21, 2022 at 08:33:06PM +0100, Sander Vanheule wrote: > On Mon, 2022-02-21 at 12:09 +0000, Daniel Golle wrote: > > On Mon, Feb 21, 2022 at 10:04:13AM +0100, Sander Vanheule wrote: > > > On Sun, 2022-02-20 at 21:13 +0100, Birger Koblitz wrote: > > > &g

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

2022-03-01 Thread Daniel Golle
On Tue, Mar 01, 2022 at 09:51:32PM +0100, Bjørn Mork wrote: > Petr Štetiar writes: > > > Sander Vanheule [2022-02-28 23:00:34]: > > > >> I wonder if it doesn't make more sense to drop the firewall package from > >> the > >> default now, since there is only one interface, unless there is a diffe

Re: [PATCH] realtek: net: dsa: configure better brport flags when ports leave the bridge

2022-03-06 Thread Daniel Golle
"learning" only. The major API change associated with a full v5.12+ > backport is neither required nor wanted. A simpler fix, moving the > call to dsa_port_bridge_flags() out of the loop, has therefore been > merged into this modified backport. > > Fixes: afa3ab54c03d (&q

Re: [PATCH] uqmi: corrected too short received SMS

2022-03-12 Thread Daniel Golle
Hi Henrik, thank you for submitting this patch. I've also noticed that problem long ago but it wasn't important for me at the time, so I didn't go into fixing it. On Sat, Mar 12, 2022 at 12:33:54AM +0100, Henrik Ginstmark wrote: > When characters with ascii values bigger than 0x7f are used, the >

Re: [PATCH fstools] partname: add "fstools_use_partlabel" option to find part from label

2022-03-12 Thread Daniel Golle
On Sat, Mar 12, 2022 at 01:05:17PM +0900, INAGAKI Hiroshi wrote: > This patch adds "fstools_use_partlabel" option to partname driver. > > The Linux Kernel supports "root=PARTLABEL=" syntax, but fstools > doesn't and fail to parse the path to the root device. > To use this syntax, add the option an

[PATCH/RFC] kernel-defaults.mk: get rid of BuildID

2022-04-04 Thread Daniel Golle
different build-id style) At this point, this seems to be what Debian is doing as well in order to achieve reproducible kernel builds, see[1]. [1]: https://wiki.debian.org/SameKernel#How_this_works Signed-off-by: Daniel Golle --- To investigate the issue of non-reproducible kernel images accr

Re: [PATCH/RFC] kernel-defaults.mk: get rid of BuildID

2022-04-05 Thread Daniel Golle
On Tue, Apr 05, 2022 at 05:05:43PM +0200, Felix Fietkau wrote: > On 05.04.22 03:14, Daniel Golle wrote: > > When building the Linux kernel, the linker generates a hash of all > > versions of tools involved in a build called BuildID in ELF header. > > This breaks reproducibil

[PATCH] blockd: restore device_move semantics

2022-04-12 Thread Daniel Golle
autofs mounts, leaving the autofs codepath in a semi- broken state. Restore the original semantics as of before commit 4963db4 to fully restore functionality for autofs mounts. Fixes: 4963db4 ("blockd: use uloop_process for calling /sbin/hotplug-call mount") Signed-off-by: Da

Re: [PATCH 1/4] pcre2: adds pcre2 to base

2022-05-19 Thread Daniel Golle
On Thu, May 19, 2022 at 06:37:28PM +0200, Dominick Grift wrote: > libselinux-3.4 requires pcre2 > > Signed-off-by: Dominick Grift > --- > package/libs/pcre2/Config.in | 30 > package/libs/pcre2/Makefile | 92 > 2 files changed, 122 insertions(+)

Re: [PATCH 0/7] realtek: add HPE 1920 support

2022-07-28 Thread Daniel Golle
On Thu, Jul 28, 2022 at 03:27:14PM +0200, Sander Vanheule wrote: > On Thu, 2022-07-28 at 15:10 +0200, Jan Hoffmann wrote: > > > This adds support for three switches from the HPE 1920 series. It has > > > been tested on HPE 1920-8G and HPE 1920-16G. Support for HPE 1920-24G > > > is also included, a

Re: [PATCH 6/7] tools: add 7z host package

2022-07-31 Thread Daniel Golle
On Sun, Jul 31, 2022 at 03:36:32PM +0200, Sander Vanheule wrote: > On Sat, 2022-07-23 at 22:53 +0200, Jan Hoffmann wrote: > > Add the 7zr command line tool, which is a version of the 7z application > > that only supports 7z archives. > > > > 7z is one of the two compression formats supported in H3

Re: Setting Linux Capabilities

2022-08-17 Thread Daniel Golle
On Wed, Aug 17, 2022 at 09:15:12AM +, Ravi Paluri (QUIC) wrote: > > OpenWrt has procd-ujail, to set capabilities with it: > > https://github.com/openwrt/openwrt/blob/master/package/utils/busybox/files/sysntpd#L80 > > https://github.com/openwrt/openwrt/blob/master/package/utils/busybox/files/ntp

Re: howto support ramoops (former crashlog.o)

2022-08-23 Thread Daniel Golle
Hi Bastian, On Tue, Aug 23, 2022 at 04:47:28PM +, Bastian Bittorf wrote: > I'am trying to add ramoops support for a specific mediatek model. > There are alreay a few commit regarding this, but i'am not apply > to harvest a crashlog after a crash-reboot. pstore/ramoops can only work on platfor

Re: [PATCH] procd: jail/jail: correctly check for null pointer

2022-11-08 Thread Daniel Golle
On Tue, Nov 08, 2022 at 02:26:47PM +, Philipp Meier via openwrt-devel wrote: > The sender domain has a DMARC Reject/Quarantine policy which disallows > sending mailing list messages using the original "From" header. > > To mitigate this problem, the original message has been wrapped > automati

[PATCH] uboot-mediatek: clean up build dependencies

2022-11-17 Thread Daniel Golle
Conditionally depend on arm-trusted-firmware-tools as it is only needed on Cortex-A based systems, hence do not depend on it when building for MIPSel based SoCs. Add swig/host to build dependencies. Reported-by: Peter Naulls Signed-off-by: Daniel Golle --- package/boot/uboot-mediatek/Makefile

Re: Add swig/host build dependency [Was: Re: [PATCH] uboot-mediatek: clean up build dependencies]

2022-11-18 Thread Daniel Golle
On Fri, Nov 18, 2022 at 09:38:55AM -0500, Peter Naulls wrote: > On 11/17/22 14:33, Petr Štetiar wrote: > > Daniel Golle [2022-11-17 17:01:43]: > > > > Hi, > > > > > Add swig/host to build dependencies. > > > > this doesn't looks

Re: [PATCH] ramips: use ARTIFACTS for initramfs-factory of I-O DATA WN-AX1167GR

2022-11-28 Thread Daniel Golle
On Wed, Nov 23, 2022 at 12:24:09PM +0900, INAGAKI Hiroshi wrote: > Use ARTIFACTS to generate initramfs-based factory image of I-O DATA > WN-AX1167GR instead of redundant recipe which generate on > KERNEL_INITRAMFS. > > Note: > > WN-AX1167GR has 2x OS images on stock firmware. > > stock log: > >

Re: [PATCH] ramips: use ARTIFACTS for initramfs-factory of I-O DATA WN-AX1167GR

2022-11-29 Thread Daniel Golle
On Tue, Nov 29, 2022 at 09:30:25PM +0900, INAGAKI Hiroshi wrote: > Hi Daniel, > > thank you for your review. > > On 2022/11/29 11:07, Daniel Golle wrote: > > On Wed, Nov 23, 2022 at 12:24:09PM +0900, INAGAKI Hiroshi wrote: > ... > > > @@ -972,10 +955,13 @@

[PATCH] build: make sure that $(STAGING_DIR_IMAGE) exists

2022-11-29 Thread Daniel Golle
Call 'mkdir -p $(STAGING_DIR_IMAGE)' before trying to store files in this potentially non-existing folder. Signed-off-by: Daniel Golle --- include/image-commands.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/image-commands.mk b/include/image-commands.mk index

Re: [PATCH] ramips: use ARTIFACTS for initramfs-factory of I-O DATA WN-AX1167GR

2022-11-29 Thread Daniel Golle
On Tue, Nov 29, 2022 at 11:10:22PM +0900, INAGAKI Hiroshi wrote: > [...] > This seems to be caused by "image" directory in > staging_dir/target-mipsel_24kc_musl/ not existing, and when I created that > folder manually the build succeeded. > > --- > user@hostmachine:/openwrt/user/git/musashino-

Re: [PATCH] linux: add in labels for block2mtd

2022-11-29 Thread Daniel Golle
On Tue, Nov 29, 2022 at 10:23:48AM -0500, Peter Naulls wrote: > > This backports the upstream label feature in block2mtd to the 5.10.x kernel > in 22.03: > > https://github.com/torvalds/linux/blob/master/drivers/mtd/devices/block2mtd.c Where are we using block2mtd and why? I'm not against backp

Re: [PATCH] linux: add in labels for block2mtd

2022-11-29 Thread Daniel Golle
On Tue, Nov 29, 2022 at 11:28:29AM -0500, Peter Naulls wrote: > On 11/29/22 10:32, Daniel Golle wrote: > > On Tue, Nov 29, 2022 at 10:23:48AM -0500, Peter Naulls wrote: > > > > > > This backports the upstream label feature in block2mtd to the 5.10.x

Re: [PATCH] linux: add in labels for block2mtd

2022-11-29 Thread Daniel Golle
On Tue, Nov 29, 2022 at 12:05:51PM -0500, Peter Naulls wrote: > On 11/29/22 11:50, Daniel Golle wrote: > > > > > There is nothing wrong with that use-case, and it can even be > > interesting for other downstream users. Encrypted rootfs_data is > > generall

Re: [PATCH] px5g-mbedtls error check

2022-12-05 Thread Daniel Golle
Hi Peter, thank you for pointing this out and submitting a patch. On Mon, Dec 05, 2022 at 02:03:48PM -0500, Peter Naulls wrote: > > > In 22.03, px5-mbedtls isn't bothering to check if the output was opened: You patch lacks a Signed-off-by: line in the end of the patch description. > > --- a/

Re: Ethernet switch with linux/openwrt and DSA

2022-12-13 Thread Daniel Golle
On Tue, Dec 13, 2022 at 11:17:49AM +0100, Janusz Dziedzic wrote: > Hello, > > Do you know any/some ethernet switch project (best 18+ gbps ports) > that using linux/openwrt and DSA architecture? Some switches with high port density currently supported by OpenWrt: * TP-Link SG2452P * ZyXEL GS1900

Re: question to block mount/umount

2022-12-14 Thread Daniel Golle
On Wed, Dec 14, 2022 at 02:45:02PM +0100, e9hack wrote: > Hi, > > I'm build OpenWrt with additional sub directories in /mnt. /etc/config/fstab > contains an entry, to mount an usb drive to /mnt/1. If I execute 'block > umount', the usb drive will be unmount and the subdirectory 1 in /mnt will be

Re: Upstreaming mac80211 patches?

2022-12-14 Thread Daniel Golle
On Wed, Dec 14, 2022 at 06:04:40PM +0100, Nick wrote: > Lately, I had to look at some mac80211 patches and I did not understand why > some patches are still present or not upstreamed. What about upstreaming > some of the mac80211 patches or removing some? > For example "120-cfg80211_allow_perm_addr

Re: question to block mount/umount

2022-12-14 Thread Daniel Golle
On Wed, Dec 14, 2022 at 07:00:40PM -0800, B wrote: > On 12/14/22 05:45, e9hack wrote: > > Hi, > > > > I'm build OpenWrt with additional sub directories in /mnt. > > /etc/config/fstab contains an entry, to mount an usb drive to /mnt/1. If > > I execute 'block umount', the usb drive will be unmount

Re: [PATCH] iwinfo: devices: add Qualcomm Atheros QCN6024/9024/9074 cards

2023-01-06 Thread Daniel Golle
On Fri, Jan 06, 2023 at 05:32:48PM +0100, Robert Marko wrote: > On Fri, 6 Jan 2023 at 17:31, Christian Marangi wrote: > > > > On Fri, Jan 06, 2023 at 05:14:37PM +0100, Robert Marko wrote: > > > Add Qualcomm Atheros QCN6024/9024/9074 PCI ID, they all are compatible and > > > use the same ID. > > >

Re: [iwinfo PATCH] devices: add support for declaring compatible matched devices

2023-01-09 Thread Daniel Golle
On Mon, Jan 09, 2023 at 07:44:34PM +0100, Andre Heider wrote: > On 09/01/2023 18:28, Christian Marangi wrote: > > From: Jo-Philipp Wich > > > > Some device have embedded wifi card that are not connected with usb or > > internall with pci. Such device have fake device_id and only the > > vendor_id

[OpenWrt-Devel] [PATCH 1/3] ath79: enable i2c-gpio and spi-gpio in generic subtarget

2020-02-02 Thread Daniel Golle
-off-by: Daniel Golle --- target/linux/ath79/generic/config-default | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/ath79/generic/config-default b/target/linux/ath79/generic/config-default index 2d8f7f20c2..8c3ed13fb5 100644 --- a/target/linux/ath79/generic/config-default +++ b

[OpenWrt-Devel] [PATCH/RFC/BROKEN 2/3] ath79: add support for Atheros AR934x HS UART

2020-02-02 Thread Daniel Golle
AR934x chips also got the 'old' qca,ar9330-uart in addition to the 'new' ns16550a compatible one. Add device-tree bindings in ar934x.dtsi to make use of it. Reported-by: Piotr Dymacz Signed-off-by: Daniel Golle --- Unfortunately this doesn't work yet, I suspect a

[OpenWrt-Devel] [PATCH 3/3] ath79: add support for Teltonika RUT955

2020-02-02 Thread Daniel Golle
first update vendor firmware to latest version - "factory" image was successfully tested on device running "RUT9XX_R_00.06.051" firmware and U-Boot "3.0.2". Signed-off-by: Daniel Golle --- target/linux/ath79/dts/ar9344_tlt_rut955.dts | 301 ++ .

Re: [OpenWrt-Devel] [PATCH 3/3] ath79: add support for Teltonika RUT955

2020-02-04 Thread Daniel Golle
On Mon, Feb 03, 2020 at 11:51:29PM +0100, Piotr Dymacz wrote: > Hi Daniel, Adrian, > > See my comments inline. > > On 02.02.2020 17:41, Daniel Golle wrote: > > The Teltonika RUT955 is an industrial 2G/3G/4G WiFi router with > > various additional inputs and outp

Re: [OpenWrt-Devel] [PATCH 3/3] ath79: add support for Teltonika RUT955

2020-02-04 Thread Daniel Golle
On Sun, Feb 02, 2020 at 06:15:41PM +0100, m...@adrianschmutzler.de wrote: > Hi Daniel, > > several comments inline below. > > + compatible = "tlt,rut955", "qca,ar9344"; > > I would prefer having the full vendor name here (teltonika,rut955), as we > tried to avoid abbreviations in names for ath

Re: [OpenWrt-Devel] [PATCH 3/3] ath79: add support for Teltonika RUT955

2020-02-04 Thread Daniel Golle
Hi Piotr, On Mon, Feb 03, 2020 at 11:51:29PM +0100, Piotr Dymacz wrote: > Hi Daniel, Adrian, > > See my comments inline. > > On 02.02.2020 17:41, Daniel Golle wrote: > > The Teltonika RUT955 is an industrial 2G/3G/4G WiFi router with > > various ad

[OpenWrt-Devel] [PATCH 1/3] ath79: add support for Atheros AR934x HS UART

2020-02-05 Thread Daniel Golle
se registers set, the UART will not function without hardware flow-control being enabled (which is not an option as RTS/CTS pins may not be assigned). Reported-by: Piotr Dymacz Signed-off-by: Daniel Golle --- target/linux/ath79/dts/ar934x.dtsi| 17 +++ ...S-ath79-export-UART1-reference-c

[OpenWrt-Devel] [PATCH 2/3] ath79: ar9330-uart: add support for half-duplex using DTR signal

2020-02-05 Thread Daniel Golle
Signed-off-by: Daniel Golle --- ...41-tty-serial-ar933x-uart-rs485-gpio.patch | 129 ++ 1 file changed, 129 insertions(+) create mode 100644 target/linux/ath79/patches-4.19/0041-tty-serial-ar933x-uart-rs485-gpio.patch diff --git a/target/linux/ath79/patches-4.19/0041-tty-serial

[OpenWrt-Devel] [PATCH 3/3] ath79: add support for Teltonika RUT955

2020-02-05 Thread Daniel Golle
ce running "RUT9XX_R_00.06.051" firmware and U-Boot "3.0.2". Signed-off-by: Daniel Golle --- .../ath79/dts/ar9344_teltonika_rut955.dts | 345 ++ .../generic/base-files/etc/board.d/02_network | 5 + .../base-files/etc/board.d/03_gpio_switches | 8 + t

Re: [OpenWrt-Devel] [PATCH 1/3] ath79: add support for Atheros AR934x HS UART

2020-02-05 Thread Daniel Golle
On Wed, Feb 05, 2020 at 06:27:25PM +0100, Adrian Schmutzler wrote: > Hi, > > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > > Behalf Of Daniel Golle > > Sent: Mittwoch, 5. Februar 2020 16:19 > > To: op

Re: [OpenWrt-Devel] [PATCH 3/3] ath79: add support for Teltonika RUT955

2020-02-05 Thread Daniel Golle
On Wed, Feb 05, 2020 at 06:23:46PM +0100, Adrian Schmutzler wrote: > Hi, > > > + leds { > > + compatible = "gpio-leds"; > > + > > + signal0 { > > + label = "rut955:green:signal1"; > > Still signalX not matching here. Ah, I'll fix that. > > > +

[OpenWrt-Devel] [PATCH/RFC] ath79: ar933x_uart: set UART_CS_{RX, TX}_READY_ORIDE

2020-02-06 Thread Daniel Golle
,TX}_READY_ORIDE bits as other than on AR933x where this UART is used as primary/console, the bootloader on AR934x typically doesn't set those bits. Setting them explicitely on AR933x should not do any harm, so just set them unconditionally. Signed-off-by: Daniel Golle --- If this works we

Re: [OpenWrt-Devel] [PATCH 3/3] ath79: add support for Teltonika RUT955

2020-02-11 Thread Daniel Golle
Hi Chuanhong, thanks for the review and suggestions! On Fri, Feb 07, 2020 at 10:35:08AM +0800, Chuanhong Guo wrote: > Hi! > > some minor comments below: > On Thu, Feb 6, 2020 at 1:07 AM Daniel Golle wrote: > ... > > + > > + gpio_ext_spi { > > +

[OpenWrt-Devel] [PATCH v2 1/2] ath79: ar9330-uart: add support for half-duplex using DTR signal

2020-02-11 Thread Daniel Golle
Signed-off-by: Daniel Golle --- ...41-tty-serial-ar933x-uart-rs485-gpio.patch | 129 ++ 1 file changed, 129 insertions(+) create mode 100644 target/linux/ath79/patches-4.19/0041-tty-serial-ar933x-uart-rs485-gpio.patch diff --git a/target/linux/ath79/patches-4.19/0041-tty-serial

[OpenWrt-Devel] [PATCH 2/2] ath79: add support for Teltonika RUT955

2020-02-11 Thread Daniel Golle
ce running "RUT9XX_R_00.06.051" firmware and U-Boot "3.0.2". Signed-off-by: Daniel Golle --- .../ath79/dts/ar9344_teltonika_rut955.dts | 349 ++ .../generic/base-files/etc/board.d/02_network | 5 + .../base-files/etc/board.d/03_gpio_switches | 8 + t

[OpenWrt-Devel] [PATCH v3 1/2] ath79: ar9330-uart: add support for half-duplex using DTR signal

2020-02-11 Thread Daniel Golle
Signed-off-by: Daniel Golle --- v3: use rts-gpios and support active-low ...41-tty-serial-ar933x-uart-rs485-gpio.patch | 130 ++ 1 file changed, 130 insertions(+) create mode 100644 target/linux/ath79/patches-4.19/0041-tty-serial-ar933x-uart-rs485-gpio.patch diff --git a/target

[OpenWrt-Devel] [PATCH v3 2/2] ath79: add support for Teltonika RUT955

2020-02-11 Thread Daniel Golle
ce running "RUT9XX_R_00.06.051" firmware and U-Boot "3.0.2". Signed-off-by: Daniel Golle --- .../ath79/dts/ar9344_teltonika_rut955.dts | 349 ++ .../generic/base-files/etc/board.d/02_network | 5 + .../base-files/etc/board.d/03_gpio_switches | 8 + t

[OpenWrt-Devel] [PATCH v4 1/2] serial: ar933x_uart: add rs485 support

2020-02-11 Thread Daniel Golle
Add support for RS485 tranceiver with transmit/receive switch hooked to a RTS GPIO pin. Use the 'rts-gpios' and 'rs485-rts-active-low' properties as described in devicetree/bindings/serial/rs485.yaml. Signed-off-by: Daniel Golle --- ...61-tty-serial-ar933x-uart-rs

[OpenWrt-Devel] [PATCH v4 2/2] ath79: add support for Teltonika RUT955

2020-02-11 Thread Daniel Golle
successfully tested on device running "RUT9XX_R_00.06.051" firmware and U-Boot "3.0.2". Signed-off-by: Daniel Golle --- .../ath79/dts/ar9344_teltonika_rut955.dts | 348 ++ .../generic/base-files/etc/board.d/02_network | 5 + .../base-files/etc/board.d/03

Re: [OpenWrt-Devel] [PATCH v4 1/2] serial: ar933x_uart: add rs485 support

2020-02-12 Thread Daniel Golle
Hi Petr, thanks for looking at all that mess I'm extracting from GPL sources... I've looking at how things are supposed to be done and re-wrote the RS-485 and half-duplex parts from scratch. On Wed, Feb 12, 2020 at 01:43:35PM +0100, Petr Štetiar wrote: > Daniel Golle [2020-0

[OpenWrt-Devel] [PATCH v5 1/2] serial: ar933x_uart: add rs485 support

2020-02-12 Thread Daniel Golle
Implement half-duplex as well as mctrl-gpio for RS-485 support. Signed-off-by: Daniel Golle --- ...61-tty-serial-ar933x-uart-rs485-gpio.patch | 206 ++ 1 file changed, 206 insertions(+) create mode 100644 target/linux/ath79/patches-4.19/0061-tty-serial-ar933x-uart-rs485

[OpenWrt-Devel] [PATCH v5 2/2] ath79: add support for Teltonika RUT955

2020-02-12 Thread Daniel Golle
successfully tested on device running "RUT9XX_R_00.06.051" firmware and U-Boot "3.0.2". Signed-off-by: Daniel Golle --- .../ath79/dts/ar9344_teltonika_rut955.dts | 346 ++ .../generic/base-files/etc/board.d/02_network | 5 + .../base-files/etc/board.d/03

Re: [OpenWrt-Devel] [PATCH v5 1/2] serial: ar933x_uart: add rs485 support

2020-02-12 Thread Daniel Golle
Hi Petr, On Wed, Feb 12, 2020 at 05:33:59PM +0100, Petr Štetiar wrote: > Daniel Golle [2020-02-12 16:37:36]: > > ... > > > ++static inline int ar933x_uart_is_half_duplex(struct ar933x_uart_port *up) > > ++{ > > That function name is quite confusing as it'

Re: [OpenWrt-Devel] [PATCH] package: use PKG_VERSION only for upstream packages

2020-02-24 Thread Daniel Golle
do opkg show-upgradable as removing PKG_VERSION may then result in the package manager considering it a downgrade...? I haven't tried nor looked into it in detail though. Cheers Daniel > > Cc: Hans Dedecker > Cc: Felix Fietkau > Cc: Andre Valentin > Cc: Matthias Schiffer

[OpenWrt-Devel] [PATCH/RFC procd 1/3] jail: add support for launching extroot containers

2020-03-20 Thread Daniel Golle
Add option to ujail to use an existing rootfs when launching a containerized service. Later on this option will also be used to launch full-system containers. Signed-off-by: Daniel Golle --- jail/jail.c| 45 ++--- service/instance.c | 15

[OpenWrt-Devel] [PATCH/RFC procd 2/3] jail: add support for userns and cgroupsns

2020-03-20 Thread Daniel Golle
Add options to have jailed process inside new user namespace and cgroups namespace. Currently only the root user inside the container is mapped. Also, mounting /proc currently still fails in the new user namespace with permission denied for unknown reasons. Signed-off-by: Daniel Golle --- jail

[OpenWrt-Devel] [PATCH/RFC procd 3/3] jail: add support for (ram-)overlayfs

2020-03-20 Thread Daniel Golle
Add support for running service with a read/write filesystem overlay. This can either be a user-defined directory for persistency or reside on a tmpfs with fixed size in the RAM. Signed-off-by: Daniel Golle --- jail/jail.c| 95 +++--- service

Re: [OpenWrt-Devel] [PATCH 0/3] Add kernel support for Fintek Super-IO chips

2020-03-21 Thread Daniel Golle
On Wed, Mar 18, 2020 at 11:27:09PM -0400, Nick Bowler wrote: > This series enables packaging of the Linux hwmon, watchdog and gpio > drivers that support multiple Fintek Super-IO chips. In particular, > the Fintek F71869A is used on the Jetway NF99FL board and the stock > OpenWRT kernels appear to

Re: [OpenWrt-Devel] [PATCH 0/3] Add kernel support for Fintek Super-IO chips

2020-03-25 Thread Daniel Golle
On Wed, Mar 25, 2020 at 09:02:34AM +0100, Petr Štetiar wrote: > Nick Bowler [2020-03-24 21:14:51]: > > > On 2020-03-21, Daniel Golle wrote: > > > On Wed, Mar 18, 2020 at 11:27:09PM -0400, Nick Bowler wrote: > > >> This series enables packaging of t

Re: [OpenWrt-Devel] [PATCH] x86: fix virutalbox squashfs images

2020-03-25 Thread Daniel Golle
Hi, On Wed, Mar 25, 2020 at 12:45:08PM +0100, m...@adrianschmutzler.de wrote: > Hi, > > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > > On Behalf Of Paul Spooren > > Sent: Mittwoch, 25. März 2020 08:07 > > To: openwrt-devel@lists.openwrt.o

Re: [OpenWrt-Devel] [PATCH] mac80211: Fix rt2x00 exports

2020-03-29 Thread Daniel Golle
negenerator" > [/drivers/net/wireless/ralink/rt2x00/rt2800lib] is a static EXPORT_SYMBOL_GPL > WARNING: "rt2800_rf_aux_tx1_loopback" > [/drivers/net/wireless/ralink/rt2x00/rt2800lib] is a static EXPORT_SYMBOL_GPL Thanks for the clean-up! Acked-by: Daniel Golle &

[OpenWrt-Devel] [PATCH] mac80211: rt2x00: prune more unnecessary exports

2020-03-30 Thread Daniel Golle
inspiration. Signed-off-by: Daniel Golle --- ...-rt2x00-add-rf-self-txdc-calibration.patch | 28 ++- .../rt2x00/983-rt2x00-add-r-calibration.patch | 34 +++ .../984-rt2x00-add-rxdcoc-calibration.patch | 29 +++- .../985-rt2x00-add-rxiq-calibration.patch

Re: [OpenWrt-Devel] [PATCH] mvebu/cortexa9: use Linksys codename as PROFILE

2020-03-31 Thread Daniel Golle
ice > tree identifier aka Linksys codename as PROFILE name and uses the > consumer name as ALT title. > > Device tree identifier and PROFILE are now identical except for a `,` > replacement with `_`, which is due to Makefile naming limitations. > > Signed-off-by: Paul Spooren

Re: [OpenWrt-Devel] [RFC] x86: use multiple profiles

2020-04-15 Thread Daniel Golle
On Tue, Apr 14, 2020 at 03:08:09PM -1000, Paul Spooren wrote: > Hi all, > > the x86 been recently reworked (cb007a7bf6) and now it is easily possible to > define multiple profiles. Currently only a `generic` profile is offered which > builds mbr and efi grub images with a standard selection of pac

Re: [OpenWrt-Devel] [PATCHv3] ubox: run init script through shellcheck

2020-04-17 Thread Daniel Golle
On Fri, Apr 17, 2020 at 10:50:32AM +0200, m...@adrianschmutzler.de wrote: > Hi, > > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > > On Behalf Of Rosen Penev > > Sent: Mittwoch, 15. April 2020 01:37 > > To: openwrt-devel@lists.openwrt.org >

[OpenWrt-Devel] [PATCH RFC procd] jail: add option to provide /dev/console to containers

2020-04-25 Thread Daniel Golle
Create UNIX/98 PTY, pass master fd to procd and setup mount-bind of slave PTS device on /dev/console inside jail. Allow attaching to an instance's console by using the newly introduced ujail-console command (no multiplexing for now). Signed-off-by: Daniel Golle --- CMakeLists.txt

Re: [OpenWrt-Devel] [PATCH RFC procd] jail: add option to provide /dev/console to containers

2020-04-26 Thread Daniel Golle
Hi Etienne, On Sat, Apr 25, 2020 at 10:37:01PM -0400, Etienne Champetier wrote: > Hi Daniel, > > Le sam. 25 avr. 2020 à 19:48, Daniel Golle a écrit : > > > > Create UNIX/98 PTY, pass master fd to procd and setup mount-bind of > > slave PTS device on /dev/console insid

Re: [OpenWrt-Devel] [19.07] [PATCH] ath79: add support for Sitecom WLR-7100

2020-05-04 Thread Daniel Golle
On Mon, May 04, 2020 at 08:44:40PM +0200, Tomasz Maciej Nowak wrote: > W dniu 04.05.2020 o 20:31, m...@adrianschmutzler.de pisze: > > Hi, > > > >> -Original Message- > >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > >> On Behalf Of Tomasz Maciej Nowak > >> Sent: M

Re: [OpenWrt-Devel] [PATCH] add i40e netdevice configs

2020-05-06 Thread Daniel Golle
On Wed, May 06, 2020 at 10:51:17AM +, zhangkai...@126.com wrote: > From: kai zhang Must have been a too bit early for me today, but apart from the missing commit description and 'kernel: ' prefix of the commit titles, I have also just noticed that this has already been added recently with co

Re: [OpenWrt-Devel] [PATCH] wpad-wolfssl: fix crypto_bignum_sub()

2020-05-10 Thread Daniel Golle
Hi Antonio, I've been trying to get this running two days now, with OpenWrt 19.07 as well as OpenWrt master snapshot on two ath79 devices. unencrypted mesh always works. wpad-mesh-openssl works with SAE. wpad-mesh-wolfssl doesn't work: wpa_supplicant[1407]: wlan1-mesh: MESH-SAE-AUTH-FAILURE addr=0

[OpenWrt-Devel] [PATCH fstools] block: fix segfault triggered by non-autofs mounts

2020-05-11 Thread Daniel Golle
Program received signal SIGSEGV, Segmentation fault. main_autofs (argv=, argc=) at fstools-2020-05-06-eec16e2f/block.c:1193 1193:if (!m->autofs && (mp = find_mount_point(pr->dev))) { Fixes: 9ab936d ("block(d): always call hotplug.d "mount" scripts from blockd&

[OpenWrt-Devel] hostap commit 6c9543fcb breaks MESH-SAE with wolfssl

2020-05-12 Thread Daniel Golle
Hi! After hours of bisecting which change between hostapd_2_8 and hostapd_2_9 broke SAE in mesh mode with WolfSSL we got a result: > commit 6c9543fcb7962e26c2a91c43089abe171d073b44 > Author: Jouni Malinen > Date: Thu Apr 25 20:18:27 2019 +0300 > > Share common SAE and EAP-pwd functionality: r

Re: [OpenWrt-Devel] hostap commit 6c9543fcb breaks MESH-SAE with wolfssl

2020-05-13 Thread Daniel Golle
Hi Jouni, thanks for the quick reply! On Wed, May 13, 2020 at 11:38:17AM +0300, Jouni Malinen wrote: > On Tue, May 12, 2020 at 10:46:12PM +0100, Daniel Golle wrote: > > After hours of bisecting which change between hostapd_2_8 and > > hostapd_2_9 broke SAE in mesh mode with W

Re: [OpenWrt-Devel] hostap commit 6c9543fcb breaks MESH-SAE with wolfssl

2020-05-13 Thread Daniel Golle
On Wed, May 13, 2020 at 04:01:03PM +0300, Jouni Malinen wrote: > On Wed, May 13, 2020 at 11:46:03AM +0100, Daniel Golle wrote: > > Odd, but could be endian or sizeof(int) related differences. I assume > > you are testing on x86_64 glibc while I'm testing this on MIPS24kc &g

Re: [OpenWrt-Devel] hostap commit 6c9543fcb breaks MESH-SAE with wolfssl

2020-05-13 Thread Daniel Golle
On Wed, May 13, 2020 at 03:19:32PM +0100, Daniel Golle wrote: > On Wed, May 13, 2020 at 04:01:03PM +0300, Jouni Malinen wrote: > > On Wed, May 13, 2020 at 11:46:03AM +0100, Daniel Golle wrote: > > > The build environment is currently on an otherwise unused system wired >

Re: [OpenWrt-Devel] [PATCH ucert 00/13] ucert fixes and cleanup

2020-05-18 Thread Daniel Golle
apporach is currently not really cryptographically sound (as also mentioned in usert's README.md). > > In particular patch 12/12 is critical: It must be applied before the > attached libubox patch to avoid a new security issue. ucert changes: Acked-by: Daniel Golle > > The li

Re: [OpenWrt-Devel] hostap commit 6c9543fcb breaks MESH-SAE with wolfssl

2020-05-20 Thread Daniel Golle
Hi Jouni! On Sat, May 16, 2020 at 11:54:55PM +0300, Jouni Malinen wrote: > On Wed, May 13, 2020 at 05:34:31PM +0100, Daniel Golle wrote: > > I've just built OpenWrt for MIPS malta (BE) with mac80211-hwsim and > > hereby confirm the problem shows up there in exactly the same w

Re: [OpenWrt-Devel] [PATCH v5] ramips: add support for Trendnet TEW-810DR

2020-05-25 Thread Daniel Golle
On Mon, May 25, 2020 at 04:57:36PM -0700, Heppler, J. Scott wrote: > > * MediaTek MT7620A (580 Mhz) > * 8 MB of FLASH > * 64 MB of RAM > * 2.4Ghz and 5.0Ghz radios both now functional > * 5x 10/100 Mbps Ethernet (1 WAN and 4 LAN) > * UART header on PCB (57600 8n1) > * Green/Orange Power LEDs illum

Re: [OpenWrt-Devel] [PATCH v6] ramips: add support for Trendnet TEW-810DR

2020-05-25 Thread Daniel Golle
On Mon, May 25, 2020 at 05:05:16PM -0700, Heppler, J. Scott wrote: > > * MediaTek MT7620A (580 Mhz) > * 8 MB of FLASH > * 64 MB of RAM > * 2.4Ghz and 5.0Ghz radios both now functional > * 5x 10/100 Mbps Ethernet (1 WAN and 4 LAN) > * UART header on PCB (57600 8n1) > * Green/Orange Power LEDs illum

Re: [OpenWrt-Devel] ramips: gsw_mt7621: disable PORT 5 MAC RX/TX flow control by default

2020-05-26 Thread Daniel Golle
On Tue, May 26, 2020 at 09:54:40AM +0200, Jaap Buurman wrote: > Dear all, > > The above patch has been committed for a long while in the master > branch > (https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=c8f8e59816eca49d776562d2d302bf990a87faf0). > Is there any chance this could be back

[OpenWrt-Devel] [PATCH uclient v2] uclient-fetch: add option to read POST data from file

2020-06-12 Thread Daniel Golle
: Daniel Golle --- v2: make it compile, handle errors, add usage info, fix typos uclient-fetch.c | 31 +-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/uclient-fetch.c b/uclient-fetch.c index a06be5d..6119328 100644 --- a/uclient-fetch.c +++ b/uclient

Re: [OpenWrt-Devel] [PATCH uclient v2] uclient-fetch: add option to read POST data from file

2020-06-12 Thread Daniel Golle
Hi Jo, thanks for the quick review! On Fri, Jun 12, 2020 at 10:42:11PM +0200, Jo-Philipp Wich wrote: > Hi Gio, Daniel, > > > [...] > > --- > > v2: make it compile, handle errors, add usage info, fix typos > > > > uclient-fetch.c | 31 +-- > > 1 file changed, 29 inse

Re: [OpenWrt-Devel] [PATCH][RFC] build: disable target name in image filename

2020-06-14 Thread Daniel Golle
penwrt-linksys_wrt3200acm-squashfs-sysupgrade.bin > > Signed-off-by: Paul Spooren Once all the requirements (unique and informative image names) are in place to make this work: Acked-by: Daniel Golle > --- > It's been a while since I made a controversial patch[0] so it feel

[OpenWrt-Devel] [PATCH v3] uclient-fetch: add option to read POST data from file

2020-06-17 Thread Daniel Golle
Mazzurco Signed-off-by: Daniel Golle --- v3: use 1024 bytes buffer instead of 1000, use sizeof() As original wget also only supports "application/x-www-form-urlencoded" as Content-Type for the POST data, keep it that way in uclient-fetch as well for now. An additional option --post-t

Re: [PATCH 1/1] ramips: mt7621: add ralink pcm controller driver

2020-07-03 Thread Daniel Golle
Hi Puyou, On Fri, Jul 03, 2020 at 09:51:37PM +0800, puyou...@gmail.com wrote: > From: Puyou Lu > > Only tested on mt7621 currently. > > Signed-off-by: Puyou Lu > --- > target/linux/ramips/dts/AP-MT7621A-V60.dts | 13 + This file was renamed into mt7621_mediatek_ap-mt7621a-v60.dts. P

Re: [OpenWrt-Devel] [PATCH] ath79: switch to kernel 5.4

2020-07-05 Thread Daniel Golle
On Sun, Jul 05, 2020 at 02:24:18PM +0200, David Bauer wrote: > Hi all, > > On 4/2/20 9:53 PM, David Bauer wrote: > > As the reported major bugs are ironed out, switch to the new kernel to > > begin testing with a broader audience. > > As the DSP exception is now sorted out we should be good to go

Re: [OpenWrt-Devel] [PATCH] ath79: switch to kernel 5.4

2020-07-05 Thread Daniel Golle
Hi David, On Mon, Jul 06, 2020 at 12:37:06AM +0200, David Bauer wrote: > Hi Daniel, > > On 7/5/20 10:50 PM, Daniel Golle wrote: > > I suggest to completely remove KERNEL_TESTING_PATCHVER instead of > > setting it to the same version as KERNEL_PATCHVER. > > As most tar

Re: [PATCH] build: put DT "compatible" value as "board_name" in profiles.json

2020-07-09 Thread Daniel Golle
On Wed, Jul 08, 2020 at 11:32:43PM +0200, Rafał Miłecki wrote: > On 08.07.2020 21:34, Paul Spooren wrote: > > I think there is a policy for new DT devices to use the compatible string > > as profile. > > > > Multiple targets contain the following line in the target Makefile, which > > automatica

Re: [PATCH 1/3] hostapd: add wpad-basic-wolfssl variant

2020-07-24 Thread Daniel Golle
On Fri, Jul 24, 2020 at 04:29:38PM +0200, Petr Štetiar wrote: > Add package which provides wpad with WPA-PSK, SAE (WPA3-Personal), > 802.11r and 802.11w support. I think this should be merged with wpad-mesh. It's almost the same, but only adds support for 802.11s mesh in addition. > > Signed-off

Re: [PATCH 1/3] hostapd: add wpad-basic-wolfssl variant

2020-07-25 Thread Daniel Golle
On Sat, Jul 25, 2020 at 10:44:46AM +0200, Petr Štetiar wrote: > Daniel Golle [2020-07-24 15:51:27]: > > Hi, > > > On Fri, Jul 24, 2020 at 04:29:38PM +0200, Petr Štetiar wrote: > > > Add package which provides wpad with WPA-PSK, SAE (WPA3-Personal), > > > 802

Re: [PATCH 2/3] treewide: use wpad-basic-wolfssl as default

2020-07-25 Thread Daniel Golle
On Sat, Jul 25, 2020 at 10:24:42AM +0200, Stijn Segers wrote: > ... > P.S. Is there a way to use mbedtTLS with wpad? That would be neat since one > could have > LuCI SSL and wpad lean on the same crypto library. I am now building images > with mbedTLS > for LuCI and wolfssl for wpad; it's still sma

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