Re: [LEDE-DEV] [PATCH 1/5] build: append metadata for supported images.gz

2017-11-28 Thread Christian Lamparter
On Tuesday, November 28, 2017 11:07:54 PM CET Matthias Schiffer wrote: > On 11/28/2017 10:51 PM, Christian Lamparter wrote: > > Targets that either directly or indirectly set > > CONFIG_TARGET_IMAGES_GZIP currently have no way > > to append the metadata at the end of new image > > creation

Re: [LEDE-DEV] [PATCH 1/5] build: append metadata for supported images.gz

2017-11-28 Thread Matthias Schiffer
On 11/28/2017 10:51 PM, Christian Lamparter wrote: > Targets that either directly or indirectly set > CONFIG_TARGET_IMAGES_GZIP currently have no way > to append the metadata at the end of new image > creation process. And this is going to be > necessary in order to convert the targets to use >

[LEDE-DEV] [PATCH 2/5] base-files: unify get_dt_led helper function

2017-11-28 Thread Christian Lamparter
Lantiq and IPQ806X (which includes IPQ40XX) both define the same custom function {ipq806x|lantiq}_get_dt_led. This patch moves the function into the base-file package at lib/functions/leds.sh to make it more accessible for other targets as well. Cc: Mathias Kresin Cc: John

[LEDE-DEV] [PATCH 3/5] apm821xx: convert to dt based diag LED script

2017-11-28 Thread Christian Lamparter
Please note that users with a Netgear WNDR4700 will need to update the device-tree partition manually. For instructions, please refere to commit 49856a4bb581 ("apm821xx: make it possible to update the dtb partition on the WNDR4700") Signed-off-by: Christian Lamparter ---

[LEDE-DEV] [PATCH 5/5] apm821xx: MyBook Live convert to DT PHY

2017-11-28 Thread Christian Lamparter
Changes MyBook Live to use DT PHY probing and the broadcom phy driver. Signed-off-by: Christian Lamparter --- target/linux/apm821xx/dts/apollo3g.dtsi | 11 +++ target/linux/apm821xx/sata/config-default | 1 + 2 files changed, 12 insertions(+) diff --git

[LEDE-DEV] [PATCH 4/5] apm821xx: use x86's upgrade scripts for MyBook Live

2017-11-28 Thread Christian Lamparter
Advantages: - preserves existing partition layout. On the hard-drive. Only the boot and rootfs partition will be overwritten. Disadvantages: - The upgrade process takes much longer to run. from 2-3 seconds to 15-25 seconds. Please note that sysupgrade will refuse to upgrade, if the

[LEDE-DEV] [PATCH 1/5] build: append metadata for supported images.gz

2017-11-28 Thread Christian Lamparter
Targets that either directly or indirectly set CONFIG_TARGET_IMAGES_GZIP currently have no way to append the metadata at the end of new image creation process. And this is going to be necessary in order to convert the targets to use the new fwtool assisted platform check. These will include for

Re: [LEDE-DEV] fixing of image file names

2017-11-28 Thread Moritz Warning
I have forked the lede source code started to add some fixes. The commits need to be cleaned up, tested, etc.. If somebody has some fixes, ideas, please let me know: https://github.com/mwarning/source - mwarning On 11/28/2017 07:05 PM, Moritz Warning wrote: > Hi, > > I noticed that there are

Re: [LEDE-DEV] [PATCHv2] iproute2: update to v4.14.1

2017-11-28 Thread Hans Dedecker
Merged into my staging tree with https://git.lede-project.org/?p=lede/dedeckeh/staging.git;a=commit;h=345388104121999fcd321685ad4db6059c63d4d6 Thanks Hans ___ Lede-dev mailing list Lede-dev@lists.infradead.org

Re: [LEDE-DEV] [PATCH v1] dnsmaq: add interface to ubus notification

2017-11-28 Thread Hans Dedecker
On Tue, Nov 28, 2017 at 3:11 PM, Borja Salazar wrote: Hi The patch is missing a SoB; see https://lede-project.org/submitting-patches#submitting_patches. Please also increase PKG_RELEASE in the dnsmasq Makefile Hans > --- >

