[OpenWrt-Devel] [PATCH] bgmac: pass received packet to the netif instead of copying it

2013-10-30 Thread Rafał Miłecki
Copying whole packets with skb_copy_from_linear_data_offset is a pretty bad idea. CPU was spending time in __copy_user_common and network performance was lower. With the new solution iperf-measured speed increased from 116Mb/s to 134Mb/s. Signed-off-by: Rafał Miłecki --- Changes since [RFC TRY#2]

[OpenWrt-Devel] [PATCH] [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa

2013-10-30 Thread Bastian Bittorf
[platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa till now only jffs2 was possible and sysupgrade refuses to change fs-type, because of bad/invalid content in sysupgrade-file. manually overriding works, so i made this patch. upgrade tested from

Re: [OpenWrt-Devel] [PATCH] [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa

2013-10-30 Thread Philipp Borgers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think we should also update the Makefile for the images. As far as I know the Makefile only creates an image for one of the rootfs types. I can provide a patch if you don't have the time to do so. Best Regards Philipp On 30.10.2013 08:24, Bastian B

Re: [OpenWrt-Devel] [PATCH] [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa

2013-10-30 Thread Bruno Randolf
On 10/30/2013 07:24 AM, Bastian Bittorf wrote: > [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 > to squashfs and visa versa > > till now only jffs2 was possible and sysupgrade refuses to change fs-type, > because of bad/invalid content in sysupgrade-file. manually ov

Re: [OpenWrt-Devel] [PATCH] [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa

2013-10-30 Thread Bastian Bittorf
* Philipp Borgers [30.10.2013 10:12]: > I think we should also update the Makefile for the images. As far as I > know the Makefile only creates an image for one of the rootfs types. I > can provide a patch if you don't have the time to do so. please do so, i'am lost while comparing target/linux/a

[OpenWrt-Devel] [PATCH] [platform/au1000] create sysupgrade binary for each file system type

2013-10-30 Thread Philipp Borgers
This patch should prevent overriding of sysupgrade binaries in the bin directory if we build images for more then one file system type. Discussion: https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022108.html Signed-off-by: Philipp Borgers --- target/linux/au1000/image/Makefile |

Re: [OpenWrt-Devel] [PATCH] ar71xx: Enable nand-driver for WNDR4300

2013-10-30 Thread Joris de Vries
Hello all, I just discovered that the addition to the kernel config is not strictly necessary, but then make prompts to confirm the CONFIG_MTD_NAND_AR934X_HW_ECC option. I am unsure how to fix that, maybe one of the readers can shine a light on that? Thanks! Joris On 28 Oct 2013, at 20:53 ,

Re: [OpenWrt-Devel] [PATCH] [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa

2013-10-30 Thread Philipp Borgers
On 30.10.2013 09:28, Bruno Randolf wrote: > On 10/30/2013 07:24 AM, Bastian Bittorf wrote: >> [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 >> to squashfs and visa versa >> >> till now only jffs2 was possible and sysupgrade refuses to change fs-type, >> because of bad

Re: [OpenWrt-Devel] [PATCH] [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa

2013-10-30 Thread Bastian Bittorf
* Philipp Borgers [30.10.2013 14:57]: > We can use the tar option --transform to rename the file system name > inside the tar. I have a patch ready. I can test on the device tomorrow. this sounds like a GNU-extension and maybe breaks portability. bye, bastian

[OpenWrt-Devel] Packaging: installing bare scripts

2013-10-30 Thread Yegor Yefremov
I have a git repo with Python scripts and want to add it as a package to OpenWrt. So far I had defined only define "Package/foo/install", but OpenWrt tries to compile it and fails as it doesn't find any Makefile. Should I create an dummy Makefile or is there any elegant solution? .. PKG_INSTA

Re: [OpenWrt-Devel] Packaging: installing bare scripts

2013-10-30 Thread Jo-Philipp Wich
Hi. Simply define an empty Build/Compile section: define Build/Compile endef ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listin

Re: [OpenWrt-Devel] Packaging: installing bare scripts

2013-10-30 Thread Yegor Yefremov
On Wed, Oct 30, 2013 at 4:37 PM, Jo-Philipp Wich wrote: > Hi. > > Simply define an empty Build/Compile section: > > > define Build/Compile > endef That helped to skip the first error, but now OpenWrt complains about: make[4]: *** No rule to make target `install'. Stop. Yegor __

Re: [OpenWrt-Devel] Packaging: installing bare scripts

2013-10-30 Thread Jo-Philipp Wich
Hi. Yes, remove the PKG_INSTALL:=1 from your Makefile. It tells OpenWrt to invoke "make install" using the upstream Makefile which obviously is not applicable to your situation since there is no upstream Makefile (or even a source build dir) to begin with. HTH, Jow signature.asc Description:

[OpenWrt-Devel] [PATCH] [platform/au1000/sysupgrade] make sysupgrade compatible with all file system types

2013-10-30 Thread Philipp Borgers
This patch adds support for all file system types as discussed earlier: https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022109.html This patch depends on a previous patch: https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022111.html Signed-off-by: Philipp Borgers -

[OpenWrt-Devel] [PATCH 1/2] Update ipset to version 6.20.1

2013-10-30 Thread Nikolay Martynov
Signed-off-by: Nikolay Martynov --- package/network/utils/ipset/Makefile | 4 ++-- .../network/utils/ipset/patches/001-fix-kernel-3.9.patch | 16 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 package/network/utils/ipset/patches/001-fix

[OpenWrt-Devel] [PATCH 2/2] Add patch to fix ipset timeout setting problem

2013-10-30 Thread Nikolay Martynov
Fixes #14325 Signed-off-by: Nikolay Martynov --- .../utils/ipset/patches/001-timeout-size.patch | 28 ++ 1 file changed, 28 insertions(+) create mode 100644 package/network/utils/ipset/patches/001-timeout-size.patch diff --git a/package/network/utils/ipset/patches/001-t

[OpenWrt-Devel] [PATCH] ubox: support specifying swap priority from the command line

2013-10-30 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- block.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/block.c b/block.c index 2289b77..2ef33e8 100644 --- a/block.c +++ b/block.c @@ -1038,8 +1038,8 @@ static int main_info(int argc, char **argv) static int main_swapon

Re: [OpenWrt-Devel] [PATCH] ubox: support specifying swap priority from the command line

2013-10-30 Thread John Crispin
On 31/10/13 07:03, Nathan Hintz wrote: Signed-off-by: Nathan Hintz --- Hi, please use getopt when handling more than 1 argument John block.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/block.c b/block.c index 2289b77..2ef33e8 10064