Re: [LEDE-DEV] libubox, procd: init process hangs

2016-06-06 Thread Xinxing Hu
Hi Guys, I have another idea about this issue. Maybe it is not kernel, but uloop related. I read procd and libubox code a little bit, and it seems there is a potential issue existing in uloop_run(). In general, uloop_run() is running in a while loop: while() 1, Process timeouts list

Re: [LEDE-DEV] [PATCH] [ramips] Added NixCore X1 target V2

2016-06-06 Thread John Crispin
Hi Drew, this patch seems to use the old devicetree layout and image building code. do you think you could rebase this and make it work ontop of latest source.git or do you need help to do that ? this patch wont apply as is. another question, did you build this yourself or is this a rebranded whi

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH libubox] blobmsg_json: add new functions blobmsg_format_json_value*

2016-06-06 Thread Eyal Birger
On Sat, Jun 4, 2016 at 6:27 PM, Matthias Schiffer wrote: > On 06/03/2016 04:55 PM, Eyal Birger wrote: >> >> Hi, >> >>> On 3 Jun 2016, at 13:11, Matthias Schiffer >>> wrote: >>> >> (snip) >>> >>> 1) and 2) would allow blobmsg to store everything that json-c can (with the >>> caveat that json-c st

[LEDE-DEV] [PATCH] [ramips] Added NixCore X1 target V2

2016-06-06 Thread Drew from NixCore
Added NixCore X1 ramips target http://nixcores.com. This builds 8M and 16M images Signed-off-by: Drew Gaylo diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 4728c75..69c0125 100755 --- a/target/linux/ramips/base-fi

[LEDE-DEV] [PATCH] [ramips] Added NixCore X1 target

2016-06-06 Thread Drew from NixCore
Added NixCore X1 ramips target http://nixcores.com. This builds 8M and 16M images Signed-off-by: Drew Gaylo diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 69c0125..4728c75 100755 --- a/target/linux/ramips/base-f

[LEDE-DEV] Anyone seen this issue with netifd?

2016-06-06 Thread Daniel Curran-Dickinson
iVBORw0KGgoNSUhEUgAAADAwAQMAAABtzGvEBlBMVEX///8AAABVwtN+eklEQVQY04XQzQ2EIBAF4IdMDIc5UAIlUIKlWMr0ZiMm28jOj+6iMXEOfBBmXgJAVLGlBkU3wcZ9I3Q7EdrAveowx6hZ0q6QJDsRnHlJwr+W4CHF7vLqTEenXABeUnSssbP8SdwdjTHEwcFDtQGKFuWjH8Lna8vAmfEF3NMPdAOsBscASUVORK5CYII= Content-Type: text/plain; charset=

[LEDE-DEV] RFC: patches on cyassl/wolfssl openssl compatibility

2016-06-06 Thread Karl Palsson
While attempting to update libwebsockets to version 2.x, I ran into the curious case of openssl compatiblity in wolfssl (nee cyassl) Apparently "--with-stunnel" enables "the rest" of the openssl compatibitility, bringing the compatibility up to v1.0.1. As openssl is already at 1.0.1, it seems rea

[LEDE-DEV] [PATCH] ustream-ssl: cyassl compatibility with build time options

2016-06-06 Thread Karl Palsson
From: Karl Palsson Adds a HAVE_CYASSL definition to be consistent with polar/mbedtls. Uses that definition to include the wolfssl build time options. This enables the correct pullin of the "remainder" of the wolfssl openssl compatibility options, if they were enabled in the build of wolfssl in th

[LEDE-DEV] [PATCH] wolfssl: enable openssl 1.0.1 compatibility

2016-06-06 Thread Karl Palsson
From: Karl Palsson >From wolfssl/openssl/opensslv.h, and from skimming the contents of what "--enable-stunnel" actually does, it seems that --enable-opensslextra doesn't give you the "full" openssl compatibility that you may wish for these days. Unfortuantely, while wolfssl writes the build time

[LEDE-DEV] [PATCH v2 netifd 1/3] device: Fix device find failure in avl list due to device name change

2016-06-06 Thread Hans Dedecker
As device name is used as key in avl list a device name change will break the avl find logic. Function device_set_ifname offers api to set the device name and re-inserts the avl node in the list when the avl key value is changed. Signed-off-by: Hans Dedecker --- v1 -> v2 : Fix debug print in de

[LEDE-DEV] [PATCH v2 netifd 2/3] device: Fix dotted vlan interface staying down

2016-06-06 Thread Hans Dedecker
Using the config below a dotted vlan interface stays down as get_vlan_device does not find the device due to the aliased device stacked on top of the base device. As all devices; aliased devices being the exception; are in the device list use device_find to find the device when setting the link sta

[LEDE-DEV] [PATCH v2 netifd 3/3] system-linux: Replace device_get by device_find where appropriate

2016-06-06 Thread Hans Dedecker
Replace device_get by device_find so it's clear a device needs to be found present in the device list. Signed-off-by: Hans Dedecker --- v1 -> v2 : Remove extra white line in netifd_handle_set_state system-linux.c | 2 +- ubus.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH netifd 1/3] device: Fix device find failure in avl list due to device name change

2016-06-06 Thread Hans Dedecker
On Mon, Jun 6, 2016 at 12:38 PM, Eyal Birger wrote: > Hi Hans, > > On Mon, Jun 6, 2016 at 1:03 PM, Hans Dedecker wrote: >> As device name is used as key in avl list a device name change will break >> the avl find logic. >> Function device_set_ifname offers api to set the device name and re-inser

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH netifd 1/3] device: Fix device find failure in avl list due to device name change

