Re: [PATCHv2 3/4] scripts/clean-package.sh: remove useless cat

2020-07-11 Thread Alberto Bursi
On 12/07/20 01:38, Paul Spooren wrote: Hi, On 11.07.20 08:45, Rosen Penev wrote: Found with shellcheck. Signed-off-by: Rosen Penev ---   v2: rebased   scripts/clean-package.sh | 4 ++--   1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/clean-package.sh b/scripts/clean-p

RE: [OpenWrt-Devel] [PATCH] ramips: add support for netgear r6020

2020-07-11 Thread mail
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Evan Jobling > Sent: Freitag, 5. Juni 2020 08:28 > To: openwrt-devel@lists.openwrt.org > Cc: yn...@true.cz; m...@adrianschmutzler.de > Subject: [OpenWrt-Devel] [PATCH] ramips: add supp

Re: [PATCHv2 3/4] scripts/clean-package.sh: remove useless cat

2020-07-11 Thread Paul Spooren
Hi, On 11.07.20 08:45, Rosen Penev wrote: Found with shellcheck. Signed-off-by: Rosen Penev --- v2: rebased scripts/clean-package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/clean-package.sh b/scripts/clean-package.sh index 4b536c8a48..03e49df3e7 100

RE: [OpenWrt-Devel] [PATCH] .gitignore: ignore all .config* files

2020-07-11 Thread mail
Hi, since nobody else took care so far: In my opinion, this does not solve a problem with OpenWrt, but with your particular use case. However, we cannot cover each individual use case in our default settings. Despite, it would be relatively easy to either keep that change locally or just not a

[PATCH 1/1] RFC: Add STUN enable/disable, STUN host&port menu options to luci-app-upnp

2020-07-11 Thread Aaron Tiensivu
Pretty straightforward. The /etc/init.d/miniupnpd already picks up these values if you populate them with UCI or within the /etc/config text file. This just exposes them to the web interface. I've read submission guidelines and if I have done something in error, let me know. --- a/www/luci-stati

[PATCHv2 1/4] scripts/clean-package.sh: exit in case cd fails

2020-07-11 Thread Rosen Penev
Found with shellcheck. Signed-off-by: Rosen Penev --- v2: rebased scripts/clean-package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/clean-package.sh b/scripts/clean-package.sh index 035725625d..cbd12d8799 100755 --- a/scripts/clean-package.sh +++ b/scripts

[PATCHv2 3/4] scripts/clean-package.sh: remove useless cat

2020-07-11 Thread Rosen Penev
Found with shellcheck. Signed-off-by: Rosen Penev --- v2: rebased scripts/clean-package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/clean-package.sh b/scripts/clean-package.sh index 4b536c8a48..03e49df3e7 100755 --- a/scripts/clean-package.sh +++ b/scripts

openwrt-devel@lists.openwrt.org

2020-07-11 Thread Rosen Penev
-a is not well defined. Signed-off-by: Rosen Penev --- v2: rebased scripts/clean-package.sh | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/clean-package.sh b/scripts/clean-package.sh index 03e49df3e7..ccbb486eea 100755 --- a/scripts/clean-package.sh +++ b/s

[PATCHv2 2/4] scripts/clean-package.sh: use read -r

2020-07-11 Thread Rosen Penev
read will mangle backslashes. Found with shellcheck. Signed-off-by: Rosen Penev --- v2: rebased scripts/clean-package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/clean-package.sh b/scripts/clean-package.sh index cbd12d8799..4b536c8a48 100755 --- a/scripts

[PATCH 2/2] libcxx: update to 10.0.0

2020-07-11 Thread Rosen Penev
Switched to upstream tarballs. Switched to libcxxabi as using libsupc++ is quite wonky. Fixed description. Removed patches. The fixes are cosmetic. Added ssp patch. This one is needed for i386 and powerpc under musl. Compile tested every C++ package in the tree with the exception of several bo

[PATCH 1/2] libcxxabi: add

2020-07-11 Thread Rosen Penev
This will be used for libcxx. libcxxabi is needed as libsupc++ is not good enough for libcxx. It uses GCC specific stuff which causes failed compilation for some packages. There are also runtime issues, most notably with cxxopts where the program just crashes. Reference: https://github.com/gerber

Re: [OpenWrt-Devel] [PATCH 1/2] libcxxabi: add

2020-07-11 Thread Rosen Penev
On Sat, Jul 11, 2020 at 4:49 AM Petr Štetiar wrote: > > Rosen Penev [2020-06-06 11:52:22]: > > > This will be used for libcxx. > > > > Signed-off-by: Rosen Penev > > Please add more verbose commit description, mainly answer to "Why this should > be included?" question. Done. Sent patches. > > --

Re: AW: 'tr' character class support?

2020-07-11 Thread Jordan Geoghegan
On 2020-07-11 06:08, Magnus Kroken wrote: Hi On 11.07.2020 09:18, Thomas Endt wrote: --- Config-defaults.in.orig Fri Jul 10 21:03:57 2020 +++ Config-defaults.in  Fri Jul 10 21:03:22 2020 @@ -837,7 +837,7 @@   default y    config BUSYBOX_DEFAULT_FEATURE_TR_CLASSES   bool - 

[PATCH] elfutils: update to 0.180

2020-07-11 Thread Rosen Penev
Refreshed patches. Signed-off-by: Rosen Penev --- package/libs/elfutils/Makefile | 4 ++-- package/libs/elfutils/patches/100-musl-compat.patch | 2 +- package/libs/elfutils/patches/110-no-cdefs.patch| 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [PATCHv2] libjson-c: fix pkgconfig file

2020-07-11 Thread Rosen Penev
On Sat, Jul 11, 2020 at 5:03 AM Petr Štetiar wrote: > > Rosen Penev [2020-07-04 18:09:32]: > > Hi, > > > Removed now pointless CFLAGS. > > ... > > > -TARGET_CFLAGS += $(FPIC) -Wno-implicit-fallthrough > > -HOST_CFLAGS += -Wno-implicit-fallthrough > > Why is $(FPIC) pointless now? It's already def

[PATCH] libroxml: switch to CMake

2020-07-11 Thread Rosen Penev
Added patch to fix compilation with gcc10. Fixed license information. Fix ABI_VERSION. Signed-off-by: Rosen Penev --- package/libs/libroxml/Makefile| 26 +-- package/libs/libroxml/patches/010-gcc10.patch | 11 2 files changed, 24 insertions(+), 13 delet

Re: [PATCH v2] mvebu: add support for MACCHIATObin Single Shot

2020-07-11 Thread Alexandra Alth
Yes you can. Will provide the flashing instruction for it Thanks a lot Alexandra Von meinem iPhone gesendet > Am 11.07.2020 um 16:42 schrieb m...@adrianschmutzler.de: > >  >> >> From: Alexandra Alth [mailto:alexan...@alth.de] >> Sent: Samstag, 11. Juli 2020 15:31 >> To: Tomasz Maciej Nowa

RE: [PATCH v2] mvebu: add support for MACCHIATObin Single Shot

2020-07-11 Thread mail
> From: Alexandra Alth [mailto:alexan...@alth.de] > Sent: Samstag, 11. Juli 2020 15:31 > To: Tomasz Maciej Nowak > Cc: m...@adrianschmutzler.de; openwrt-devel@lists.openwrt.org > Subject: Re: [PATCH v2] mvebu: add support for MACCHIATObin Single Shot > > I can confirm that the provided image from

[RFC PATCH v2 0/1] Introduce mtd splitter for ELF kernel loader

2020-07-11 Thread Sander Vanheule
Currently, there appears to be no mtd splitter that works with a firmware partition starting with an ELF kernel loader. Devices using a loader must provide manual splits, possibly increasing the maintenance effort for these devices. This splitter may for example be used with the TP-Link CPE device

[RFC PATCH v2 1/1] kernel: mtdsplit: support ELF loader splitting

2020-07-11 Thread Sander Vanheule
To parse the ELF kernel loader, a minimal ELF parser is used that can handle both ELF32 or ELF64 class loaders. The splitter assumes that the kernel is always located before the rootfs, whether it is embedded in the loader or not. If the kernel is located after the rootfs on the firmware partition,

