Re: [OpenWrt-Devel] [PATCH] fix typo in netifd.sh

2015-01-23 Thread Cezary Jackiewicz
Dnia 2015-01-22, o godz. 14:41:33 John Crispin blo...@openwrt.org napisał(a): can you explain your wifi setup so that we can figure out how to properly fix this ? config wifi-device 'radio1' option type 'mac80211' option hwmode '11a' option path

[OpenWrt-Devel] OpenWRT Wiki License

2015-01-23 Thread Riley Baird
Hi, A while ago I submitted content to the OpenWRT wiki, It said that my contributions were under CC BY-SA 3.0. Now, however, it says that they are under CC BY-NC-SA 3.0. Is there a reason for this? Yours thankfully, Riley Baird ___ openwrt-devel

[OpenWrt-Devel] cURL: Update to version 7.40.0

2015-01-23 Thread Christian Schoenebeck
* Update to version 7.40.0 * remove non existing config options around enable/disable HTTPS protocoll * remove --with-ca-path if ssl support disabled * set proxy support as default like all versions before CC did Signed-off-by: Christian Schoenebeck christian.schoeneb...@gmail.com ---

Re: [OpenWrt-Devel] [PATCH] fix typo in netifd.sh

2015-01-23 Thread John Crispin
On 23/01/2015 18:27, Cezary Jackiewicz wrote: Dnia 2015-01-22, o godz. 14:41:33 John Crispin blo...@openwrt.org napisał(a): can you explain your wifi setup so that we can figure out how to properly fix this ? config wifi-device 'radio1' option type 'mac80211' option hwmode

Re: [OpenWrt-Devel] How to handle multiple providers?

2015-01-23 Thread Mats Karrman
Thanks for your help! I was actually working on something similar to your (2), using CONFIG_ variables but there were some trouble with the logic behind including the .config file and then also, all string options are exported with quotes around them and that messed up the DEPENDENCY

[OpenWrt-Devel] [RFC 0/7] Enhancement for kexec of MIPS kernel.

2015-01-23 Thread Yousong Zhou
This is a RFC series trying to - Allow users to select lzma support of kexec-tools. - Allow lzma and gzip support of kexec-tools coexist in one build. - Make the kernel use the specified --command-line parameter from kexec to boot the crashkernel. This series was tested by myself monthes

[OpenWrt-Devel] [RFC 1/7] kexec-tools: add patch for fixing kexec-tools' configure.ac.

2015-01-23 Thread Yousong Zhou
Add necessary quoting to fix the following error when running the generated configure script. checking for lzma_code in -llzma... ./configure: line 4756: ac_fn_c_try_link: command not found Signed-off-by: Yousong Zhou yszhou4t...@gmail.com ---

[OpenWrt-Devel] [RFC 2/7] kexec-tools: add patch for fixing zlib/lzma decompression.

2015-01-23 Thread Yousong Zhou
Let {zlib,lzma}_decompress_file() return NULL if anything wrong happened thus to allow other decompression methods have a chance to try. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- .../patches/102-fix-zlib-lzma-decompress.patch | 101 1 file changed, 101

[OpenWrt-Devel] [RFC 3/7] kexec-tools: add patch for fixing compilation warnings.

2015-01-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- .../patches/103-fix-compilation-warnings.patch | 79 1 file changed, 79 insertions(+) create mode 100644 package/boot/kexec-tools/patches/103-fix-compilation-warnings.patch diff --git

[OpenWrt-Devel] [RFC 5/7] kexec-tools: show up only when KERNEL_KEXEC is enabled.

2015-01-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/boot/kexec-tools/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/boot/kexec-tools/Makefile b/package/boot/kexec-tools/Makefile index 8c1c255..e884661 100644 ---

[OpenWrt-Devel] [RFC 4/7] kexec-tools: remove unnecessary patch 0004-mips_regdefs.patch.

2015-01-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- .../kexec-tools/patches/0004-mips_regdefs.patch| 103 1 file changed, 103 deletions(-) delete mode 100644 package/boot/kexec-tools/patches/0004-mips_regdefs.patch diff --git

[OpenWrt-Devel] [PATCH] procd: increase memory allocated for tmpfs on zram

2015-01-23 Thread Nathan Hintz
Devices with = 32MB of ram get half of memory allocated to zram (up to 16MB). Devices with 32MB of ram get just 8MB of memory allocated to zram. Increase memory allocated to devices with 32MB ram to 16MB. Signed-off-by: Nathan Hintz nlhi...@hotmail.com --- initd/zram.c | 2 +- 1 file changed,

[OpenWrt-Devel] [PATCH 3/3] kirkwood: enable swconfig by default on EA3500

2015-01-23 Thread Claudio Leite
Signed-off-by: Claudio Leite lei...@staticky.com --- target/linux/kirkwood/profiles/115-router.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/kirkwood/profiles/115-router.mk b/target/linux/kirkwood/profiles/115-router.mk index f639451..769284f 100644 ---

[OpenWrt-Devel] [PATCH] kirkwood: modify guruplug profile name

2015-01-23 Thread Nathan Hintz
This makes the naming pattern of the output rootfs and image files consistent with the naming of the DTB file. Signed-off-by: Nathan Hintz nlhi...@hotmail.com --- target/linux/kirkwood/image/Makefile | 4 ++-- target/linux/kirkwood/profiles/120-plug.mk | 10 +- 2 files changed, 7

[OpenWrt-Devel] [PATCH] mac80211: fix fallback to macaddr

