Re: [OpenWrt-Devel] [PATCH][ar71xx] Routerboard 951G Switch Fix

2015-11-25 Thread Baptiste Jonglez
Hi, Sorry to bump up the thread again. Is there anything blocking to merge this patch? If it helps, there are user reports about setting different values of ath79_eth0_pll_data.pll_1000 here:

[OpenWrt-Devel] [PATCH v2] axs10x: initilaze network for wireless access-point

2015-11-25 Thread Alexey Brodkin
ARC SDP board sports only 1 network interface - eth0, so to operate as an access point it requires at least another interface (preferably wireless), so USB Wi-Fi dongle is what we want. And with USB Wi-Fi dongle attached ARC SDP board could be used as a "dumb" wireless access point. Now with

Re: [OpenWrt-Devel] [PATCH 2/8] lantiq: add dsl-vr9-firmware-xdsl

2015-11-25 Thread Hauke Mehrtens
On 11/25/2015 11:29 AM, John Crispin wrote: > > > On 25/11/2015 10:53, Andre Heider wrote: >> Hi, >> >> On Tue, Nov 24, 2015 at 9:24 PM, Hauke Mehrtens wrote: >>> +define Package/dsl-vr9-firmware-xdsl/install >>> + $(INSTALL_DIR) $(1)/lib/firmware/ >>> +

[OpenWrt-Devel] [PATCH procd v2 02/17] ujail: don't pass unused arg in clone call

2015-11-25 Thread Etienne CHAMPETIER
clone() call need a function with "void *" arg (else we have a compilation error) Signed-off-by: Etienne CHAMPETIER --- jail/jail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jail/jail.c b/jail/jail.c index 56dc9ca..9952ed9 100644 ---

[OpenWrt-Devel] [PATCH procd v2 03/17] ujail: stop using extern in elf.h

2015-11-25 Thread Etienne CHAMPETIER
extern qualifiers for function definitions doesn't really make sense Signed-off-by: Etienne CHAMPETIER --- jail/elf.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jail/elf.h b/jail/elf.h index 3ae311e..19ceb3e 100644 --- a/jail/elf.h

[OpenWrt-Devel] [PATCH procd v2 10/17] ujail: use PATH_MAX for path related buffers

2015-11-25 Thread Etienne CHAMPETIER
Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 9 + jail/jail.c | 9 + 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index 5e22606..2acac71 100644 --- a/jail/elf.c +++ b/jail/elf.c @@ -22,6 +22,7 @@

Re: [OpenWrt-Devel] [PATCH v2] busybox: Update config for 1.24.1

2015-11-25 Thread Mark Mentovai
Felix, is this patch acceptable? The v2 that made it to Patchwork applies cleanly to the trunk without any whitespace problems. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH procd v2 00/17] ujail fs jail rework/fixes/improvements

2015-11-25 Thread Etienne Champetier
Hi, 2015-11-25 20:05 GMT+01:00 John Crispin : > Hi, > > On 25/11/2015 18:54, Etienne CHAMPETIER wrote: > > As requested, i've split up in smaller patches my work > > I also follow the unwritten code style requirement :) > > > > "rework fs jail part" commit is still a bit big

[OpenWrt-Devel] [PATCH procd v2 06/17] ujail: add to log.h

2015-11-25 Thread Etienne CHAMPETIER
headers must include all there dependencies, no more, no less (it uses fprintf) Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 1 - jail/jail.c | 1 - jail/log.h | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/jail/elf.c b/jail/elf.c

[OpenWrt-Devel] [PATCH procd v2 09/17] ujail: search libs in /lib before /lib64

2015-11-25 Thread Etienne CHAMPETIER
musl (openwrt DD r47603 x86-64) looks for lib only in /lib, not in /lib64, and /lib64 is a symlink to /lib, so ujail find all the libs in /lib64, add them in the jail (only under /lib64) and then musl fails to find the libs. uClibc (openwrt CC r47608 x86-64) looks for lib in /lib and /usr/lib,

[OpenWrt-Devel] [PATCH procd v2 17/17] ujail: add ELF interpreter (DT_INTERP) to the jail

