Re: [LEDE-DEV] [PATCH netifd 1/2] system-linux: parse gre specific settings as nested json data object

2017-03-14 Thread Felix Fietkau
On 2017-03-14 21:36, Hans Dedecker wrote: > Parse gre specific settings ikey, okey, icsum, ocsum, iseqno and oseqno > as nested json data object > > Signed-off-by: Hans Dedecker Are you sure this works? If I remember correctly, uci_to_blob will only add options for which it has a policy. - Felix

Re: [LEDE-DEV] [PATCH 2/2] include: Add nomips16 CPU_SUBTYPE

2017-03-14 Thread Hauke Mehrtens
On 03/14/2017 10:46 PM, Felix Fietkau wrote: > On 2017-03-14 18:55, hauke.mehrt...@intel.com wrote: >> From: Hauke Mehrtens >> >> This can be used to indicate that a target does not support the optional >> mips16 >> extension even when it is a mips32r2 or later CPU. >> >> This will generate a sep

Re: [LEDE-DEV] [PATCH] ar71xx: change image version for ubiquiti devices

2017-03-14 Thread txt.file
Good point. But if we change it to v7.0.0 now we have the same problem sooner or later. On TP-Link devices i have often seen v0.0.0-… or similar. Bill Moffitt: > I don't know if it makes any difference, but insofar as there is an > AirOS 6.0 now > (https://community.ubnt.com/t5/airMAX-Updates-Blog

Re: [LEDE-DEV] [PATCH 2/2] include: Add nomips16 CPU_SUBTYPE

2017-03-14 Thread Felix Fietkau
On 2017-03-14 18:55, hauke.mehrt...@intel.com wrote: > From: Hauke Mehrtens > > This can be used to indicate that a target does not support the optional > mips16 > extension even when it is a mips32r2 or later CPU. > > This will generate a separate toolchain and a separate package folder, > e.g

[LEDE-DEV] [PATCH netifd 2/2] system-linux: parse vti specific settings as nested json data object

2017-03-14 Thread Hans Dedecker
Parse vti specific settings ikey and okey as nested json data object. At the same time remove the now obsolete TUNNEL_ATTR_INFO attribute. Signed-off-by: Hans Dedecker --- system-linux.c | 29 - system.c | 11 ++- system.h | 8 +++- 3 files ch

[LEDE-DEV] [PATCH netifd 1/2] system-linux: parse gre specific settings as nested json data object

2017-03-14 Thread Hans Dedecker
Parse gre specific settings ikey, okey, icsum, ocsum, iseqno and oseqno as nested json data object Signed-off-by: Hans Dedecker --- system-linux.c | 48 +--- system.c | 14 ++ system.h | 11 +++ 3 files changed, 54 inser

Re: [LEDE-DEV] [PATCH mdns] Send reverse DNS lookup entry for IPv4 address

2017-03-14 Thread Jo-Philipp Wich
Hi, >> Whenever we send A(AAA) records, let's also include reverse lookup ones. >> This should be extended in the future by adding IPv6. > > Ping. Any opinions on this? Go for it. >> @@ -210,6 +210,38 @@ dns_reply_a(struct interface *iface, int ttl) >> freeifaddrs(ifap); >> } >> >> +stati

Re: [LEDE-DEV] [PATCH V2] toolchain: add musl libc.so to external toolchain

2017-03-14 Thread Jo-Philipp Wich
Hi, > musl provides a /lib/libc.so file which should be integrated into the libc > package when the external toolchain with musl is used. > > Signed-off-by: Hauke Mehrtens Acked-by: Jo-Philipp Wich signature.asc Description: OpenPGP digital signature ___

Re: [LEDE-DEV] [PATCH V2] toolchain: add musl libc.so to external toolchain

2017-03-14 Thread Florian Fainelli
On 03/14/2017 11:18 AM, hauke.mehrt...@intel.com wrote: > From: Hauke Mehrtens > > musl provides a /lib/libc.so file which should be integrated into the libc > package when the external toolchain with musl is used. > > Signed-off-by: Hauke Mehrtens Reviewed-by: Florian Fainelli -- Florian _

[LEDE-DEV] [PATCH V2] toolchain: add musl libc.so to external toolchain

2017-03-14 Thread hauke . mehrtens
From: Hauke Mehrtens musl provides a /lib/libc.so file which should be integrated into the libc package when the external toolchain with musl is used. Signed-off-by: Hauke Mehrtens --- package/libs/toolchain/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/l

Re: [LEDE-DEV] [PATCH] toolchain: add musl libc.so to external toolchain

2017-03-14 Thread Hauke Mehrtens
On 2017-03-14 18:34, Florian Fainelli wrote: On 03/14/2017 10:28 AM, Hauke Mehrtens wrote: On 2017-03-14 18:20, Florian Fainelli wrote: On 03/14/2017 05:28 AM, hauke.mehrt...@intel.com wrote: From: Hauke Mehrtens musl provides a /lib/libc.so file which should be integrated into the libc pa

