Re: [OpenWrt-Devel] [PATCH] base-files: add /usr/share/libubox/jshn.sh to sysupgrade stage2

2019-11-13 Thread Daniel Golle
Hi Russell, On Tue, Nov 12, 2019 at 03:33:48PM -0800, Russell Senior wrote: > > Discovered recent changes had broken sysupgrade for ar71xx mikrotik > rb-493g, traced the problem to missing /usr/share/libubox/jshn.sh after > switching to tmpfs. I've applied your patch to master. Do we need to app

Re: [OpenWrt-Devel] Wifi is broken

2019-11-16 Thread Daniel Golle
Hi, On Sat, Nov 16, 2019 at 09:17:08AM +0100, e9hack wrote: > Hi, > > this commit > > commit000b7687bc50be5b0f1161f4bf8ceb85c495c395 > mac80211: restore mac80211_interface_cleanup() > > breaks wifi on my tp-link archer C7 router. After update, only the 5G wifi > will be activated. The

Re: [OpenWrt-Devel] LEDE > OpenWrt > TP-Link TL-WDR4900 1.0

2019-11-26 Thread Daniel Golle
Hi Falko, On Tue, Nov 26, 2019 at 10:44:12PM +0100, blu.italia--- 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

Re: [OpenWrt-Devel] [PATCH 4/7] include/image.mk: implement SELinux squashfs image generation

2019-11-28 Thread Daniel Golle
Hi Thomas, On Fri, Nov 22, 2019 at 10:55:38AM +0100, Thomas Petazzoni wrote: > Signed-off-by: Thomas Petazzoni > --- > include/image.mk | 15 ++- > 1 file changed, 14 insertions(+), 1 deletion(-) > > diff --git a/include/image.mk b/include/image.mk > index 8592c19b99..86b3edeb87 100

Re: [OpenWrt-Devel] The meaning of Signed-off-by for netifd [Was: Re: [PATCH netifd] interface: warn if ip6hint is truncated]

2019-12-03 Thread Daniel Golle
On Tue, Dec 03, 2019 at 08:56:46PM +0100, Uwe Kleine-König wrote: > On 12/3/19 4:28 PM, Hans Dedecker wrote: > > On Tue, Dec 3, 2019 at 3:59 PM Uwe Kleine-König > > wrote: > >> > >> Hello Hans, > >> > >> On 12/3/19 8:50 AM, Hans Dedecker wrote: > >>> On Fri, Nov 29, 2019 at 9:29 PM Uwe Kleine-Kön

Re: [OpenWrt-Devel] [PATCH v2] ramips: fix inverted reset led for ravpower wd03

2019-12-03 Thread Daniel Golle
Still, now commit description and title mentions 'led' though this is a key and not an LED. On Tue, Dec 03, 2019 at 11:33:13PM +0100, Moritz Warning wrote: > Signed-off-by: Moritz Warning > --- > target/linux/ramips/dts/mt7620n_ravpower_wd03.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deleti

Re: [OpenWrt-Devel] [PATCH v2] imx6: Adding Ka-Ro electronics TX6U-8033 Module on MB7 baseboard support

2019-12-04 Thread Daniel Golle
On Wed, Dec 04, 2019 at 07:52:32PM +0100, Tomasz Maciej Nowak wrote: > Hi, > small nit at the end. > > W dniu 04.12.2019 o 19:14, Linus Lüssing pisze: > > From: Linus Lüssing > > > > This adds support for the Ka-Ro MB7 board with a TX6U-8033 module. > > > > Specification, according to Linux DTS

Re: [OpenWrt-Devel] [PATCH 2/2] ustream-ssl: mbedtls: fix ssl client verification

2019-12-08 Thread Daniel Golle
Hi Daniel, On Sun, Dec 08, 2019 at 05:14:19PM +0100, Daniel Danzberger wrote: > Signed-off-by: Daniel Danzberger > --- > ustream-mbedtls.c | 7 --- > 1 file changed, 7 deletions(-) Please provide a more elaborate commit description as it is not obvious why those lines need to be removed. >

Re: [OpenWrt-Devel] Inquery

2019-12-11 Thread Daniel Golle
Hi Tomislav, On Wed, Dec 11, 2019 at 11:24:21AM +0100, Tom Psyborg wrote: > suck it As a community, we decided to give our self a set of minimal rules[1]. And even though it is in the last position, rule #12 "Be nice to each other." is meant just as serious as all the other rules. So here, not f

Re: [OpenWrt-Devel] Inquery

2019-12-11 Thread Daniel Golle
On Wed, Dec 11, 2019 at 05:37:26PM +0100, WRT Burner wrote: > On 11/12/2019 15:22, Daniel Golle wrote: > > And it's even needless to say that > > replying to a spam email in which ever way will always make it worse. > > +1. There is no constructive value in replying to s

Re: [OpenWrt-Devel] Inquery

2019-12-12 Thread Daniel Golle
Hi Alberto, On Wed, Dec 11, 2019 at 08:32:41PM +0100, Alberto Bursi wrote: > > > On 11/12/19 18:54, Daniel Golle wrote: > > On Wed, Dec 11, 2019 at 05:37:26PM +0100, WRT Burner wrote: > > > On 11/12/2019 15:22, Daniel Golle wrote: > > > > And it's even n

Re: [OpenWrt-Devel] Lantiq DTS rename

