[OpenWrt-Devel] Request for testing mtdsplit_uimage

2015-02-11 Thread Rafał Miłecki
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 for Edimax devices, but... could also break something

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

2015-02-11 Thread John Crispin
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 > create mode 100644 > target/linux/generic/patches-3.10/331-MIPS-kexec-Acce

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

2015-02-11 Thread Robert Clove
Can u explain in detail.. On Wed, Feb 11, 2015 at 8:01 PM, Aaron Z wrote: > On Wed, Feb 11, 2015 at 9:15 AM, Robert Clove > wrote: > > Hi, > > > > I have few laptops and two routers with dual band (TP-LINK TL-WDR3600 > N600 > > WIRELESS DUAL BAND GIGABIT ROUTER) . Ported openwrt on the rout

[OpenWrt-Devel] [PATCH] generic: fix broken patch in the transition of 3.19 from -rc5 to release .0

2015-02-11 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- target/linux/generic/patches-3.19/304-mips_disable_fpu.patch |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/generic/patches-3.19/304-mips_disable_fpu.patch b/target/linux/generic/patches-3.19/304-mips_disable_fpu.patch index 8

Re: [OpenWrt-Devel] [PATCH] ar71xx: Add support for TP-Link MR12U v1 board

2015-02-11 Thread Yousong Zhou
On 12 February 2015 at 07:53, 郭传鈜 wrote: > This patch is useless now.We don't need to change mktplinkfw.c .The flash > layout is defined in target/linux/ar71xx/image/Makefile :-D > It's okay. I have found it useful for inspection purposes ( -i ) several times before. yousong >

Re: [OpenWrt-Devel] [PATCH] ar71xx: Add support for TP-Link MR12U v1 board

2015-02-11 Thread 郭传鈜
This patch is useless now.We don't need to change mktplinkfw.c .The flash layout is defined in target/linux/ar71xx/image/Makefile :-D 2015-02-11 22:49 GMT+08:00 Daniel Petre : > This patch adds support for the TL-MR12U board. > > Signed-off-by: Daniel Petre > > Index: trunk/tools/firmware-utils/

[OpenWrt-Devel] [PATCH] ar71xx: ZyXEL NBG6716 led/buttons cleanup

2015-02-11 Thread Marcin Mikolajczak
ZyXEL NBG6716 led/buttons cleanup - improper numbered leds - improper named buttons Signed-off-by: Marcin Mikolajczak --- Index: target/linux/ar71xx/base-files/etc/uci-defaults/01_leds === --- target/linux/ar71xx/base-files/etc/uci

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

2015-02-11 Thread Jo-Philipp Wich
Hi, theoretically the selective conntrack flushing of fw3 should take care of that. Can you investigate why it is not the case for you? ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.open

Re: [OpenWrt-Devel] [PATCH] hostapd: backport BSSID black/whitelists

2015-02-11 Thread Stefan Tomanek
Dies schrieb John Crispin (blo...@openwrt.org): > > Any more feedback regarding both patches? > > still on my todo, sorry for the delay it'll take a few more days till i > can go over all the hostapd patches in the queue. Nevermind, I just wanted to make sure that it didn't slide off the table :

[OpenWrt-Devel] [PATCH relayd] Fix deletion of routing policy rules when terminating due to a signal

2015-02-11 Thread Alejandro Enrique
This patch fix routing policy rules not being deleted on termination due to SIGTERM, SIGHUP, SIGUSR1 or SIGUSR2. Calling uloop_end makes the call to uloop_run on main to finish and the process to exit calling the proper cleaning functions. Signed-off-by: Alejandro Enrique --- main.c |4 +---

[OpenWrt-Devel] [PATCH][v2] ar71xx: Add profile and build image for TP-Link MR12U v1

2015-02-11 Thread Daniel Petre
This patch adds corrected profile and build image for the TL-MR12U board. Unfortunately i cannot test the factory image since i can't find anywhere the original chinese firmware but the generated openwrt-ar71xx-generic-tl-mr12u-v1-squashfs-sysupgrade.bin worked just fine over a modified mr3040 f

[OpenWrt-Devel] [PATCH] ar71xx: Add profile and build image for TP-Link MR12U v1

2015-02-11 Thread Daniel Petre
This patch adds profile and build image for the TL-MR12U board. Unfortunately i cannot test the factory image since i can't find anywhere the original chinese firmware but the generated openwrt-ar71xx-generic-tl-mr12u-v1-squashfs-sysupgrade.bin worked just fine over a modified mr3040 factory ima

