Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH netifd 2/3] interface: Only teardown interfaces having no proto task when l3_dev link lost

2016-07-14 Thread Hans Dedecker
On Thu, Jul 14, 2016 at 11:20 PM, Felix Fietkau wrote: > On 2016-07-14 23:10, Hans Dedecker wrote: >> Felix, >> >> Currently the xl2tp protocol script registers itself as having >> no_proto_task which is used in proto_shell_task_finish to send a >> teardown when the shell is in setup state an havi

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH netifd 2/3] interface: Only teardown interfaces having no proto task when l3_dev link lost

2016-07-14 Thread Felix Fietkau
On 2016-07-14 23:10, Hans Dedecker wrote: > Felix, > > Currently the xl2tp protocol script registers itself as having > no_proto_task which is used in proto_shell_task_finish to send a > teardown when the shell is in setup state an having a proto task. > I re-used the no_proto_task flag to send a

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH netifd 2/3] interface: Only teardown interfaces having no proto task when l3_dev link lost

2016-07-14 Thread Hans Dedecker
On Thu, Jul 14, 2016 at 4:56 PM, Felix Fietkau wrote: > On 2016-07-14 16:53, Yousong Zhou wrote: >> On 14/07/2016, Felix Fietkau wrote: >>> On 2016-07-14 13:28, Hans Dedecker wrote: On Thu, Jul 14, 2016 at 12:01 PM, Yousong Zhou wrote: > On 14 July 2016 at 16:14, Hans Dedecker wro

Re: [LEDE-DEV] [PATCH v2 2/8] apm821xx: add support for the Cisco Meraki MR24

2016-07-14 Thread Christian Lamparter
On Thursday, July 14, 2016 10:02:36 PM CEST Felix Fietkau wrote: > On 2016-07-14 21:39, Christian Lamparter wrote: > > This is mostly because with subtargets, it's possible to have different > > kernel configs. > > > > MyBook Live is somewhat unique compared to the MR24 or the WNDR4700. It has >

Re: [LEDE-DEV] [PATCH v2 8/8] apm821xx: add support for the Netgear Centria N900 WNDR4700/WNDR4720

2016-07-14 Thread Christian Lamparter
On Thursday, July 14, 2016 6:44:17 PM CEST Felix Fietkau wrote: > On 2016-07-13 21:23, Christian Lamparter wrote: > > From: Christian Lamparter > > > > This patch adds support for Netgear Centria N900 WNDR4700/WNDR4720 > > > > hardware highlights: > > > > CPU:AMCC PowerPC APM82181 Rev.

Re: [LEDE-DEV] [PATCH v2 2/8] apm821xx: add support for the Cisco Meraki MR24

2016-07-14 Thread Felix Fietkau
On 2016-07-14 21:39, Christian Lamparter wrote: > This is mostly because with subtargets, it's possible to have different > kernel configs. > > MyBook Live is somewhat unique compared to the MR24 or the WNDR4700. It has to > do without any flash (the 512Kb flash on the MBL only contains the u-boot

Re: [LEDE-DEV] [PATCH v2 2/8] apm821xx: add support for the Cisco Meraki MR24

2016-07-14 Thread Christian Lamparter
On Thursday, July 14, 2016 6:39:34 PM CEST Felix Fietkau wrote: > On 2016-07-13 21:23, Christian Lamparter wrote: > > From: Chris Blake > > > > This patch adds support for the Cisco Meraki MR24 Access point > > to the apm821xx target. > > > > Board: MR24 - Meraki MR24 Cloud Managed

Re: [LEDE-DEV] [PATCH v2 8/8] apm821xx: add support for the Netgear Centria N900 WNDR4700/WNDR4720

2016-07-14 Thread Felix Fietkau
On 2016-07-13 21:23, Christian Lamparter wrote: > From: Christian Lamparter > > This patch adds support for Netgear Centria N900 WNDR4700/WNDR4720 > > hardware highlights: > > CPU: AMCC PowerPC APM82181 Rev. E at 1000 MHz (PLB=166, OPB=83, EBC=83 MHz) > Security support, Boot ROM Locatio

Re: [LEDE-DEV] [PATCH v2 2/8] apm821xx: add support for the Cisco Meraki MR24

2016-07-14 Thread Felix Fietkau
On 2016-07-13 21:23, Christian Lamparter wrote: > From: Chris Blake > > This patch adds support for the Cisco Meraki MR24 Access point > to the apm821xx target. > > Board:MR24 - Meraki MR24 Cloud Managed Access Point > CPU: APM82181 SoC 800 MHz (PLB=200 OPB=100 EBC=100)

[LEDE-DEV] Mail notifications from Flyspray

2016-07-14 Thread Ted Hess
Hi all - As reported - there was a problem with email notification from our bug tracking system. This problem has been cleared up and notifications are being delivered once again. If anyone has tried to register on bugs.lede-project.org and did not receive their email confirmation, you should be

Re: [LEDE-DEV] [PATCH v2 0/8] apm821xx: apm821xx platform

2016-07-14 Thread Chris Blake
I can confirm that these patches work to make functional images for the Meraki MR24, as expected. Regards, Chris Blake On Wed, Jul 13, 2016 at 2:23 PM, Christian Lamparter wrote: > This series was initially posted to OpenWRT List back in March, > April 2016 for inclusion [0]. The APM821XX target

Re: [LEDE-DEV] [PATCH v2 1/8] apm821xx: add support for the apm821xx device target

2016-07-14 Thread Christian Lamparter
On Thursday, July 14, 2016 12:25:58 PM CEST Felix Fietkau wrote: > On 2016-07-13 21:23, Christian Lamparter wrote: > > From: Chris Blake > > > > This adds a new target for PowerPC APM82181 and APM82161 > > (464-based) boards, as well as adds support for the booke-wdt > > watchdog package. > > >

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH netifd 2/3] interface: Only teardown interfaces having no proto task when l3_dev link lost

2016-07-14 Thread Felix Fietkau
On 2016-07-14 16:53, Yousong Zhou wrote: > On 14/07/2016, Felix Fietkau wrote: >> On 2016-07-14 13:28, Hans Dedecker wrote: >>> On Thu, Jul 14, 2016 at 12:01 PM, Yousong Zhou >>> wrote: On 14 July 2016 at 16:14, Hans Dedecker wrote: > Commit c6858766 adds teardown support when l3_dev li

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH netifd 2/3] interface: Only teardown interfaces having no proto task when l3_dev link lost

2016-07-14 Thread Yousong Zhou
On 14/07/2016, Felix Fietkau wrote: > On 2016-07-14 13:28, Hans Dedecker wrote: >> On Thu, Jul 14, 2016 at 12:01 PM, Yousong Zhou >> wrote: >>> On 14 July 2016 at 16:14, Hans Dedecker wrote: Commit c6858766 adds teardown support when l3_dev link is lost especially for shell protocols >

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH netifd 2/3] interface: Only teardown interfaces having no proto task when l3_dev link lost

2016-07-14 Thread Felix Fietkau
On 2016-07-14 13:28, Hans Dedecker wrote: > On Thu, Jul 14, 2016 at 12:01 PM, Yousong Zhou wrote: >> On 14 July 2016 at 16:14, Hans Dedecker wrote: >>> Commit c6858766 adds teardown support when l3_dev link is lost especially >>> for shell protocols >>> that have no proto task. However shell pro

Re: [LEDE-DEV] [RFC 5/8] toolchain/gcc: add 6.1.0

2016-07-14 Thread Syrone Wong
Good job. Best Regards, Syrone Wong On Thu, Jul 14, 2016 at 9:17 PM, Felix Fietkau wrote: > On 2016-07-14 14:43, Syrone Wong wrote: >> Hi Felix, >> >> Thanks for your effort on this. I forgot to refresh the patch offset, >> can you help me do it? Although the offset doesn't affect patch >> appli