2016-06-06 Thread Eyal Birger
Hi Hans, On Mon, Jun 6, 2016 at 1:03 PM, Hans Dedecker wrote: > As device name is used as key in avl list a device name change will break the > avl find logic. > Function device_set_ifname offers api to set the device name and re-inserts > the avl node in the list > when the avl key value is ch

[LEDE-DEV] [PATCH netifd 3/3] system-linux: Replace device_get by device_find where appropriate

2016-06-06 Thread Hans Dedecker
Replace device_get by device_find so it's clear a device needs to be found present in the device list. Signed-off-by: Hans Dedecker --- system-linux.c | 2 +- ubus.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/system-linux.c b/system-linux.c index 98acb9d..04

[LEDE-DEV] [PATCH netifd 1/3] device: Fix device find failure in avl list due to device name change

2016-06-06 Thread Hans Dedecker
As device name is used as key in avl list a device name change will break the avl find logic. Function device_set_ifname offers api to set the device name and re-inserts the avl node in the list when the avl key value is changed. Signed-off-by: Hans Dedecker --- alias.c | 9 +++-- device

[LEDE-DEV] [PATCH netifd 2/3] device: Fix dotted vlan interface staying down

2016-06-06 Thread Hans Dedecker
Using the config below a dotted vlan interface stays down as get_vlan_device does not find the device due to the aliased device stacked on top of the base device. As all devices; aliased devices being the exception; are in the device list use device_find to find the device when setting the link sta

Re: [LEDE-DEV] [PATCH] fix uClibc-ng scanf check

2016-06-06 Thread Karel Zak
On Fri, Jun 03, 2016 at 10:54:57AM +0200, John Crispin wrote: > > configure.ac | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. Karel -- Karel Zak http://karelzak.blogspot.com ___ Lede-dev mailing list Lede-dev@lis

Re: [LEDE-DEV] [PATCH 1/2] mail: imapfiler: use default imapfilter config options

2016-06-06 Thread John Crispin
Hi Tomasz, these need to be submitted via a PRS to the openwrt packages feed on github John On 05/06/2016 15:03, Tomasz Duszynski wrote: > IMAP filtering is setup per user so it makes sense > to use settings defined under user's home directory. > > Signed-off-by: Tomasz Duszynski > ---