2019-12-15 Thread Daniel Golle
Hi Adrian, On Sun, Dec 15, 2019 at 02:10:14PM +0100, m...@adrianschmutzler.de wrote: > Hi, > > I consider doing a DTS rename for lantiq target similar to what it's like on > ath79 and what I did for ramips earlier that year. > > However, I wonder whether the "soc_vendor_model.dts" scheme is use

Re: [OpenWrt-Devel] Lantiq DTS rename

2019-12-15 Thread Daniel Golle
aybe 'LTQ_SOC' will do until we replace them all by 'SOC' and that should be it... Cheers Daniel > > Best > > Adrian > > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > > On Behalf Of Hau

Re: [OpenWrt-Devel] [PATCH 2/7] package/system/procd: add SELinux support

2020-01-04 Thread Daniel Golle
Hi Thomas, On Fri, Nov 22, 2019 at 10:55:36AM +0100, Thomas Petazzoni wrote: > This commit adds a patch to procd to support loading the SELinux > policy early at boot time, and adjusts the procd package to use this > SELinux support when libselinux is enabled. > > The procd patch has been submitt

Re: [OpenWrt-Devel] [PATCH 1/7] package/utils/busybox: add optional selinux support

2020-01-04 Thread Daniel Golle
Hi Thomas, On Fri, Nov 22, 2019 at 10:55:35AM +0100, Thomas Petazzoni wrote: > Signed-off-by: Thomas Petazzoni > --- > package/utils/busybox/Makefile | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile >

Re: [OpenWrt-Devel] [PATCH 1/7] package/utils/busybox: add optional selinux support

2020-01-04 Thread Daniel Golle
Hi Thomas, On Sat, Jan 04, 2020 at 02:15:38PM +0100, Thomas Petazzoni wrote: > Hello, > > On Sat, 4 Jan 2020 15:06:38 +0200 > Daniel Golle wrote: > > > > @@ -76,6 +76,9 @@ LDLIBS += $(call BUSYBOX_IF_ENABLED,PAM,pam pam_misc > > > pthread) > > > if

[OpenWrt-Devel] [PATCH procd] instance: strdup string attributes

2020-01-04 Thread Daniel Golle
Previously string attributes were set to pointers returned by blobmsg_get_string() which caused use-after-free problems. Use strdup() to have copies of all stored strings and free them during cleanup. Signed-off-by: Daniel Golle --- service/instance.c | 12 1 file changed, 8

Re: [OpenWrt-Devel] [PATCH procd 2/2] instance: fix pidfile attribute double free crash

2020-01-15 Thread Daniel Golle
ht, didn't think about that. I don't have time to get into this right now (but will have tonight or tomorrow), but doesn't the same also apply at least for the 'seccomp' field? Cheers Daniel > > Ref: FS#2723 > Cc: Daniel Golle > Fixes: a5af33ce9a16

Re: [OpenWrt-Devel] [PATCH 0/5] Add 802.11ad support

2020-01-16 Thread Daniel Golle
Hi Nick, On Thu, Jan 16, 2020 at 09:08:01AM +0100, Nick wrote: > Why are this patches not merged upstream? Probably because nobody suitable hardware at hand could review and test the patches. Probably it'd be better to first add the basic device bring-up and then add 11ad support. > You always h

Re: [OpenWrt-Devel] [PATCH v3] instance: fix pidfile attribute double free crash

2020-01-16 Thread Daniel Golle
(in=0xd5e300) at instance.c:559 > #4 instance_stop (in=0xd5e300, halt=true) at instance.c:611 > > Ref: FS#2723 > Fixes: a5af33ce9a16 ("instance: strdup string attributes") > Signed-off-by: Petr Štetiar > Signed-off-by: Daniel Golle > --- > service/instan

Re: [OpenWrt-Devel] [RFC] commit message in YAML format for new devices

2020-01-20 Thread Daniel Golle
Hi Paul, Hi Martin, On Sun, Jan 12, 2020 at 10:13:42PM -1000, Paul Spooren wrote: > Hi, > > On 1/12/20 1:05 PM, Martin Blumenstingl wrote: > > Hi Paul, > > > > On Sun, Jan 12, 2020 at 10:47 PM Paul Spooren wrote: > > > Hi all, > > > > > > some time ago I created a (now outdated) device overvie

Re: [OpenWrt-Devel] [PATCH v2] fstools: Add support to read-only MTD partitions (eg. recovery images)

2020-01-21 Thread Daniel Golle
Hi Bruno, Hi Steve, On Tue, Jan 21, 2020 at 11:24:28AM +0100, Bruno Pena wrote: > Please also include the contents of "dmesg" and of the files > "/proc/cmdline" and "/proc/mtd". > > Best regards, > Bruno Pena > > On Tue, Jan 21, 2020, 11:01 Bruno Pena wrote: > > > Hi Steve, > > > > These patch

[OpenWrt-Devel] hostapd and Linux bridges

2020-01-21 Thread Daniel Golle
Hi! I was trying to use client isolation on a dual-band router running OpenWrt and run into a rather trivial problem: Despite hostapd supporting client isolation (ap_isolate=1), on devices with multiple radios (dual-band or tri-band) this alone won't have the desired effect as AP interfaces typica

Re: [OpenWrt-Devel] hostapd and Linux bridges

