Re: [OpenWrt-Devel] [PATCH RFT] kernel: mtdsplit_uimage: debug buf/header sizes

2015-02-12 Thread Rafał Miłecki
On 12 February 2015 at 21:04, John Crispin blo...@openwrt.org wrote: [0.564000] Creating 4 MTD partitions on spi32766.0: [0.568000] 0x-0x0001 : uboot [0.572000] 0x0001-0x0002 : uboot-env [0.58] 0x0002-0x0003 : calibration

[OpenWrt-Devel] generate/extract .bin from router?

2015-02-12 Thread Etienne Champetier
Hi all, Is it possible to extract factory.bin or sysupgrade.bin from an openwrt router? ie do a backup of a know working image before update, or to flash a spare Thanks in advance Etienne ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH RFT] kernel: mtdsplit_uimage: debug buf/header sizes

2015-02-12 Thread John Crispin
yep, fixes the problem. please push it :) On 12/02/2015 12:47, Rafał Miłecki wrote: --- John can you give it a try, please? --- .../generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git

[OpenWrt-Devel] Module option in Makefile?

2015-02-12 Thread Matti Laakso
Hi, Is there a way to specify in a Makefile for a kernel module that the entry under /etc/modules.d should be created with a specific option? For example mymodule option=1 I looked through ModuleAutoLoad in include/kernel.mk, but couldn't figure out a way... Matti Laakso

Re: [OpenWrt-Devel] [PATCH RFT] kernel: mtdsplit_uimage: debug buf/header sizes

2015-02-12 Thread John Crispin
[0.564000] Creating 4 MTD partitions on spi32766.0: [0.568000] 0x-0x0001 : uboot [0.572000] 0x0001-0x0002 : uboot-env [0.58] 0x0002-0x0003 : calibration [0.584000] 0x0005-0x00ff : firmware [0.596000]

[OpenWrt-Devel] wiki.openwrt.org uses an invalid security certificate / expired on 12.2.2015 17:18

2015-02-12 Thread Hannu Nyman
Firefox and IE give error on https connection to wiki: wiki.openwrt.org uses an invalid security certificate. The certificate is not trusted because no issuer chain was provided. The certificate is only valid for subsignal.org The certificate expired on 12.2.2015 17:18. The current time is

Re: [OpenWrt-Devel] [PATCH RFT] kernel: mtdsplit_uimage: debug buf/header sizes

2015-02-12 Thread John Crispin
On 12/02/2015 21:18, Rafał Miłecki wrote: On 12 February 2015 at 21:04, John Crispin blo...@openwrt.org wrote: [0.564000] Creating 4 MTD partitions on spi32766.0: [0.568000] 0x-0x0001 : uboot [0.572000] 0x0001-0x0002 : uboot-env [0.58]

Re: [OpenWrt-Devel] Wireless Router with openwrt, how to use dual band

2015-02-12 Thread Aaron Z
This would require that your server has dual NICs and your laptops can connect to both 2.4ghz and 5ghz at the same time. Your device will likely have a configuration for the 2.4 ghz radio and one for the 5ghz radio. Setup 2 networks/firewall zones (LAN and LAN2?), then assign the 2.4ghz radio to

[OpenWrt-Devel] [PATCH] ar71xx: ZyXEL NBG6716 add gpio usb power on/off

2015-02-12 Thread Marcin Mikolajczak
ZyXEL NBG6716 add missing GPIO USB power on/off Signed-off-by: Marcin Mikolajczak gr4ffy at gmail.com --- Index: target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c === ---

Re: [OpenWrt-Devel] [RFC] firewall: NAT masquerading race condition

2015-02-12 Thread Hans Dedecker
Hi, I noticed the selective conntrack flushing in fw3; looking into the code it only gets active when there's a difference between the cached IP in the __addr list and the current IP addresses in use. In this case the selective conntrack flushing is done for the old_addr. In the error case

[OpenWrt-Devel] looking for a tl-wdr4900 tester

2015-02-12 Thread John Crispin
Hi, just bumped the kernel for the tl-wdr4900. i don't actually have the unit. anyone around that feels like testing the images before i push the series to trunk ? John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] lantiq v3.18