[OpenWrt-Devel] [PATCH] ar71xx: Add user-space support for TP-Link MR12U v1

2015-02-11 Thread Daniel Petre
This patch adds user-space support for the TL-MR12U board based on the mr13u patches. Signed-off-by: Daniel Petre Index: trunk/target/linux/ar71xx/base-files/etc/diag.sh === --- trunk/target/linux/ar71xx/base-files/etc/diag.sh(

[OpenWrt-Devel] [PATCH] ar71xx: Add support for TP-Link MR12U v1 board

2015-02-11 Thread Daniel Petre
This patch adds support for the TL-MR12U board. Signed-off-by: Daniel Petre Index: trunk/tools/firmware-utils/src/mktplinkfw.c === --- trunk/tools/firmware-utils/src/mktplinkfw.c (revision 44381) +++ trunk/tools/firmware-utils/src/m

Re: [OpenWrt-Devel] [PATCH] hostapd: backport BSSID black/whitelists

2015-02-11 Thread John Crispin
On 11/02/2015 15:42, Stefan Tomanek wrote: > Dies schrieb Stefan Tomanek (stefan.tomanek+open...@wertarbyte.de): > Any feedback regarding this backported feature? >>> >>> this patch is fine, the log file one scares me though as there is no >>> log rotate logic. >> >> What kind of log rotate

Re: [OpenWrt-Devel] [PATCH] hostapd: backport BSSID black/whitelists

2015-02-11 Thread Stefan Tomanek
Dies schrieb Stefan Tomanek (stefan.tomanek+open...@wertarbyte.de): > > > Any feedback regarding this backported feature? > > > > this patch is fine, the log file one scares me though as there is no > > log rotate logic. > > What kind of log rotate logic do you mean? That can be implemented exte

Re: [OpenWrt-Devel] trying to add support for tp-link mr12u in trunk.

2015-02-11 Thread Daniel Petre
On 11/02/15 15:32, 郭传鈜 wrote: You don't need to copy the mach file and kernel patch again if the firmware of mr13u works fine on mr12u. Just use the following line in target/linux/ar71xx/image/Makefile: $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLMR12U,tl-mr12u-v1,TL-MR13U,ttyATH0,115200,0x0

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

2015-02-11 Thread Aaron Z
On Wed, Feb 11, 2015 at 9:15 AM, Robert Clove wrote: > Hi, > > I have few laptops and two routers with dual band (TP-LINK TL-WDR3600 N600 > WIRELESS DUAL BAND GIGABIT ROUTER) . Ported openwrt on the router . > > What i am trying to achieve is if someone want to send msg to a an > individual then o

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

2015-02-11 Thread Robert Clove
Hi, I have few laptops and two routers with dual band (TP-LINK TL-WDR3600 N600 WIRELESS DUAL BAND GIGABIT ROUTER) . Ported openwrt on the router . What i am trying to achieve is if someone want to send msg to a an individual then one of the band should be used (eg 2.4GHz) and if someone want to s

[OpenWrt-Devel] [PATCH 4/4] kernel: add x86_64 SSSE3 support for SHA1/SHA256/SHA512

2015-02-11 Thread Ulrich Weber
Signed-off-by: Ulrich Weber --- package/kernel/linux/modules/crypto.mk | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index d5b83fb..c7a1e57 100644 --- a/package/kernel/lin

[OpenWrt-Devel] [PATCH 3/4] kernel: move sha512 to own package

2015-02-11 Thread Ulrich Weber
Signed-off-by: Ulrich Weber --- package/kernel/linux/modules/crypto.mk | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 3d76ef3..d5b83fb 100644 --- a/package/kernel/linux/modules/c

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

2015-02-11 Thread Ulrich Weber
Signed-off-by: Ulrich Weber --- 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 7fea3bf..3d76ef3 100644 --- a/package/kernel/linux/modules/crypto.mk +++

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

2015-02-11 Thread Ulrich Weber
Signed-off-by: Ulrich Weber --- 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 index 4df2d73..7fea3bf 100644 --- a/package/kernel/linux/modul

[OpenWrt-Devel] [PATCH 0/4] kernel: x86/x86_64 crypto acceleration

2015-02-11 Thread Ulrich Weber
The following patches add hardware acceleration for AES and SHA1/SHA256/SHA512 on x86 and x86_64 systems Since SHA-2 is getting more important I moved SHA-512 from crypto-misc to an own package. Ulrich Weber (4): kernel: enable AES-NI for x86 kernel: enable AES-NI for x86_64 kernel: move sh

Re: [OpenWrt-Devel] trying to add support for tp-link mr12u in trunk.

2015-02-11 Thread 郭传鈜
But if you really need to add a new mach file,you'd better create another patch instead of modifying 610-MIPS-ath79-openwrt-machines.patch BTW,You didn't modify the patch correctly.I think you should search for the format of a patch.Sorry, I can't describe it here because of my bad English:-D 201

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

2015-02-11 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- package/kernel/brcm2708-gpu-fw/Makefile | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/package/kernel/brcm2708-gpu-fw/Makefile b/package/kernel/brcm2708-gpu-fw/Makefile index e202002..3fe2a7f 100644 --- a

Re: [OpenWrt-Devel] trying to add support for tp-link mr12u in trunk.

2015-02-11 Thread 郭传鈜
You don't need to copy the mach file and kernel patch again if the firmware of mr13u works fine on mr12u. Just use the following line in target/linux/ar71xx/image/Makefile: $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLMR12U,tl-mr12u-v1,TL-MR13U,ttyATH0,115200,0x00120101,1,4Mlzma)) 2015-02-11 2

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

2015-02-11 Thread Hans Dedecker
A NAT masquerading race condition is observed in a setup where continous ping traffic is launched from a device on the lan towards a device on the internet. The WAN interface has masquerading enabled, the default firewall forward policy is reject and is regularly brought down/up. Initially everythi

[OpenWrt-Devel] [PATCH] oxnas: disable usbgadget support

2015-02-11 Thread Daniel Golle
usbgadget was initially enabled in the hope to support gadget mode as it seems to be supported by the hardware. However, it currently breaks things and doesn't work anyway, so remove the usbgadget feature. Signed-off-by: Daniel Golle --- target/linux/oxnas/Makefile | 2 +- 1 file changed, 1 inse

[OpenWrt-Devel] trying to add support for tp-link mr12u in trunk.

2015-02-11 Thread Daniel Petre
Hello awesome hackers, i am trying to patch support for tp-link mr12u in trunk by duplicating mr13u files with the proper changes specific to mr12u but i am failing at kernel patching with: make[3]: Entering directory '/home/dani/chaos_calmer/target/linux' make[4]: Entering directory '/home/da

[OpenWrt-Devel] [PATCH] oxnas: workaround dwc2 role selection breakage

2015-02-11 Thread Daniel Golle
kmod-usb-dwc2 currently breaks CONFIG_ALL builds. Fix that by adding a rather random selection of DWC2-related Kconfig stuff to config-3.18 (oxnas doesn't have a dwc2, the whole drama comes up because we package the dwc2-pci reference driver though that hardware supposedly doesn't exist anywhere o

Re: [OpenWrt-Devel] [PATCH 2/3] brcm2708: add Raspberry Pi 2 support

2015-02-11 Thread John Crispin
On 11/02/2015 12:42, Álvaro Fernández Rojas wrote: > From popcornmix: https://github.com/raspberrypi/linux/issues/22 > Technically 2708 is the family, and 2835 is a specific > implementation. We now know that 2835 is the only implementation in > the family that can run linux, (and there won't be

Re: [OpenWrt-Devel] [PATCH 3/3] sunxi: add support for Linux 3.19

2015-02-11 Thread Zoltan HERPAI
On Wed, 11 Feb 2015, Luka Perkov wrote: zoltan maintains the sunxi target. he might already have done work on this and might have some updates or whatever that he plans to incorporate. bumping a kernel maintained actively always has the risk of duplicating work and / or doing superfluous work

Re: [OpenWrt-Devel] [PATCH 2/3] brcm2708: add Raspberry Pi 2 support

2015-02-11 Thread Álvaro Fernández Rojas
From popcornmix: https://github.com/raspberrypi/linux/issues/22 Technically 2708 is the family, and 2835 is a specific implementation. We now know that 2835 is the only implementation in the family that can run linux, (and there won't be new models of this family), so it probably doesn't matter w

Re: [OpenWrt-Devel] [PATCH 2/3] brcm2708: add Raspberry Pi 2 support

2015-02-11 Thread John Crispin
On 11/02/2015 12:33, Álvaro Fernández Rojas wrote: > -BOARDNAME:=Broadcom BCM2708/BCM2835 should this not be > +BOARDNAME:=Broadcom BCM2708/BCM2835/BCM2709 i think BCM2835 is used on one of the B+ variants John ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [PATCH 3/3] sunxi: add support for Linux 3.19

2015-02-11 Thread John Crispin
On 11/02/2015 00:13, Daniel Golle wrote: > Is there anything wrong with that? Or did anyone feel offended by > that? no just pointing out that this might lead to the work not being used, which ended up being the case. ___ openwrt-devel mailing list ope

[OpenWrt-Devel] [PATCH 3/3] brcm2708: remove CMA_DEBUG

2015-02-11 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- target/linux/brcm2708/config-3.18 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/brcm2708/config-3.18 b/target/linux/brcm2708/config-3.18 index 7765d13..9cae2fa 100644 --- a/target/linux/brcm2708/config-3.18 +++ b/target

[OpenWrt-Devel] [PATCH 2/3] brcm2708: add Raspberry Pi 2 support

2015-02-11 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- target/linux/brcm2708/Makefile | 4 ++-- target/linux/brcm2708/bcm2708/config-default | 3 +++ target/linux/brcm2708/bcm2708/profiles/RaspberryPi.mk | 16 target/linux/brcm2708/bcm2708/target.mk

Re: [OpenWrt-Devel] raspberry pi v3.19

2015-02-11 Thread Álvaro Fernández Rojas
Yeah I had already reverted that change locally. I was going to send all the patches once I had tested everything for the Raspberry Pi 2, but you were faster :P. El 11/02/2015 a las 11:11, John Crispin escribió: > >>> On 10/02/2015 19:53, Álvaro Fernández Rojas wrote: Okay, it's working no

Re: [OpenWrt-Devel] [PATCH 3/3] sunxi: add support for Linux 3.19

2015-02-11 Thread Luka Perkov
Hi Daniel, On Wed, Feb 11, 2015 at 12:13:13AM +0100, Daniel Golle wrote: > On Tue, Feb 10, 2015 at 10:46:53PM +0100, John Crispin wrote: > > zoltan maintains the sunxi target. he might already have done work on > > this and might have some updates or whatever that he plans to > > incorporate. bump

Re: [OpenWrt-Devel] [PATCH] add host route on local ip arp request

2015-02-11 Thread Alejandro Enrique
Great. Thank you [image: Fon] Alejandro Enrique Router Development All information in this email is confidential On 11 February 2015 at 11:12, Felix Fietkau wrote: > On 2015-02-11 21:02, Alejandro Enrique wrote: > > This

Re: [OpenWrt-Devel] [PATCH] add host route on local ip arp request

2015-02-11 Thread Felix Fietkau
On 2015-02-11 21:02, Alejandro Enrique wrote: > This patch fixes relayd not adding a host on an ARP request for the local > IP address. > When relayd is launched using the -L option, it was not adding the > necessary host routes when it receives an ARP request for the local > IP address. > > This

Re: [OpenWrt-Devel] raspberry pi v3.19

2015-02-11 Thread John Crispin
>> On 10/02/2015 19:53, Álvaro Fernández Rojas wrote: >>> Okay, it's working now: >>> http://files.noltari.es/openwrt/bcm2708/bcm2708_3-18_log.txt >>> >>> Patches: >>> http://files.noltari.es/openwrt/bcm2708/brcm2708_3-18.tgz >>> i changed the gpu-fw package to not clone the huge git tree every t

Re: [OpenWrt-Devel] [PATCH 1/4] ipq806x: update target to v3.18

2015-02-11 Thread John Crispin
i folded all 4 patches into 1 prior to the commit ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] improve host detection on interface change

2015-02-11 Thread Alejandro Enrique
This patch improve host detection and refresh when it moves from and interface to another by pinging for it on all managed interfaces. Previous to this patch host expiration was done by pinging for it on the last interface it was known to be. If it does not reply after a number of retries it will

[OpenWrt-Devel] [PATCH] add host route on local ip arp request

2015-02-11 Thread Alejandro Enrique
This patch fixes relayd not adding a host on an ARP request for the local IP address. When relayd is launched using the -L option, it was not adding the necessary host routes when it receives an ARP request for the local IP address. This issue makes a host not able to connect to the device running

[OpenWrt-Devel] [PATCH] fix missing -p command line argument

2015-02-11 Thread Alejandro Enrique
Option -p was not being accepted as it was missing in getopt parameter list Signed-off-by: Alejandro Enrique --- main.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 2e34954..a78076c 100644 --- a/main.c +++ b/main.c @@ -719,7 +719,7 @@ int main(int

Re: [OpenWrt-Devel] [PATCH] relayd: add host route on local ip arp request

2015-02-11 Thread Felix Fietkau
On 2015-02-11 00:43, Alejandro Enrique wrote: > This patch fixes relayd not adding a host on an ARP request for the local > IP address. > When relayd is launched using the -L option, it was not adding the > necessary host routes when it receives an ARP request for the local > IP address. > > This