Re: [OpenWrt-Devel] AA on brcm47xx: Unhandled kernel unaligned access

2014-07-15 Thread Nikolai Zhubr
15.07.2014 1:42, Jonas Gorski: [...] or bw32(bp, B44_RXMAXLEN, bp->dev->mtu + ETH_HLEN + 8) ? This is the right one; mtu (the "payload") + ETH_HLEN (14 bytes) + 8 (4 bytes for vlan tag, probably 4 extra bytes for custom header optionally used by broadcom switches) Ok, tested this. Unfortunate

Re: [OpenWrt-Devel] New gstreamer packages

2014-07-15 Thread Dirk Neukirchen
On 13.07.2014 09:00, Sergey Korolew wrote: > Hello ! > > I created several new gstreamer module packages (v4l2 for example), > they update makefiles and add some patches. > But now I confused with paths, after update gstreamer was moved to > the oldpackages directory. Which path patch should conta

[OpenWrt-Devel] [PATCH] ar71xx: update Carambola2 platform data

2014-07-15 Thread Mantas Pucka
Tested building for carambola2 target. Signed-off-by: Mantas Pucka --- target/linux/ar71xx/files/arch/mips/ath79/mach-carambola2.c | 9 - target/linux/ar71xx/image/Makefile | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/target/linux/ar71xx

Re: [OpenWrt-Devel] [PATCH] ar71xx: update Carambola2 platform data

2014-07-15 Thread Mantas Pucka
Sorry, change list got cut off in previous mail: ar71xx: update Carambola2 platform data * Remove button info on GPIO12, there is no button there. * Remove nvram mtd partition, as it's not used for anything, saves 64k for user data Tested building for carambola2 target. Signed-off-b

[OpenWrt-Devel] When to use Target Profile or Subtarget

2014-07-15 Thread Claudio Thomas
Hi, I'm adapting the "Freescale MPC83xx" platform, so that multiple devices can be selected. Actually the following boards are in use, but hard-coded over files or file-patches and not selectable be "menuconfig" - RouterBOARD 333 - RouterBOARD 600 This makes it unnecessary difficult to add new devi

Re: [OpenWrt-Devel] When to use Target Profile or Subtarget

2014-07-15 Thread Jo-Philipp Wich
Hi. Profiles influence image generation and package selection but share all a common kernel. Subtargets are used if a different kernel is required. ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-dev

Re: [OpenWrt-Devel] [PATCH v2 00/18] atheros: I/O cleanups

2014-07-15 Thread Karl Palsson
On Tue, Jul 15, 2014 at 03:57:19AM +0400, Sergey Ryazanov wrote: > Main goals of this series: > * Simplify interface between arch code and SoC drivers > * Simplify internal realization of arch code > * Make code consistent with mainstream kernel rules and practice > > This series extensively te

Re: [OpenWrt-Devel] [PATCH v2 00/18] atheros: I/O cleanups

2014-07-15 Thread Jonas Gorski
On Tue, Jul 15, 2014 at 1:57 AM, Sergey Ryazanov wrote: > Main goals of this series: > * Simplify interface between arch code and SoC drivers > * Simplify internal realization of arch code > * Make code consistent with mainstream kernel rules and practice > > This series extensively tested with

[OpenWrt-Devel] [PATCH] brcm47xx: fix LEDs on WRT54GL 1.1

2014-07-15 Thread Rafał Miłecki
Ticket: #17062 Signed-off-by: Rafał Miłecki --- ...-BCM47XX-Devices-database-update-for-3.17.patch | 34 +++--- ...-BCM47XX-Devices-database-update-for-3.17.patch | 34 +++--- 2 files changed, 60 insertions(+), 8 deletions(-) diff --git a/target/linux/brcm47xx/pa

Re: [OpenWrt-Devel] [PATCH v2 00/18] atheros: I/O cleanups

2014-07-15 Thread Sergey Ryazanov
2014-07-15 17:53 GMT+04:00 Jonas Gorski : > On Tue, Jul 15, 2014 at 1:57 AM, Sergey Ryazanov > wrote: >> Main goals of this series: >> * Simplify interface between arch code and SoC drivers >> * Simplify internal realization of arch code >> * Make code consistent with mainstream kernel rules a

Re: [OpenWrt-Devel] [PATCH v2 00/18] atheros: I/O cleanups

