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

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

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

[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

[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

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

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

[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

[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

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

[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

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

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

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

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