[OpenWrt-Devel] [PATCH 0/4] dnsmasq: DNSSEC support

2014-06-14 Thread Andre Heider
' without fullfilling 1) will break all queries! - `dig +dnssec +multi +tcp posteo.de` should resolve with 'ad' in flags - `dig +dnssec +multi +tcp dnssec-failed.org` should not resolve Thanks, Andre Andre Heider (4): dnsmasq: use COPTS for compile time options dnsmasq

[OpenWrt-Devel] [PATCH 2/4] dnsmasq: respect target's LDFLAGS

2014-06-14 Thread Andre Heider
Append local flags, don't overwrite. Signed-off-by: Andre Heider a.hei...@gmail.com --- package/network/services/dnsmasq/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile index

[OpenWrt-Devel] [PATCH 1/4] dnsmasq: use COPTS for compile time options

2014-06-14 Thread Andre Heider
As documented in config.h. Doing otherwise will break dnsmasq's pkg-wrapper script to find its libs to link to. Signed-off-by: Andre Heider a.hei...@gmail.com --- package/network/services/dnsmasq/Makefile | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package

[OpenWrt-Devel] [PATCH 3/4] dnsmasq: Add config option to enable DNSSEC validation

2014-06-14 Thread Andre Heider
Enabling this compile time option adds a dependency on libnettle. Signed-off-by: Andre Heider a.hei...@gmail.com --- package/network/services/dnsmasq/Config.in | 25 + package/network/services/dnsmasq/Makefile | 10 +- 2 files changed, 34 insertions(+), 1

[OpenWrt-Devel] [PATCH 4/4] dnsmasq: add UCI DNSSEC runtime support

2014-06-14 Thread Andre Heider
Ship keys for the root zone and add two uci options to enable DNSSEC checks: Option 'dnssec': Activate DNSSEC validation Option 'dnsseccheckunsigned': Ensure answers without DNSSEC are in unsigned zones Signed-off-by: Andre Heider a.hei...@gmail.com --- package/network/services/dnsmasq/Makefile

Re: [OpenWrt-Devel] [PATCH 0/4] dnsmasq: DNSSEC support

2014-06-14 Thread Andre Heider
On Sat, Jun 14, 2014 at 6:56 PM, Nikos Mavrogiannopoulos n...@gnutls.org wrote: On Sat, 2014-06-14 at 17:34 +0200, Andre Heider wrote: Hi, this set adds DNSSEC validation to dnsmasq, tested on ar71xx. The set is pretty small and should be self explanatory. There's room for improvement

Re: [OpenWrt-Devel] [PATCH 3/4] dnsmasq: Add config option to enable DNSSEC validation

2014-06-16 Thread Andre Heider
Hi, On Sun, Jun 15, 2014 at 12:26 AM, Yousong Zhou yszhou4t...@gmail.com wrote: It will be more complete if dnsmasq-dhcpv6 is also covered by this config option. Even better is letting this option depend on the actual dnsmasq build variant selected. As mentioned in the cover letter: while

Re: [OpenWrt-Devel] [PATCH 0/4] dnsmasq: DNSSEC support

2014-06-16 Thread Andre Heider
Hi, On Sun, Jun 15, 2014 at 11:13 AM, Steven Barth cy...@openwrt.org wrote: could you please add nettle-mini support and make this a build variant instead of a config option, please? Build variant has the advantage that we can precompile it as ipks because we cannot enable dnssec by default.

Re: [OpenWrt-Devel] [PATCH 0/4] dnsmasq: DNSSEC support

2014-06-16 Thread Andre Heider
On Mon, Jun 16, 2014 at 10:15 AM, Nikos Mavrogiannopoulos n.mavrogiannopou...@gmail.com wrote: On Mon, Jun 16, 2014 at 10:12 AM, Andre Heider a.hei...@gmail.com wrote: could you please add nettle-mini support and make this a build variant instead of a config option, please? Build variant has

Re: [OpenWrt-Devel] [PATCH 0/4] dnsmasq: DNSSEC support

2014-06-16 Thread Andre Heider
On Mon, Jun 16, 2014 at 10:16 AM, Steven Barth cy...@openwrt.org wrote: my intention was more to add one build-variant dnsmasq-full with standard + dhcpv6 + authoritative + dnssec. As dnssec adds hundreds of KB of dependencies anyway I don't think the 10 or 20 KB of the other features make it

Re: [OpenWrt-Devel] [PATCH 0/4] dnsmasq: DNSSEC support

2014-06-16 Thread Andre Heider
On Mon, Jun 16, 2014 at 10:52 AM, Steven Barth cy...@openwrt.org wrote: That sounds better, but on the other side users wanting only dhcpv6 then get quite a lot of DNSSEC bloat. I don't have numbers at hand, but we could explore static libnettle-mini linking? No, I wasn't thinking about

[OpenWrt-Devel] [PATCH v2 0/5] DNSSEC support

2014-06-17 Thread Andre Heider
Hi, fresh set of patches. Changes against v1: - building against libnettle-mini is supported now, patch 3 adds an upstream fix for this combination. - switched from a compile time configuration menu to a 3rd variant full. Thanks, Andre Andre Heider (5): dnsmasq: use COPTS for compile time

[OpenWrt-Devel] [PATCH v2 1/5] dnsmasq: use COPTS for compile time options

