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

2020-03-25 Thread Paul Spooren
> >> typo in title and missing "R" in name directly above. Ack > > This script is for only your typical block devices, no MTD involved. > > > Looks like you should rather fix the logic setting > > CONFIG_TARGET_IMAGE_PAD. > > This has been removed with >

[OpenWrt-Devel] [PATCH] busybox: remove date -k patch

2020-03-25 Thread Rosen Penev
It breaks compilation on musl 1.2.0 as the syscall name changed. According to one of the kernel developers working on removing the settimeofday syscall, setting the kernel timezone is rather pointless: https://github.com/systemd/systemd/issues/13305#issuecomment-520463236 The kernel generally

[OpenWrt-Devel] [PATCH] mvebu: add support for Buffalo LinkStation LS421DE

2020-03-25 Thread Daniel Gonzalez Cabanelas
Buffalo LinkStation LS421DE is a dual bay NAS, based on Marvell Armada 370 Hardware: SoC: Marvell 88F6707-A1 CPU: Cortex-A9 1200 MHz, 1 core Flash: SPI-NOR 1 MiB, NAND 512 MiB RAM: DDR3 512 MiB Ethernet:1x 10/100/1000 Mbps USB: 1x 2.0,

[OpenWrt-Devel] [PATCH] umdns: fix 64-bit time format string

2020-03-25 Thread Rosen Penev
Fixes compilation under musl 1.2.0 Signed-off-by: Rosen Penev --- service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.c b/service.c index 97b6f91..f9d3b48 100644 --- a/service.c +++ b/service.c @@ -122,7 +122,7 @@ service_timeout(struct service *s)

Re: [OpenWrt-Devel] [PATCH] fstoools: add define for GLOB_ONLYDIR

2020-03-25 Thread Rosen Penev
On Wed, Mar 25, 2020 at 4:27 PM Rosen Penev wrote: > > This was originally a patch for musl. It is not present in musl as it is a > GNU extension. > > Place it here where it belongs. > > Signed-off-by: Rosen Penev Funny. openembedded has the same patch:

[OpenWrt-Devel] [PATCH] fstoools: add define for GLOB_ONLYDIR

2020-03-25 Thread Rosen Penev
This was originally a patch for musl. It is not present in musl as it is a GNU extension. Place it here where it belongs. Signed-off-by: Rosen Penev --- libfstools/overlay.c | 4 1 file changed, 4 insertions(+) diff --git a/libfstools/overlay.c b/libfstools/overlay.c index

[OpenWrt-Devel] [PATCHv3] odhcp6c: fix compilation with musl 1.2.0

2020-03-25 Thread Rosen Penev
SYS_clock_gettime is gone with musl 1.2.0. Switch to using the normal function. This was done back in the day when uClibc was used when librt was separate. Removed struct initialization since it gets written to right after. Signed-off-by: Rosen Penev --- v3: remove librt linking v2: switch

[OpenWrt-Devel] [PATCHv3] odhcpd: fix compilation with musl 1.2.0

2020-03-25 Thread Rosen Penev
SYS_clock_gettime is gone with musl 1.2.0. Switched to the function. Also fixed two format strings that fail as time_t is 64-bit with 1.2.0. Signed-off-by: Rosen Penev --- v3: no need for linking to librt v2: switch to function src/dhcpv6-ia.c | 8 src/odhcpd.c| 2 +- 2 files

[OpenWrt-Devel] [PATCHv3] netifd: fix compilation with musl 1.2.0

2020-03-25 Thread Rosen Penev
Switched to the plain function instead of the now gone syscall. Signed-off-by: Rosen Penev --- v3: no need for linking to librt v2: switched to function system-linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-linux.c b/system-linux.c index d533be8..d36d287

[OpenWrt-Devel] [PATCH] netifd: fix compilation with musl 1.2.0

2020-03-25 Thread Rosen Penev
Switched to the plain function instead of the now gone syscall. Added an rt link flag to fix compilation with glibc. Signed-off-by: Rosen Penev --- v2: switch to function CMakeLists.txt | 2 +- system-linux.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[OpenWrt-Devel] [PATCH] odhcpd: fix compilation with musl 1.2.0

2020-03-25 Thread Rosen Penev
SYS_clock_gettime is gone with musl 1.2.0. Switched to the function. Also fixed two format strings that fail as time_t is 64-bit with 1.2.0. Added a link to librt as that is needed for glibc. Signed-off-by: Rosen Penev --- v2: switched to function CMakeLists.txt | 2 +- src/odhcpd.c | 2 +-