[LEDE-DEV] add support for Comfast E314N

2017-11-28 Thread Bill Moffitt
Comfast E314N is a 2.4 GHz. outdoor directional wireless radio with two Ethernet ports and PoE pass-through (controlled by a slide switch). diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index e5baa90..f1e29c7 100755 ---

Re: [LEDE-DEV] fixing of image file names

2017-11-28 Thread Daniel Golle
On Tue, Nov 28, 2017 at 08:16:33PM +0100, Moritz Warning wrote: > Ok, > > looks like I should make a patch. :P > > On 11/28/2017 07:24 PM, Daniel Golle wrote: > > Hi Moritz, > > > > thanks for stepping forward and adressing this issue. > > It'd be good to include the two assertions added to

Re: [LEDE-DEV] [PATCH] procd: Restore respawn on SIGTERM timeout

2017-11-28 Thread Kristian Evensen
Hi Karl, Sorry for my extremely late reply. For some reason, it was not picked up by Gmail and I did not see it before today. Since it was not picked up by Gmail, I had to do some creative c, sorry in advance for weird formatting. >>Kristian Evensen wrote: >> When

Re: [LEDE-DEV] fixing of image file names

2017-11-28 Thread Moritz Warning
Ok, looks like I should make a patch. :P On 11/28/2017 07:24 PM, Daniel Golle wrote: > Hi Moritz, > > thanks for stepping forward and adressing this issue. > It'd be good to include the two assertions added to your list beelow. > > On Tue, Nov 28, 2017 at 07:05:23PM +0100, Moritz Warning

Re: [LEDE-DEV] fixing of image file names

2017-11-28 Thread Henrique de Moraes Holschuh
Em 28/11/17 16:24, Daniel Golle escreveu: thanks for stepping forward and adressing this issue. It'd be good to include the two assertions added to your list beelow. - board_name (in target userspace) == profile (in imagebuilder) == DTS name - image_filename ==

Re: [LEDE-DEV] fixing of image file names

2017-11-28 Thread Thomas Endt
See also http://lists.infradead.org/pipermail/lede-dev/2017-January/005307.html, where I mentioned some of this and some more. > -Ursprüngliche Nachricht- > Von: Lede-dev [mailto:lede-dev-boun...@lists.infradead.org] Im Auftrag > von Moritz Warning > Gesendet: Dienstag, 28. November 2017

Re: [LEDE-DEV] fixing of image file names

2017-11-28 Thread Daniel Golle
Hi Moritz, thanks for stepping forward and adressing this issue. It'd be good to include the two assertions added to your list beelow. On Tue, Nov 28, 2017 at 07:05:23PM +0100, Moritz Warning wrote: > Hi, > > I noticed that there are some image file names that do not follow the > "common" name

[LEDE-DEV] fixing of image file names

2017-11-28 Thread Moritz Warning
Hi, I noticed that there are some image file names that do not follow the "common" name scheme. Is it ok to change it? I would like to submit a patch. Some examples: - all lower case image names - lede-ipq806x-EA8500-squashfs-sysupgrade.tar => lede-ipq806x-ea8500-squashfs-sysupgrade.tar -

Re: [LEDE-DEV] [RFC] toolchain: fix GCC version check causing failure on Debian Testing with gcc-7