2014-06-17 Thread Andre Heider
As documented in config.h. Doing otherwise will break dnsmasq's pkg-wrapper script to find its libs to link to. Signed-off-by: Andre Heider a.hei...@gmail.com --- package/network/services/dnsmasq/Makefile | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package

[OpenWrt-Devel] [PATCH v2 4/5] dnsmasq: Add a full variant

2014-06-17 Thread Andre Heider
This variant includes support for DHCPv6 and DNSSEC. DNSSEC adds a dependency on libnettle. Signed-off-by: Andre Heider a.hei...@gmail.com --- package/network/services/dnsmasq/Makefile | 26 ++ 1 file changed, 26 insertions(+) diff --git a/package/network/services

[OpenWrt-Devel] [PATCH v2 2/5] dnsmasq: respect target's LDFLAGS

2014-06-17 Thread Andre Heider
Append local flags, don't overwrite. Signed-off-by: Andre Heider a.hei...@gmail.com --- package/network/services/dnsmasq/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile index

[OpenWrt-Devel] [PATCH v2 5/5] dnsmasq: add UCI DNSSEC runtime support

2014-06-17 Thread Andre Heider
Ship keys for the root zone and add two uci options to enable DNSSEC checks: Option 'dnssec': Activate DNSSEC validation Option 'dnsseccheckunsigned': Ensure answers without DNSSEC are in unsigned zones. Signed-off-by: Andre Heider a.hei...@gmail.com --- package/network/services/dnsmasq/files

[OpenWrt-Devel] [PATCH v2 3/5] dnsmasq: add upstream patch to build against libnettle-mini

2014-06-17 Thread Andre Heider
Signed-off-by: Andre Heider a.hei...@gmail.com --- ...g-add-DNO_GMP-for-use-with-nettle-mini-gm.patch | 88 ++ 1 file changed, 88 insertions(+) create mode 100644 package/network/services/dnsmasq/patches/0001-Build-config-add-DNO_GMP-for-use-with-nettle-mini-gm.patch diff

Re: [OpenWrt-Devel] [PATCH v2] lantiq: get more status information from xDSL

2015-08-03 Thread Andre Heider
Hi, On Fri, Jul 31, 2015 at 11:01 AM, feckert eckert.flor...@googlemail.com wrote: + echo dsl.latency_num_down=$sidu + echo dsl.latency_num_up=$sidd this hunk breaks the luci status/overview page, see `logread` for a syntax error message. Both values need to be

Re: [OpenWrt-Devel] lantiq DSL drivers / firmware info

2015-08-03 Thread Andre Heider
Hi all, On Fri, Jul 24, 2015 at 12:03 AM, Alexander Couzens lyn...@fe80.eu wrote: I've seen the same. With annex b device, same firmware, the modem syncs to adsl, with annex a not. meanwhile, I got an annex b device, and with the same openwrt build, dsl firmware and config (sysupgrade backup)

Re: [OpenWrt-Devel] lantiq DSL drivers / firmware info

2015-07-23 Thread Andre Heider
Hi Martin, On Sun, Jul 12, 2015 at 3:44 PM, Martin Blumenstingl martin.blumensti...@googlemail.com wrote: Since my latest patches were merged into the OpenWrt repository the patch which updates the lantiq DSL drivers/application did not apply anymore. Here is the updated patch which applies

Re: [OpenWrt-Devel] lantiq DSL drivers / firmware info

2015-07-23 Thread Andre Heider
Hi Alexander, On Fri, Jul 24, 2015 at 12:03 AM, Alexander Couzens lyn...@fe80.eu wrote: If someone would like to search for differences on the pcb, I can make photos of both pcbs. soldering rx, tx and gnd on a pcb for a serial connection is as far as my hardware skills go, but maybe we can

Re: [OpenWrt-Devel] lantiq DSL drivers / firmware info

2015-07-23 Thread Andre Heider
Hi Martin, On Thu, Jul 23, 2015 at 11:51 PM, Martin Blumenstingl martin.blumensti...@googlemail.com wrote: This sounds like an annex incompability? Was I wrong and there is a hardware difference and I cannot use the non B model with annex b? Indeed, I have read multiple times that the DSL

[OpenWrt-Devel] [PATCH 2/2] lantiq: get rid of ltq-vdsl-fw

2015-11-29 Thread Andre Heider
Because of dsl-vrx200-firmware-xdsl-* there's no need anymore to download a dsl firmware at runtime. Signed-off-by: Andre Heider <a.hei...@gmail.com> --- package/kernel/lantiq/ltq-vdsl-fw/Makefile | 40 -- package/kernel/lantiq/ltq-vdsl-fw/src/LzmaDecode.c

Re: [OpenWrt-Devel] [PATCH 2/2] lantiq: get rid of ltq-vdsl-fw

2015-11-29 Thread Andre Heider
Hi, On Sun, Nov 29, 2015 at 8:14 PM, Martin Blumenstingl wrote: > I'm wondering if we should add the dsl-vrx200-firmware-xdsl-{a,b} > firmware as package to each device, depending on which firmware (Annex > A or B) the device is originally shipped with. > The

[OpenWrt-Devel] [PATCH 1/2] lantiq: get rid of the dsl_fw mtd partition