[OpenWrt-Devel] [PATCH] odhcp6c: fix compilation with musl 1.2.0

2020-03-25 Thread Rosen Penev
SYS_clock_gettime is gone with musl 1.2.0. Switch to using the normal function. This was done back in the day when uClibc was used when librt was separate. Since only glibc is impacted now, this should be fine. Added a link to rt just to be sure. Signed-off-by: Rosen Penev --- v2: Switched to

[OpenWrt-Devel] ath10k-ct firmware update

2020-03-25 Thread Ben Greear
Wave-1: * March 19, 2020: Fix problem where power-save was not enabled when going off-channel to scan. The problem was a boolean logic inversion in the chmgr code, a regression I introduced a long time ago. * March 19, 2020: When scanning

[OpenWrt-Devel] Updated ath10k-ct driver

2020-03-25 Thread Ben Greear
I just pushed a fix for wave-1 firmware. This bug was exacerbated by a firmware fix that made power-save work better. Firmware update email coming next... commit 3d173a471d3e583f2885ce68190c4387424cecc5 (HEAD -> master, origin/master) Author: Ben Greear Date: Wed Mar 25 13:57:07 2020 -0700

[OpenWrt-Devel] [PATCH v2] x86: fix offer f2fs/ext4 based overlays

2020-03-25 Thread Paul Spooren
With the recent rework of the x86 image creation the f2fs/ext4 based overlays dissappeared as their are not copied by default. This patch enables the creation of rootfs files for ext4 and squashfs and stores it next to the combined images. Signed-off-by: Paul Spooren --- v2: * Use generic

[OpenWrt-Devel] My findings about WL-330N3G not booting

2020-03-25 Thread Enrico Mioso
Hello guys!! So I found out the device boots on 19.07.2. Still, disabling the wan interface seems to make the device unreachable. this is the default /etc/config/network as built by generate_config. config interface 'loopback' option ifname 'lo' option proto 'static'

Re: [OpenWrt-Devel] WL-33n3G not booting

2020-03-25 Thread Enrico Mioso
Hello guys! As a bonus, I found out the device runs fine in openwrt 19.07.2 (Linux version 4.14.171 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r10947-65030d81f3)) #0 Thu Feb 27 21:05:12 2020). Any hints on where I may look are greatly apreciated!! Enrico

Re: [OpenWrt-Devel] [PATCH] target.mk: enable iwinfo by default with any wpad variant

2020-03-25 Thread mail
> -Original Message- > From: Piotr Dymacz [mailto:pep...@gmail.com] > Sent: Mittwoch, 25. März 2020 15:08 > To: m...@adrianschmutzler.de; openwrt-devel@lists.openwrt.org > Cc: Felix Fietkau ; Jo-Philipp Wich > Subject: Re: [OpenWrt-Devel] [PATCH] target.mk: enable iwinfo by default > with

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

2020-03-25 Thread Tomasz Maciej Nowak
Hi Daniel. W dniu 25.03.2020 o 14:18, Daniel Golle pisze: > 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:

Re: [OpenWrt-Devel] [PATCH] x86: fix offer f2fs/ext4 based overlays

2020-03-25 Thread Tomasz Maciej Nowak
Hi Paul. W dniu 25.03.2020 o 05:58, Paul Spooren pisze: > With the recent rework of the x86 image creation the f2fs/ext4 based > overlays dissappeared as their are not copied by default. > > This commit follows the implementation of malta and armvirt to copy the > overlays as well. > >

[OpenWrt-Devel] Asus WL-330N3G not booting

2020-03-25 Thread Enrico Mioso
Hello guys!! I tried to flash a builtbot-built snapshot of OpenWRt to this small device. It doesn't boot. I don't have serial console access so I am unable to report on what's goin' on wrong here. I have another WL-330N3G running on ramips kernel 4.14.101. can you help me out in finding out

Re: [OpenWrt-Devel] [PATCH] target.mk: enable iwinfo by default with any wpad variant

2020-03-25 Thread Piotr Dymacz
Hi Adrian, On 25.03.2020 12:21, m...@adrianschmutzler.de wrote: Hi Piotr, -Original Message- From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Piotr Dymacz Sent: Mittwoch, 25. März 2020 00:34 To: openwrt-devel@lists.openwrt.org Subject: [OpenWrt-Devel]

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:

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