[LEDE-DEV] [PATCH 1/2] scripts: only generate config from feature flag if fully match

2017-03-14 Thread hauke . mehrtens
From: Hauke Mehrtens Without this change the code checked if the string was contained in the feature option and not if the string matches the complete word. This only removes the nand option from the omap24xx target, the other changes are only removing options which were added twice. Signed-off-

[LEDE-DEV] [PATCH 2/2] include: Add nomips16 CPU_SUBTYPE

2017-03-14 Thread hauke . mehrtens
From: Hauke Mehrtens This can be used to indicate that a target does not support the optional mips16 extension even when it is a mips32r2 or later CPU. This will generate a separate toolchain and a separate package folder, e.g. mips_24kc_nomips16 Signed-off-by: Hauke Mehrtens --- include/targ

Re: [LEDE-DEV] [PATCH] toolchain: add musl libc.so to external toolchain

2017-03-14 Thread Florian Fainelli
On 03/14/2017 10:28 AM, Hauke Mehrtens wrote: > On 2017-03-14 18:20, Florian Fainelli wrote: >> On 03/14/2017 05:28 AM, hauke.mehrt...@intel.com wrote: >>> From: Hauke Mehrtens >>> >>> musl provides a /lib/libc.so file which should be integrated into the >>> libc >>> package when the external tool

Re: [LEDE-DEV] [PATCH] toolchain: add musl libc.so to external toolchain

2017-03-14 Thread Hauke Mehrtens
On 2017-03-14 18:20, Florian Fainelli wrote: On 03/14/2017 05:28 AM, hauke.mehrt...@intel.com wrote: From: Hauke Mehrtens musl provides a /lib/libc.so file which should be integrated into the libc package when the external toolchain with musl is used. Signed-off-by: Hauke Mehrtens --- pac

Re: [LEDE-DEV] [PATCH] toolchain: add musl libc.so to external toolchain

2017-03-14 Thread Florian Fainelli
On 03/14/2017 05:28 AM, hauke.mehrt...@intel.com wrote: > From: Hauke Mehrtens > > musl provides a /lib/libc.so file which should be integrated into the libc > package when the external toolchain with musl is used. > > Signed-off-by: Hauke Mehrtens > --- > package/libs/toolchain/Makefile | 2 +

Re: [LEDE-DEV] [PATCH] x86: image: avoid duplicating some ops by using Image/Prepare/grub2

2017-03-14 Thread Felix Fietkau
On 2017-03-13 00:00, Rafał Miłecki wrote: > From: Rafał Miłecki > > These commands aren't root filesystem image specific so it's OK to > execute them just once. It saves some time when building images. > > Signed-off-by: Rafał Miłecki > --- > target/linux/x86/image/Makefile | 50 > +++

[LEDE-DEV] [PATCH v2] mac80211: Fix race condition leading to wifi interfaces not coming up at boot sometimes.

2017-03-14 Thread Vittorio Gambaletta (VittGam)
In the drv_mac80211_setup function, mac80211_interface_cleanup is called to ask the kernel to delete all existing interfaces for the phy that is being configured via netlink. Later in the first function, mac80211_prepare_vif is called to set up the new interfaces as required. But sometimes, when

[LEDE-DEV] [PATCH] toolchain: add musl libc.so to external toolchain

2017-03-14 Thread hauke . mehrtens
From: Hauke Mehrtens musl provides a /lib/libc.so file which should be integrated into the libc package when the external toolchain with musl is used. Signed-off-by: Hauke Mehrtens --- package/libs/toolchain/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/l

[LEDE-DEV] Implement NetJSON output in ubus (OpenWRT/LEDE)

2017-03-14 Thread Nemesis
We are looking for students that want to work on this GSoC idea: Implement NetJSON output in ubus (OpenWRT/LEDE): https://wiki.freifunk.net/Ideas#Implement_NetJSON_output_in_ubus_.28OpenWRT.2FLEDE.29 If you are interested, get in touch with Eric Shultz and myself. Thank you Federico ___

Re: [LEDE-DEV] [PATCH mdns] Send reverse DNS lookup entry for IPv4 address

2017-03-14 Thread Rafał Miłecki
On 02/10/2017 11:40 AM, Rafał Miłecki wrote: > From: Rafał Miłecki > > Whenever we send A(AAA) records, let's also include reverse lookup ones. > This should be extended in the future by adding IPv6. Ping. Any opinions on this? > @@ -210,6 +210,38 @@ dns_reply_a(struct interface *iface, int tt

Re: [LEDE-DEV] [PATCH] mac80211: Fix race condition leading to wifi interfaces not coming up at boot sometimes.

2017-03-14 Thread Bastian Bittorf
* Vittorio Gambaletta (VittGam) [14.03.2017 07:55]: > +mac80211_iw_interface_add() { > + local phy="$1" > + local ifname="$2" > + local type="$3" > + local wdsflag="$4" please add a 'local ret' here, or better use the common 'local rc=0' and later always "return $rc" > + > +