2015-02-12 Thread John Crispin
On 10/02/2015 10:40, Daniel Gimpelevich wrote: Is there a patchset I could try? try r44421 or newer On Mon, 2015-02-09 at 12:44 -0800, Daniel Gimpelevich wrote: On Mon, 2015-02-09 at 21:27 +0100, John Crispin wrote: bootlog please On 09/02/2015 21:25, Daniel Gimpelevich wrote: On

Re: [OpenWrt-Devel] looking for a tl-wdr4900 tester

2015-02-12 Thread Philipp Borgers
I can test if you provide me with an image or an *easy* way to compile. Is there any testing procedure I should follow? Do we have some kind of tests I don't know of? Regards Philipp On Thu, Feb 12, 2015 at 12:31:07PM +0100, John Crispin wrote: Hi, just bumped the kernel for the tl-wdr4900.

Re: [OpenWrt-Devel] looking for a tl-wdr4900 tester

2015-02-12 Thread John Crispin
Hi Philipp, On 12/02/2015 12:41, Philipp Borgers wrote: I can test if you provide me with an image or an *easy* way to compile. i will mail you an initramfs and a flashable image after i had lunch Is there any testing procedure I should follow? Do we have some kind of tests I don't know

Re: [OpenWrt-Devel] Request for testing mtdsplit_uimage

2015-02-12 Thread John Crispin
On 12/02/2015 08:55, Rafał Miłecki wrote: As you could notice I've improved mtdsplit_uimage a bit: https://dev.openwrt.org/changeset/44412/ https://dev.openwrt.org/changeset/44413/ https://dev.openwrt.org/changeset/44414/ https://dev.openwrt.org/changeset/44415/ This should add support

[OpenWrt-Devel] [PATCH RFT] kernel: mtdsplit_uimage: debug buf/header sizes

2015-02-12 Thread Rafał Miłecki
--- John can you give it a try, please? --- .../generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c

Re: [OpenWrt-Devel] [PATCH 3/5] generic: improve kexec support of MIPS.

2015-02-12 Thread John Crispin
Hi, found something while merging the patches. see below ... On 10/02/2015 13:10, Yousong Zhou wrote: - Allow --command-line parameters of kexec-tools be parsed and used by the kernel. - For malta machine, mark kernel code and kernel data segments as System RAM instead of reserved in

[OpenWrt-Devel] Trunk broken?

2015-02-12 Thread smilebef
Hello Volks, is there a problem in trunk? --- make[3]: Entering directory '/openwrt/tools/findutils' make[3]: Leaving directory '/openwrt/tools/findutils' make[3]: Entering directory '/openwrt/tools/quilt' make -C

Re: [OpenWrt-Devel] [Cerowrt-devel] [RFC PATCH] packages: Smart Queue Management for AQM Packet Scheduling and Qos from CeroWrt

2015-02-12 Thread Luis E. Garcia
Sebastian , Dave, Thanks for these instructions. I just finished a round of 3 months testing this setup on a couple of MyNet N750 ( AR71xx based ) in several locations. The feedback from users is very positive and encouraging - Most of them say that they feel the networks behave a lot snappier

Re: [OpenWrt-Devel] [PATCH] brcm2708-gpu-fw: revert to github releases, adapt to bcm2708 target changes and add back InstallDev

2015-02-12 Thread Felix Fietkau
On 2015-02-13 11:21, Álvaro Fernández Rojas wrote: Yeah, it would be great, but the real upstream repo is this one: https://github.com/raspberrypi/firmware As you can see it has even more crap (and we only use some files of the boot folder)... I'll open up an issue there. - Felix

Re: [OpenWrt-Devel] [PATCH 3/3] netifd: Set interface device config when device has old settings

2015-02-12 Thread Felix Fietkau
On 2015-02-13 03:41, Hans Dedecker wrote: If interface device settings are removed in UCI they were not removed in the device settings; calling device_set_config when device settings are present solves this. Signed-off-by: Hans Dedecker dedec...@gmail.com --- config.c | 2 +- 1 file

Re: [OpenWrt-Devel] [PATCH 3/5] generic: improve kexec support of MIPS.