2015-11-29 Thread Andre Heider
Now that we have redistributable vdsl/adsl firmware blobs in /lib/firmware, we can drop the dsl_fw partition and extend the firmware partition. Signed-off-by: Andre Heider <a.hei...@gmail.com> --- Tested with the annex b firmware on TDW8970. target/linux/lantiq/base-files/etc/init.d/

[OpenWrt-Devel] [PATCH 4/4] lantiq: fall back to a more appropriate default dsl firmware

2015-12-02 Thread Andre Heider
Signed-off-by: Andre Heider <a.hei...@gmail.com> --- What I'm not sure about is annex j. Is that using the a or b firmware or will it get its own? package/network/config/ltq-vdsl-app/files/dsl_control | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755

[OpenWrt-Devel] [PATCH 3/4] lantiq: base-files: use vdsl per default

2015-12-02 Thread Andre Heider
Since r43114 adsl will be used if annex is specified, so don't. Signed-off-by: Andre Heider <a.hei...@gmail.com> --- target/linux/lantiq/base-files/etc/uci-defaults/02_network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/lantiq/base-files/etc/uci-de

[OpenWrt-Devel] [PATCH 2/4] lantiq: base-files: drop the dsl tone settings

2015-12-02 Thread Andre Heider
Unused since r46920. Signed-off-by: Andre Heider <a.hei...@gmail.com> --- target/linux/lantiq/base-files/etc/uci-defaults/02_network | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base

[OpenWrt-Devel] [PATCH 1/4] lantiq: debloat the ltq-vdsl-app binary

2015-12-02 Thread Andre Heider
Use the 'typical' compile configuration instead of 'full', which most notably excludes the soap support. /sbin/vdsl_cpe_control shrinks down to ~50%, from 178kb(!) to 90kb. Signed-off-by: Andre Heider <a.hei...@gmail.com> --- package/network/config/ltq-vdsl-app/Makefile | 4 ++-- 1 file c

Re: [OpenWrt-Devel] [PATCH 2/4] lantiq: base-files: drop the dsl tone settings

2015-12-03 Thread Andre Heider
Hi, On Thu, Dec 3, 2015 at 10:46 AM, Daniel Golle wrote: > Usually by differentiating firmware by target markets. > Ie. depending on where you buy the device, you end up with different > xDSL settings, similar to how allowed wifi channels are handled by most > vendors as

Re: [OpenWrt-Devel] [PATCH 4/4] lantiq: fall back to a more appropriate default dsl firmware

2015-12-03 Thread Andre Heider
Hi, On Wed, Dec 2, 2015 at 10:13 PM, Daniel Schwierzeck <daniel.schwierz...@gmail.com> wrote: > Am 02.12.2015 um 21:38 schrieb Andre Heider: >> What I'm not sure about is annex j. >> Is that using the a or b firmware or will it get its own? > > Annex J is only valid

Re: [OpenWrt-Devel] [PATCH 2/4] lantiq: base-files: drop the dsl tone settings

2015-12-03 Thread Andre Heider
Hi, On Wed, Dec 2, 2015 at 10:07 PM, Daniel Schwierzeck wrote: > I think the removal of the tone setup in r46920 should be reverted. It > is still the only way to exactly control which pilot tones are sent by > the DSL firmware. I would not trust the default setting

Re: [OpenWrt-Devel] [PATCH] lantiq: don't unnecessarily disable gcc's format-security

2015-12-05 Thread Andre Heider
Hi, On Sat, Dec 5, 2015 at 10:38 AM, Felix Fietkau wrote: > /Users/nbd/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.11/linux-lantiq_xrx200/ltq-dsl-ar9/drv_dsl_cpe_api-3.24.4.4/src/common/drv_dsl_cpe_os_linux.c: > In function 'DSL_DRV_debug_printf': >

[OpenWrt-Devel] [PATCH v2] lantiq: base-files: use vdsl per default

2015-12-07 Thread Andre Heider
Since r43114 adsl will be used if annex is specified, so don't. --- v2: rebased target/linux/lantiq/base-files/etc/board.d/02_network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network

[OpenWrt-Devel] [PATCH v2] lantiq: fall back to a more appropriate default dsl firmware

2015-12-07 Thread Andre Heider
--- v2: use annex b firmware for annex j too package/network/config/ltq-vdsl-app/files/dsl_control | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 package/network/config/ltq-vdsl-app/files/dsl_control diff --git

Re: [OpenWrt-Devel] [PATCH v2] lantiq: fall back to a more appropriate default dsl firmware

