[LEDE-DEV] About /etc/board.json

2017-08-04 Thread Gio
Hi all! When we started working on libremesh.org there was no /etc/board.json and of course no way to reliably know the hardware setup (expecially switch ports layout) so we had to do a copy of the first boot configuration and with some rough euristics the code had an approximative idea of the

Re: [LEDE-DEV] About /etc/board.json

2017-08-04 Thread Jo-Philipp Wich
Hi Gio, > - Should we consider this stable? Yes. > - Is there some specification on how to write a board.json file for > new hardware? Right now the specification is the code in package/base-files/files/lib/functions/uci-defaults.sh > - From what I saw on devices I have under my hands the boa

[LEDE-DEV] [PATCH] package/elfutils: add CFLAG -Wno-format-nonliteral

2017-08-04 Thread Alexander Couzens
When a library is using fortify-packages GCC will complain about "error: format not a string literal, argument types not checked" This is the problem of fortify-headers which do additional checks of printf()s. Signed-off-by: Alexander Couzens --- package/libs/elfutils/Makefile | 2 +- 1 file cha

Re: [LEDE-DEV] [PATCH 02/13] sunix: add support for kernel 4.9

2017-08-04 Thread Hauke Mehrtens
On 08/04/2017 12:07 AM, Tom Psyborg wrote: > fix your patch title Thanks, I will fix it. Hauke ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

[LEDE-DEV] [PATCH] config: make CONFIG_ALL_* select other CONIFG_ALL_* options

2017-08-04 Thread Hauke Mehrtens
Select the other CONFIG_ALL_* options in the hierarchy when the master option is selected. Currently CONFIG_ALL_KMODS is not selected when the build bot selects CONFIG_ALL_NONSHARED for example. Now the rtc kmods should get build when are selected as m if CONFIG_ALL_KMODS and CONFIG_RTC_SUPPORT ar

Re: [LEDE-DEV] [PATCH] mbedtls: Re-allow SHA1-signed certificates

2017-08-04 Thread Hauke Mehrtens
On 07/30/2017 05:57 PM, Baptiste Jonglez wrote: > From: Baptiste Jonglez > > Since mbedtls 2.5.1, SHA1 has been disallowed in TLS certificates. > This breaks openvpn clients that try to connect to servers that > present a TLS certificate signed with SHA1, which is fairly common. > > Run-tested w

Re: [LEDE-DEV] [PATCH] lantiq: fix missing otg_cap on danube platform

2017-08-04 Thread Hauke Mehrtens
On 07/29/2017 02:54 PM, Daniel Gonzalez Cabanelas wrote: > USB doesn't work in some danube boards because otg_cap > is missing since previous changes made on the USB-dwc2 > lantiq driver. Fix it. > > Tested on the ARV7518PW router. > > Signed-off-by: Daniel Gonzalez Cabanelas > --- > ...ke-t

Re: [LEDE-DEV] [PATCH] lantiq: fix missing otg_cap on danube platform

2017-08-04 Thread Daniel
Not sure about your question. I'm just re-adding the deleted code in the last commit on the affected kernel patch: https://github.com/lede-project/source/commit/f036956e1f6a38bfc4e678adf404f3a717ceaed8#diff-0928a7bd0f08843e69824f86d7a82782L35 I assume the only one important parameter here is " .o

Re: [LEDE-DEV] [PATCH] mbedtls: Re-allow SHA1-signed certificates

2017-08-04 Thread Magnus Kroken
Hi On 04.08.2017 18:37, Hauke Mehrtens wrote: I agree to put this into LEDE 17.01 and the master branch for now. It should be merged to LEDE 17.01 to maintain feature compatibility. I disagree that it should be merged to master, as this is a feature we (should) want to break in the long run.

[LEDE-DEV] wifi and wan ipv6 connectivity

2017-08-04 Thread e9hack
Hi, executing of command wifi disables ipv6 connectivity on wan interface. The wan interface is pppoe-wan. To get ipv6 connectivity again, I've to execute manually ubus call network add_dynamic '{ "name": "wan_6", "ifname": "@wan", "proto": "dhcpv6", "zone": "wan" }' what is usually done by /l