Re: [OpenWrt-Devel] [PATCH v2 1/5] kernel: other: add PWM controller support

2015-11-22 Thread John Crispin
Hi Tim, On 19/11/2015 18:53, Tim Harvey wrote: > This adds basic PWM controller support and support for i.MX > > Signed-off-by: Tim Harvey > --- > v2: > - add TARGET_imx6 dep for pwm-imx > > package/kernel/linux/modules/other.mk | 36 > +++ > 1 file changed,

Re: [OpenWrt-Devel] Overlayfs with tmpfs failed

2015-11-22 Thread Jakub Jančo
Hello, did anybody try make OpenWRT image as LiveCD? I need it for learning purpose, but I cant mount overlay with tmpfs. Need I some special build options? -- S pozdravom Jakub Janco On Wed, Nov 18, 2015 at 3:39 PM, Jakub Jančo wrote: > Hello, > > I have problem with setting up OpenWRT to Over

[OpenWrt-Devel] [PATCH 1/1] TL-WR710N-v2.1

2015-11-22 Thread Norbert Wegener
# now with a git send-email working... # This patch just extends target/linux/ar71xx/image/Makefile to build # images also for version 2.1 of TL-WR710N # Signed off by: Norbert Wegener --- target/linux/ar71xx/image/Makefile | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff

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

2015-11-22 Thread Felix Fietkau
On 2015-11-21 22:43, Mark Mentovai wrote: > r47288 updated to Busybox 1.24.1 but did not update the configuration. > > The configuration is updated by running > > cd config > ../convert_menuconfig.pl .../build_dir/target-*/busybox-1.24.1 > cd .. > ./convert_defaults.pl < .../build_dir/target-*/bu

Re: [OpenWrt-Devel] [PATCH 1/2] uhttpd: use separate ustream for chunked transfer encoding

2015-11-22 Thread Felix Fietkau
On 2015-10-02 00:22, Andrej Krpic wrote: > Hi, > > this patch simplifies chunk printing when chunked transfer encoding is used > in a response... And it comes handy when gzip content encoding will be used. > > Signed-off-by: Andrej Krpic I like the idea, there's one change I'd like you to make t

Re: [OpenWrt-Devel] [PATCH 1/2] [netifd] multicast flag control

2015-11-22 Thread Felix Fietkau
On 2015-11-19 20:51, Podolak, Nicholas wrote: > Original patchset was not applying correctly. My bad. > > Let's try this again. Please don't include things like this in the patch description part. > Signed-off-by: Nick Podolak > > --- > device.c | 9 + > device.h | 3 +++

[OpenWrt-Devel] [PATCH] ar71xx: Build initramfs by default for Mikrotik devices

2015-11-22 Thread Baptiste Jonglez
From: Baptiste Jonglez Signed-off-by: Baptiste Jonglez --- target/linux/ar71xx/mikrotik/target.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/mikrotik/target.mk b/target/linux/ar71xx/mikrotik/target.mk index a2a41ed..b2fb0df 100644 --- a/target/linux

[OpenWrt-Devel] [PATCH] uboot-imx6: fix build with gcc-5

2015-11-22 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- .../uboot-imx6/patches/001-gcc-5-compiler.patch| 87 ++ .../uboot-imx6/patches/002-use-static-inline.patch | 72 ++ .../uboot-imx6/patches/003-use-weak-in-board.patch | 80 .../uboot-imx6/patche

Re: [OpenWrt-Devel] [PATCH] oxnas: fix the incorrect board names

2015-11-22 Thread Daniel Golle
On Sun, Nov 08, 2015 at 04:12:30AM +0800, Shonn Lu wrote: > Signed-off-by: Shonn Lu Acked-by: Daniel Golle > --- > target/linux/oxnas/base-files/etc/board.d/01_leds | 2 +- > target/linux/oxnas/base-files/etc/diag.sh | 4 ++-- > target/linux/oxnas/base-files/lib/oxnas.sh| 6 +++-

Re: [OpenWrt-Devel] [PATCH] oxnas: set irq of usb&sata to cpu1

2015-11-22 Thread Daniel Golle
Hi! On Sun, Nov 08, 2015 at 04:12:31AM +0800, Shonn Lu wrote: > Signed-off-by: Shonn Lu > --- > .../linux/oxnas/base-files/init.d/set-irq-affinity | 21 > + > 1 file changed, 21 insertions(+) > create mode 100755 target/linux/oxnas/base-files/init.d/set-irq-affinity > > d