2015-02-12 Thread Yousong Zhou
On 12 February 2015 at 14:34, John Crispin blo...@openwrt.org wrote: Hi, after some very basic testing i would suggest that On 10/02/2015 13:10, Yousong Zhou wrote: create mode 100644 target/linux/generic/patches-3.10/330-MIPS-Malta-Mark-kernel-code-and-kernel-data-segments.patch

[OpenWrt-Devel] ATH9K_htc with option chanbw 10/5 Mhz ?

2015-02-12 Thread sp2ong
Hi, I have use USB WN722n with my openwrt router and VirtualBOX Openwrt. ATH9K have possibility setup channel width 10/5 Mhz. It will be nice to have possibility setup 10/5 Mhz channel width use option 'chanbw' too. Regards Waldek ___ openwrt-devel

Re: [OpenWrt-Devel] lantiq v3.18

2015-02-12 Thread Daniel Gimpelevich
On Thu, 12 Feb 2015 18:38:09 +0100, John Crispin wrote: ah i see, not even sure why we attach that info. the mtdsplid should automatically set the root= try removing the root= parameter please and see if it boots properly That was there to override the root= from the bootloader, otherwise it

Re: [OpenWrt-Devel] [Cerowrt-devel] [RFC PATCH] packages: Smart Queue Management for AQM Packet Scheduling and Qos from CeroWrt

2015-02-12 Thread Luis E. Garcia
That's great news. Thanks again Dave - I found both SQM packages on the Chaos Calmer files. I'll run some more test with users. Regards, Luis On Thursday, February 12, 2015, Dave Taht dave.t...@gmail.com wrote: sqm-scripts entered the openwrt package repos for chaos calmer quite some time

[OpenWrt-Devel] Ubiquiti Rocket M5 build

2015-02-12 Thread Ken Buska
Is there anyone that is able to help create a build for the Rocket M5 XW build? -- Thank you, Ken Buska ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] Module option in Makefile?

2015-02-12 Thread John Crispin
Hi Matti, On 12/02/2015 20:34, Matti Laakso wrote: Hi, Is there a way to specify in a Makefile for a kernel module that the entry under /etc/modules.d should be created with a specific option? For example mymodule option=1 that syntax is already supported by kmodloader I looked

Re: [OpenWrt-Devel] [PATCH 3/3] netifd: Set interface device config when device has old settings

2015-02-12 Thread Hans Dedecker
On Fri, Feb 13, 2015 at 2:57 AM, Felix Fietkau n...@openwrt.org wrote: On 2015-02-13 03:41, Hans Dedecker wrote: If interface device settings are removed in UCI they were not removed in the device settings; calling device_set_config when device settings are present solves this.

Re: [OpenWrt-Devel] looking for a tl-wdr4900 tester

2015-02-12 Thread Sami Olmari
I can do basic testing too, if wanted to :) Sami Olmari On Feb 12, 2015 1:50 PM, John Crispin blo...@openwrt.org wrote: Hi Philipp, On 12/02/2015 12:41, Philipp Borgers wrote: I can test if you provide me with an image or an *easy* way to compile. i will mail you an initramfs and a

Re: [OpenWrt-Devel] [PATCH 1/4] kernel: enable AES-NI for x86

2015-02-12 Thread Stijn Tintel
On 11-02-15 15:09, Ulrich Weber wrote: Signed-off-by: Ulrich Weber u...@ocedo.com --- package/kernel/linux/modules/crypto.mk | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk

Re: [OpenWrt-Devel] [PATCH 2/4] kernel: enable AES-NI for x86_64

2015-02-12 Thread Stijn Tintel
On 11-02-15 15:09, Ulrich Weber wrote: Signed-off-by: Ulrich Weber u...@ocedo.com --- package/kernel/linux/modules/crypto.mk | 12 1 file changed, 12 insertions(+) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index

[OpenWrt-Devel] [PATCH 5/5] brcm2708-gpu-fw: simplify target dependencies

2015-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas nolt...@gmail.com --- package/kernel/brcm2708-gpu-fw/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/kernel/brcm2708-gpu-fw/Makefile b/package/kernel/brcm2708-gpu-fw/Makefile index 3fe2a7f..b393630 100644 ---

