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

2015-01-23 Thread Karl Palsson
From: Karl Palsson 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 --- Before: $ ./scripts/remote-gdb 19

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

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

[OpenWrt-Devel] OpenWRT SDK and autotools + EclipseCDT development.

2015-01-23 Thread Carlos Ferreira
Hello to all! I'm trying to create a setup for a project using Eclipse-CDT with GNU autotools, from which I would be able to generate binaries for both my host platform and also for a OpenWRT platform, using the appropriate cross-compile. Now, I already know to to create an Eclipse Cross-Compile

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 declara

Re: [OpenWrt-Devel] [PATCH 3/9] kernel: Allow ubi autoattach to run on NOR flash

2015-01-23 Thread Imre Kaloz
On Thu, 22 Jan 2015 11:33:14 +0100, Maxime Ripard wrote: Hi, On Wed, Jan 14, 2015 at 01:37:37PM +0100, Maxime Ripard wrote: On Wed, Jan 14, 2015 at 12:43:25PM +0100, Rafał Miłecki wrote: > On 13 January 2015 at 16:56, Maxime Ripard > wrote: > > Some devices out there only have a NOR flash

[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 ag

[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 --- .../kexec-tools/patches/101-fix-configure_ac.patch | 33 ++

[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 --- .../patches/102-fix-zlib-lzma-decompress.patch | 101 1 file changed, 101 insertions(+) create mode

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

2015-01-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- .../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 a/package/boot/kexec-tools/patches/103-fix-compil

[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 --- 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 --- a/package/boot/kexec-tools/Makefile +++ b/package/boot

[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 --- .../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 a/package/boot/kexec-tools/patches/0004-mips_regdefs.patch b/

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

2015-01-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- 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 2642171..6c7558f 100644

[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 --- .../333-kexec-parameter-from-kexec-tools.patch | 298 .../333-kexec-parameter-from-kexec-tools.patch | 298 2 files changed, 596 insertions(+) create mode 100644 target/linux/generic/patches-3.10/333-kexec-para

[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 figured

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

2015-01-23 Thread John Crispin
On 23/01/2015 16:46, Marc Nicholas wrote: > 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

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 wrote: > Thanks for your help! > > I was actually working on something similar to your (2), using CONFIG_

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 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 'pci:00/:00:00.0' option

[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 maili

[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 --- package/network/utils/curl/Config.in

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 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' >

[OpenWrt-Devel] [PATCH 2/3] kirkwood: fix EA3500 ubi options

2015-01-23 Thread Claudio Leite
Previous options resulted in a nonfunctional image. Signed-off-by: Claudio Leite --- target/linux/kirkwood/profiles/115-router.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/kirkwood/profiles/115-router.mk b/target/linux/kirkwood/profiles/115-router.mk i

[OpenWrt-Devel] [PATCH 1/3] kirkwood: drop port-based VLAN setup

2015-01-23 Thread Claudio Leite
Using port-based VLANs depends on a non-standard swconfig parameter, which compilcates things like LuCI that don't know about it. This patch changes the default to use 802.1q VLANs internally in the switch, but without tagging packets since we have two Ethernet ports. iperf3 tests indicate no diff

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

2015-01-23 Thread Claudio Leite
Signed-off-by: Claudio Leite --- 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 --- a/target/linux/kirkwood/

[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 --- initd/zram.c | 2 +- 1 file changed, 1 insertion(+),

[OpenWrt-Devel] [PATCH] modules: select grace_period config option for nfs-common

2015-01-23 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- package/kernel/linux/modules/fs.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk index 3ae3c2d..1de7acd 100644 --- a/package/kernel/linux/modules/fs.mk +++ b/package/kernel/linux/modules

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

2015-01-23 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- 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 insertions(+), 2 deletion

[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 --- target/linux/kirkwood/image/Makefile | 4 ++-- target/linux/kirkwood/profiles/120-plug.mk | 10 +- 2 files changed, 7 insertions(+), 7 del

[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 --- 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 dcbda71..473955d 100644 --- a/targ

[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 --- .../patches-3.14/180-kirkwood-ethernetn.patch | 33 ++ .../patches-3.18/180-kirkwood-ethernetn.patch | 17 +++

[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 --- package/network/services/hostapd/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packag

[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 --- package/kernel/mac80211/Makefile | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package/kernel/mac

[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 p

[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 --- .../801-libertas-configure-sysfs-link

[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 --- .../mac80211/patches/802-libertas-set-wireless-macaddr.patch | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 package/kernel/mac80211/patches/802-libertas-set-wireless-macad

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

2015-01-23 Thread Nathan Hintz
Signed-off-by: Nathan Hintz --- 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 --- a/target/linux/kirkwood/profile