[OpenWrt-Devel] [PATCH fstools] fix gcc format security error.

2015-11-22 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block.c b/block.c index 4c8dda9..c6d1b90 100644 --- a/block.c +++ b/block.c @@ -1311,7 +1311,7 @@ static int main_swapon(int argc, char **argv) return -1;

[OpenWrt-Devel] [PATCH mountd] fix gcc format security errors

2015-11-22 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- autofs.c | 2 +- log.c| 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/autofs.c b/autofs.c index 5f8810e..4ad782d 100644 --- a/autofs.c +++ b/autofs.c @@ -194,7 +194,7 @@ static void autofs_init(void) p = ucix_get_option(ctx, "

[OpenWrt-Devel] [PATCH ubox] fix gcc format security error

2015-11-22 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens --- log/syslog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log/syslog.c b/log/syslog.c index a596b48..e8b6774 100644 --- a/log/syslog.c +++ b/log/syslog.c @@ -66,7 +66,7 @@ log_add(char *buf, int size, int source) /* bounce out if

Re: [OpenWrt-Devel] [PATCH v3] [ramips] mt7621: add support for netis WF-2881‏

2015-11-22 Thread YounJae Rho
netis WF-2881 is an MT7621AT based router with MT7602EN, MT7612EN. It has 128MB DDR3, 128MB SLC NAND FLASH, 5-port Gbps switch and 1x USB 3.0. The following patch adds support for this device. Tested and working: * ethernet * both WiFi radios * USB 3.0 * buttons (reset button) * ethernet switch an

Re: [OpenWrt-Devel] [PATCH 8/8] ramips: update dtsi files to support second spi device

2015-11-22 Thread Álvaro Fernández Rojas
Hello guys, I've just tested this patch on my VoCore after it was applied on r47580. I had to make the following changes: https://github.com/openwrt-es/openwrt/commit/e040cf00441e973978a6c168b346b13e33f37853 However, I'm getting the following error: "spi-rt2880 1b40.spi: unable to get SYS c

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

2015-11-22 Thread Mark Mentovai
r47288 updated to Busybox 1.24.1 but did not update the configuration. The configuration is updated by running cd config ../convert_menuconfig.pl .../build_dir/target-*/busybox-1.24.1 cd .. ./convert_defaults.pl < .../build_dir/target-*/busybox-1.24.1/.config > \ Config-defaults.in Signed-of

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

2015-11-22 Thread Mark Mentovai
Felix Fietkau wrote: > On 2015-11-21 22:43, Mark Mentovai wrote: > > r47288 updated to Busybox 1.24.1 but did not update the configuration. > > > > The configuration is updated by running > > > > cd config > > ../convert_menuconfig.pl .../build_dir/target-*/busybox-1.24.1 > > cd .. > > ./convert_d

[OpenWrt-Devel] [PATCH] brcm2708: fix multi-device image generation

2015-11-22 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- target/linux/brcm2708/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile index 53e5f54..f96dccb 100644 --- a/target/linux/brcm2708/image/Makefile

Re: [OpenWrt-Devel] [PATCH 8/8] ramips: update dtsi files to support second spi device

2015-11-22 Thread John Crispin
On 22/11/2015 16:15, Álvaro Fernández Rojas wrote: > Hello guys, > > I've just tested this patch on my VoCore after it was applied on r47580. > I had to make the following changes: > https://github.com/openwrt-es/openwrt/commit/e040cf00441e973978a6c168b346b13e33f37853 > > > However, I'm gettin

Re: [OpenWrt-Devel] [PATCH v3] [ramips] mt7621: add support for netis WF-2881‏

2015-11-22 Thread John Crispin
On 22/11/2015 15:58, YounJae Rho wrote: > netis WF-2881 is an MT7621AT based router with MT7602EN, MT7612EN. > It has 128MB DDR3, 128MB SLC NAND FLASH, 5-port Gbps switch and 1x USB 3.0. > The following patch adds support for this device. > > Tested and working: > * ethernet > * both WiFi radios

Re: [OpenWrt-Devel] [PATCH] ramips:Allow funcs in multiple groups in pinctrl-rt2880.c for UARTF pin sharing

2015-11-22 Thread Noble Pepper
Hi, thanks for looking at this. I actually tried this approach before deciding groups that are not a fixed set of pins would require modifying pinctrl/pinmux.c and possibly pinctrl/core.c thus would affect a lot more than just the ralink drivers. The problem arises when pinmux_enable_setting() i

Re: [OpenWrt-Devel] [PATCH] ramips:Allow funcs in multiple groups in pinctrl-rt2880.c for UARTF pin sharing

2015-11-22 Thread John Crispin
On 22/11/2015 20:26, Noble Pepper wrote: > Hi, thanks for looking at this. > > I actually tried this approach before deciding groups that are not a > fixed set of pins would require modifying pinctrl/pinmux.c and possibly > pinctrl/core.c thus would affect a lot more than just the ralink > driv

[OpenWrt-Devel] [PATCH procd 1/4] ujail: don't add non existant library_path

2015-11-22 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); void alloc_library_path(const

[OpenWrt-Devel] [PATCH procd 2/4] ujail: remove useless arg in clone call

2015-11-22 Thread Etienne CHAMPETIER
spawn_jail(void) produce a compilation error, so we use spawn_jail() 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..08babde 100644 --- a/jail/jail.c +++ b/jail/jail.c @@ -272,7 +27

[OpenWrt-Devel] [PATCH procd 3/4] ujail: use const, stop using extern

2015-11-22 Thread Etienne CHAMPETIER
extern for function declaration in '.h' doesn't make sense Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 28 +++- jail/elf.h | 10 +- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/jail/elf.c b/jail/elf.c index 34a5aca..a26aa0b 100644 --- a/

[OpenWrt-Devel] [PATCH procd 4/4] ujail: rework fs jail part

2015-11-22 Thread Etienne CHAMPETIER
this patch: -add script (#!) dependencies detection (we add interpreter and it's dependencies) -add dependencies detection for all files added with -r or -w (ELF and scripts) -use PATH_MAX for path related buffers -check magic ELF header before trying to parse the file -search in /lib before /lib6

Re: [OpenWrt-Devel] [PATCH 8/8] ramips: update dtsi files to support second spi device

2015-11-22 Thread Mingyu Li
Dear Sir. you need to modify kernel file at "arch/mips/ralink/rt305x.c" add the code below. ralink_clk_add("1b00.spi", sys_rate); +ralink_clk_add("1b40.spi", sys_rate); ralink_clk_add("1100.timer", wdt_rate); please let me know if the second spi works. if work

[OpenWrt-Devel] [PATCH 1/3] ar71xx: add GL-AR150 support V3

2015-11-22 Thread alzhao
This is the 3rd version. Modified against the latest trunk. Signed-off-by: alzhao --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 4 + .../linux/ar71xx/base-files/etc/board.d/02_network | 1 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 + .../ar71xx/base-files/lib/upgra

[OpenWrt-Devel] [PATCH 3/3] ar71xx: add GL-Domino Pi support V3

2015-11-22 Thread alzhao
This is the patch for GL-Domino Pi V3. Updated against the latest trunk. Signed-off-by: alzhao --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 4 + .../linux/ar71xx/base-files/etc/board.d/02_network | 1 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 + .../ar71xx/base-fi

[OpenWrt-Devel] [PATCH 2/3] ar71xx: add GL-AR300 support V3

2015-11-22 Thread alzhao
This is the patch for GL-AR300 V3, tested against the latest trunk. Signed-off-by: alzhao --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 4 + .../linux/ar71xx/base-files/etc/board.d/02_network | 6 ++ target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 + .../ar71xx/base-files/

[OpenWrt-Devel] [PATCH] oxnas: set irq of usb&sata to cpu1

2015-11-22 Thread Shonn Lu
Signed-off-by: Shonn Lu --- .../linux/oxnas/base-files/init.d/set-irq-affinity | 22 ++ 1 file changed, 22 insertions(+) create mode 100755 target/linux/oxnas/base-files/init.d/set-irq-affinity diff --git a/target/linux/oxnas/base-files/init.d/set-irq-affinity b/target/linu

Re: [OpenWrt-Devel] [PATCH 8/8] ramips: update dtsi files to support second spi device

2015-11-22 Thread John Crispin
Hi, why did you not send a patch for that ? please send it ASAP ! John On 23/11/2015 02:41, Mingyu Li wrote: > Dear Sir. > > you need to modify kernel file at "arch/mips/ralink/rt305x.c" > add the code below. > > ralink_clk_add("1b00.spi", sys_rate); > +ralink_clk_a

Re: [OpenWrt-Devel] [PATCH] oxnas: set irq of usb&sata to cpu1

2015-11-22 Thread John Crispin
What is the difference between this and the previous version ? John On 23/11/2015 07:30, Shonn Lu wrote: > Signed-off-by: Shonn Lu > --- > .../linux/oxnas/base-files/init.d/set-irq-affinity | 22 > ++ > 1 file changed, 22 insertions(+) > create mode 100755 target/l

[OpenWrt-Devel] [PATCH] ramips: add support for Youku YK1

2015-11-22 Thread Shonn Lu
Signed-off-by: Shonn Lu --- target/linux/ramips/base-files/etc/board.d/01_leds | 5 + .../linux/ramips/base-files/etc/board.d/02_network | 3 +- target/linux/ramips/base-files/lib/ramips.sh | 3 + .../ramips/base-files/lib/upgrade/platform.sh | 3 +- target/linux/ramips/dts/YOU

[OpenWrt-Devel] [PATCH] ramips: add support for Youku YK1

2015-11-22 Thread Shonn Lu
Signed-off-by: Shonn Lu --- target/linux/ramips/base-files/etc/board.d/01_leds | 5 + .../linux/ramips/base-files/etc/board.d/02_network | 3 +- target/linux/ramips/base-files/lib/ramips.sh | 3 + .../ramips/base-files/lib/upgrade/platform.sh | 3 +- target/linux/ramips/dts/YOU

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Youku YK1

2015-11-22 Thread John Crispin
Hi, you need to add the version info to you patches and the change history. as in add [PATCH V3] if it is version 3 and inside the description add text Changes since V2: * change A ... John On 23/11/2015 08:08, Shonn Lu wrote: > Signed-off-by: Shonn Lu > --- > target/linux/ramips/b

Re: [OpenWrt-Devel] [PATCH procd 2/4] ujail: remove useless arg in clone call

2015-11-22 Thread John Crispin
On 23/11/2015 01:39, Etienne CHAMPETIER wrote: > spawn_jail(void) produce a compilation error, > so we use spawn_jail() > > 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 56dc

Re: [OpenWrt-Devel] [PATCH procd 3/4] ujail: use const, stop using extern

2015-11-22 Thread John Crispin
Hi, subject relates to extern but then the patch adds const. please make the description consistent with the content John On 23/11/2015 01:39, Etienne CHAMPETIER wrote: > extern for function declaration in '.h' doesn't make sense > > Signed-off-by: Etienne CHAMPETIER > --- > jail/elf.

Re: [OpenWrt-Devel] [PATCH procd 4/4] ujail: rework fs jail part

2015-11-22 Thread John Crispin
I think this one needs to be split up. there are pile of different changes contained. John On 23/11/2015 01:39, Etienne CHAMPETIER wrote: > this patch: > -add script (#!) dependencies detection (we add interpreter and it's > dependencies) > -add dependencies detection for all files added

[OpenWrt-Devel] [PATCH V2] ramips: add support for Youku YK1

2015-11-22 Thread Shonn Lu
Changes since V1: I resend this patch for current trunk.The former V1 patch is for CC branch. Signed-off-by: Shonn Lu --- target/linux/ramips/base-files/etc/board.d/01_leds | 5 + .../linux/ramips/base-files/etc/board.d/02_network | 3 +- target/linux/ramips/base-files/lib/ramips.sh |

Re: [OpenWrt-Devel] my arc needs help

2015-11-22 Thread Alexey Brodkin
Hello, On Sun, 2015-11-22 at 03:33 +0100, dlora...@gmail.com wrote: > hello > > i'm currently working on my first arc device > > it's a VAP2404 from Arris or Motorola > it's given as Liveplug Wifi Livebox Orange VAP2404 by the french Orange ISP > > information: > https://www.arrisi.com/globalas

[OpenWrt-Devel] [PATCH V2] oxnas: set irq of usb&sata to cpu1

2015-11-22 Thread Shonn Lu
V2: The KD-20 also has USB 3.0.I modiy the set_irq_affinity usb 2 to set_irq_affinity ?hci_hcd 2 to bind usb 2.0&3.0 to cpu1. Signed-off-by: Shonn Lu --- .../linux/oxnas/base-files/init.d/set-irq-affinity | 22 ++ 1 file changed, 22 insertions(+) create mode 100755 target/l