2015-12-18 Thread Andre Heider
Hi, On Fri, Dec 11, 2015 at 10:36 AM, John Crispin wrote: >> @@ -69,11 +72,12 @@ start_service() { >> eval "xtse_adsl=\"\${xtse_adsl_$annex}\"" >> if [ "${xtse_adsl}" ]; then >> xtse=$xtse_adsl >> + [ -z "${firmware}" ] && eval >>

Re: [OpenWrt-Devel] [PATCH v2] lantiq: base-files: use vdsl per default

2015-12-21 Thread Andre Heider
Hi, sorry, missed that one since I wasn't CC'ed. On Fri, Dec 11, 2015 at 10:37 AM, John Crispin <blo...@openwrt.org> wrote: > On 07/12/2015 19:59, Andre Heider wrote: >> Since r43114 adsl will be used if annex is specified, so don't. > > if r43114 changed the default b

Re: [OpenWrt-Devel] [PATCH 2/2] lantiq: get rid of ltq-vdsl-fw

2015-12-19 Thread Andre Heider
Hi again, On Fri, Dec 11, 2015 at 11:50 AM, John Crispin wrote: > had a chat with hauke. the bdiff between the A and B FW is around 64K. > the idea would be to patch dsl_control to have a mechanism similar to > the dsl_notify script. dsl_control would call the script once

Re: [OpenWrt-Devel] [PATCH 2/8] lantiq: add dsl-vr9-firmware-xdsl

2015-11-25 Thread Andre Heider
Hi, On Tue, Nov 24, 2015 at 9:24 PM, Hauke Mehrtens wrote: > +define Package/dsl-vr9-firmware-xdsl/install > + $(INSTALL_DIR) $(1)/lib/firmware/ > + $(INSTALL_DATA) $(PKG_BUILD_DIR)/LICENSE > $(1)/lib/firmware/xcpe_574306_571801.LICENSE > + $(INSTALL_DATA)

[OpenWrt-Devel] [PATCH] lantiq: don't unnecessarily disable gcc's format-security

2015-11-30 Thread Andre Heider
ltq-adsl-mei as well as ltq-adsl build just fine with these compiler flags, there's no need to disable it. Signed-off-by: Andre Heider <a.hei...@gmail.com> --- package/kernel/lantiq/ltq-adsl-mei/Makefile | 1 - package/kernel/lantiq/ltq-adsl/Makefile | 1 - 2 files changed, 2 del

Re: [OpenWrt-Devel] [PATCH] wireguard: bump to 0.0.20181006

2018-10-08 Thread Andre Heider
Hi Jason, On 06/10/2018 05:09, Jason A. Donenfeld wrote: diff --git a/package/network/services/wireguard/Makefile b/package/network/services/wireguard/Makefile index 29c7447..3544e34 100644 --- a/package/network/services/wireguard/Makefile +++ b/package/network/services/wireguard/Makefile @@

[OpenWrt-Devel] [PATCH] sunxi: fix build without ext4 rootfs

2018-09-24 Thread Andre Heider
The sdcard image generation uses CONFIG_TARGET_ROOTFS_PARTSIZE, which is currently bound to TARGET_ROOTFS_EXT4FS on this target. Since the rootfs is squashfs anyway, allow deselecting of the ext4fs one. Sort the target list alphabetically while here. Signed-off-by: Andre Heider --- config

Re: [OpenWrt-Devel] MIPS stack security and other problems

2018-12-18 Thread Andre Heider
On 18/12/2018 01:44, Rosen Penev wrote: On Mon, Dec 17, 2018 at 4:34 PM Rosen Penev wrote: On Mon, Dec 17, 2018 at 3:40 PM Dave Taht wrote: John Crispin writes: On 17/12/2018 23:18, Dave Taht wrote: Rosen Penev writes: On Sun, Dec 16, 2018 at 4:54 PM Dave Taht wrote: A pretty

[OpenWrt-Devel] [PATCH] lantiq: add integer latency stat for lantiq-dsl

2018-12-10 Thread Andre Heider
The current stats always have a 'ms' suffix, and they're used by luci. Introduce dsl.latency_[down|up] values, exported in µs without suffix. Signed-off-by: Andre Heider --- The idea is to use sane values for metrics, see https://github.com/openwrt/packages/pull/7594 .../linux/lantiq/base

[OpenWrt-Devel] [PATCH 1/2] omap: fix build without ext4 rootfs

2019-01-31 Thread Andre Heider
Same fix as 7b76219e, just for omap. Signed-off-by: Andre Heider --- config/Config-images.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/Config-images.in b/config/Config-images.in index a0c7b7a94d..bdd24ef617 100644 --- a/config/Config-images.in +++ b/config

[OpenWrt-Devel] [PATCH 2/2] uboot-omap: add 'rootwait' to the kernel cmdline

2019-01-31 Thread Andre Heider
Some SD cards take a while to get detected, fix booting of those. Signed-off-by: Andre Heider --- package/boot/uboot-omap/files/uEnv-default.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/boot/uboot-omap/files/uEnv-default.txt b/package/boot/uboot-omap/files

[OpenWrt-Devel] [PATCH] build: call Host/Uninstall before wiping the host build dir

2019-09-28 Thread Andre Heider
Uninstall targets may depend on build artefacts, like `make uninstall` or `ninja uninstall`. Signed-off-by: Andre Heider --- include/host-build.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/host-build.mk b/include/host-build.mk index 827ea6bbfb..9fc14241c6

Re: [OpenWrt-Devel] [PATCH] toolchain/gcc: switch to version 8 by default

2019-10-01 Thread Andre Heider
On 01/10/2019 09:45, Andre Heider wrote: Hi, On 28/09/2019 22:44, Paul Spooren wrote: Main motivation for this commit is the introduction of `-ffile-prefix-map=` which alows reproducible build path. compilation failed for me, it tried to use -iremap. Maybe you used

Re: [OpenWrt-Devel] [PATCH] toolchain/gcc: switch to version 8 by default

2019-10-01 Thread Andre Heider
for me, runtime tested on sunxi. Regards, Andre commit 818244878603e8cb45d06473f2a5a72c5f9254a7 Author: Andre Heider Date: Tue Oct 1 09:37:52 2019 +0200 fixup gcc8 diff --git a/config/Config-build.in b/config/Config-build.in index 9669fc86c7..872e5c12ab 100644 --- a/config/Config-build.in

Re: [OpenWrt-Devel] [PATCH 2/2] sunxi: enable audio for sun4i

2019-09-26 Thread Andre Heider
On 26/09/2019 11:55, Yousong Zhou wrote: On Mon, 23 Sep 2019 at 22:01, Andre Heider wrote: Enable SND_SUN4I_CODEC and SND_SUN4I_SPDIF. Tested on cubieboard2. Signed-off-by: Andre Heider The module should be available as package kmod-sound-soc-sunxi. See target/linux/sunxi/modules.mk

Re: [OpenWrt-Devel] [PATCHv3] tools/pkg-config: Replace with pkgconf

2019-11-27 Thread Andre Heider
-0,0 +1,31 @@ +From 05ef58532b75c36fc19eb9d2d1fe4c46195706bf Mon Sep 17 00:00:00 2001 +From: Andre Heider +Date: Mon, 25 Nov 2019 09:36:47 +0100 +Subject: [PATCH] f pkgconf/meson This patch needs a better name and better explanation, description. This is some upstream backport or whats the origin of this patch? That was just a

Re: [OpenWrt-Devel] [PATCHv3] tools/pkg-config: Replace with pkgconf

2019-11-27 Thread Andre Heider
On 27/11/2019 13:19, Petr Štetiar wrote: Andre Heider [2019-11-27 12:26:39]: I didn't pursue upstreaming it because it looks like merge request at github are ignored and I didn't feel like signing up at upstreams own page. git send-email --to '~kaniini/pkgc...@lists.sr.ht' your.patch

Re: [OpenWrt-Devel] [PATCHv3] tools/pkg-config: Replace with pkgconf

2019-11-27 Thread Andre Heider
On 27/11/2019 23:30, Rosen Penev wrote: On Wed, Nov 27, 2019 at 6:35 AM Andre Heider wrote: On 27/11/2019 13:19, Petr Štetiar wrote: Andre Heider [2019-11-27 12:26:39]: I didn't pursue upstreaming it because it looks like merge request at github are ignored and I didn't feel like signing

[OpenWrt-Devel] [PATCH 2/2] sunxi: enable audio for sun4i

2019-09-23 Thread Andre Heider
Enable SND_SUN4I_CODEC and SND_SUN4I_SPDIF. Tested on cubieboard2. Signed-off-by: Andre Heider --- target/linux/sunxi/config-4.19 | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/target/linux/sunxi/config-4.19 b/target/linux/sunxi/config-4.19 index b1a9d7342c..a95bcc9e3f

[OpenWrt-Devel] [PATCH 1/2] sunxi: update kernel config

2019-09-23 Thread Andre Heider
This is just a `make kernel_oldconfig` run without further changes. Signed-off-by: Andre Heider --- target/linux/sunxi/config-4.19 | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/target/linux/sunxi/config-4.19 b/target/linux/sunxi/config-4.19 index ef5e1b28d3

Re: [OpenWrt-Devel] [PATCH v2] toolchain/gcc: switch to version 8 by default

2019-10-06 Thread Andre Heider
On 02/10/2019 09:15, Paul Spooren wrote: Main motivation for this commit is the introduction of `-ffile-prefix-map=` which alows reproducible build path. Compiling tested without errors on the following targets: * ath79 * brcm2708 * brcm63xx * ixp4xx * ramips * sunxi * x86 CC: Andre Heider

Re: [PATCH v2 1/2] rules.mk: remove redundant -I/-L

2020-09-03 Thread Andre Heider
Hi Jo, On 26/08/2020 08:15, Andre Heider wrote: $STAGING_DIR/usr/{include,lib} are already added using the gcc specs file, see scripts/patch-specs.sh $STAGING_DIR/lib is unused and seems to be a leftover from 1f0063b5 "rules.mk: remove "$(STAGING_DIR)/include"" Signed-

[PATCH] omap: update uboot to v2020.04

2020-09-04 Thread Andre Heider
Fixes the build error: /usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status Successfully tested on boneblack. Signed-off-by: Andre Heider --- package/boot

Re: [PATCH v2 1/2] rules.mk: remove redundant -I/-L

2020-09-14 Thread Andre Heider
On 26/08/2020 08:15, Andre Heider wrote: $STAGING_DIR/usr/{include,lib} are already added using the gcc specs file, see scripts/patch-specs.sh $STAGING_DIR/lib is unused and seems to be a leftover from 1f0063b5 "rules.mk: remove "$(STAGING_DIR)/include"" Signed-off-by: An

Re: [PATCH] omap: update uboot to v2020.04

2020-09-14 Thread Andre Heider
Hi Adrian, On 04/09/2020 09:30, Andre Heider wrote: Fixes the build error: /usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status Successfully tested

Re: [PATCH] omap: update uboot to v2020.04

2020-10-05 Thread Andre Heider
On 27/09/2020 06:16, Alexander 'lynxis' Couzens wrote: On Mon, 21 Sep 2020 18:53:13 +0200 Alexander 'lynxis' Couzens wrote: do you mind to take a quick look? In the end this is just a tiny package bump! :) let me have a tiny look on other devices ;) the pandaboards fails, but the bbb