2015-11-25 Thread Etienne CHAMPETIER
this is needed by musl (openwrt DD) uClibc/glibc is working without this this partly fixes https://dev.openwrt.org/ticket/20785 we still don't handle DT_RPATH, DT_RUNPATH, nodeflib, ... see http://man7.org/linux/man-pages/man8/ld.so.8.html Signed-off-by: Etienne CHAMPETIER

[OpenWrt-Devel] [PATCH procd v2 00/17] ujail fs jail rework/fixes/improvements

2015-11-25 Thread Etienne CHAMPETIER
As requested, i've split up in smaller patches my work I also follow the unwritten code style requirement :) "rework fs jail part" commit is still a bit big but if i split it further i will edit the same line in each commit (tell me if it too big) Etienne CHAMPETIER (17): ujail: don't add non

[OpenWrt-Devel] [PATCH procd v2 04/17] ujail: use more const in elf.*

2015-11-25 Thread Etienne CHAMPETIER
Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 28 +++- jail/elf.h | 4 ++-- jail/jail.c | 2 +- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index 34a5aca..fb046b4 100644 --- a/jail/elf.c

[OpenWrt-Devel] [PATCH procd v2 05/17] ujail: use "#pragma once" in .h where needed

2015-11-25 Thread Etienne CHAMPETIER
Signed-off-by: Etienne CHAMPETIER --- jail/capabilities.h | 1 + jail/elf.h | 4 +--- jail/log.h | 1 + jail/seccomp.h | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/jail/capabilities.h b/jail/capabilities.h index

[OpenWrt-Devel] [PATCH procd v2 07/17] ujail: add and to seccomp.h

2015-11-25 Thread Etienne CHAMPETIER
headers must include all there dependencies, no more, no less Signed-off-by: Etienne CHAMPETIER --- jail/preload.c | 2 -- jail/seccomp.c | 2 -- jail/seccomp.h | 3 +++ 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/jail/preload.c b/jail/preload.c

[OpenWrt-Devel] [PATCH procd v2 11/17] ujail: add init_library_search()

2015-11-25 Thread Etienne CHAMPETIER
move all libraries search initialisation stuff into elf.c / init_library_search() for now we don't handle musl specific files Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 13 +++-- jail/elf.h | 3 +-- jail/jail.c | 6 +- 3 files changed, 13

[OpenWrt-Devel] [PATCH procd v2 12/17] ujail: fixup code style: "func()" -> "func(void)"