2020-01-21 Thread Daniel Golle
On Tue, Jan 21, 2020 at 07:40:42PM +0100, Bjørn Mork wrote: > Daniel Golle writes: > > > On proprietary APs it looks like port isolation is enabled or disabled > > globally in Linux' bridge code using sysctl or other methods, an > > approach which is unlikely to

Re: [OpenWrt-Devel] hostapd and Linux bridges

2020-01-21 Thread Daniel Golle
On Tue, Jan 21, 2020 at 11:34:22PM +0100, Mathias Kresin wrote: > 21/01/2020 20:22, Daniel Golle: > > On Tue, Jan 21, 2020 at 07:40:42PM +0100, Bjørn Mork wrote: > > > Daniel Golle writes: > > > > > > > On proprietary APs it looks like port isolation is

Re: [OpenWrt-Devel] [PATCH v2] fstools: Add support to read-only MTD partitions (eg. recovery images)

2020-01-22 Thread Daniel Golle
Hi Bruno, On Wed, Jan 22, 2020 at 10:22:01AM +0100, Bruno Pena wrote: > I would also like to take the opportunity to ask if it's worth pursuing > this patch if it means that all devices (using mtd) will require their > partitions to be padded to the blocksize? Please try not to introduce that pad

Re: [OpenWrt-Devel] hostapd and Linux bridges

2020-01-22 Thread Daniel Golle
On Wed, Jan 22, 2020 at 06:34:06AM +0200, Daniel Golle wrote: > On Tue, Jan 21, 2020 at 11:34:22PM +0100, Mathias Kresin wrote: > > 21/01/2020 20:22, Daniel Golle: > > > On Tue, Jan 21, 2020 at 07:40:42PM +0100, Bjørn Mork wrote: > > > > Daniel Golle writes: > &g

Re: [PATCH] ipq40xx: add support for GL.iNet GL-B2200-EMMC

2021-04-24 Thread Daniel Golle
Hi Li, On Fri, Apr 16, 2021 at 12:05:24PM +0800, Li Zhang wrote: > This patch adds supports for GL-B2200-EMMC. > > ... > diff --git a/target/linux/ipq40xx/image/gen_sdcard_img.sh > b/target/linux/ipq40xx/image/gen_sdcard_img.sh > new file mode 100755 > index 000..628ba24 > --- /dev/null > +

Re: [RFC] procd: Use /dev/console for serial console if exists

2021-04-24 Thread Daniel Golle
On Sat, Apr 24, 2021 at 03:39:51AM -1000, Paul Spooren wrote: > > On 4/24/21 1:01 AM, Gaurav Pathak wrote: > > Modified inittab.c to use "/dev/console" as preferred console if exists. > > > > Signed-off-by: Gaurav Pathak > > --- > > Could you please elaborate why this is useful? Container envi

Re: [RFC] procd: Use /dev/console for serial console if exists

2021-04-24 Thread Daniel Golle
in that case we should try and check for the presence of /dev/console > character > device (5,1) and use it if it is present before trying > "/sys/class/tty/console/active". Please send the patch again with a commit message explaining its purpose. > > On Sat, Apr 24

Re: Brokenness of the OpenWrt "packages" repo

2021-04-26 Thread Daniel Golle
On Mon, Apr 26, 2021 at 03:28:22PM +0200, Enrico Mioso wrote: > ... I know you won't like this. But in the end, I guess D-Bus, glib2 and in > the end all of MM dependencies will have to be incorporated in the core. > > A stac, of big big software, I know. But supporting 4G/5G in the end will > r

[PATCH] base-files: upgrade: take down loop and LVM before upgrade

2021-05-01 Thread Daniel Golle
cases. Having loop devices setup causes similar havoc. Make sure all volume groups are offline and all loop devices have been released before sysupgrade. Signed-off-by: Daniel Golle --- package/base-files/files/lib/upgrade/stage2 | 10 ++ 1 file changed, 10 insertions(+) diff --git a

Re: [PATCH opkg] libopkg: pkg_hash: print unresolved dependencies

2021-05-02 Thread Daniel Golle
On Sun, May 02, 2021 at 10:59:12PM +0200, Hauke Mehrtens wrote: > When a package is not installed because it has unresolved dependencies > normally we get only an error message like this: > * pkg_hash_fetch_best_installation_candidate: Packages for ltq-vdsl-app > found, but incompatible with the

Re: [PATCH] uim: add --uim-get-sim-state

2021-05-07 Thread Daniel Golle
Hi Arjun, On Sat, May 08, 2021 at 05:32:57AM +0530, Arjun AK wrote: > From: Arjun > > This command will show whether a SIM card has been inserted and whether > a pin is required. > > Signed-off-by: Arjun Please follow our contribution guideline and use a full real name to sign off your patch.

Re: [PATCH v2] realtek: Fix VLAN issues introduced by multicast patches

