[OpenWrt-Devel] dslite setup problem due to missing statement in dhcpv6.sh
The file dhcpv6.sh in /lib/netifd/proto is missing the statement proto_config_add_string iface-dslite in the function proto_dhcpv6_init_config. Due to the missing statement the parameter iface_dslite is not set in the function proto_dhcpv6_setup and the dslite tunnel cannot be configured. Br, Hans ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [Patch][Device Support] add support for Tplink tl-mr13u
Hi, Zhiqiang On Wed, Jul 03, 2013 at 08:44:44AM +0800, zhiqiang wang wrote: Signed-off-by: Zhiqiang Wang wang.9...@gmail.com --- snip --- target/linux/ar71xx/patches-3.8/610-MIPS-ath79-openwrt-machines.patch (revision 37128) +++ target/linux/ar71xx/patches-3.8/610-MIPS-ath79-openwrt-machines.patch (working copy) snip @@ -516,7 +517,7 @@ + select ATH79_DEV_M25P80 + +config ATH79_MACH_TL_MR11U -+ bool TP-LINK TL-MR11U/TL-MR3040 support ++ bool TP-LINK TL-MR11U/TP-LINK TL-MR13U/TL-MR3040 support This line and a line below ... + select SOC_AR933X + select ATH79_DEV_ETH + select ATH79_DEV_GPIO_BUTTONS --- target/linux/ar71xx/patches-3.8/620-MIPS-ath79-add-Archer-C7-support.patch (revision 37128) +++ target/linux/ar71xx/patches-3.8/620-MIPS-ath79-add-Archer-C7-support.patch (working copy) @@ -15,7 +15,7 @@ + select ATH79_DEV_WMAC + config ATH79_MACH_TL_MR11U - bool TP-LINK TL-MR11U/TL-MR3040 support + bool TP-LINK TL-MR11U/TL-MR13U/TL-MR3040 support Here. They doesn't match, so the patch may not apply cleanly. select SOC_AR933X --- a/arch/mips/ath79/machtypes.h +++ b/arch/mips/ath79/machtypes.h --- target/linux/ar71xx/files/arch/mips/ath79/mach-tl-mr11u.c (revision 37128) +++ target/linux/ar71xx/files/arch/mips/ath79/mach-tl-mr11u.c (working copy) @@ -1,5 +1,5 @@ /* - * TP-LINK TL-MR11U/TL-MR3040 board support + * TP-LINK TL-MR11U/TL-MR3040/TL-MR13U board support Alphabetical order like `TP-LINK TL-MR11U/TL-MR13U/TL-MR3040` should be better. * * Copyright (C) 2011 dongyuqi 729650...@qq.com * Copyright (C) 2011-2012 Gabor Juhos juh...@openwrt.org @@ -32,6 +32,7 @@ #define TL_MR11U_GPIO_USB_POWER 8 #define TL_MR3040_GPIO_USB_POWER 18 +#define TL_MR13U_GPIO_USB_POWER 18 Also here. #define TL_MR11U_KEYS_POLL_INTERVAL 20 /* msecs */ #define TL_MR11U_KEYS_DEBOUNCE_INTERVAL (3 * TL_MR11U_KEYS_POLL_INTERVAL) @@ -136,3 +137,18 @@ MIPS_MACHINE(ATH79_MACH_TL_MR3040, TL-MR3040, TP-LINK TL-MR3040, tl_mr3040_setup); + +static void __init tl_mr13u_setup(void) +{ +common_setup(); + +ath79_register_gpio_keys_polled(-1, TL_MR11U_KEYS_POLL_INTERVAL, +1, tl_mr11u_gpio_keys); +gpio_request_one(TL_MR13U_GPIO_USB_POWER, + GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED, + USB power); +} + +MIPS_MACHINE(ATH79_MACH_TL_MR13U, TL-MR13U, TP-LINK TL-MR13U, + tl_mr13u_setup); + Plaintext emails are preferred for patch submission. I don't have a device of this model, but this patch is corrupted in that tabs in the source code were replaced with blank spaces and long lines were wrapped. Wiki page for SubmittingPatches [1] should help. [1] https://dev.openwrt.org/wiki/SubmittingPatches Regards! -- yousong ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCHv2][packages] protobuf-c: Also build protoc-c utility for host environment
Hi Jonas, On Tue, Jul 2, 2013 at 12:52 PM, Jonas Gorski j...@openwrt.org wrote: On Fri, Jun 28, 2013 at 10:03 AM, Helmut Schaa helmut.sc...@googlemail.com wrote: Signed-off-by: Helmut Schaa helmut.sc...@googlemail.com Some info why you need a host build would be nice, because currently I don't see the point of it as I don't see where it is used. I'm trying to build https://github.com/gkos/riemann-c-client for OpenWrt and it uses the protoc-c binary during compile time to create protocol stubs. Helmut ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] packages: curl: Allow fine grained protocol configuration
On Tue, Jul 2, 2013 at 12:30 PM, Jonas Gorski j...@openwrt.org wrote: On Wed, May 29, 2013 at 9:52 AM, Helmut Schaa helmut.sc...@googlemail.com wrote: On Tue, May 14, 2013 at 11:19 AM, Helmut Schaa helmut.sc...@googlemail.com wrote: Disabling unused protocols in libcurl can save more then 100K, hence add some build time config options to enable/disable protocols. Any update on this patch? Do the default values match what is used when not explicitly set? Might make sense to not change the feature set of the built lib unless the user changes options, to keep surprises for users at a minimum. I tried to preserve the default option set, yes. Helmut ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] dslite setup problem due to missing statement in dhcpv6.sh
Thanks. Should be fixed now. Cheers, Steven___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [include] include: clear the line before outputting the progress message
Signed-off-by: John Szakmeister j...@szakmeister.net --- include/scan.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) I noticed that the progress output was stepping all over itself, which made it hard to read. This uses a standard escape sequence to clear the line first. -John diff --git a/include/scan.mk b/include/scan.mk index b2b202d..0a43a92 100644 --- a/include/scan.mk +++ b/include/scan.mk @@ -13,7 +13,7 @@ FILELIST:=$(TMP_DIR)/info/.files-$(SCAN_TARGET)-$(SCAN_COOKIE) ifeq ($(IS_TTY),1) define progress - printf \033[M\r$(1) 2; + printf \033[2K\033[M\r$(1) 2; endef else define progress -- 1.8.3.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [scripts] scripts/feeds: ensure that --ff is enabled
Users may have merge.ff set to false, which will force merge commits to be generated. The intent here is to have a fast-forward merge when possible, so let's make sure fast-forwards are enabled. Signed-off-by: John Szakmeister j...@szakmeister.net --- scripts/feeds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) This is mainly about working around user preferences to some degree, but I think it's the right thing to do. -John diff --git a/scripts/feeds b/scripts/feeds index 383a0d8..680500d 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -119,7 +119,7 @@ my %update_method = ( 'src-git' = { 'init' = git clone --depth 1 '%s' '%s', 'init_branch' = git clone --depth 1 --branch '%s' '%s' '%s', - 'update'= git pull, + 'update'= git pull --ff, 'controldir'= .git, 'revision' = git show --abbrev-commit HEAD | head -n 1 | cut -d ' ' -f 2 | tr -d '\n'}, 'src-gitsvn' = { -- 1.8.3.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [package] lldpd: upgrade to 0.7.5
lldpd 0.7.1 has several alignment issues that trip a system configured to fault on misaligned accesses. Version 0.7.5 fixes that along with a few other minor issues. Signed-off-by: John Szakmeister j...@szakmeister.net --- package/network/services/lldpd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) I ran into several issues on an ARM platform where we fault on misaligned accesses. The new version fixes those issues. -John diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile index 024116c..d46332a 100644 --- a/package/network/services/lldpd/Makefile +++ b/package/network/services/lldpd/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lldpd -PKG_VERSION:=0.7.1 +PKG_VERSION:=0.7.5 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://media.luffy.cx/files/lldpd -PKG_MD5SUM:=cee0e2ae7d4b8bf25ae234d9536052b8 +PKG_MD5SUM:=2b3e91264dd7605b498051af6b749b47 PKG_MAINTAINER:=Jo-Philipp Wich j...@openwrt.org -- 1.8.3.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel