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

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 > >

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

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

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:

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

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

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:

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 -

[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

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

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

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

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] [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 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

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 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

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

[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)

[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

[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

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

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 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