2021-05-09 Thread Daniel Golle
On Sun, May 09, 2021 at 12:04:16PM +0200, Bjørn Mork wrote: > From: Birger Koblitz > > This adds the CPU port to the unknown multicast flooding port mask, > which fixes the VLAN issues introduced by the multicast group patches > > Signed-off-by: Birger Koblitz > Signed-off-by: Bjørn Mork [whit

Re: [PATCH] openwrt-keyring: Only copy sign key for snapshots

2021-05-14 Thread Daniel Golle
On Fri, May 14, 2021 at 11:31:27PM +0200, Hauke Mehrtens wrote: > On 5/14/21 12:17 PM, Paul Spooren wrote: > > Hi, > > > > On 5/13/21 1:32 AM, Hauke Mehrtens wrote: > > > Instead of adding all public signature keys from the openwrt-keyring > > > repository only add the key which is used to sign th

Re: [PATCH] openwrt-keyring: Only copy sign key for snapshots

2021-05-15 Thread Daniel Golle
On Sat, May 15, 2021 at 04:28:58PM +0200, Hauke Mehrtens wrote: > On 5/15/21 1:34 AM, Daniel Golle wrote: > > On Fri, May 14, 2021 at 11:31:27PM +0200, Hauke Mehrtens wrote: > > > On 5/14/21 12:17 PM, Paul Spooren wrote: > > > > Hi, > > > > > &

Re: Uniquely identifying a platform programmatically

2021-05-18 Thread Daniel Golle
On Mon, May 17, 2021 at 04:43:24PM -0600, Philip Prindeville wrote: > Hi, > > I was wondering what the best way to map a running box back to a candidate > image would be. > > It seems like the tuple ($CONFIG_TARGET_BOARD, $CONFIG_TARGET_SUBTARGET, > $CONFIG_TARGET_PROFILE) would provide this, s

Re: Flagship AX routers

2021-05-21 Thread Daniel Golle
On Thu, May 20, 2021 at 11:26:58PM -0600, Philip Prindeville wrote: > > > > On May 18, 2021, at 10:57 PM, John Crispin wrote: > > > > On 19.05.21 00:09, Paul Spooren wrote: > >> Hi, > >> > >> On 5/18/21 11:52 PM, Philip Prindeville wrote: > >>> Hi all, > >>> > >>> I noticed that there are sev

[PATCH] ugps: start also in case device is absent

2021-05-27 Thread Daniel Golle
Don't bail out from init script in case the GPS device is missing. Some modems take time to come up, and some people may use things like 'kplex' to feed ugpsd. Hence it is better to always start ugpsd unconditionally and let procd's respawn take care of retrying. Signed-

Re: [PATCH] ugps: start also in case device is absent

2021-05-28 Thread Daniel Golle
On Fri, May 28, 2021 at 09:58:48AM +0200, Piotr Dymacz wrote: > Hi Daniel, > > On 27.05.2021 12:37, Daniel Golle wrote: > > Don't bail out from init script in case the GPS device is missing. > > Some modems take time to come up, and some people may use things like > &

Re: [PATCH v2] cn913x: add support for iEi Puzzle-M901/Puzzle-M902

2021-06-28 Thread Daniel Golle
Hi, On Fri, Jun 25, 2021 at 07:43:05AM +0800, eveans2...@gmail.com wrote: > From: Ian Chang > > Hardware specification > -- > * CN9130 SoC, Quad-core ARMv8 Cortex-72 @ 2200 MHz > * 4 GB DDR > * 4 GB eMMC > mmcblk0 > ├─mmcblk0p164M kernel_1 > ├─mmcblk0p264M

Re: [PATCH 0/1] Workaround for rut955 modem initialization

2021-06-28 Thread Daniel Golle
On Mon, Jun 28, 2021 at 02:19:11PM +0200, John Crispin wrote: > > On 28.06.21 13:56, ontje.luensd...@dlr.de wrote: > > This will probably affect all other modems and we are not sure if this may > > cause > > side-effects on other devices. > > > As similar problem can be observed when looking at

[PATCH] x86: include kmod-fs-vfat by default in generic images

2021-06-29 Thread Daniel Golle
As x86/64 and x86/generic may be using UEFI, mounting the FAT-32 /boot is necessary in order not to loose configuration files accross sysupgrades. Include kmod-fs-vfat by default to make sure /boot can always be mounted. Signed-off-by: Daniel Golle --- target/linux/x86/image/64.mk | 2

Re: [PATCH v3] cn913x: add support for iEi Puzzle-M901/Puzzle-M902

2021-07-03 Thread Daniel Golle
Hi Ian, this looks much better already, let me comment inline: On Fri, Jul 02, 2021 at 07:16:06PM +0800, eveans2...@gmail.com wrote: > From: Ian Chang > > Hardware specification > -- > * CN9130 SoC, Quad-core ARMv8 Cortex-72 @ 2200 MHz > * 4 GB DDR > * 4 GB eMMC > * mm

Re: [PATCH v4] mvebu: add support for iEi Puzzle-M901/Puzzle-M902

2021-07-14 Thread Daniel Golle
Hi Ian, the patch looks good to me now, however, it doesn't apply: Applying: mvebu: add support for iEi Puzzle-M901/Puzzle-M902 error: corrupt patch at line 433 Patch failed at 0001 mvebu: add support for iEi Puzzle-M901/Puzzle-M902 hint: Use 'git am --show-current-patch=diff' to see the failed p

Re: OpenWrt 21.02 status

2021-07-19 Thread Daniel Golle
On Sun, Jul 18, 2021 at 10:30:20PM +0200, Adrian Schmutzler wrote: > > The last time I tried it was very confusing. When I first read about "new > > fresh > > installation", I thought: "install without keeping settings". > > However, OpenWrt returned an image check failure, even when I did not > >

Re: dnsmasq ujail fs problem

2021-07-30 Thread Daniel Golle
On Fri, Jul 30, 2021 at 01:28:17PM +0200, e9hack wrote: > Hi, > > I'm using dnsmasq together with ujail. Since some time, I got an error > message in the log: > > Fri Jul 30 13:05:10 2021 kern.warn kernel: [ 3149.592061] ext4 filesystem > being remounted at /tmp/ujail-NOnHik/tmp/dhcp.leases sup

Re: some issues in /etc/init.d/dnsmasq

2021-08-01 Thread Daniel Golle
Hi, On Sun, Aug 01, 2021 at 09:00:50AM +0200, e9hack wrote: > Hi, > > I found a few issues in /etc/init.d/dnsmasq > > - variable EXTRA_MOUNT must be reset at beginning of dnsmasq_start to avoid > to add the previous content to the following configurations > - /dev/null must be jail mount read/w

Re: dnsmasq: rework jail mounts

2021-08-01 Thread Daniel Golle
On Sun, Aug 01, 2021 at 03:58:45PM +0200, e9hack wrote: > Hi, > > in last update of jail mounts, this part looks wrong: > > --- a/package/network/services/dnsmasq/files/dnsmasq.init > +++ b/package/network/services/dnsmasq/files/dnsmasq.init > @@ -10,6 +10,7 @@ ADD_LOCAL_DOMAIN=1 > ADD_LOCAL_HOS

[PATCH] base-files: sysupgrade: include configured dirs

2021-08-03 Thread Daniel Golle
list-backup and do not show directories there as the output of that command may be intepreted by existing (external) scripts/tools. Reported-by: fda77 Signed-off-by: Daniel Golle --- package/base-files/files/sbin/sysupgrade | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff

Re: [PATCH v6 2/3] mvebu: add dts files for iEi Puzzle-M901/Puzzle-M902

2021-08-08 Thread Daniel Golle
On Tue, Aug 03, 2021 at 11:35:58AM +0800, eveans2...@gmail.com wrote: > From: Ian Chang > > Signed-off-by: Ian Chang > --- > .../boot/dts/marvell/cn9131-puzzle-m901.dts | 319 > .../boot/dts/marvell/cn9132-puzzle-m902.dts | 481 ++ > 2 files changed, 800 inserti

Re: [PATCH] mediatek: add support for TOTOLINK A8000RU

2021-08-28 Thread Daniel Golle
Hi, On Sat, Aug 28, 2021 at 04:15:05PM +0800, Chuanhong Guo wrote: > ... > +&snand { > + mediatek,quad-spi; > + pinctrl-names = "default"; > + pinctrl-0 = <&serial_nand_pins>; > + status = "okay"; > + mediatek,bmt-v2; > + > + partitions { > + compatible = "fixed

Re: [PATCH] Revert "initd: fix off-by-one error in mkdev.c"

2021-08-31 Thread Daniel Golle
On Tue, Aug 31, 2021 at 11:13:31AM +0200, Nick wrote: > Yep. Thanks. Just added another patch that is fixing the issue. I went to > some internet sources and code to see how other people handle the issue and > seems like everyone is just subtracting 1. Now you also wrote the same. :) Yes, that's c

Re: [PATCH v7 2/2] mvebu: add support for iEi Puzzle-M901/Puzzle-M902

2021-08-31 Thread Daniel Golle
Hi Ian, I just tried pulling this into my staging tree and unfortunately the patch no longer applies cleanly: Applying: mvebu: add support for iEi Puzzle-M901/Puzzle-M902 warning: target/linux/mvebu/cortexa72/base-files/etc/board.d/02_network has type 100644, expected 100755 error: patch failed:

Re: [PATCH usteer] usteer: add support for IPv6 remote exchange

2021-09-07 Thread Daniel Golle
On Tue, Sep 07, 2021 at 08:53:59PM +0200, David Bauer wrote: > From: Jan Braun > > This adds optional support for message exchange using IPv6 multicast > messaging. This has the ability for routers and switches between nodes > to route traffic between usteer nodes multicast-aware. > > By default

Re: [PATCH] mvebu/kernel: promote 5.10 to stable

2021-09-07 Thread Daniel Golle
On Tue, Sep 07, 2021 at 09:23:06PM +0100, Rui Salvaterra wrote: > It's been brewing on my cortexa9 subtarget (Turris Omnia) for months. > Perfectly > stable. > > Signed-off-by: Rui Salvaterra > --- > target/linux/mvebu/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -

[PATCH] sunxi: bring up DSA b53 switch on Lamobo R1

2021-09-10 Thread Daniel Golle
having the re-create their network configuration and add device alias as Bananapi BPi-R1 while at it. Signed-off-by: Daniel Golle --- target/linux/sunxi/base-files/etc/board.d/02_network | 3 +-- target/linux/sunxi/config-5.4| 4 target/linux/sunxi/cortexa7/config-5.4

[PATCH v2] sunxi: bring up DSA b53 switch on Lamobo R1

2021-09-12 Thread Daniel Golle
having the re-create their network configuration and add device alias as Bananapi BPi-R1 while at it. Signed-off-by: Daniel Golle --- I do not have the hardware for testing myself, just following user reporting non-working image with current swconfig hackery in forums: https://forum.openwrt.org/t

Re: initramfs for ACPI tables on x86

2021-09-30 Thread Daniel Golle
On Thu, Sep 30, 2021 at 02:49:57PM +0200, Florian Eckert wrote: > Since the update of kernel from 5.4 to 5.10 in the openwrt master branch > [1], > I have problems with additional hardware on the I2C (SMBus) of my APU3. > > The Linux upstream removed the platform data support for my I2C IO-Expande

Re: Release goals for 22.XX

2021-09-30 Thread Daniel Golle
On Thu, Sep 30, 2021 at 09:18:06PM +0300, Stijn Tintel wrote: > On 30/09/2021 01:19, Nick wrote: > > On 9/29/21 22:28, Hauke Mehrtens wrote: > > > >> kernel 5.10: > >> We should get all targets to kernel 5.10. All targets which are not > >> on kernel 5.10 when we branch off should get removed. > >

Re: [PATCH 2/2] hostapd: force ieee80211w instead of setting a default

2021-10-11 Thread Daniel Golle
On Mon, Oct 11, 2021 at 02:16:14PM +0200, John Crispin wrote: > WPA3 modes require 11w to be set to optional/required. Using set_default would > allow forcing an invalid value from UCI. > > Signed-off-by: John Crispin > --- > package/network/services/hostapd/files/hostapd.sh | 4 ++-- > 1 file c

Re: [PATCH] buildsystem: add CONFIG_SECCOMP

2021-10-13 Thread Daniel Golle
On Wed, Oct 13, 2021 at 05:02:22PM +0200, Florian Eckert wrote: > Until now, this feature was switched on via the kernel configuration > option KERNEL_SECCOMP. > > The follwing change a7f794cd2aa104fdbd4c6e38f9b76373bf9b96e1 now requires that > the package procd-seccomp must also enabled for the b

Re: [PATCH] dnsmasq: procd-ujail: workaround startup failure, when leasefile location is in /tmp

2021-10-17 Thread Daniel Golle
Read-only file system > Thu Oct 14 18:32:38 2021 daemon.crit dnsmasq[1]: cannot open or create lease > file /tmp/dhcp.leases: Read-only file system > Thu Oct 14 18:32:38 2021 daemon.crit dnsmasq[1]: FAILED to start up > > Ref: https://bugs.openwrt.org/index.php?do=details&t

Re: [PATCH] dnsmasq: procd-ujail: workaround startup failure, when leasefile location is in /tmp

2021-10-18 Thread Daniel Golle
art up > > This is v2 of the patch with a more correct description what is does. > > Ref: https://bugs.openwrt.org/index.php?do=details&task_id=4085 > Suggested-by: Daniel Golle I have neither Ack-ed nor suggested this change. The problem here (according to the ticket) is the option reso

[PATCH] base-files, metadata: support additional group membership

2021-10-26 Thread Daniel Golle
roup=1000:addg1=1001,addg2=1002,addg3 Signed-off-by: Daniel Golle --- package/base-files/files/lib/functions.sh | 23 --- scripts/metadata.pm | 8 +++- 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/package/base-files/files/lib/fun

[PATCH] rpcd: restart rpcd on installation of rpcd-mod-*

2021-10-28 Thread Daniel Golle
-install action. Signed-off-by: Daniel Golle --- package/system/rpcd/Makefile | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/system/rpcd/Makefile b/package/system/rpcd/Makefile index 9880ea4d66..383c7ac7f9 100644 --- a/package/system/rpcd/Makefile +++ b/package

[PATCH v2] rpcd: reload rpcd on installation of rpcd-mod-*

2021-10-29 Thread Daniel Golle
-install action. Signed-off-by: Daniel Golle --- v2: use reload instead of restart to not break LuCI sessions package/system/rpcd/Makefile | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/system/rpcd/Makefile b/package/system/rpcd/Makefile index 9880ea4d66..1642c97a42

Re: dnsmasq error message related to host file

2021-11-01 Thread Daniel Golle
On Mon, Nov 01, 2021 at 12:00:20PM +0100, e9hack wrote: > Hi, > > after commit "dnsmasq: improve init script", I get the following error in the > log file: > > Sun Oct 31 14:08:11 2021 user.err : jail: > creat(/tmp/ujail-pbMGCD/tmp/hosts/dhcp.main) failed: Read-only file system > Sun Oct 31 14:

Re: [PATCH] config: Activate SECCOMP also on MIPS 64

2021-11-01 Thread Daniel Golle
On Mon, Nov 01, 2021 at 12:11:18PM -0700, Rosen Penev wrote: > On Mon, Nov 1, 2021 at 10:05 AM Hauke Mehrtens wrote: > > > > 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

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

2021-11-05 Thread Daniel Golle
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: 2000 1000 \"uEnv\"" | awk -F: '{print

Re: [PATCH 0/3] uqmi: sync libqmi and add more diagnostic commands;

2021-11-08 Thread Daniel Golle
On Mon, Nov 08, 2021 at 08:40:43PM +0200, Oskari Lemmelä wrote: > Thanks. I squashed it to parser commit and dropped json file modification. > > Updated patches are in same upstream branch > https://github.com/olemmela/uqmi.git Please rebase on upstream, I've already merged the series. _

Re: Problem: dnsmasq.init / dhcp-user-script not executed

2021-11-11 Thread Daniel Golle
On Thu, Nov 11, 2021 at 07:36:46AM +, Bastian Bittorf wrote: > Introduced with: > > --- > commit 8b486ec2b52056b737a4ce64a2040a9a27a6bd60 > Author: Hans Dedecker > Date: Fri Jun 9 16:24:12 2017 +0200 > > dnsmasq: add dhcp-script hook conditionally > --- > > breaks parsing of user prov

Re: banana-pi-r64 eth wan speed

2021-11-19 Thread Daniel Golle
On Fri, Nov 19, 2021 at 12:47:41PM +0100, Janusz Dziedzic wrote: > Hello, > > I see that my board negotiate only 100mbps on wan iface. > First think cable or switch issue - but using same cable and > same ext switch port I get 1000 when using lanX iface. > > Do you see the same - or my board have

[PATCH 3/6] bcm27xx: enable dt-overlay

2021-11-24 Thread Daniel Golle
Enable 'dt-overlay' feature for bcm27xx target. Signed-off-by: Daniel Golle --- target/linux/bcm27xx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/bcm27xx/Makefile b/target/linux/bcm27xx/Makefile index 29546049ed..e72fe5e963 100644 --- a/ta

[PATCH 2/6] base-files: preinit: load device-tree overlays

2021-11-24 Thread Daniel Golle
on targets which got the 'dt-overlay' feature set. Device tree overlay blobs placed into that folder will be loaded early on boot before AutoProbing kernel modules. Signed-off-by: Daniel Golle --- package/base-files/Makefile | 6 ++ package/base-fil

[PATCH 1/6] kernel: import dt-overlay configfs patches for 5.10

2021-11-24 Thread Daniel Golle
commit 401d7ebf2c ("mediatek: enable configfs for DT overlay on mt7622 and mt7623"). Signed-off-by: Daniel Golle --- target/linux/generic/config-5.10 | 1 + .../hack-5.10/230-openwrt_lzma_options.patch | 2 +- ...-OF-DT-Overlay-configfs-interface-v7.p

[PATCH 4/6] rockchip: enable dt-overlay

2021-11-24 Thread Daniel Golle
Enable 'dt-overlay' feature for rockchip target. Signed-off-by: Daniel Golle --- target/linux/rockchip/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/rockchip/Makefile b/target/linux/rockchip/Makefile index 0245f02eac..891bd14d94 100644 --

[PATCH 6/6] tegra: enable dt-overlay

2021-11-24 Thread Daniel Golle
Enable 'dt-overlay' feature for tegra target. Signed-off-by: Daniel Golle --- target/linux/tegra/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/tegra/Makefile b/target/linux/tegra/Makefile index 76dfeab402..db7bf42c84 100644 --- a/target/l

[PATCH 5/6] sunxi: enable dt-overlay

2021-11-24 Thread Daniel Golle
Enable 'dt-overlay' feature for sunxi target. Signed-off-by: Daniel Golle --- target/linux/sunxi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/sunxi/Makefile b/target/linux/sunxi/Makefile index 1c94c6eaaf..bdb982efcc 100644 --- a/target/l

Re: [PATCH 1/6] kernel: import dt-overlay configfs patches for 5.10

2021-11-27 Thread Daniel Golle
On Sat, Nov 27, 2021 at 11:28:05AM +0200, Oskari Lemmelä wrote: > Hi, > > On 25.11.2021 3.06, Daniel Golle wrote: > > Import patchset allowing loading and applying device tree overlays at > > run-time via configfs. > > > > This will allow for packaging DTOs

Re: [PATCH 1/6] kernel: import dt-overlay configfs patches for 5.10

2021-11-27 Thread Daniel Golle
On Sat, Nov 27, 2021 at 02:24:52PM +0200, Oskari Lemmelä wrote: > Hi, > > On 27.11.2021 13.55, Daniel Golle wrote: > > On Sat, Nov 27, 2021 at 11:28:05AM +0200, Oskari Lemmelä wrote: > >> Hi, > >> > >> On 25.11.2021 3.06, Daniel Golle wrote: > >

Re: uqmi: add dms_get_operating_mode

2021-11-30 Thread Daniel Golle
Hi Henrik, On Wed, Dec 01, 2021 at 01:46:01AM +0100, Henrik Ginstmark wrote: > Hi > > Is it possible to add dms_get_operating_mode command? Doesn't seem much of a stretch, so why not ;) > Then it would be possible to verify if the modem is in flight mode or not. > > Or how can I contribute to

Re: dnsmasq issue

2021-12-05 Thread Daniel Golle
On Sun, Dec 05, 2021 at 12:13:16PM +0100, e9hack+dnsmasq wrote: > > Hi, > > I did configure a user script by adding: > > option dhcpscript '/etc/dnsmasq-test.sh' > > The script and the main-script are never executed. I did add a line to both > scripts, which shall log to /var/run/dnsmaq/test-{

Re: dnsmasq issue

2021-12-05 Thread Daniel Golle
On Sun, Dec 05, 2021 at 01:26:18PM +0100, e9hack wrote: > Hi, > > the scripts are executed. I did a mistake with path names for the logging > files. > > But the issue with executing dnsmasq twice is still open. Do I understand correctly that you only observe this only in case of procd-ujail bei

Re: P2812HNUF3

2021-12-09 Thread Daniel Golle
Hi Ivar, On Thu, Dec 09, 2021 at 10:14:22PM +0100, Ivar Orskaug wrote: > Hi, > P2812HNUF3 is currently broken in main because of the kernel 5.10 > increase in size. This patch increases the kernel flash partition to > 3072k, aligning with P2812HNUF1. Would it be possible to apply it to > main? Th

Re: procd/ujail behaviour

2021-12-10 Thread Daniel Golle
ards, > Hartmut > > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel >From 478ef55cdc2d0e0a615a4fb19430d2ca34c21b31 Mon Sep 17 00:00:00 2001 From: Daniel Golle

Re: procd/ujail question

2021-12-10 Thread Daniel Golle
On Fri, Dec 10, 2021 at 04:03:34PM +0100, e9hack wrote: > > Hi, > > usually the files for a jailed process must be given via procd_add_jail_mount > or procd_add_jail_mount_rw. It looks like that this isn't necessary for > hostapd. Why not? I can't found this two parameters in '/etc/init.d/wpad'

Re: [PATCH] kernel/5.10: disable CONFIG_DEVTMPFS{,_MOUNT}

2022-01-05 Thread Daniel Golle
On Wed, Jan 05, 2022 at 03:51:09PM +, Rui Salvaterra wrote: > We rely on procd to create/populate /dev for us. These can be safely disabled. NACK. Disabling this will afaik break LXC and containers relying on it. We could enable it selectively on !SMALL_FLASH instead, to safe space on targets

Re: [PATCH] kernel/5.10: disable CONFIG_DEVTMPFS{,_MOUNT}

2022-01-05 Thread Daniel Golle
On Wed, Jan 05, 2022 at 03:54:56PM +, Daniel Golle wrote: > On Wed, Jan 05, 2022 at 03:51:09PM +, Rui Salvaterra wrote: > > We rely on procd to create/populate /dev for us. These can be safely > > disabled. > > NACK. Disabling this will afaik break LXC and container

Re: Switch issues and CI to GitHub

2022-01-07 Thread Daniel Golle
On Fri, Jan 07, 2022 at 12:07:38PM +, Sam Kuper wrote: > On Fri, Jan 07, 2022 at 10:34:34AM +0100, Paul Spooren wrote: > > Instead of maintaining flyspray and the server, I’d like to export all > > flyspray issues, migrate them to GitHub and open GitHub issues for > > openwrt/openwrt to the pub

Re: Status of source-only targets

2022-01-11 Thread Daniel Golle
On Mon, Jan 10, 2022 at 11:55:54PM +0100, Paul Spooren wrote: > Hi, > > Looking at openwrt.git I find seven targets with the source-only tag. The tag > means the build infrastructure skips building the targets. Does it make sense > to carry those target in tree or should we move them to our targ

Re: Status of source-only targets

2022-01-12 Thread Daniel Golle
On Wed, Jan 12, 2022 at 10:50:41AM -0700, Philip Prindeville wrote: > > > > On Jan 11, 2022, at 11:56 AM, Daniel Golle wrote: > > > > Sadly the falcon didn't really make it to fly with OpenWrt (yet). > > It's used in a couple of GPON SFP modules, so

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

2022-01-21 Thread Daniel Golle
On Fri, Jan 21, 2022 at 09:14:50PM +, Rui Salvaterra wrote: > On Fri, 21 Jan 2022 at 21:11, Ansuel Smith wrote: > > > > Should we follow the suggestion and add a specific attribute just for DSA? > I believe that would be the right thing to do, but I'd like to know > what Daniel and Marek think

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

2022-01-22 Thread Daniel Golle
Please see two comments inline below On Sun, Jan 23, 2022 at 01:35:25AM +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 PO

Re: [RFC PATCH v2 0/2] Add DSA MultiCPU port support

2022-01-22 Thread Daniel Golle
On Sun, Jan 23, 2022 at 01:35:24AM +0100, Ansuel Smith wrote: > This adds the hack patches for DSA multicpu support. > I still have to clean patch 1, 3, 4 but considering this is still a bit WIP > I decided to clean and provide a correct patches for the final version. > > This version won't change

Re: [PATCH firmware-utils 1/2] ptgen: add Chromium OS kernel partition support

2022-01-27 Thread Daniel Golle
Hi Brian, thank you for taking care of liberating the Google devices ;) Please see my comments inline below: On Sat, Jan 15, 2022 at 09:48:30PM -0800, Brian Norris wrote: > Chrom{ium,e} OS (shortened as "CrOS") bootloaders use a custom GPT > partition type to locate their kernel(s), with custom

Re: [PATCH firmware-utils 1/2] ptgen: add Chromium OS kernel partition support

2022-01-28 Thread Daniel Golle
On Thu, Jan 27, 2022 at 08:56:26PM -0800, Brian Norris wrote: > On Thu, Jan 27, 2022 at 5:34 AM Daniel Golle wrote: > > Please see my comments inline below: > > > > On Sat, Jan 15, 2022 at 09:48:30PM -0800, Brian Norris wrote: > > > [...] > > > @@ -559,9 +5

Re: [PATCH procd] utils: fix get_active_console when kernel returns multiple values

2022-01-30 Thread Daniel Golle
Hi Mathew, On Tue, Jan 25, 2022 at 03:12:08AM +, Mathew McBride wrote: > /sys/class/tty/console/active may return multiple values on > kernels where framebuffer support is enabled but the system > is supposed to be using a serial console. > e.g > $ cat /sys/class/tty/console/active > tty0 ttyS

Re: [PATCH] Bugfix for OpenWrt package umdns

2022-01-30 Thread Daniel Golle
Hi Martin, On Fri, Jan 21, 2022 at 12:37:14PM +0100, mroe...@metz-connect.com wrote: > Hi John, > > I would like to submit a patch for the OpenWrt package umdns. The patch > fixes a bug in the cache.c functions cache_record_find() and > cache_host_is_known(). In both functions, the last element

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