2017-11-28 Thread Jo-Philipp Wich
Hi Peter, > In Debian there were/are gcc-4.2 .. gcc-4.9, gcc-5 .. gcc-7. > And what about beauties like 'x86_64-linux-gnu-gcc-7'? > Why not ditch the 'gcc* --version' invocations and have people use > 'CC=fancy-named-gcc' on the command line if needed? That should already work (after fixing the

[LEDE-DEV] Merged: uqmi: fix raw-ip mode for newer lte modems

2017-11-28 Thread Jo-Philipp Wich
Merged into my staging tree with http://git.lede-project.org/?p=lede/jow/staging.git;a=commitdiff;h=36b31d2c49. Thank you! ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] [PATCH rpcd v3] sys: fix passwd path

2017-11-28 Thread Jo-Philipp Wich
Merged to rpcd.git in https://git.lede-project.org/?p=project/rpcd.git;a=commitdiff;h=74a784f037867025ad1c6b8c38bfdfa548742339 - thanks. ~ Jo ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

[LEDE-DEV] Merged: dnsmasq: fix dhcp-host entries with empty macs

2017-11-28 Thread Jo-Philipp Wich
Merged into master with http://git.lede-project.org/?p=source.git;a=commitdiff;h=fcfd5cdb59. Thank you! ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

[LEDE-DEV] [PATCH v1] dnsmaq: add interface to ubus notification

2017-11-28 Thread Borja Salazar
--- package/network/services/dnsmasq/patches/240-ubus.patch | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/package/network/services/dnsmasq/patches/240-ubus.patch b/package/network/services/dnsmasq/patches/240-ubus.patch index 0e0b1dd1b0..0a380ca824 100644 ---

[LEDE-DEV] [PATCH odhcpd v2] dhcpv4: notify DHCP ACK and RELEASE via ubus

2017-11-28 Thread Borja Salazar
if the ubus object has any subscription notify DHCP ACK and DHCP RELEASE events using ubus notifications. Signed-off-by: Borja Salazar --- src/dhcpv4.c | 16 src/odhcpd.h | 2 ++ src/ubus.c | 24 3 files changed, 42

Re: [LEDE-DEV] STP, rSTP and MSTP

2017-11-28 Thread Lucian Cristian
On 28.11.2017 13:39, Stefan Peter wrote: Hi Pablo On 28.11.2017 11:05, Pablo I. Pousada Rial wrote: Does LEDE implement just basic STP, or does it provide access to RSTP or MSTP? The Linux kernel only implements basic STP. I successfully have used mstpd from https://github.com/mstpd/mstpd for

Re: [LEDE-DEV] STP, rSTP and MSTP

2017-11-28 Thread Stefan Peter
Hi Pablo On 28.11.2017 11:05, Pablo I. Pousada Rial wrote: > Does LEDE implement just basic STP, or does it provide access to RSTP or > MSTP? The Linux kernel only implements basic STP. I successfully have used mstpd from https://github.com/mstpd/mstpd for RSTP, but I never tried MSTP. With

[LEDE-DEV] [PATCH v1] dnsmasq: fix dhcp-host entries with empty macs

2017-11-28 Thread Kevin Darbyshire-Bryant
From: Jo-Philipp Wich Due to improper localization of helper variables, "config host" entries without a given mac address may inherit the mac address of a preceeding, leading to invalid generated netive configuration. Fix the issue by marking the "macs" and "tags" helper variables

[LEDE-DEV] STP, rSTP and MSTP

2017-11-28 Thread Pablo I. Pousada Rial
Hello, I am working on an scenario where I need high network avaliability and redundancy, so STP is a must. I don't seem to find info on the status of the protocol and it's variants anywhere, other than how to activate basic stp. Does LEDE implement just basic STP, or does it provide access

Re: [LEDE-DEV] [PATCH odhcpd] dhcpv4: notify DHCP ack messages via ubus

2017-11-28 Thread Borja Salazar
Hi, I will send a V2 patch. Thanks On Tue, Nov 28, 2017 at 8:36 AM, Hans Dedecker wrote: > On Mon, Nov 27, 2017 at 11:12 AM, Borja Salazar wrote: >> Hi, >> >> Our company is currently developing a service for controlling routers >> via ubus methods

Re: [LEDE-DEV] [PATCH v2] uqmi: fix raw-ip mode for newer lte modems

2017-11-28 Thread Koen Vandeputte
On 2017-11-27 23:38, Nicholas Smith wrote: Hi! Will this also apply to the Sierra MC7430, as it is also raw-ip only? If I am not mistaken it is the same as the MC7455, just for the Asia/Pacific region. I would be able to verify this patch on the device. To verify that it works, do I