2020-03-25 Thread mail
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.org > Cc: russ...@personaltelco.net > Subject: [OpenWrt-Devel] [PATCH] x86: fix virutalbox

Re: [OpenWrt-Devel] [PATCH] netifd: fix compilation with musl 1.2.0

2020-03-25 Thread Rosen Penev
Sent from my iPhone > On Mar 25, 2020, at 1:27 AM, Petr Štetiar wrote: > > Rosen Penev [2020-03-24 22:56:19]: > > Hi, > >> --- a/system-linux.c >> +++ b/system-linux.c >> @@ -59,6 +59,10 @@ >> #define IFA_FLAGS (IFA_MULTICAST + 1) >> #endif >> >> +#ifndef __NR_clock_gettime >> +#define

Re: [OpenWrt-Devel] [PATCH] target.mk: enable iwinfo by default with any wpad variant

2020-03-25 Thread mail
Hi Piotr, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Piotr Dymacz > Sent: Mittwoch, 25. März 2020 00:34 > To: openwrt-devel@lists.openwrt.org > Subject: [OpenWrt-Devel] [PATCH] target.mk: enable iwinfo by default with > any

Re: [OpenWrt-Devel] [PATCH] netifd: fix compilation with musl 1.2.0

2020-03-25 Thread Hans Dedecker
On Wed, Mar 25, 2020 at 9:27 AM Petr Štetiar wrote: > > Rosen Penev [2020-03-24 22:56:19]: > > Hi, > > > --- a/system-linux.c > > +++ b/system-linux.c > > @@ -59,6 +59,10 @@ > > #define IFA_FLAGS (IFA_MULTICAST + 1) > > #endif > > > > +#ifndef __NR_clock_gettime > > +#define __NR_clock_gettime

Re: [OpenWrt-Devel] [PATCH] netifd: fix compilation with musl 1.2.0

2020-03-25 Thread Paul Oranje
Hi Rosen e.a. > Op 25 mrt. 2020, om 09:27 heeft Petr Štetiar het volgende > geschreven: > > Rosen Penev [2020-03-24 22:56:19]: > > Hi, > >> --- a/system-linux.c >> +++ b/system-linux.c >> @@ -59,6 +59,10 @@ >> #define IFA_FLAGS (IFA_MULTICAST + 1) >> #endif >> >> +#ifndef

Re: [OpenWrt-Devel] [PATCH] netifd: fix compilation with musl 1.2.0

2020-03-25 Thread Petr Štetiar
Rosen Penev [2020-03-24 22:56:19]: Hi, > --- a/system-linux.c > +++ b/system-linux.c > @@ -59,6 +59,10 @@ > #define IFA_FLAGS (IFA_MULTICAST + 1) > #endif > > +#ifndef __NR_clock_gettime > +#define __NR_clock_gettime __NR_clock_gettime64 > +#endif could you fix it by removing that probably

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 the Linux hwmon, watchdog and gpio > > >>

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

2020-03-25 Thread Petr Štetiar
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 the Linux hwmon, watchdog and gpio > >> drivers that support multiple Fintek Super-IO chips. In particular, > >> the

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

2020-03-25 Thread Paul Spooren
The previous rework of x86 image creation broke the `vdi` images. ussell Senior came up with this patch to fix the padding. Tested with x86/64 with Docker (squashfs), qemustart (ext4/squashfs) and virtualbox (ext4/squashfs). Signed-off-by: Paul Spooren --- target/linux/x86/image/Makefile | 10

[OpenWrt-Devel] [PATCH] odhcpd: fix compilation with musl 1.2.0

2020-03-25 Thread Rosen Penev
SYS_clock_gettime is gone with musl 1.2.0, leaving only the 64-bit variant Also fixed two format strings that fail as time_t is 64-bit with 1.2.0. Signed-off-by: Rosen Penev --- src/odhcpd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/odhcpd.c b/src/odhcpd.c

[OpenWrt-Devel] [PATCH] odhcp6c: fix compilation with musl 1.2.0

2020-03-25 Thread Rosen Penev
SYS_clock_gettime is gone with musl 1.2.0. Define it to the 64 bit version as musl 1.2.0 uses a 64-bit time_t. Signed-off-by: Rosen Penev --- src/odhcp6c.c | 4 1 file changed, 4 insertions(+) diff --git a/src/odhcp6c.c b/src/odhcp6c.c index 19a86f2..6077850 100644 --- a/src/odhcp6c.c +++