Re: [LEDE-DEV] RFC [PATCH] odhcpd: don't enable server mode on dhcp lan

2017-08-31 Thread Lucian Cristian
On 01.09.2017 00:35, Karl Palsson wrote: Daniel Golle wrote: Hi Karl, On Thu, Aug 31, 2017 at 05:17:38PM +, Karl Palsson wrote: Instead of blindly enabling the odhcpd v6 server and RA server on the lan port, only do that if the lan port isn't set to DHCP. This prevents the unhelpful case

[LEDE-DEV] [PATCH] ar71xx: Chipidea USB device support for QCA953x

2017-08-31 Thread adron
From: Sergey Sergeev Changes the platform to use the Chipidea driver instead of the generic USB host driver which has support for both host and device modes (selected on boot) for QCA953x based boards. It was tested on GL.iNet GL-AR300M with USB DEVICE mode config. More details is available her

Re: [LEDE-DEV] RFC [PATCH] odhcpd: don't enable server mode on dhcp lan

2017-08-31 Thread Karl Palsson
Daniel Golle wrote: > Hi Karl, > > On Thu, Aug 31, 2017 at 05:17:38PM +, Karl Palsson wrote: > > Instead of blindly enabling the odhcpd v6 server and RA server on the > > lan port, only do that if the lan port isn't set to DHCP. > > > > This prevents the unhelpful case of a device being a d

[LEDE-DEV] usign image signatures for update server

2017-08-31 Thread Paul Spooren
Hey all, I'm creating a service to easily sysupgrade to new releases. My plan is to sign all images via usign and verify the signatures on the clients (router). Currently I have no Idea how to mange the private keys and I came up with two possible scenarios: a) - Builders send image to update se

[LEDE-DEV] [PATCH v2] brcm63xx: Add Sercomm AD1018 support

2017-08-31 Thread Daniel Gonzalez Cabanelas
Add support for the Sercomm AD1018 router This a BCM6328 based board, 128 MB RAM, 128 MiB NAND flash, with an onboard BCM43217 wifi, 4 ethernet ports and 1 USB host port (not soldered). The board also has an FXS chip (Si32177) connected via SPI (SS2#), without support in LEDE. Since NAND flash ch

Re: [LEDE-DEV] [PATCH] dropbear: Link ssh and scp command to /bin instead of /usr/bin

2017-08-31 Thread Hannu Nyman
This patch has been applied as commit f7528ed0a8 and I think that it has broken dropbear compilation (and naturally also phase1 buildbot) The files are installed into /bin but that directory has not been created with INSTALL_DIR first. That was forgotten from the patch... My own build (after

Re: [LEDE-DEV] RFC [PATCH] odhcpd: don't enable server mode on dhcp lan

2017-08-31 Thread Daniel Golle
Hi Karl, On Thu, Aug 31, 2017 at 05:17:38PM +, Karl Palsson wrote: > Instead of blindly enabling the odhcpd v6 server and RA server on the > lan port, only do that if the lan port isn't set to DHCP. > > This prevents the unhelpful case of a device being a dhcpv4 client and > v6 server on the

[LEDE-DEV] RFC [PATCH] odhcpd: don't enable server mode on dhcp lan

2017-08-31 Thread Karl Palsson
Instead of blindly enabling the odhcpd v6 server and RA server on the lan port, only do that if the lan port isn't set to DHCP. This prevents the unhelpful case of a device being a dhcpv4 client and v6 server on the same ethernet port. Signed-off-by: Karl Palsson -- Should other protocols be e

[LEDE-DEV] ar71xx: fix switch port numbering on RB750r2 and RB750UPr2

2017-08-31 Thread João Chaínho
This patch fixes the switch port numbering on Mikrotik RB750r2 (hEX lite) and RB750UPr2 (hEX PoE lite). Tested on a RB750UPr2. Maybe this patch is applicable to other devices (e.g. RB951Ui-2nD, RB952Ui-5ac2nD) but I have no way to test them. Signed-off-by: João Chaínho --- diff --git a/target/l

[LEDE-DEV] [PATCH ubox 2/2] kmodloader: log error message in case of out of memory

2017-08-31 Thread Hans Dedecker
Log "out of memory" error message in case of OOM Signed-off-by: Hans Dedecker --- kmodloader.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/kmodloader.c b/kmodloader.c index 94cfc42..1b6488f 100644 --- a/kmodloader.c +++ b/kmodloader.c @@ -95,8 +95,10 @@ sta

[LEDE-DEV] [PATCH ubox v3 1/2] kmodloader: lift restriction on module alias info

2017-08-31 Thread Hans Dedecker
kmodloader has a restriction of storing only 32 aliases for a given module; as modules can have easily more than 32 aliases let's remove the restriction by using a dynamic allocation mechanism when retrieving the aliases. While at it also check the get_module_info return value setting an error code

Re: [LEDE-DEV] [PATCH ubox 2/3] kmodloader: lift restriction on module alias info

2017-08-31 Thread Yousong Zhou
On 31 August 2017 at 16:44, Hans Dedecker wrote: > On Wed, Aug 30, 2017 at 4:09 PM, Yousong Zhou wrote: >> On 30 August 2017 at 21:24, Hans Dedecker wrote: >>> kmodloader has a restriction of storing only 32 aliases for a given >>> module; as modules can have easily more than 32 aliases let's re

[LEDE-DEV] [PATCH 2/2] musl: update to 1.1.16+ git HEAD 2017-08-30

2017-08-31 Thread Koen Vandeputte
Fixes critical issues for memset() & fflush() Changes: 5f7efb8 move IPPORT_RESERVED from netdb.h to netinet/in.h 5f3b652 add powerpc64 and s390x to list of supported archs in INSTALL file 9d4c902 fix undefined behavior in memset due to missing sequence points c7f56b4 __init_libc: add fallbacks fo

[LEDE-DEV] [PATCH 1/2] kernel: update 4.9 to 4.9.46

2017-08-31 Thread Koen Vandeputte
Refreshed all patches Compiled & run-tested on targets: cns3xxx, imx6 Signed-off-by: Koen Vandeputte --- Warning! Please make sure the kernel update patch from Kevin Darbyshire-Bryant is applied first! "kernel: update 4.4 to 4.4.85" include/kernel-version.mk | 4 +

[LEDE-DEV] [PATCH ubox v2] kmodloader: lift restriction on module alias info

2017-08-31 Thread Hans Dedecker
kmodloader has a restriction of storing only 32 aliases for a given module; as modules can have easily more than 32 aliases let's remove the restriction by using a dynamic allocation mechanism when retrieving the aliases. While at it also check the get_module_info return value setting an error code

Re: [LEDE-DEV] [PATCH ubox 2/3] kmodloader: lift restriction on module alias info

2017-08-31 Thread Hans Dedecker
On Wed, Aug 30, 2017 at 4:09 PM, Yousong Zhou wrote: > On 30 August 2017 at 21:24, Hans Dedecker wrote: >> kmodloader has a restriction of storing only 32 aliases for a given >> module; as modules can have easily more than 32 aliases let's remove >> the restriction by using a dynamic allocation m

[LEDE-DEV] [PATCH] ramips: Improve stability of the mt7621 switch

2017-08-31 Thread Kristian Evensen
The switch on the mt7621 soc seems to sometimes struggle with Ethernet pause frames. If a pause frame is received at the incorrect time, the switch will for some reason hang and no data can be sent. Most of the time, a router has to be rebooted before the switch will work again, while sometimes the