2015-01-23 Thread Nathan Hintz
If '/sys/class/ieee80211/phyN' is not a symlink, the call to readlink produces either an empty path (if /sys/class/ieee80211/phyN/device doesn't exist) or a path that begins with '/sys/class/ieee80211' (which does not work with the subsequent line to strip '/sys/devices' from the beginning of the

[OpenWrt-Devel] [PATCH] mac80211: update libertas_sdio package name

2015-01-23 Thread Nathan Hintz
Change the name of the package to match the module name so it matches the package name referenced by the Kirkwood (Guruplug) profile. Signed-off-by: Nathan Hintz nlhi...@hotmail.com --- package/kernel/mac80211/Makefile | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[OpenWrt-Devel] [PATCH] hostapd: add dependency to hostapd-common

2015-01-23 Thread Nathan Hintz
'hostapd-common' is needed by all of the variants for wifi to function correctly (a number of the target profiles simply select 'wpad-mini'). Signed-off-by: Nathan Hintz nlhi...@hotmail.com --- package/network/services/hostapd/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[OpenWrt-Devel] [PATCH] libertas: configure sysfs symlinks

2015-01-23 Thread Nathan Hintz
Update the libertas driver to configure symlinks in sysfs. This enables the driver to be handled correctly by the mac80211/netifd/hostapd scripts. With this patch, the wireless interface is functional on Guruplug Server Plus. Signed-off-by: Nathan Hintz nlhi...@hotmail.com ---

[OpenWrt-Devel] [PATCH] libertas: set wireless macaddr

2015-01-23 Thread Nathan Hintz
Update the wireless macaddr with the value retrieved from the H/W. Signed-off-by: Nathan Hintz nlhi...@hotmail.com --- .../mac80211/patches/802-libertas-set-wireless-macaddr.patch | 11 +++ 1 file changed, 11 insertions(+) create mode 100644

[OpenWrt-Devel] [PATCH] kirkwood: add wpad-mini to guruplug profile

2015-01-23 Thread Nathan Hintz
Signed-off-by: Nathan Hintz nlhi...@hotmail.com --- target/linux/kirkwood/profiles/120-plug.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/kirkwood/profiles/120-plug.mk b/target/linux/kirkwood/profiles/120-plug.mk index 473955d..8b2a016 100644 ---

[OpenWrt-Devel] [PATCH] modules: add lz4 compression support

2015-01-23 Thread Nathan Hintz
Signed-off-by: Nathan Hintz nlhi...@hotmail.com --- package/kernel/linux/modules/lib.mk | 20 target/linux/generic/config-3.18 | 4 .../patches-3.18/262-compressor_kconfig_hack.patch | 16 ++-- 3 files changed, 38

[OpenWrt-Devel] [PATCH] kirkwood: define ethernet aliases in the device tree

2015-01-23 Thread Nathan Hintz
The aliases are needed for u-boot to update the ethernet mac addresses using the values from the u-boot environment. Signed-off-by: Nathan Hintz nlhi...@hotmail.com --- .../patches-3.14/180-kirkwood-ethernetn.patch | 33 ++ .../patches-3.18/180-kirkwood-ethernetn.patch

[OpenWrt-Devel] [PATCH] kirkwood: include kernel images and DTB in rootfs

2015-01-23 Thread Nathan Hintz
For SheevaPlug and GuruPlug devices. Signed-off-by: Nathan Hintz nlhi...@hotmail.com --- target/linux/kirkwood/profiles/120-plug.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/kirkwood/profiles/120-plug.mk b/target/linux/kirkwood/profiles/120-plug.mk index

[OpenWrt-Devel] [PATCH 2/2] scripts: remote-gdb: Fix sysroot detection

2015-01-23 Thread Karl Palsson
From: Karl Palsson ka...@remake.is Changes in target detection results in tweaks to the sysroot detection. Signed-off-by: Karl Palsson ka...@remake.is --- This seemed to have been broken before, even the search for gdb uses a * after the libc pattern. scripts/remote-gdb | 3 ++- 1 file

[OpenWrt-Devel] [PATCH] scripts: remote-gdb: fix detection with multiple targets

2015-01-23 Thread Karl Palsson
From: Karl Palsson ka...@remake.is This script always worked when I had a single target, but has been failing now that I have both atheros and ar71xx targets. This change is clearly not perfect, but I can't work out the regexps any better. Signed-off-by: Karl Palsson ka...@remake.is ---

[OpenWrt-Devel] [RFC 7/7] mips/kexec: parse and use parameters specified by userspace kexec tool.

2015-01-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- .../333-kexec-parameter-from-kexec-tools.patch | 298 .../333-kexec-parameter-from-kexec-tools.patch | 298 2 files changed, 596 insertions(+) create mode 100644

[OpenWrt-Devel] [RFC 6/7] kexec-tools: add choice for selecting lzma support.

2015-01-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/boot/kexec-tools/Config.in |5 + package/boot/kexec-tools/Makefile |6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package/boot/kexec-tools/Config.in b/package/boot/kexec-tools/Config.in index

Re: [OpenWrt-Devel] How to handle multiple providers?

2015-01-23 Thread Alexandru Ardelean
I don't think you need to explicitly include the .config file [in case you're doing that]. Running the build should create those vars cleanly. On Fri, Jan 23, 2015 at 2:53 PM, Mats Karrman mats.dev.l...@gmail.com wrote: Thanks for your help! I was actually working on something similar to

[OpenWrt-Devel] MT7688 -- is anyone working on this already?

2015-01-23 Thread Marc Nicholas
Hi, We have some MT7688 SoCs arriving in the next couple of weeks from our partner in China. Has anyone attempted (or is attempting) to get this up and running? They’re RAMIPS (24kec) but looking for clues about Wifi and the onboard eMMC drivers. It looks like the 7620 already has this