[OpenWrt-Devel] [PATCH] lldpd: Fix compilation without fortify-headers

2019-12-30 Thread Rosen Penev
Upstream backport. Signed-off-by: Rosen Penev --- package/network/services/lldpd/Makefile | 2 +- .../services/lldpd/patches/010-limits.patch | 21 +++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 package/network/services/lldpd/patches/010-limits.

[OpenWrt-Devel] [PATCH] trace-cmd: Fix compilation without fortify-headers

2019-12-30 Thread Rosen Penev
Upstream backport. Signed-off-by: Rosen Penev --- package/devel/trace-cmd/Makefile | 2 +- .../devel/trace-cmd/patches/120-limits.patch | 26 +++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 package/devel/trace-cmd/patches/120-limits.patch

[OpenWrt-Devel] [PATCH 5/5] scripts/mkits.sh: Switch from bash to sh

2019-12-30 Thread Rosen Penev
This no longer needs bash. Signed-off-by: Rosen Penev --- scripts/mkits.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mkits.sh b/scripts/mkits.sh index c09e537dbd..62cfc21c6b 100755 --- a/scripts/mkits.sh +++ b/scripts/mkits.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bas

[OpenWrt-Devel] [PATCH 4/5] scripts/mkits.sh: Fix improper string and array concatenation

2019-12-30 Thread Rosen Penev
Found with shellcheck. Signed-off-by: Rosen Penev --- scripts/mkits.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mkits.sh b/scripts/mkits.sh index 53b9ec5f20..c09e537dbd 100755 --- a/scripts/mkits.sh +++ b/scripts/mkits.sh @@ -43,7 +43,7 @@ do k

[OpenWrt-Devel] [PATCH 3/5] scripts/mkits.sh Add missing quotes