Re: [OpenWrt-Devel] [PATCH v6] ramips: add support for JS76x8 series DEV boards

2020-07-11 Thread Petr Štetiar
Robinson Wu [2020-04-07 16:36:52]: Hi, > +&pinctrl { > + state_default: pinctrl0 { > + gpio { > + ralink,group = "gpio","p3led_an","p4led_an", > + "pwm0","pwm1","refclk","wdt","wled_an"; > + ralink,function = "gp

Re: [PATCH] ramips: consolidate recipes with uimage_padhdr

2020-07-11 Thread Bjørn Mork
Tested-by: Bjørn Mork ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] dnsmasq: Ignore carrier status for bridge interfaces

2020-07-11 Thread Petr Štetiar
Reuben Dowle [2020-01-20 20:41:29]: Hi, > The information in this email communication (inclusive of attachments) is > confidential to 4RF Limited and the intended recipient(s). If you are not > the intended recipient(s), please note that any use, disclosure, > distribution or copying of this inf

Re: AW: 'tr' character class support?

2020-07-11 Thread Magnus Kroken
Hi On 11.07.2020 09:18, Thomas Endt wrote: --- Config-defaults.in.orig Fri Jul 10 21:03:57 2020 +++ Config-defaults.in Fri Jul 10 21:03:22 2020 @@ -837,7 +837,7 @@ default y config BUSYBOX_DEFAULT_FEATURE_TR_CLASSES bool - default n + default y config B

Re: [PATCH] utils: fix check_pid_path to work with deleted file as well

2020-07-11 Thread Petr Štetiar
Karel Kočí [2020-07-02 12:49:56]: Hi, > check_pid_patch is checking if process with given PID and executable > path is running. If this code fails the rest of the code can be > convinced that program is no longer running and possibly spawns new > instance that can collide with already running on

[PATCH v3] ath79: add support for gl-e750

2020-07-11 Thread Luochongjun
The gl-e750 is a portable travel router that gives you safe access to the internet while traveling. Specifications: - SoC: Qualcomm Atheros AR9531 (650MHz) - RAM: 128 MB DDR2 - Flash: 16 MB SPI NOR (W25Q128FVSG) + 128 MB SPI NAND (GD5F1GQ4UFYIG) - Ethernet: 10/100: 1xLAN - Wireless: QCA9531 2.4GHz

Re: [OpenWrt-Devel] [PATCH] ltq-vmmc: update permission handling

2020-07-11 Thread Petr Štetiar
Sebastian Kemper [2020-06-09 19:18:55]: > This commit addresses two permission issues. > > 1. The firmware is currently just copied. It can end up with o= on the >device (this is the case for voice_ar9_firmware.bin for instance). >Instead of copying it the Makefile is changed to use the

Re: [PATCH] mvebu: fix support for Marvell 8040 MACCHIATOBin

2020-07-11 Thread Tomasz Maciej Nowak
Hi. W dniu 10.07.2020 o 10:28, Adrian Schmutzler pisze: > Between kernels 4.20 and 5.0, a new variant of this board has been > introduced ("Single Shot"), and the existing one has been renamed > with the appendix "Double Shot". [1] > This also adjusted the first compatible in the list: > > marvel

Re: [PATCH v2] mvebu: add support for MACCHIATObin Single Shot

2020-07-11 Thread Tomasz Maciej Nowak
W dniu 10.07.2020 o 20:04, m...@adrianschmutzler.de pisze: > Hi, > >> -Original Message- >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] >> On Behalf Of Tomasz Maciej Nowak >> Sent: Freitag, 10. Juli 2020 19:35 >> To: openwrt-devel@lists.openwrt.org >> Cc: Alexandra

Re: [PATCHv2] libjson-c: fix pkgconfig file

2020-07-11 Thread Petr Štetiar
Rosen Penev [2020-07-04 18:09:32]: Hi, > Removed now pointless CFLAGS. ... > -TARGET_CFLAGS += $(FPIC) -Wno-implicit-fallthrough > -HOST_CFLAGS += -Wno-implicit-fallthrough Why is $(FPIC) pointless now? -- ynezz ___ openwrt-devel mailing list open

Re: [OpenWrt-Devel] [PATCH 1/2] libcxxabi: add

2020-07-11 Thread Petr Štetiar
Rosen Penev [2020-06-06 11:52:22]: > This will be used for libcxx. > > Signed-off-by: Rosen Penev Please add more verbose commit description, mainly answer to "Why this should be included?" question. -- ynezz ___ openwrt-devel mailing list openwrt-

arc770 and ath25 bump marked as deferred

2020-07-11 Thread mail
Hi, since nobody seemed to be interested in continuing, I just marked my kernel bump patches for arc770 (RFT) and ath25 (broken) as deferred, so they don't crowd patchwork any longer. https://patchwork.ozlabs.org/project/openwrt/patch/20200413103352.7429-1-freif...@adrianschmutzler.de/ https:/

Re: [OpenWrt-Devel] [PATCH 1/4] scripts/clean-package.sh: exit in case cd fails

2020-07-11 Thread Petr Štetiar
Rosen Penev [2019-12-29 19:48:24]: Please rebase, the series doesn't apply anymore. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] mtd_get_mac_ascii Return first occurence of $key.

2020-07-11 Thread Petr Štetiar
varga...@gmail.com [2019-11-26 14:10:03]: Hi, > From: Gabor Varga > > For example on Asus RT-AC65P router (and the identical Asus RT-AC85P) > the et1macaddr string has multiple occurences in u-boot-env partition. > So, the mtd_get_mac_ascii cannot determine the WAN MAC address > (called fr

RE: [PATCH v2] ath79: add support for gl-e750

2020-07-11 Thread mail
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Luochongjun > Sent: Samstag, 11. Juli 2020 10:59 > To: openwrt-devel@lists.openwrt.org > Cc: Luochongjun > Subject: [PATCH v2] ath79: add support for gl-e750 > > The gl-e750 is a por

RE: RE: [PATCH] ath79: add support for gl-e750

2020-07-11 Thread mail
> BTW: Would the following DTS statement work for your device _instead_ of the > code in 10-fix-wifi-mac: >  > &pcie0 { > status = "okay"; >  > wifi@0,0 { > compatible = "qcom,ath10k"; > reg = <0x 0 0 0 0>; > mtd-mac-address = <&art 0x0>; > mtd-mac-address-increment = <2>; > }; > }; > --->I ad

[PATCH] firmware-utils: mkfwimage: fix memcpy and strncpy usage

2020-07-11 Thread Petr Štetiar
Firmware is binary blob, so there are barely any NULL terminated strings expected, so we should probably convert all chars into u8 types, and after that it's clear, that using strcpy doesn't make sense anymore. This is rather theoretical stuff, but `uint8_t name[PART_NAME_LENGTH]` means, that you

[PATCH v2] ath79: add support for gl-e750

2020-07-11 Thread Luochongjun
The gl-e750 is a portable travel router that gives you safe access to the internet while traveling. Specifications: - SoC: Qualcomm Atheros AR9531 (650MHz) - RAM: 128 MB DDR2 - Flash: 16 MB SPI NOR (W25Q128FVSG) + 128 MB SPI NAND (GD5F1GQ4UFYIG) - Ethernet: 10/100: 1xLAN - Wireless: QCA9531 2.4GHz

AW: 'tr' character class support?

2020-07-11 Thread Thomas Endt
> -Ursprüngliche Nachricht- > Von: openwrt-devel Im > Auftrag von Jordan Geoghegan > Gesendet: Samstag, 11. Juli 2020 06:22 > --- Config-defaults.in.orig Fri Jul 10 21:03:57 2020 > +++ Config-defaults.in Fri Jul 10 21:03:22 2020 > @@ -837,7 +837,7 @@ > default y > config

AW: 'tr' character class support?

2020-07-11 Thread Thomas Endt
> -Ursprüngliche Nachricht- > Von: openwrt-devel Im > Auftrag von Jordan Geoghegan > Gesendet: Samstag, 11. Juli 2020 02:16 > Is a couple kb of space worth such a loss in portability (not to mention > deviating heavily from POSIX)? If you ask the guys with 4/32 devices the answer can on