Re: [LEDE-DEV] [RFC 5/8] toolchain/gcc: add 6.1.0

2016-07-14 Thread Felix Fietkau
On 2016-07-14 14:43, Syrone Wong wrote: > Hi Felix, > > Thanks for your effort on this. I forgot to refresh the patch offset, > can you help me do it? Although the offset doesn't affect patch > application. > Best Regards, > Syrone Wong Pushed an updated version with refreshed patches to my stagin

Re: [LEDE-DEV] sysupgrade on lantiq xrx200 form openwrt to lede

2016-07-14 Thread Syrone Wong
Hi, You may want to flash back to factory and flash to LEDE via *-factory.bin. Make sure to set all configurations by hand. Best Regards, Syrone Wong On Thu, Jul 14, 2016 at 8:48 PM, Florian Eckert wrote: > Hello LEDE-Team > > I am using a openwrt 15.05 on an lantiq xrx200 device. > Upgrade wor

[LEDE-DEV] sysupgrade on lantiq xrx200 form openwrt to lede

2016-07-14 Thread Florian Eckert
Hello LEDE-Team I am using a openwrt 15.05 on an lantiq xrx200 device. Upgrade works always as expectet for 15.05. I am using the squashfs tar file. I wantet to test lede and i have seen that the image generation has completly changed there is no tar file anymore only bin. If i use this to make a

Re: [LEDE-DEV] [RFC 5/8] toolchain/gcc: add 6.1.0

2016-07-14 Thread Syrone Wong
Hi Felix, Thanks for your effort on this. I forgot to refresh the patch offset, can you help me do it? Although the offset doesn't affect patch application. Best Regards, Syrone Wong On Thu, Jul 14, 2016 at 6:55 PM, Felix Fietkau wrote: > Pushed to my staging tree with some changes. I removed G

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH netifd 2/3] interface: Only teardown interfaces having no proto task when l3_dev link lost

2016-07-14 Thread Hans Dedecker
On Thu, Jul 14, 2016 at 12:01 PM, Yousong Zhou wrote: > On 14 July 2016 at 16:14, Hans Dedecker wrote: >> Commit c6858766 adds teardown support when l3_dev link is lost especially >> for shell protocols >> that have no proto task. However shell protocols which have a proto task >> running like

Re: [LEDE-DEV] [RFC 6/8] uclibc++: fix gcc 6 build

2016-07-14 Thread Felix Fietkau
On 2016-07-13 15:57, Syrone Wong wrote: > C++14 added sized deallocation, while uclibc++ deleted all files > (extracted from libsupc++.a via "ar x") named "del_op*.o" > in abi/libsupc, so I wrote two wrapper files and let them call > free(ptr) and ignored the size parameter. > > GCC upstream URL:

Re: [LEDE-DEV] [RFC 8/8] toolchain: choose new toolchain only if

2016-07-14 Thread Felix Fietkau
On 2016-07-13 15:57, Syrone Wong wrote: > developer mode has been enabled, > GCC 5.3 binutils 2.25.1 otherwise. > > Signed-off-by: Syrone Wong Unnecessary with the proper defaults fixes. Also, developer mode shouldn't automagically change the defaults to different gcc/binutils versions, it should

Re: [LEDE-DEV] [RFC 7/8] config: add gcc 6 info to build rule

2016-07-14 Thread Felix Fietkau
On 2016-07-13 15:57, Syrone Wong wrote: > Signed-off-by: Syrone Wong > --- > config/Config-build.in | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/config/Config-build.in b/config/Config-build.in > index 23cf83b..7a70862 100644 > --- a/config/Config-build.in > +++ b/

Re: [LEDE-DEV] [RFC 5/8] toolchain/gcc: add 6.1.0

2016-07-14 Thread Felix Fietkau
Pushed to my staging tree with some changes. I removed GCC_VERSION_5 and removed your addition of GCC_VERSION_6 as well. On 2016-07-13 15:57, Syrone Wong wrote: > -fno-plt and musl-libc patches already get upstream, then dropped > in GCC 6. Other patches are almost identical compared to GCC 5.3. >

Re: [LEDE-DEV] [RFC 4/8] toolchain/gdb: add 7.11.1

2016-07-14 Thread Felix Fietkau
On 2016-07-13 15:57, Syrone Wong wrote: > Signed-off-by: Syrone Wong > --- > toolchain/gdb/Makefile | 4 +-- > .../gdb/patches/7.11.1/100-no_extern_inline.patch | 32 > ++ > .../gdb/patches/7.11.1/110-no_testsuite.patch | 21 ++ >

Re: [LEDE-DEV] [RFC 2/8] toolchain/binutils: add 2.26.1

2016-07-14 Thread Felix Fietkau
Pushed to my staging tree with some changes (see below) On 2016-07-13 15:57, Syrone Wong wrote: > Signed-off-by: Syrone Wong > --- > toolchain/binutils/Config.in | 6 > toolchain/binutils/Config.version | 5 +++ > toolchain/binutils/Makefile

Re: [LEDE-DEV] [PATCH v2 1/8] apm821xx: add support for the apm821xx device target

2016-07-14 Thread Felix Fietkau
On 2016-07-13 21:23, Christian Lamparter wrote: > From: Chris Blake > > This adds a new target for PowerPC APM82181 and APM82161 > (464-based) boards, as well as adds support for the booke-wdt > watchdog package. > > Signed-off-by: Chris Blake > --- > include/target.mk

[LEDE-DEV] [PATCH netifd 3/3] proto: Display proto flags when dumping the protocol handlers in ubus

2016-07-14 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- proto.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/proto.c b/proto.c index 45eeb4b..4cbf3f4 100644 --- a/proto.c +++ b/proto.c @@ -567,7 +567,13 @@ proto_dump_handlers(struct blob_buf *b) blobmsg_add_string(b, p->con

[LEDE-DEV] [PATCH netifd 2/3] interface: Only teardown interfaces having no proto task when l3_dev link lost

2016-07-14 Thread Hans Dedecker
Commit c6858766 adds teardown support when l3_dev link is lost especially for shell protocols that have no proto task. However shell protocols which have a proto task running like ppp will also be teared down which is not always the expected action. As an example the PPP daemon can be put into pe

[LEDE-DEV] [PATCH netifd 1/3] proto-shell: Model config parameter "no-proto-task" as a proto flag

2016-07-14 Thread Hans Dedecker
Export the config parameter "no-proto-task" as a proto flag so it can be checked by other netifd modules Signed-off-by: Hans Dedecker --- proto-shell.c | 6 +++--- proto.h | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/proto-shell.c b/proto-shell.c index 25dec00..192

Re: [LEDE-DEV] [PATCH] ramips: Cleanup etc/board.d/02_network

2016-07-14 Thread Jo-Philipp Wich
Hi Paul, thank you for your patch! I merged it into my staging tree with a fixed mail address in the Signoff line and an additional new line wrap in the commit message to keep lines shorter than 80 chars. ~ Jo ___ Lede-dev mailing list Lede-dev@lists.

[LEDE-DEV] [PATCH] ramips: Cleanup etc/board.d/02_network

2016-07-14 Thread p . wassi
From: Paul Wassi Clean-up duplicate cases and fix alphabetical ordering in base-files/etc/board.d/02_network Signed-off-by: Paul Wassi --- linux/ramips/base-files/etc/board.d/02_network | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff -rupN a/target/linux/ramips/bas

[LEDE-DEV] ar71xx: add tp-link 841nd-v9-vn board - 8mbit flash isp oem variant

2016-07-14 Thread Luke McKee
https://github.com/openwrt/openwrt/pull/29 https://github.com/openwrt/openwrt/pull/29/commits/84c616f66390230a2938f8db691e8093f1669ec2 Please see the commit message or the forum. This has been run-tested on the new hardware which is basically the same as a v9 board just with the larger flash size