[OpenWrt-Devel] [PATCH] ramips: Fix failsafe switch workaround for RT5350 introduced in r42179.

2015-03-07 Thread Vittorio G (VittGam)
This patch fixes the failsafe switch workaround to avoid soft-bricking routers where the only exposed Ethernet port is not 0 (it is 4 for the HT-TM02 for instance). This is a follow-up of http://patchwork.ozlabs.org/patch/424017/ (sorry for the delay). Signed-off-by: Vittorio Gambaletta diff

[OpenWrt-Devel] [PATCH] ar71xx: Fix LED polarity for the TP-LINK TL-MR13U.

2015-03-07 Thread Vittorio G (VittGam)
Please also backport to Barrier Breaker (this same patch applies there too). Signed-off-by: Vittorio Gambaletta diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-mr13u.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-mr13u.c index 8b03645..84b6937 100644 --- a/target/linux/ar7

[OpenWrt-Devel] [PATCH] [BB] Backport: ar71xx: Fix board detection for the TP-LINK TL-MR13U.

2015-03-07 Thread Vittorio G (VittGam)
Signed-off-by: Vittorio Gambaletta --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -646,7 +646,7 @@ *"TL-MR11U") name="tl-mr11u" ;; - *"TL-MR13U") + *"TL-MR13U v1") name="t

[OpenWrt-Devel] [PATCH] ar71xx: Fix board detection for the TP-LINK TL-MR13U.

2015-03-07 Thread Vittorio G (VittGam)
Signed-off-by: Vittorio Gambaletta diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 52acc6b..fb047b4 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -738,7 +738,7 @@ ar71

[OpenWrt-Devel] [PATCH] kmod-usb-dwc2: depends on udc-core (kmod-usb-gadget)

2015-03-07 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- package/kernel/linux/modules/usb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index acb9213..71661dc 100644 --- a/package/kernel/linux/modules/usb.mk +++

[OpenWrt-Devel] request review for my pull request

2015-03-07 Thread Xuefer
https://github.com/openwrt-mirror/openwrt/pull/5 I tried my best to clean up and organize the changes but I'm not sure if it's good for you, please review and apply it if acceptable ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://li

[OpenWrt-Devel] [PATCH] ARV752DPW22: enable netconsole in u-boot if 192.168.1.2 is reachable

2015-03-07 Thread Tobias Göbel
Hi luka, just added netconsole support to ARV752DPW22 (should work on the other lantiq devices too). The device boot's and tries to ping the ip set in $serverip if this works, all input / output and errors are displayed on the netconsole. If it didn't work serial will be used to display everything

[OpenWrt-Devel] [PATCH 0/3] uci: a few fixes.

2015-03-07 Thread Yousong Zhou
The 2nd patch fixes a regression introduced lately. The 3rd one fixes the following code in LuCI [1]. local uci = require 'uci' cursor = uci.cursor I tested them on BB branch, but not sure why the bug was not triggered before since the code has been there for quite a long time.

[OpenWrt-Devel] [PATCH 3/3] lua: return module table instead of boolean value on require('uci').

2015-03-07 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- lua/uci.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/uci.c b/lua/uci.c index 8ace746..6ba7da0 100644 --- a/lua/uci.c +++ b/lua/uci.c @@ -994,8 +994,9 @@ luaopen_uci(lua_State *L) /* create module */ lua_newtable(

[OpenWrt-Devel] [PATCH 1/3] testenv: test for exit status of "uci export".

2015-03-07 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- test/tests.d/010_export | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/tests.d/010_export b/test/tests.d/010_export index 259f988..beb0f6c 100644 --- a/test/tests.d/010_export +++ b/test/tests.d/010_export @@ -1,6 +1,14 @@ te

[OpenWrt-Devel] [PATCH 2/3] cli: fix return value of package_cmd().

2015-03-07 Thread Yousong Zhou
It's a bug revealed by commit 446e774 "cli: properly unload package before quit". The current code would exit with value 1 even if uci_export() succceeded. Signed-off-by: Yousong Zhou --- cli.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cli.c b/cli.c index b647

[OpenWrt-Devel] [PATCH 4/4] ncm, qmi, mbim: Add dependency on wwan package

2015-03-07 Thread Matti Laakso
The wwan package holds the hotplug script to set mobile broadband interfaces (un)available. Add it as a dependency to comgt-ncm, uqmi and umbim. Signed-off-by: Matti Laakso --- package/network/utils/comgt/Makefile | 2 +- package/network/utils/umbim/Makefile | 2 +- package/network/utils/uqmi/Ma

[OpenWrt-Devel] [PATCH 3/4] ncm: Remove unnecessary proto_set_available commands

2015-03-07 Thread Matti Laakso
Interface should not be set unavailable in all error cases, returning 1 is enough. Signed-off-by: Matti Laakso --- package/network/utils/comgt/files/ncm.sh | 5 - 1 file changed, 5 deletions(-) diff --git a/package/network/utils/comgt/files/ncm.sh b/package/network/utils/comgt/files/ncm.sh

[OpenWrt-Devel] [PATCH 2/4] wwan: Improve USB modem hotplug script

2015-03-07 Thread Matti Laakso
Adds ncm proto to the list of checked protocols, sets interfaces unavailable on device removal and removes the unnecessary ifup command. Signed-off-by: Matti Laakso --- package/network/utils/wwan/files/wwan.usbmisc | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/

[OpenWrt-Devel] [PATCH 0/4] Small fixes to mobile protocol handling

2015-03-07 Thread Matti Laakso
Here's a set of patches to mobile broadband protocols. The automatic startup of the network connections which use a /dev/cdc-wdm* control device is handled by the USB hotplug script in the wwan package. Therefore wwan should be a dependency of ncm, qmi, and mbim protocols. I also moved the USB da