2014-07-15 Thread Sergey Ryazanov
2014-07-15 17:50 GMT+04:00 Karl Palsson : > On Tue, Jul 15, 2014 at 03:57:19AM +0400, Sergey Ryazanov wrote: >> Main goals of this series: >> * Simplify interface between arch code and SoC drivers >> * Simplify internal realization of arch code >> * Make code consistent with mainstream kernel ru

Re: [OpenWrt-Devel] Barrier Breaker 14.07-rc1

2014-07-15 Thread Jonathan Bennett
On Mon, Jul 14, 2014 at 4:12 AM, John Crispin wrote: > > The OpenWrt developers are proud to announce the first release > candidate of OpenWrt Barrier Breaker. > ___ __ > | |.-.-.-.| | | |..| |_ > | - || _ | -__| ||

Re: [OpenWrt-Devel] IPv6 firewall and Port Control Protocol (Was: Barrier Breaker 14.07-rc1)

2014-07-15 Thread Aaron Z
- Original Message - On Monday, July 14, 2014 5:36:09 PM "Benjamin Cama" wrote: > Hi everyone, > > Le lundi 14 juillet 2014 à 22:17 +0900, Baptiste Jonglez a écrit : > > On Mon, Jul 14, 2014 at 02:38:16PM +0200, Steven Barth wrote: > > > Hi Baptiste, > > > > > > in general our current fi

[OpenWrt-Devel] Barrier Breaker on au1000 (MTX-1)

2014-07-15 Thread Bruno Randolf
Hello, I needed to update the kernel version to 3.10.44 to compile Barrier Breaker for au1000 (MTX-1): diff --git a/target/linux/au1000/Makefile b/target/linux/au1000/Makefile index 2f9c24d..5fb4a43 100644 --- a/target/linux/au1000/Makefile +++ b/target/linux/au1000/Makefile @@ -13,7 +13,7 @@ F

Re: [OpenWrt-Devel] [PATCH] ramips: soc wmac eeprom cleanup

2014-07-15 Thread John Crispin
Hi, lovely, works for me on the 6 boards that i tested. will merge it in a sec. i will look into the fixme bits. John On 14/07/2014 23:13, Roman Yeryomin wrote: > Move eeprom extraction from scripts to dts files. Additionally > there are few other changes like: - whitespace fixes - add

Re: [OpenWrt-Devel] [PATCH] ar71xx: update Carambola2 platform data

2014-07-15 Thread Felix Fietkau
On 2014-07-15 12:53, Mantas Pucka wrote: > Sorry, change list got cut off in previous mail: > > ar71xx: update Carambola2 platform data > > * Remove button info on GPIO12, there is no button there. > * Remove nvram mtd partition, as it's not used for anything, saves > 64k for user da

[OpenWrt-Devel] Sysupgrade to Barrier Breaker on au1000 (MTX-1)

2014-07-15 Thread Bruno Randolf
Another problem I noted when upgrading from AA to BB on MTX-1: # sysupgrade -n /tmp/openwrt-au1000-au1500-jffs2-128k-sysupgrade.bin tar: openwrt-au1000-au1500-jffs2-128k.fs: not found in archive Invalid image contents Image check 'platform_check_image' failed. I needed to change in /lib/upgrade/p

Re: [OpenWrt-Devel] IPv6 firewall and Port Control Protocol (Was: Barrier Breaker 14.07-rc1)

2014-07-15 Thread Fernando Frediani
Fully agree with Aaron's comments below. Regards, Fernando On 15/07/2014 16:45, Aaron Z wrote: - Original Message - On Monday, July 14, 2014 5:36:09 PM "Benjamin Cama" wrote: Hi everyone, Le lundi 14 juillet 2014 à 22:17 +0900, Baptiste Jonglez a écrit : On Mon, Jul 14, 2014 at 02:

Re: [OpenWrt-Devel] IPv6 firewall and Port Control Protocol (Was: Barrier Breaker 14.07-rc1)

2014-07-15 Thread Benjamin Cama
Le mardi 15 juillet 2014 à 11:45 -0400, Aaron Z a écrit : > - Original Message - > On Monday, July 14, 2014 5:36:09 PM "Benjamin Cama" wrote: > > Hi everyone, > > > > Le lundi 14 juillet 2014 à 22:17 +0900, Baptiste Jonglez a écrit : > > > I'd rather have "Don't bother the user": things s

Re: [OpenWrt-Devel] AA on brcm47xx: Unhandled kernel unaligned access

2014-07-15 Thread Nikolai Zhubr
15.07.2014 12:04, Nikolai Zhubr: 15.07.2014 1:42, Jonas Gorski: [...] or bw32(bp, B44_RXMAXLEN, bp->dev->mtu + ETH_HLEN + 8) ? This is the right one; mtu (the "payload") + ETH_HLEN (14 bytes) + 8 (4 bytes for vlan tag, probably 4 extra bytes for custom header optionally used by broadcom switch

[OpenWrt-Devel] Compiling kernel modules for Openwrt

2014-07-15 Thread Methos
Hi, I am trying to compile kernel module kmod-ipt-tee. I enabled it using "make menuconfig" Now I see: # grep kmod-ipt-tee .config CONFIG_PACKAGE_kmod-ipt-tee=m But when I execute: make package/kernel/{compile,install} V=99 I see: WARNING: kmod-ipt-tee is not available in the kernel config A

Re: [OpenWrt-Devel] AA on brcm47xx: Unhandled kernel unaligned access

2014-07-15 Thread Nikolai Zhubr
15.07.2014 23:26, Nikolai Zhubr: [...] And I've performed yet another experiment. If I insert an additional router (running also openwrt but atheros-based) between this WL-500W and uplink (with the idea to filter out any strange and bogus incoming packets) and redo the same test, I get no panic b

Re: [OpenWrt-Devel] Compiling kernel modules for Openwrt

2014-07-15 Thread Jonas Gorski
On Tue, Jul 15, 2014 at 10:06 PM, Methos wrote: > Hi, > > I am trying to compile kernel module kmod-ipt-tee. > I enabled it using "make menuconfig" > > Now I see: > > # grep kmod-ipt-tee .config > CONFIG_PACKAGE_kmod-ipt-tee=m > > But when I execute: > make package/kernel/{compile,install} V=99 >

Re: [OpenWrt-Devel] Compiling kernel modules for Openwrt

2014-07-15 Thread Methos
Thanks for the prompt response. I tried to do that for a new package: kmod-ipt-condition I see that it is enabled in .config as 'm'. After that, I executed "make target/linux/{compile,install}" After that, I executed "make package/kernel/{clean,compile,install}" I see that file "xt_condition.ko"

Re: [OpenWrt-Devel] IPv6 firewall and Port Control Protocol (Was: Barrier Breaker 14.07-rc1)

2014-07-15 Thread Justin Vallon
I don't think turning off the firewall is a sane default. Your arguments based on "global addressability" are false because IPv4 can be globally addressable, if you want. You can get static ip addresses (or a subnet), turn off NAT, and turn off the firewall - every "internal" network device will

Re: [OpenWrt-Devel] Sysupgrade to Barrier Breaker on au1000 (MTX-1)

2014-07-15 Thread Hauke Mehrtens
On 07/15/2014 07:06 PM, Bruno Randolf wrote: > Another problem I noted when upgrading from AA to BB on MTX-1: > > # sysupgrade -n /tmp/openwrt-au1000-au1500-jffs2-128k-sysupgrade.bin > tar: openwrt-au1000-au1500-jffs2-128k.fs: not found in archive > Invalid image contents > Image check 'platform_c

[OpenWrt-Devel] About oldpackages/perl-*

2014-07-15 Thread Marcel Denia
Hey everyone, bugtracker seems to have some issues, so I'm posting here. Some users reported[1][2] errors about all perl-* packages in oldpackages. Perl was recently moved to the new GitHub repository. All remaining perl modules expect the main perl directory to be present in their parent directo

[OpenWrt-Devel] [PATCH 2/2,v2] ppp: fix o_special option printing

2014-07-15 Thread Nathan Hintz
PPPD crashes (SEGV) when the 'dump' or 'dryrun' options are specified and an option defined internally as "o_special" with an option flag of "OPT_A2STRVAL" is used. The crash occurs because the option value is not saved when the parameter is processed, but is then referenced when printed. Addition

[OpenWrt-Devel] [PATCH RESEND] ar71xx: update Carambola2 platform data

2014-07-15 Thread Mantas Pucka
Change list: * Remove button info on GPIO12, there is no button there. * Remove nvram mtd partition, as it's not used for anything, saves 64k for user data. Tested building for carambola2 target. Signed-off-by: Mantas Pucka --- target/linux/ar71xx/files/arch/mips/ath79/mach-carambola2.c | 9