[OpenWrt-Devel] [PATCH 4/5] brcm2708: fix spidev

2015-02-12 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas nolt...@gmail.com --- .../patches-3.18/1000-BCM2708-fix-SPIDEV.patch | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 target/linux/brcm2708/patches-3.18/1000-BCM2708-fix-SPIDEV.patch diff --git

[OpenWrt-Devel] [PATCH 3/3] netifd: Set interface device config when device has old settings

2015-02-12 Thread Hans Dedecker
If interface device settings are removed in UCI they were not removed in the device settings; calling device_set_config when device settings are present solves this. Signed-off-by: Hans Dedecker dedec...@gmail.com --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OpenWrt-Devel] [PATCH 1/3] netifd: Fix possible hotplug race conditions

2015-02-12 Thread Hans Dedecker
Don't drop ifup/ifdown events in case an interface event is cached as it leads to possible race conditions (eg firewall not being reloaded as ifup is dropped) when multiple interface events are fired in a short timeframe (eg multiple PPP link flaps). Always overwrite the cached interface event

[OpenWrt-Devel] [PATCH 2/3] netifd: Keep reference to a config copy in device type specific reload handler as the original config pointer might go stale

2015-02-12 Thread Hans Dedecker
Fixes random observed crashes in blobmsg_parse when device type specific config data is parsed. Signed-off-by: Hans Dedecker dedec...@gmail.com --- bridge.c | 3 +++ macvlan.c | 3 +++ vlandev.c | 3 +++ 3 files changed, 9 insertions(+) diff --git a/bridge.c b/bridge.c index f8478ad..7076fd7

Re: [OpenWrt-Devel] lantiq v3.18

2015-02-12 Thread Daniel Gimpelevich
On Thu, Feb 12, 2015 at 3:19 AM, John Crispin blo...@openwrt.org wrote: On 10/02/2015 10:40, Daniel Gimpelevich wrote: Is there a patchset I could try? try r44421 or newer Tried initramfs, bootlog attached. [0.00] Linux version 3.18.6 (danielg4@chimera) (gcc version 4.8.3

Re: [OpenWrt-Devel] lantiq v3.18

2015-02-12 Thread Daniel Gimpelevich
On Thu, Feb 12, 2015 at 8:54 AM, Daniel Gimpelevich dan...@gimpelevich.san-francisco.ca.us wrote: On Thu, Feb 12, 2015 at 3:19 AM, John Crispin blo...@openwrt.org wrote: On 10/02/2015 10:40, Daniel Gimpelevich wrote: Is there a patchset I could try? try r44421 or newer Tried

Re: [OpenWrt-Devel] lantiq v3.18

2015-02-12 Thread John Crispin
On 12/02/2015 18:30, Daniel Gimpelevich wrote: On Thu, Feb 12, 2015 at 8:54 AM, Daniel Gimpelevich dan...@gimpelevich.san-francisco.ca.us mailto:dan...@gimpelevich.san-francisco.ca.us wrote: On Thu, Feb 12, 2015 at 3:19 AM, John Crispin blo...@openwrt.org mailto:blo...@openwrt.org

Re: [OpenWrt-Devel] lantiq v3.18

2015-02-12 Thread Daniel Gimpelevich
On Thu, Feb 12, 2015 at 9:33 AM, John Crispin blo...@openwrt.org wrote: On 12/02/2015 18:30, Daniel Gimpelevich wrote: On Thu, Feb 12, 2015 at 8:54 AM, Daniel Gimpelevich dan...@gimpelevich.san-francisco.ca.us mailto:dan...@gimpelevich.san-francisco.ca.us wrote: On Thu, Feb 12,

Re: [OpenWrt-Devel] lantiq v3.18

2015-02-12 Thread John Crispin
On 12/02/2015 18:33, John Crispin wrote: On 12/02/2015 18:30, Daniel Gimpelevich wrote: On Thu, Feb 12, 2015 at 8:54 AM, Daniel Gimpelevich dan...@gimpelevich.san-francisco.ca.us mailto:dan...@gimpelevich.san-francisco.ca.us wrote: On Thu, Feb 12, 2015 at 3:19 AM, John Crispin