Re: [OpenWrt-Devel] lantiq v3.18

2015-02-25 Thread Daniel Gimpelevich
On Thu, 26 Feb 2015 07:23:20 +0100, John Crispin wrote: > no idea what the poblem is. you'll have to wait till someone comes a > long that has time to debug your problem. Considering that nobody else is working on lantiq, :( ___ openwrt-devel mailing lis

Re: [OpenWrt-Devel] [PATCH] firewall3: fix null pointer access when no target is present

2015-02-25 Thread Steven Barth
Applied, thanks. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] lantiq v3.18

2015-02-25 Thread John Crispin
On 26/02/2015 02:57, Daniel Gimpelevich wrote: > On Sun, 15 Feb 2015 05:21:34 +, Daniel Gimpelevich wrote: >> On Sat, 14 Feb 2015 19:55:03 +0100, John Crispin wrote: >>> ok, i think the spi clock is just really slow >>> >>> m25p80@0 { >>> #address-cells

Re: [OpenWrt-Devel] lantiq v3.18

2015-02-25 Thread Daniel Gimpelevich
On Sun, 15 Feb 2015 05:21:34 +, Daniel Gimpelevich wrote: > On Sat, 14 Feb 2015 19:55:03 +0100, John Crispin wrote: >> ok, i think the spi clock is just really slow >> >> m25p80@0 { >> #address-cells = <1>; >> #size-cells = <1>; >

[OpenWrt-Devel] [PATCH 1/2] generic: add USB_DWC2 missing symbols

2015-02-25 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- target/linux/generic/config-3.18 | 3 +++ target/linux/generic/config-3.19 | 3 +++ target/linux/generic/config-4.0 | 3 +++ 3 files changed, 9 insertions(+) diff --git a/target/linux/generic/config-3.18 b/target/linux/generic/config-3.18 index 7ad0efc.

[OpenWrt-Devel] [PATCH 2/2] brcm2708: add another missing symbol

2015-02-25 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- target/linux/brcm2708/config-3.18 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/brcm2708/config-3.18 b/target/linux/brcm2708/config-3.18 index 873a0f6..d700210 100644 --- a/target/linux/brcm2708/config-3.18 +++ b/target/linux/brcm2708/

[OpenWrt-Devel] [PATCH] openssl: enable ARM assembly acceleration

2015-02-25 Thread Claudio Leite
Tested myself on ixp4xx and mvebu, and (originally) by Daniel on i.MX6. Also tested on a MIPS target, to make sure the change to ASFLAGS does not break things. Based on a patch submitted by Daniel Drown: https://lists.openwrt.org/pipermail/openwrt-devel/2014-July/026639.html Signed-off-by: Claud

[OpenWrt-Devel] [PATCH 3/3] brcm2708: fix mkdosfs command line options order

2015-02-25 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- target/linux/brcm2708/image/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile index ae977a6..cb5acde 100644 --- a/target/linux/brcm2708/image/Makef

[OpenWrt-Devel] [PATCH 2/3] dosfstools: fix build on OS X

2015-02-25 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- .../dosfstools/patches/0001-Add-OSX-support.patch | 1849 1 file changed, 1849 insertions(+) create mode 100644 tools/dosfstools/patches/0001-Add-OSX-support.patch diff --git a/tools/dosfstools/patches/0001-Add-OSX-support.patch b

[OpenWrt-Devel] [PATCH 1/3] dosfstools: update to v3.0.27

2015-02-25 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- tools/dosfstools/Makefile | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/tools/dosfstools/Makefile b/tools/dosfstools/Makefile index ca4f284..5a5bd1d 100644 --- a/tools/dosfstools/Makefile +++ b/tools/dosfstool

[OpenWrt-Devel] [PATCH 0/3] brcm2708: fix build on OS X

2015-02-25 Thread Álvaro Fernández Rojas
These patches fix brcm2708 build issues on OS X Álvaro Fernández Rojas (3): dosfstools: update to v3.0.27 dosfstools: fix build on OS X brcm2708: fix mkdosfs command line options order target/linux/brcm2708/image/Makefile |4 +- tools/dosfstools/Makefile

[OpenWrt-Devel] [PATCH 1/3] b53: add swconfig logic to enable/disable management

2015-02-25 Thread Alexandru Ardelean
Feature implemented and tested on BCM53128. This enables the Managed Mode of the b53 switch. Two things need setup after the managed mode bit is set. - The CPU port needs to be explicitly enabled. CPU ports seems disabled by default when managed mode is enabled - The Broadcom Tag/Header needs

[OpenWrt-Devel] [PATCH 3/3] b53: create slave devices for ports

2015-02-25 Thread Alexandru Ardelean
Feature implemented and tested on BCM53128. Slave devices logic copied from the Linux kernel from Marvell's DSA driver ( linux/net/dsa/ ). Also the logic for the Broadcom tag processing has been copied from there. OpenWRT's eth_mangle_rx/tx() patch/code is being used to tap into the packets to/fr

[OpenWrt-Devel] [PATCH 2/3] b53: add logic to handle the broadcom header

2015-02-25 Thread Alexandru Ardelean
Feature implemented and tested on BCM53128. This will enable the processing of the Broadcom Tag/Header, which will insert 4 bytes between the MAC header and EtherType field. Note that b53_enable_brcm_hdr(dev) is called before b53_enable_management(dev), since it seems that the CPU port may be dis

[OpenWrt-Devel] [PATCH] firewall3: fix null pointer access when no target is present

2015-02-25 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- iptables.c | 28 +--- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/iptables.c b/iptables.c index 03987af..ca84761 100644 --- a/iptables.c +++ b/iptables.c @@ -1199,7 +1199,9 @@ rule_mask(struct fw3_ipt_rule *r)

[OpenWrt-Devel] Regarding strongswan UCI support

2015-02-25 Thread pothuganti sridhar
Hi All, I have compiled strongswan5.2.1 on openwrt attitude adjustment and enabled UCI plugin. I am not observing init script to configure ipsec.conf and ipsec.secrets from /etc/config/strongswan configuration file. Is this available in any patch or in any other release? where can I find

[OpenWrt-Devel] [PATCH v2 0/3] generic: several linux-4.0 fixes

2015-02-25 Thread Álvaro Fernández Rojas
v2: split up the patch by functionality remove already fixed patches Álvaro Fernández Rojas (3): netfilter: fix nf_nat_redirect dependencies for 3.19 and 4.0 generic: add missing symbols for 4.0 swconfig: fix build with linux 4.0 include/netfilter.mk | 1 +

[OpenWrt-Devel] [PATCH v2 2/3] generic: add missing symbols for 4.0

2015-02-25 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- target/linux/generic/config-4.0 | 12 1 file changed, 12 insertions(+) diff --git a/target/linux/generic/config-4.0 b/target/linux/generic/config-4.0 index ae4030a..4361ced 100644 --- a/target/linux/generic/config-4.0 +++ b/target/linux/gene

[OpenWrt-Devel] [PATCH v2 3/3] swconfig: fix build with linux 4.0

2015-02-25 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- target/linux/generic/files/drivers/net/phy/swconfig.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/target/linux/generic/files/drivers/net/phy/swconfig.c b/target/linux/generic/files/drivers/net/phy/swconfig.c index b0ba90d

[OpenWrt-Devel] [PATCH v2 1/3] netfilter: fix nf_nat_redirect dependencies for 3.19 and 4.0

2015-02-25 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- include/netfilter.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/netfilter.mk b/include/netfilter.mk index ed63b0b..e663ea5 100644 --- a/include/netfilter.mk +++ b/include/netfilter.mk @@ -183,6 +183,7 @@ $(eval $(if $(NF_KMOD),$(call nf_

Re: [OpenWrt-Devel] [PATCH] generic: several linux-4.0 fixes

2015-02-25 Thread Álvaro Fernández Rojas
> As far as I can see, it was returning skb->len. Anyways, the #if needs > to go. It should just use the same code for >= 4.0 and < 4.0 > Also, this patch needs to be split up by functionality. Having > everything in one big patch is harder to review. > > - Felix > Well, the 4.0 code will work o

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

2015-02-25 Thread Jo-Philipp Wich
Hi, maybe we should simply flush all traffic routed via the toggled interface instead of looking into the IPs. Unfortunately there is no easy way to relate a given conntrack stream to the interface it is using... ~ Jow signature.asc Description: OpenPGP digital signature __

[OpenWrt-Devel] Request for comment: ATH79/AR71XX GPIO IRQ patch

2015-02-25 Thread Gerhard Bertelsmann
Hi, please find below a link to use GPIO IRQ on ATH79 platform. It works but uses an ugly way to clear the IRQ: +static void ath79_gpio_irq(unsigned int irq, struct irq_desc *desc) +{ + void __iomem *base = ath79_gpio_base; + void __iomem *base2 = ath79_reset_base; + unsigned in

Re: [OpenWrt-Devel] [PATCH] generic: several linux-4.0 fixes

2015-02-25 Thread Rafał Miłecki
On 25 February 2015 at 11:00, Felix Fietkau wrote: > On 2015-02-25 06:07, Rafał Miłecki wrote: >> On 24 February 2015 at 16:29, Álvaro Fernández Rojas >> wrote: >>> --- a/target/linux/generic/files/drivers/net/phy/swconfig.c >>> +++ b/target/linux/generic/files/drivers/net/phy/swconfig.c >>> @@

Re: [OpenWrt-Devel] [PATCH] generic: several linux-4.0 fixes

2015-02-25 Thread Felix Fietkau
On 2015-02-25 06:07, Rafał Miłecki wrote: > On 24 February 2015 at 16:29, Álvaro Fernández Rojas > wrote: >> --- a/target/linux/generic/files/drivers/net/phy/swconfig.c >> +++ b/target/linux/generic/files/drivers/net/phy/swconfig.c >> @@ -396,7 +396,12 @@ swconfig_dump_attr(struct swconfig_callba