2015-11-25 Thread Etienne CHAMPETIER
Signed-off-by: Etienne CHAMPETIER --- jail/jail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jail/jail.c b/jail/jail.c index 5b24f63..b7e6946 100644 --- a/jail/jail.c +++ b/jail/jail.c @@ -139,7 +139,7 @@ static int mount_bind(const char

[OpenWrt-Devel] [PATCH procd v2 15/17] ujail: rework fs jail part

2015-11-25 Thread Etienne CHAMPETIER
Change functions to work with full paths (do less split and concat of path) Store "soname" as key and the fullpath as path in "libraries" Remove "extras" list and replace it with "mounts" avl_tree ("mounts" also store fullpath) Add add_path_and_deps() function to handle file/lib openning

[OpenWrt-Devel] [PATCH procd v2 13/17] ujail: remove some debug/dev hack

2015-11-25 Thread Etienne CHAMPETIER
this code is present since first ujail commit (dfcfcca7) Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 7 +-- jail/jail.c | 8 ++-- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index c3a392c..7c52880 100644

Re: [OpenWrt-Devel] [PATCH procd v2 00/17] ujail fs jail rework/fixes/improvements

2015-11-25 Thread John Crispin
Hi, On 25/11/2015 18:54, Etienne CHAMPETIER wrote: > As requested, i've split up in smaller patches my work > I also follow the unwritten code style requirement :) > > "rework fs jail part" commit is still a bit big > but if i split it further i will edit the same line > in each commit (tell me

[OpenWrt-Devel] [PATCH procd v2 01/17] ujail: don't add non existant library_path

2015-11-25 Thread Etienne CHAMPETIER
Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index cbb3051..34a5aca 100644 --- a/jail/elf.c +++ b/jail/elf.c @@ -33,6 +33,10 @@ static LIST_HEAD(library_paths);

[OpenWrt-Devel] [PATCH procd v2 08/17] ujail: remove "#include log.h" from elf.h

2015-11-25 Thread Etienne CHAMPETIER
headers must include all there dependencies, no more, no less Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 1 + jail/elf.h | 2 -- jail/jail.c | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index

[OpenWrt-Devel] [PATCH procd v2 14/17] ujail: DT_STRTAB uses d_ptr in d_un union (not d_val)

2015-11-25 Thread Etienne CHAMPETIER
see https://docs.oracle.com/cd/E19683-01/817-3677/chapter6-42444/index.html Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index 7c52880..46c19df 100644 ---

[OpenWrt-Devel] [PATCH] ramips: add support for MQmaker WiTi board

2015-11-25 Thread Sebastian Careba
The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram, 2 sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and one 5 ghz antenna. Signed-off-by: Sebastian Careba --- .../linux/ramips/base-files/etc/board.d/02_network | 1 +

[OpenWrt-Devel] [PATCH] ramips: add support for MQmaker WiTi board

2015-11-25 Thread Sebastian Careba
The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram, 2 sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and one 5 ghz antenna. Signed-off-by: Sebastian Careba --- .../linux/ramips/base-files/etc/board.d/02_network | 1 +

Re: [OpenWrt-Devel] [PATCH] ramips: add support for MQmaker WiTi board

2015-11-25 Thread John Crispin
Hi, you need to add info to the patch what has changed between versions and which version this is. John On 25/11/2015 21:20, Sebastian Careba wrote: > The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram, 2 > sata ports, microsd card slot, 1 USB 3.0 port and at

Re: [OpenWrt-Devel] [PATCH 2/8] lantiq: add dsl-vr9-firmware-xdsl

2015-11-25 Thread John Crispin
On 25/11/2015 23:39, Hauke Mehrtens wrote: > On 11/25/2015 11:29 AM, John Crispin wrote: >> >> >> On 25/11/2015 10:53, Andre Heider wrote: >>> Hi, >>> >>> On Tue, Nov 24, 2015 at 9:24 PM, Hauke Mehrtens wrote: +define Package/dsl-vr9-firmware-xdsl/install +

Re: [OpenWrt-Devel] [PATCH 2/8] lantiq: add dsl-vr9-firmware-xdsl

2015-11-25 Thread John Crispin
On 26/11/2015 07:11, Florian Eckert wrote: > Sounds good, > > Lantiq will move as discussed on the openwrt summit. > Does this mean that in the future other firmwares (older/newer) are > provided by lantiq? > > Flo > gphy firmwares for xrx200 DECT firmware gphy firmwares for xrx300 >

[OpenWrt-Devel] [PATCH 1/2] [netifd] add control of the multicast flag on interfaces

2015-11-25 Thread Podolak, Nicholas
From: Nick Podolak Add multicast flag control to interfaces in netifd Signed-off-by: Nick Podolak --- My repeated apologies for butchering the canonical patch message body formatting. I think I have got the format and my mail

[OpenWrt-Devel] [PATCH 2/2] [package] gre: add support for sending the multicast flag to netifd

2015-11-25 Thread Podolak, Nicholas
From: Nick Podolak Adds the ability for the gre.sh netifd protocol script to honor the multicast flag Signed-off-by: Nick Podolak --- package/network/config/gre/files/gre.sh | 7 +-- 1 file changed, 5 insertions(+), 2

Re: [OpenWrt-Devel] [PATCH] ramips: add support for MQmaker WiTi board

2015-11-25 Thread John Crispin
Hi, as said before, please add version info to your patches. it is explained here -> https://dev.openwrt.org/wiki/SubmittingPatches -> 13. The canonical patch format ΒΆ John On 26/11/2015 07:41, Sebastian Careba wrote: > The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb

[OpenWrt-Devel] [PATCH v2] ralink: renable nand support

2015-11-25 Thread Sebastian Careba
From: John Crispin CONFIG_MTK_MTD_NAND was incorrectly disabled by r47619. Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47640 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/mt7621/config-3.18 | 1 + 1 file

[OpenWrt-Devel] [PATCH] ramips: add support for MQmaker WiTi board

2015-11-25 Thread Sebastian Careba
The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram, 2 sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and one 5 ghz antenna. Signed-off-by: Sebastian Careba --- .../linux/ramips/base-files/etc/board.d/02_network | 1 +

[OpenWrt-Devel] [PATCH] [PATCHv3] ramips: add support for MQmaker WiTi board

2015-11-25 Thread Sebastian Careba
The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram, 2 sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and one 5 ghz antenna. Signed-off-by: Sebastian Careba --- .../linux/ramips/base-files/etc/board.d/02_network | 1 +

Re: [OpenWrt-Devel] [PATCH v2] ralink: renable nand support

2015-11-25 Thread John Crispin
Hi, please make sure to test your patches against HEAD prior to sending them. 1) this does not apply, because it was applied already 2 days ago 2) it was wrong 2 days ago already as r47619 just moves the option further down. John On 26/11/2015 08:09, Sebastian Careba wrote: > From:

[OpenWrt-Devel] [PATCH] Add support for WiTi Board

2015-11-25 Thread Sebastian Careba
From: Sebastian Careba --- target/linux/ramips/base-files/etc/diag.sh | 1 + target/linux/ramips/base-files/lib/ramips.sh | 3 + .../ramips/base-files/lib/upgrade/platform.sh | 1 + target/linux/ramips/dts/WITI.dts | 143

Re: [OpenWrt-Devel] [PATCH] Add support for WiTi Board

2015-11-25 Thread John Crispin
On 25/11/2015 11:30, John Crispin wrote: > Hi, > > please fix the following things and resend. > > * missing ar71xx: [refix in the subject correction, should be ralink: > * no patch description > * missing SoB > > John > > On 25/11/2015 11:00, Sebastian Careba wrote: >> From:

Re: [OpenWrt-Devel] [PATCH] Add support for WiTi Board

2015-11-25 Thread John Crispin
Hi, please fix the following things and resend. * missing ar71xx: [refix in the subject * no patch description * missing SoB John On 25/11/2015 11:00, Sebastian Careba wrote: > From: Sebastian Careba > > --- > target/linux/ramips/base-files/etc/diag.sh |

Re: [OpenWrt-Devel] [PATCH 2/8] lantiq: add dsl-vr9-firmware-xdsl

2015-11-25 Thread Andre Heider
Hi, On Tue, Nov 24, 2015 at 9:24 PM, Hauke Mehrtens wrote: > +define Package/dsl-vr9-firmware-xdsl/install > + $(INSTALL_DIR) $(1)/lib/firmware/ > + $(INSTALL_DATA) $(PKG_BUILD_DIR)/LICENSE > $(1)/lib/firmware/xcpe_574306_571801.LICENSE > + $(INSTALL_DATA)

Re: [OpenWrt-Devel] [PATCH 2/8] lantiq: add dsl-vr9-firmware-xdsl

2015-11-25 Thread John Crispin
On 25/11/2015 10:53, Andre Heider wrote: > Hi, > > On Tue, Nov 24, 2015 at 9:24 PM, Hauke Mehrtens wrote: >> +define Package/dsl-vr9-firmware-xdsl/install >> + $(INSTALL_DIR) $(1)/lib/firmware/ >> + $(INSTALL_DATA) $(PKG_BUILD_DIR)/LICENSE >>

[OpenWrt-Devel] [PATCH] ramips: add support for MQmaker WiTi board

2015-11-25 Thread Sebastian Careba
The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram, 2 sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and one 5 ghz antenna. Signed-off-by: Sebastian Careba --- .../linux/ramips/base-files/etc/board.d/02_network | 1 +

Re: [OpenWrt-Devel] [PATCH] ramips: add support for MQmaker WiTi board

2015-11-25 Thread Claudio Leite
Hi Sebastian, Two small comments inline. * Sebastian Careba (nitrosh...@yahoo.com) wrote: > The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram, 2 > sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and one 5 > ghz antenna. > > Signed-off-by: Sebastian

Re: [OpenWrt-Devel] [PATCH 2/8] lantiq: add dsl-vr9-firmware-xdsl

2015-11-25 Thread Florian Eckert
Sounds good, Lantiq will move as discussed on the openwrt summit. Does this mean that in the future other firmwares (older/newer) are provided by lantiq? Flo 2015-11-25 23:39 GMT+01:00 Hauke Mehrtens : > On 11/25/2015 11:29 AM, John Crispin wrote: >> >> >> On 25/11/2015 10:53,