2019-12-30 Thread Rosen Penev
Found with shellcheck. Signed-off-by: Rosen Penev --- scripts/mkits.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mkits.sh b/scripts/mkits.sh index def3d3c7c2..53b9ec5f20 100755 --- a/scripts/mkits.sh +++ b/scripts/mkits.sh @@ -55,7 +55,7 @@ if [ -z "${ARCH}"

[OpenWrt-Devel] [PATCH 2/5] scripts/mkits.sh: replace echo -e with printf

2019-12-30 Thread Rosen Penev
echo flags are not POSIX. printf does the same with added \n. Signed-off-by: Rosen Penev --- scripts/mkits.sh | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/mkits.sh b/scripts/mkits.sh index 32a978e18d..def3d3c7c2 100755 --- a/scripts/mkits

[OpenWrt-Devel] [PATCH 1/5] scripts/mkits.sh: Replace legacy `` with $()

2019-12-30 Thread Rosen Penev
Found with shellcheck. Signed-off-by: Rosen Penev --- scripts/mkits.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mkits.sh b/scripts/mkits.sh index 93c8cedaed..32a978e18d 100755 --- a/scripts/mkits.sh +++ b/scripts/mkits.sh @@ -15,7 +15,7 @@ # usage() { -

[OpenWrt-Devel] [PATCH] scripts/symlink-tree.sh: Use /bin/sh

2019-12-30 Thread Rosen Penev
This uses nothing bash specific. Signed-off-by: Rosen Penev --- scripts/symlink-tree.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/symlink-tree.sh b/scripts/symlink-tree.sh index aa169e2455..6ed91dfb5a 100755 --- a/scripts/symlink-tree.sh +++ b/scripts/symlink-tr

[OpenWrt-Devel] [PATCH 1/2] scripts/strip-kmod.sh: Replace legacy `` with $()

2019-12-30 Thread Rosen Penev
Found with shellcheck. Signed-off-by: Rosen Penev --- scripts/strip-kmod.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/strip-kmod.sh b/scripts/strip-kmod.sh index 313015b909..7886cd907f 100755 --- a/scripts/strip-kmod.sh +++ b/scripts/strip-kmod.sh @@ -50,6 +50,6

[OpenWrt-Devel] [PATCH 2/2] scripts/strip-kmod.sh: Use sh instead of bash

2019-12-30 Thread Rosen Penev
There's nothing bash specific here. Signed-off-by: Rosen Penev --- scripts/strip-kmod.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/strip-kmod.sh b/scripts/strip-kmod.sh index 7886cd907f..28be35ea7c 100755 --- a/scripts/strip-kmod.sh +++ b/scripts/strip-kmod.sh @

[OpenWrt-Devel] [PATCH 1/2] scripts/strip-kmod.sh: Replace legacy `` with $()

2019-12-30 Thread Rosen Penev
Found with shellcheck. Signed-off-by: Rosen Penev --- scripts/strip-kmod.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/strip-kmod.sh b/scripts/strip-kmod.sh index 313015b909..7886cd907f 100755 --- a/scripts/strip-kmod.sh +++ b/scripts/strip-kmod.sh @@ -50,6 +50,6

[OpenWrt-Devel] [PATCH 1/2] scripts/flashing: Switch from echo -en to printf

2019-12-30 Thread Rosen Penev
echo flags are an extension and not available with sh. printf does the same as -en. Signed-off-by: Rosen Penev --- scripts/flashing/flash.sh | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/flashing/flash.sh b/scripts/flashing/flash.sh index 7f2cdf5db9..aea1bf1

[OpenWrt-Devel] [PATCH 2/2] scripts/flashing: Switch to /bin/sh

2019-12-30 Thread Rosen Penev
The script no longer uses any features that necessitate bash. Also removed trailing whitespace. Signed-off-by: Rosen Penev --- scripts/flashing/flash.sh | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/flashing/flash.sh b/scripts/flashing/flash.sh index aea

[OpenWrt-Devel] [OpenWrt-Devel, OpenWrt-Devel, V3, 2/2] kmodloader: added -a arg to modprobe

2019-12-30 Thread Gerard Ryan
-a treats all non-op trailing arguments as module names and attempts to load all of them. This behaviour mirrors the behaviour of the respective -a in /tools/modprobe.c from https://git.kernel.org. This is primarily to satiate the multiple modules passed by docker/libnetwork. Signed-off-by: Gerar

[OpenWrt-Devel] [PATCH 1/4] brcm63xx: use soc_vendor_model scheme for image and DTS files

2019-12-30 Thread Adrian Schmutzler
This changes brcm63xx target to achieve consistency between image names, device nodes names, compatible, DTS name and device name as much as possible. As with other targets, having consistent names is supposed to make life easier for developers and reduces the number of "variables" in the system. I

[OpenWrt-Devel] [PATCH 4/4] brcm63xx: align DTS model with Makefile and compatible

2019-12-30 Thread Adrian Schmutzler
Since the model string in DTS is not required to derive board name anymore, we can now align it with the model name in Makefile and the compatible. Signed-off-by: Adrian Schmutzler --- target/linux/brcm63xx/dts/bcm6318_sagem_fast-2704n.dts| 2 +- target/linux/brcm63xx/dts/bcm6328_sagem_fast-

[OpenWrt-Devel] [PATCH 2/4] brcm63xx: remove unneeded line break for DEVICE_PACKAGES

2019-12-30 Thread Adrian Schmutzler
In brcm63xx image Makefile DEVICE_PACKAGE definitions are split into multiple lines with no apparent need. Merge them into one line to increase readability and maintainability. Signed-off-by: Adrian Schmutzler --- target/linux/brcm63xx/image/bcm63xx.mk | 232 - 1 file ch

[OpenWrt-Devel] [PATCH 0/4] brcm63xx: soc_vendor_model scheme and board_name removal

2019-12-30 Thread Adrian Schmutzler
** Please test on device ** This changes brcm63xx target to achieve consistency between image names, device nodes names, compatible, DTS name and device name as much as possible. As with other targets, having consistent names is supposed to make life easier for developers and reduces the number of

[OpenWrt-Devel] [PATCH 3/4] brcm63xx: use compatible instead of manually setting board name

2019-12-30 Thread Adrian Schmutzler
This patch removes the translation of device model name into a board name in lib/brcm63xx.sh. This is actually totally useless as we have the compatible which can be used instead of the board name (and actually is at other targets like ath79 or ramips). The change requires updating the base-files

Re: [OpenWrt-Devel] Sysupgrade possibly broken in recent development snapshots: "message": "Firmware image couldn't be validated"

2019-12-30 Thread Petr Štetiar
Petr Novák [2019-12-30 20:43:36]: Hi, > I will do my best to reproduce the issue giving more details, I will post > any more details here tomorrow. if I may, can you do following for the start: 1. add following change (changing it directly on device right before step 2. should be enough):

[OpenWrt-Devel] [PATCH] ath79: drop obsolete ehci hacks

2019-12-30 Thread Bjørn Mork
There's nothing enabling these hacks in ath79, so drop the redundant patches. Signed-off-by: Bjørn Mork --- ...490-usb-ehci-add-quirks-for-qca-socs.patch | 103 -- ...490-usb-ehci-add-quirks-for-qca-socs.patch | 103 -- 2 files changed, 206 deletions(-) delete mo

Re: [OpenWrt-Devel] Sysupgrade possibly broken in recent development snapshots: "message": "Firmware image couldn't be validated"

2019-12-30 Thread Petr Novák via openwrt-devel
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 automatically by the mailing list software.--- Begin Message --- Hi Petr, thanks a lot for the eff

Re: [OpenWrt-Devel] Sysupgrade possibly broken in recent development snapshots: "message": "Firmware image couldn't be validated"

2019-12-30 Thread Petr Štetiar
Petr Štetiar [2019-12-29 23:21:23]: > So perhaps this is something Cortex-A72 related? I've just tried it under QEMU 4.2.50 with: * machine: virt * cpu: cortex-a72 * rootfs: http://downloads.openwrt.org/snapshots/targets/armvirt/64/openwrt-armvirt-64-rootfs-squashfs.img.gz

Re: [OpenWrt-Devel] [PATCH] ramips: mt7620: use throughput trigger on HiWiFi HC5x61

2019-12-30 Thread mail
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of DENG Qingfang > Sent: Montag, 30. Dezember 2019 16:59 > To: openwrt-devel@lists.openwrt.org > Subject: [OpenWrt-Devel] [PATCH] ramips: mt7620: use throughput trigger > on HiWiFi H

[OpenWrt-Devel] [PATCH] ramips: mt7620: use throughput trigger on HiWiFi HC5x61

2019-12-30 Thread DENG Qingfang
Throughput trigger support for MT7620 has been added, so switch to it Remove HC5661 non-existent 5GHz LED Signed-off-by: DENG Qingfang --- target/linux/ramips/dts/mt7620a_hiwifi_hc5661.dts| 6 +- target/linux/ramips/dts/mt7620a_hiwifi_hc5761.dts| 2 ++ target/linux/ramips/dts

Re: [OpenWrt-Devel] [PATCH] samba36: log error if getting device info failed

2019-12-30 Thread mail
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Rafal Milecki > Sent: Montag, 30. Dezember 2019 07:55 > To: openwrt-devel@lists.openwrt.org > Cc: Rafał Miłecki > Subject: [OpenWrt-Devel] [PATCH] samba36: log error if getting d

Re: [OpenWrt-Devel] Preserving configs over sysupgrade on ath79/tiny broken for some boards (on 19.07 and master), possible solutions

2019-12-30 Thread Piotr Dymacz
Hi David, Jo, On 30.12.2019 14:22, David Bauer wrote: Hello, On 12/30/19 12:42 PM, Jo-Philipp Wich wrote: Hi, given that (binary release) support for 4MB devices will end with 19.07, I'd vote for reverting the 4K sector change in ath79 and stick with 64K ones as common denominator across the

Re: [OpenWrt-Devel] Preserving configs over sysupgrade on ath79/tiny broken for some boards (on 19.07 and master), possible solutions

2019-12-30 Thread David Bauer
Hello, On 12/30/19 12:42 PM, Jo-Philipp Wich wrote: > Hi, > > given that (binary release) support for 4MB devices will end with 19.07, > I'd vote for reverting the 4K sector change in ath79 and stick with 64K > ones as common denominator across the entire target. That will be the > least invasive

Re: [OpenWrt-Devel] Preserving configs over sysupgrade on ath79/tiny broken for some boards (on 19.07 and master), possible solutions

2019-12-30 Thread Jo-Philipp Wich
Hi, given that (binary release) support for 4MB devices will end with 19.07, I'd vote for reverting the 4K sector change in ath79 and stick with 64K ones as common denominator across the entire target. That will be the least invasive and most robust fix. Regards, Jo signature.asc Description: