Re: [OpenWrt-Devel] [PATCH 1/4] [package] uboot-kirkwood: update to 2013.10

2013-12-15 Thread Alexander Couzens
I've tested it the dockstar uboot as well the ubifs commands. The kirkwood target should depend on target images options include zImage and include dtb into rootfs. Best, lynxis -- Alexander Couzens mail: lyn...@fe80.eu sip/jabber: lyn...@c-base.org mobile: +4915123277221 __

[OpenWrt-Devel] tl-wr1043nd-v2

2013-12-15 Thread Daniel A. Nagy
Hi, I have noticed that the trunk already supports v2 hardware of TP-Link's TL WR-1043ND router, but attitude adjustment does not. My question is which patches are the ones responsible for it and whether it is possible/reasonable to backport them? Cheers, Daniel signature.asc Description: Ope

[OpenWrt-Devel] [PATCH 7/7] firmware-utils: check_magic() in buffalo-lib.c always return 0

2013-12-15 Thread Etienne CHAMPETIER
spotted with cppcheck Signed-off-by: Etienne CHAMPETIER --- tools/firmware-utils/src/buffalo-lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/firmware-utils/src/buffalo-lib.c b/tools/firmware-utils/src/buffalo-lib.c index 29aee9f..add3a7e 100644 --- a/tools/fi

[OpenWrt-Devel] [PATCH 3/7] ead: set_nonblock() is doing nothing (typo)

2013-12-15 Thread Etienne CHAMPETIER
spotted with cppcheck Signed-off-by: Etienne CHAMPETIER --- package/network/services/ead/src/ead-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/ead/src/ead-client.c b/package/network/services/ead/src/ead-client.c index 54d8b13..6d7e07d 1006

[OpenWrt-Devel] [PATCH 5/7] firmware-utils: clean up

2013-12-15 Thread Etienne CHAMPETIER
Remove unused variables Remove some memory/resource leak spotted with cppcheck Signed-off-by: Etienne CHAMPETIER --- tools/firmware-utils/src/airlink.c | 48 + tools/firmware-utils/src/bcmalgo.c | 2 +- tools/firmware-utils/src/buffalo-tftp.c | 2 --

[OpenWrt-Devel] [PATCH 6/7] firmware-utils: remove unused functions

2013-12-15 Thread Etienne CHAMPETIER
spotted with cppcheck Signed-off-by: Etienne CHAMPETIER --- tools/firmware-utils/src/bcmalgo.c | 8 tools/firmware-utils/src/makeamitbin.c | 19 --- tools/firmware-utils/src/mkcsysimg.c | 11 --- tools/firmware-utils/src/mkmylofw.c| 11 --- too

[OpenWrt-Devel] [PATCH 0/7] Cleanup c code

2013-12-15 Thread Etienne CHAMPETIER
Hi These patches cleanup code inside openwrt repo All errors spotted with cppcheck http://cppcheck.sourceforge.net/ It's only compile tested, and maybe some unused variable should be used and not removed Etienne CHAMPETIER (7): swconfig: remove useless variables, return -1 on errors ead: cle

[OpenWrt-Devel] [PATCH 2/7] ead: clean up

2013-12-15 Thread Etienne CHAMPETIER
Remove unused variables Correct some (non important) memory leaks Remove fclose(NULL) Correct possible out of bound access spotted with cppcheck Signed-off-by: Etienne CHAMPETIER --- package/network/services/ead/src/ead.c | 10 +- package/network/services/ead/src/tinysrp/bn

[OpenWrt-Devel] [PATCH 4/7] fbtest: Correct pseudo resource leak in fbtest.c

2013-12-15 Thread Etienne CHAMPETIER
spotted with cppcheck Signed-off-by: Etienne CHAMPETIER --- package/utils/fbtest/src/fbtest.c | 5 + 1 file changed, 5 insertions(+) diff --git a/package/utils/fbtest/src/fbtest.c b/package/utils/fbtest/src/fbtest.c index 6e9c2f8..71971a7 100644 --- a/package/utils/fbtest/src/fbtest.c +++

[OpenWrt-Devel] [PATCH 1/7] swconfig: remove useless variables, return -1 on errors

2013-12-15 Thread Etienne CHAMPETIER
spotted with cppcheck Signed-off-by: Etienne CHAMPETIER --- package/network/config/swconfig/src/cli.c | 5 ++--- package/network/config/swconfig/src/swlib.c | 6 -- package/network/config/swconfig/src/uci.c | 2 -- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/package/n

[OpenWrt-Devel] [PATCH v2] cns3xxx: various dwc (OTG) driver fixups

2013-12-15 Thread Tim Harvey
v2 - modify files instead of adding a patch Signed-off-by: Tim Harvey --- .../linux/cns3xxx/files/drivers/usb/dwc/otg_attr.c | 7 +- .../linux/cns3xxx/files/drivers/usb/dwc/otg_cil.c | 39 +++- .../linux/cns3xxx/files/drivers/usb/dwc/otg_cil.h | 6 +- .../linux/cns3xxx/files/drivers/usb/d

[OpenWrt-Devel] [PATCH 2/4] kirkwood: update support for iconnect

2013-12-15 Thread Luka Perkov
Previous patch was pushed due to false user report. While at it fix alphabetic ordering. The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot environment if OpenWrt's uboot package is used. In order to flash the image run following commands in uboot shell: nand erase 0x20

[OpenWrt-Devel] [PATCH 3/4] kirkwood: update support for ib62x0

2013-12-15 Thread Luka Perkov
The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot environment if OpenWrt's uboot package is used. In order to flash the image run following commands in uboot shell: nand erase 0x20 0xfe0 ubi part root ; ubi remove rootfs ; ubi create rootfs tftpboot 0x80 ope

[OpenWrt-Devel] [PATCH 4/4] kirkwood: update support for dockstar

2013-12-15 Thread Luka Perkov
The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot environment if OpenWrt's uboot package is used. In order to flash the image run following commands in uboot shell: nand erase 0x20 0xfe0 ubi part root ; ubi remove rootfs ; ubi create rootfs tftpboot 0x80 ope

[OpenWrt-Devel] [PATCH 1/4] [package] uboot-kirkwood: update to 2013.10

2013-12-15 Thread Luka Perkov
Tested on: * Cloud Engines Pogoplug E02 * RaidSonic ICY BOX IB-NAS62x0 * Iomega Iconnect Some users are avoiding to replace their bootloader, because of that add support for second stage u-boot image. Having ubifs capable bootloader is required in order to boot current OpenWrt trunk. While at

[OpenWrt-Devel] [PATCH] eglibc: correct hostapd makefile

2013-12-15 Thread Etienne CHAMPETIER
It was building before so maybe we should not change Makefile? see hostapd-20131120/hostapd/Makefile and CONFIG_ELOOP maybe Signed-off-by: Etienne CHAMPETIER --- package/network/services/hostapd/Makefile | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/network/se

[OpenWrt-Devel] [PATCH] Update authsae to latest version

2013-12-15 Thread Etienne CHAMPETIER
Only compile tested but the changes are minimal https://github.com/cozybit/authsae/compare/f5693a3...1d1a122 Signed-off-by: Etienne CHAMPETIER --- package/network/services/authsae/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/authsae/Ma

Re: [OpenWrt-Devel] [PATCH][packages]i2c-tools: fix TARGET_CPPFLAGS

2013-12-15 Thread Luka Perkov
Hi John, On Fri, Dec 06, 2013 at 04:37:37PM -0500, John Vogel wrote: > The Makefile for i2c-tools sets TARGET_CPPFLAGS to point to the linux source > headers rather that the i2c-tools header, causing build failure. > > This patch changes TARGET_CPPFLAGS to point to the packages include dir. This

Re: [OpenWrt-Devel] [PATCH v2 1/3] sysupgrade: let force be more forceful with multiple --force/-F options

2013-12-15 Thread Bastian Bittorf
* Andreas Mohr [15.12.2013 17:09]: > I'm feeling a bit uneasy about changing that assignment > into an increment of a variable > that thereby loses its initialization (or is it already initialized > elsewhere?). yes, it gets an init at scriptstart. - bye, bastian

Re: [OpenWrt-Devel] [PATCH v2 1/3] sysupgrade: let force be more forceful with multiple --force/-F options

2013-12-15 Thread Andreas Mohr
On Sun, Dec 15, 2013 at 01:49:47AM -0800, Cody P Schafer wrote: > We already initialize FORCE to 0 at the top of the 'sysupgrade' script. > > export HELP=0 > export FORCE=0 > export TEST=0 Ah ok, nevermind then :) (didn't have ready access to sources ATM) Thanks, Andreas Mohr _

[OpenWrt-Devel] Has buildbot died on Dec 8th?

2013-12-15 Thread Hannu Nyman
Has the buildbot system died a week ago? No new trunk snapshots since then and no response from http://buildbot.openwrt.org:8010/ ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-

Re: [OpenWrt-Devel] [PATCH]netifd: Fix bridge mtu setting

2013-12-15 Thread Hans Dedecker
Thx for the feedback, I'll rework the patch Hans On Fri, Dec 13, 2013 at 9:58 PM, Felix Fietkau wrote: > On 2013-12-13 12:13, Hans Dedecker wrote: > > Apply the bridge MTU setting when set after adding a bridge > > member as the kernel overrides the bridge mtu with the bridge > > member MTU >

Re: [OpenWrt-Devel] [PATCH v2 1/3] sysupgrade: let force be more forceful with multiple --force/-F options

2013-12-15 Thread Cody P Schafer
>> diff --git a/package/base-files/files/sbin/sysupgrade >> b/package/base-files/files/sbin/sysupgrade >> index 56e9a92..033bd35 100755 >> --- a/package/base-files/files/sbin/sysupgrade >> +++ b/package/base-files/files/sbin/sysupgrade >> @@ -32,7 +32,7 @@ while [ -n "$1" ]; do >> -r

Re: [OpenWrt-Devel] [PATCH v2 1/3] sysupgrade: let force be more forceful with multiple --force/-F options

2013-12-15 Thread Andreas Mohr
Hi, On Sun, Dec 15, 2013 at 08:57:29AM +0100, openwrt-devel-requ...@lists.openwrt.org wrote: > Date: Sat, 14 Dec 2013 23:59:28 -0800 > From: Cody P Schafer > > Signed-off-by: Cody P Schafer > --- > package/base-files/files/sbin/sysupgrade | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletio

[OpenWrt-Devel] [PATCH] [packages] aircrack-ng: add missing dependency +wireless-tools

2013-12-15 Thread Gui Iribarren
Without this patch, airodump-ng, aireplay-ng and other interesting tools fail with "Can't find wireless tools, exiting." Signed-off-by: Gui Iribarren --- Some utilities have no such dependency (i.e. packetforge-ng) but the same logic applies to libpcap, which is needed only for some tools, and

Re: [OpenWrt-Devel] [PATCH 0/8] Improve Belkin F7Dxxxx support

2013-12-15 Thread Cody P Schafer
Anyone have any opinions on this? Anything need changing? Any recomendations? A related question: - I'd like to move all the trx handling logic into a common header. 1) is there anything obvious that would prevent this? 2) where should I put the header? On Thu, Dec 5, 2013 at 2:45 AM, Cody P Scha

[OpenWrt-Devel] [PATCH v2 1/3] sysupgrade: let force be more forceful with multiple --force/-F options

2013-12-15 Thread Cody P Schafer
Signed-off-by: Cody P Schafer --- package/base-files/files/sbin/sysupgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 56e9a92..033bd35 100755 --- a/package/base-files/files/sbin

[OpenWrt-Devel] [PATCH v2 2/3] upgrade/common: force mtd when sysupgrade gets -F -F (2 forces)

2013-12-15 Thread Cody P Schafer
Signed-off-by: Cody P Schafer --- package/base-files/files/lib/upgrade/common.sh | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 15ee703..c87c12b 100644 --- a/packag

[OpenWrt-Devel] [PATCH v2 3/3] sysupgrade: document new force behavior.

2013-12-15 Thread Cody P Schafer
--- package/base-files/files/sbin/sysupgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 033bd35..956b796 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sys

[OpenWrt-Devel] [PATCH v2 0/3] let sysupgrade's --force also trigger mtd --force

2013-12-15 Thread Cody P Schafer
Normal force (one -F flag) is unchanged in behavior and only overrides the sysupgrade checks. Force with two or more flags also passes --force to mtd, overriding some of it's checks. This was useful in testing of the belkin f7d patches, and seems like a good idea. v2: - add documentation