Re: Monocultures are bad [Was: Re: [PATCH] build: Extract trusted-firmware-a.mk]

2020-10-12 Thread Andre Heider
On 12/10/2020 12:21, Petr Štetiar wrote: Hauke Mehrtens [2020-10-11 20:41:21]: Hi, (I've expressed this already in my initial review[1] which was not addressed and pushed anyway.) +TFA_MAKE_FLAGS += \ +

Re: Monocultures are bad [Was: Re: [PATCH] build: Extract trusted-firmware-a.mk]

2020-10-12 Thread Andre Heider
On 12/10/2020 20:45, Tomasz Maciej Nowak wrote: Hi. W dniu 12.10.2020 o 16:32, Andre Heider pisze: On 12/10/2020 12:21, Petr Štetiar wrote: Hauke Mehrtens [2020-10-11 20:41:21]: Hi,   (I've expressed this already in my initial review[1] which was not addressed    and pushed anyway

Re: Monocultures are bad [Was: Re: [PATCH] build: Extract trusted-firmware-a.mk]

2020-10-12 Thread Andre Heider
On 12/10/2020 22:16, Hauke Mehrtens wrote: On 10/12/20 8:45 PM, Tomasz Maciej Nowak wrote: Hi. W dniu 12.10.2020 o 16:32, Andre Heider pisze: On 12/10/2020 12:21, Petr Štetiar wrote: Hauke Mehrtens [2020-10-11 20:41:21]: Hi,    (I've expressed this already in my initial review[1] which

[PATCH v2 2/2] tools: always create $STAGING_DIR/usr/{include,lib}

2020-08-26 Thread Andre Heider
These are always passed to the toolchain using the gcc specs file, so ensure they exist. Fixes rare errors like: cc1: error: staging_dir/target-aarch64_cortex-a53_musl/usr/include: No such file or directory [-Werror=missing-include-dirs] Signed-off-by: Andre Heider Acked-by: Paul Spooren

[PATCH v2 1/2] rules.mk: remove redundant -I/-L

2020-08-26 Thread Andre Heider
$STAGING_DIR/usr/{include,lib} are already added using the gcc specs file, see scripts/patch-specs.sh $STAGING_DIR/lib is unused and seems to be a leftover from 1f0063b5 "rules.mk: remove "$(STAGING_DIR)/include"" Signed-off-by: Andre Heider --- rules.mk | 4 ++-- 1 file c

Re: [PATCH] tools: always create $STAGING_DIR/usr/{include,lib}

2020-08-25 Thread Andre Heider
Hi, On 25/08/2020 09:04, Jo-Philipp Wich wrote: Hi, Pretty much all packages stage into staging_dir/target-*/usr - I don't think there are any -I/-L flags we can remove. we're patching the gcc specs [1], [2] to implicitly add $STAGING_DIR/usr/lib to the link- and $STAGING_DIR/usr/include to

[PATCH] tools: always create $STAGING_DIR/usr/{include,lib}

2020-08-20 Thread Andre Heider
rules.mk always passes these as -I/-L to the toolchain. Fixes rare errors like: cc1: error: staging_dir/target-aarch64_cortex-a53_musl/usr/include: No such file or directory [-Werror=missing-include-dirs] Signed-off-by: Andre Heider --- tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v2] wolfssl: Update to version 4.5.0

2020-08-27 Thread Andre Heider
Hi, On 26/08/2020 00:19, Hauke Mehrtens wrote: This fixes the following security problems: * In earlier versions of wolfSSL there exists a potential man in the middle attack on TLS 1.3 clients. * Denial of service attack on TLS 1.3 servers from repetitively sending ChangeCipherSpecs

Re: ddns-scripts is broken since last major update

2020-09-26 Thread Andre Heider
On 26/09/2020 12:30, Ansuel Smith wrote: Il giorno sab 26 set 2020 alle ore 10:52 Andre Heider ha scritto: Hi, On 25/09/2020 11:26, Ansuel Smith wrote: Hi, since last update, ddns-scripts doesn't work any more. The log files contains the following output: We changed how the services

Re: ddns-scripts is broken since last major update

2020-09-26 Thread Andre Heider
Hi, On 25/09/2020 11:26, Ansuel Smith wrote: Hi, since last update, ddns-scripts doesn't work any more. The log files contains the following output: We changed how the services files is handled... You now need to both download the service with the 'ddns' command or install the companion

Re: ddns-scripts is broken since last major update

2020-09-26 Thread Andre Heider
On 26/09/2020 14:53, Ansuel Smith wrote: Il giorno sab 26 set 2020 alle ore 14:48 Andre Heider ha scritto: On 26/09/2020 12:54, Florian Eckert wrote: Hello Andre, thanks for your remarks, but I have to say this is a master branch and this is *not* a stable branch! The current implementation

Re: ddns-scripts is broken since last major update

2020-09-26 Thread Andre Heider
On 26/09/2020 12:54, Florian Eckert wrote: Hello Andre, thanks for your remarks, but I have to say this is a master branch and this is *not* a stable branch! The current implementation is not maintainable so I thought we have to refactor this package. If something is changed then something can

Re: Meson files missing breaking build

2020-09-27 Thread Andre Heider
On 27/09/2020 00:02, Philip Prindeville wrote: Hi. I’m having issues building a lot of packages lately, going back to June or July. Not sure what changed then. Maybe the 0.54.3 update to Meson? Various things like lighttpd and glib2 don’t want to build because of Meson. I get errors like

Re: [PATCH] omap: update uboot to v2020.04

2020-09-21 Thread Andre Heider
Hi Alexander, On 04/09/2020 09:30, Andre Heider wrote: Fixes the build error: /usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status Successfully tested

Re: Meson files missing breaking build

2020-09-28 Thread Andre Heider
On 27/09/2020 21:44, Philip Prindeville wrote: On Sep 27, 2020, at 12:13 AM, Andre Heider wrote: On 27/09/2020 00:02, Philip Prindeville wrote: Hi. I’m having issues building a lot of packages lately, going back to June or July. Not sure what changed then. Maybe the 0.54.3 update

[PATCH] ltq-dsl-base: only lock the dsl pipe once for all stats

2020-12-03 Thread Andre Heider
Instead of locking/unlocking it for every command. Reduces the runtime for the dslstat/lucistat commands to ~66%. Before: real0m 2.66s user0m 0.90s sys 0m 1.76s After: real0m 1.76s user0m 0.63s sys 0m 1.13s Signed-off-by: Andre Heider --- .../files/lib/functions

[PATCH v2] ltq-dsl-base: only lock the dsl pipe once for all stats

2020-12-04 Thread Andre Heider
Instead of locking/unlocking it for every command. Reduces the runtime for the dslstat/lucistat commands to ~66%. Before: real0m 2.66s user0m 0.90s sys 0m 1.76s After: real0m 1.76s user0m 0.63s sys 0m 1.13s Signed-off-by: Andre Heider --- v2: bump PKG_RELEASE package

Re: [PATCH] ltq-dsl-base: only lock the dsl pipe once for all stats

2020-12-04 Thread Andre Heider
Hi, On 04/12/2020 13:03, Jo-Philipp Wich wrote: Hi, is there any reason not to use the flock style below? It should be more reliable wrt. unlocking if the script is prematurely terminated. I guess because it gets more difficult to fish out the answer for each command then (I didn't check if

Re: [PATCH] ltq-dsl-base: only lock the dsl pipe once for all stats

2020-12-04 Thread Andre Heider
On 04/12/2020 13:25, Andre Heider wrote: Hi, On 04/12/2020 13:03, Jo-Philipp Wich wrote: Hi, is there any reason not to use the flock style below? It should be more reliable wrt. unlocking if the script is prematurely terminated. I guess because it gets more difficult to fish out the answer

[PATCH v3 3/3] ltq-dsl-base: bump PKG_RELEASE

2020-12-04 Thread Andre Heider
Signed-off-by: Andre Heider --- package/network/utils/ltq-dsl-base/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/utils/ltq-dsl-base/Makefile b/package/network/utils/ltq-dsl-base/Makefile index e2cfc4004c..aae07bc299 100644 --- a/package/network

[PATCH v3 2/3] ltq-dsl-base: remove preformatted integer values from lucistat

2020-12-04 Thread Andre Heider
luci has been converted to use the raw values, see [0]. Remove the now unused values. [0] https://github.com/openwrt/luci/pull/4635 Signed-off-by: Andre Heider --- .../files/lib/functions/lantiq_dsl.sh | 54 --- 1 file changed, 22 insertions(+), 32 deletions(-) diff

[PATCH v3 1/3] ltq-dsl-base: only lock the dsl pipe once for all stats

2020-12-04 Thread Andre Heider
Instead of locking/unlocking it for every command. Reduces the runtime for the dslstat/lucistat commands to ~66%. Before: real0m 2.66s user0m 0.90s sys 0m 1.76s After: real0m 1.76s user0m 0.63s sys 0m 1.13s Signed-off-by: Andre Heider --- v2: bump PKG_RELEASE v3: use

[PATCH 10/13] ltq-dsl-base: remove usused lantiq_dsl.sh

2020-12-11 Thread Andre Heider
All users have been converted to ubus. Signed-off-by: Andre Heider --- .../files/lib/functions/lantiq_dsl.sh | 749 -- 1 file changed, 749 deletions(-) delete mode 100755 package/network/utils/ltq-dsl-base/files/lib/functions/lantiq_dsl.sh diff --git a/package

[PATCH 04/13] ltq-adsl-app: add ubus support to get metrics

2020-12-11 Thread Andre Heider
As with ltq-vdsl-app, see previous commit. Signed-off-by: Andre Heider --- package/network/config/ltq-adsl-app/Makefile | 2 +- .../ltq-adsl-app/patches/300-ubus.patch | 50 +++ package/network/config/ltq-adsl-app/src | 1 + 3 files changed, 52 insertions(+), 1

[luci PATCH 05/13] luci-mod-status: use the new ubus dsl metrics

2020-12-11 Thread Andre Heider
This is significantly faster. Signed-off-by: Andre Heider --- .../resources/view/status/include/50_dsl.js | 55 +-- .../usr/share/rpcd/acl.d/luci-mod-status.json | 2 +- 2 files changed, 28 insertions(+), 29 deletions(-) diff --git a/modules/luci-mod-status/htdocs/luci

[PATCH 09/13] ltq-adsl-app: use ubus to provide metrics

2020-12-11 Thread Andre Heider
luci now uses ubus directly, so remove 'lucistat'. For manual usage just print the ubus output, use luci for a pretty version. Signed-off-by: Andre Heider --- package/network/config/ltq-adsl-app/files/dsl_control | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package

[luci PATCH 06/13] rpcd-mod-luci: get rid of now unused getDSLStatus ubus rpc

2020-12-11 Thread Andre Heider
Good riddance. Signed-off-by: Andre Heider --- libs/rpcd-mod-luci/src/luci.c | 55 --- 1 file changed, 55 deletions(-) diff --git a/libs/rpcd-mod-luci/src/luci.c b/libs/rpcd-mod-luci/src/luci.c index 94ccdf271..abf4b9ba5 100644 --- a/libs/rpcd-mod-luci/src

[PATCH 11/13] ltq-dsl-base: bump PKG_RELEASE

2020-12-11 Thread Andre Heider
Signed-off-by: Andre Heider --- package/network/utils/ltq-dsl-base/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/utils/ltq-dsl-base/Makefile b/package/network/utils/ltq-dsl-base/Makefile index e2cfc4004c..aae07bc299 100644 --- a/package/network

[PATCH 02/13] ltq-vdsl-app: fix -Wundef warnings

2020-12-11 Thread Andre Heider
6: warning: "MEI_SUPPORT_OPTIMIZED_FW_DL" is not defined, evaluates to 0 [-Wundef] #if (MEI_SUPPORT_OPTIMIZED_FW_DL == 1) ^~~~~~~ Signed-off-by: Andre Heider --- package/network/config/ltq-vdsl-app/Makefile | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --g

[PATCH 01/13] ltq-vdsl-app: shutdown upon sigterm

2020-12-11 Thread Andre Heider
procd sends sigterm to stop daemons, hook it up. This speeds up the shutdown sequence and gets rid of the following message: daemon.info procd: Instance dsl_control::instance1 pid 15408 not stopped on SIGTERM, sending SIGKILL instead Signed-off-by: Andre Heider --- .../config/ltq-vdsl-app

[PATCH 0/13] add ubus support to ltq-[v|a]dsl-app

2020-12-11 Thread Andre Heider
This is to significantly speed up the generation of the metrics. The motivation comes from the fact that ~2.6s is just way too ineffcient for interval based metric collectors like prometheus or collectd. The luci status page also loads/refreshes alot faster. $ time /etc/init.d/dsl_control

[PATCH 12/13] ltq-vdsl-app: bump PKG_RELEASE

2020-12-11 Thread Andre Heider
Signed-off-by: Andre Heider --- package/network/config/ltq-vdsl-app/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/config/ltq-vdsl-app/Makefile b/package/network/config/ltq-vdsl-app/Makefile index 5a84ea8e7e..48aa6b70c8 100644 --- a/package/network

[PATCH 13/13] ltq-adsl-app: bump PKG_RELEASE

2020-12-11 Thread Andre Heider
Signed-off-by: Andre Heider --- package/network/config/ltq-adsl-app/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/config/ltq-adsl-app/Makefile b/package/network/config/ltq-adsl-app/Makefile index e03c0911a5..317f8a908a 100644 --- a/package/network

[PATCH 08/13] ltq-vdsl-app: use ubus to provide metrics

2020-12-11 Thread Andre Heider
luci now uses ubus directly, so remove 'lucistat'. For manual usage just print the ubus output, use luci for a pretty version. Signed-off-by: Andre Heider --- package/network/config/ltq-vdsl-app/files/dsl_control | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package

Re: [luci PATCH 05/13] luci-mod-status: use the new ubus dsl metrics

2020-12-11 Thread Andre Heider
On 11/12/2020 13:11, Jo-Philipp Wich wrote: Hi, This is significantly faster. great work! I like it :) Minor nitpick below. [...] -var callLuciDSLStatus = rpc.declare({ - object: 'luci-rpc', - method: 'getDSLStatus', +var call_dsl_metrics = rpc.declare({ + object:

Re: [PATCH] ltq-dsl-base: only lock the dsl pipe once for all stats

2020-12-11 Thread Andre Heider
On 04/12/2020 13:25, Andre Heider wrote: Hi, On 04/12/2020 13:03, Jo-Philipp Wich wrote: Hi, is there any reason not to use the flock style below? It should be more reliable wrt. unlocking if the script is prematurely terminated. I guess because it gets more difficult to fish out the answer

Re: [PATCH 0/13] add ubus support to ltq-[v|a]dsl-app

2020-12-11 Thread Andre Heider
On 11/12/2020 13:05, Andre Heider wrote: The ltq-vdsl-app changes are only compile time tested. erm, *ltq-adsl-app* is only compile time tested. ltq-vdsl-app is what I'm using, and it works pretty well for me ;) ___ openwrt-devel mailing list

[PATCH 03/13] ltq-vdsl-app: add ubus support to get metrics

2020-12-11 Thread Andre Heider
uot;rx_corrupted": 27740, "rx_uncorrected_protected": 27010, "rx_retransmitted": 0, "rx_corrected": 730, "tx_retransmitted": 16222 }, "far": {

[packages PATCH 07/13] prometheus-node-exporter-lua: use the new ubus dsl metrics

2020-12-11 Thread Andre Heider
This is significantly faster. Signed-off-by: Andre Heider --- .../lib/lua/prometheus-collectors/ltq-dsl.lua | 108 -- 1 file changed, 47 insertions(+), 61 deletions(-) diff --git a/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/ltq-dsl.lua b/utils

  1   2   3   >