Re: [OpenWrt-Devel] tune kernel commandline for headless/embedded systems / oops=panic panic=10 / panic_on_oom=1

2013-01-04 Thread Imre Kaloz
Hi, On Thu, 03 Jan 2013 11:57:56 +0100, Bastian Bittorf bitt...@bluebottle.com wrote: oops=panic panic=10 / panic_on_oom=1 Reply-To: X-Editor: vi http://ex-vi.sourceforge.net/ In our production networks we had issues that some device needed a manual restart, because there where

[OpenWrt-Devel] how to get config option value on model ListValue!

2013-01-04 Thread . Elvis
hi all , The following is my dhcp config config host option name 'q' option mac '64:31:50:93:f5:2c' option ip '192.168.11.123' config host option name 'w' option mac '64:31:50:93:f5:2c' option ip '192.168.11.124' how to get the value of the

[OpenWrt-Devel] [PATCH][mac80211]b43: UPDATED fix for Linksys E1000 V1 GPIOs

2013-01-04 Thread hhm
UPDATE: This patch INVALIDATES the first one I sent for this fix. The other one made the LEDs behave properly, however the wireless did not work. This one fixes it, the wireless work properly. (It uses the value of the leddc nvram var, 0x, of the Linksys E1000 v1; see

[OpenWrt-Devel] [PATCH][toolchain/uclibc] build: enable ld.so standalone (LDSO_STANDALONE_SUPPORT)

2013-01-04 Thread hhm
This patch enables the LDSO_STANDALONE_SUPPORT kconfig option of uClibc by default. This can be useful e.g. for faking chroot of a rootfs, for example, using proot (http://proot.me/ https://github.com/cedric-vincent/PRoot). Right now this can be done by hacking the makefiles (for example the way

Re: [OpenWrt-Devel] [PATCH] mac80211: add dependency of PACKAGE_MAC80211_DEBUGFS

2013-01-04 Thread Felix Fietkau
On 2012-12-24 3:46 PM, Stefan Hellermann wrote: I wanted to use some statistics from /sys/kernel/debug/ieee80211, so I enabled PACKAGE_MAC80211_DEBUGFS. But I could not use it, because CONFIG_KERNEL_DEBUG_FS was not set and it's a little bit hidden. After manually setting

Re: [OpenWrt-Devel] [PATCH][toolchain/uclibc] build: enable ld.so standalone (LDSO_STANDALONE_SUPPORT)

2013-01-04 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 How does it affect the size of the libc binaries? ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDm0OcACgkQdputYINPTPP7rwCeKCGZ7kQiIwpAz1B/9e+HZVRD

Re: [OpenWrt-Devel] how to get config option value on model ListValue!

2013-01-04 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. how to get the value of the option name? Can i use foreach? follow is my program [...] m.uci:foreach(dhcp, host, function(section) profile:value(section['name']) end) ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10

[OpenWrt-Devel] [PATCH] [packages] mosquitto: Upgrade MQTT tools to v1.1

2013-01-04 Thread Karl Palsson
From: Karl Palsson ka...@remake.is This is a bugfix and feature release. Full release notes at http://mosquitto.org/2012/12/version-1-1-released/ This also removes some unnecessary flags included by mistake in an earlier update. As before, I volunteer to maintain this package. Signed-off-by:

[OpenWrt-Devel] [PATCH] [packages] add PageKite C, and libev

2013-01-04 Thread Karl Palsson
From: Karl Palsson ka...@remake.is Adds the PageKite C implementation and it's dependency, libev. From the package description: PageKite is a system for running publicly visible servers (generally web servers) on machines without a direct connection to the Internet, such as mobile devices or

Re: [OpenWrt-Devel] tune kernel commandline for headless/embedded systems / oops=panic panic=10 / panic_on_oom=1

2013-01-04 Thread Bastian Bittorf
* Imre Kaloz ka...@openwrt.org [04.01.2013 16:27]: I'm fine with the idea but not the way you did it, because if you're serial attached this gets annoying quite fast. Although we could make this a config option and do all kind of magic to set it based on that, I suggest swapping your

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Jonathan Bither
Hauke, I tested this patch today and just wanted to give some feedback. The patch applies cleanly and installs everything correctly, however it does not activate the swap on boot up. Executing '/etc/init.d/zram start' successfully starts. There is also a uci error when starting when the

[OpenWrt-Devel] [PATCH v2] mac80211: add dependency of PACKAGE_MAC80211_DEBUGFS

2013-01-04 Thread Stefan Hellermann
mac80211: add dependency of PACKAGE_MAC80211_DEBUGFS I wanted to use some statistics from /sys/kernel/debug/ieee80211, so I enabled PACKAGE_MAC80211_DEBUGFS. But I could not use it, because CONFIG_KERNEL_DEBUG_FS was not set and it's a little bit hidden. After manually setting

[OpenWrt-Devel] [PATCH variant a] mac80211: uncouple ATH_DEBUGFS from MAC80211_DEBUGFS

2013-01-04 Thread Stefan Hellermann
uncouple ATH_DEBUGFS from MAC80211_DEBUGFS MAC80211_DEBUGFS selects the atheros wireless debugfs options, but not the debugfs options from rt2x00-lib and b43. Make it consistent and add a ATH_DEBUGFS option. ATH_DEBUG needs ATH_DEBUGFS, so select it. When the new ATH_DEBUGFS is disabled and

[OpenWrt-Devel] [PATCH variant b] mac80211: remove a few config options

2013-01-04 Thread Stefan Hellermann
remove a few config settings from mac80211 MAC80211_DEBUGFS selects the atheros wireless debugfs options, but not the debugfs options from rt2x00-lib and b43. Make it consistent and remove all driver_DEBUGFS option. ATH_DEBUG needs MAC80211_DEBUGFS, so select it. Signed-off-by: Stefan

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Bastian Bittorf
* Hauke Mehrtens ha...@hauke-m.de [03.01.2013 21:30]: I would not add it as a global option, but as a module, so it could also be used by someone not building his own image, but using a prebuild image, with kernel 3.6.11 I had a problem building this as a module. The swap utils e.g. from

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Felix Fietkau
On 2013-01-03 9:17 PM, Hauke Mehrtens wrote: diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 2374d19..b3bf6fd 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -729,3 +729,40 @@ define KernelPackage/ikconfig/description

Re: [OpenWrt-Devel] [PATCH v2] mac80211: add dependency of PACKAGE_MAC80211_DEBUGFS

2013-01-04 Thread Felix Fietkau
On 2013-01-04 5:20 PM, Stefan Hellermann wrote: mac80211: add dependency of PACKAGE_MAC80211_DEBUGFS I wanted to use some statistics from /sys/kernel/debug/ieee80211, so I enabled PACKAGE_MAC80211_DEBUGFS. But I could not use it, because CONFIG_KERNEL_DEBUG_FS was not set and it's a little

[OpenWrt-Devel] [RFC][PATCH][v2] Asterisk 11 package

2013-01-04 Thread Jiri Slachta
Hello everyone, I've made newer version of Asterisk package. Previous version located at http://patchwork.openwrt.org/patch/2898/ had some issues with crosscompiling Asterisk's SIP stack PJSIP. Current version should not suffer from incorrectly compiled PJSIP built inside the Asterisk. I

[OpenWrt-Devel] [PATCH] Added default configurations for enabling wifi on omap4 by default

2013-01-04 Thread dvrao
Hi Imre Kaloz, With default configurations omap4(Pandaboard) WIFI is not working and Ethernet is in lan group. So added default configuration files of a working router(pandaboard)to change eth0 to wan and added working wlan configs. Signed-off-by: dvrao dv...@gytechs.com Index:

Re: [OpenWrt-Devel] [PATCH] Added default configurations for enabling wifi on omap4 by default

2013-01-04 Thread Felix Fietkau
On 2013-01-04 9:11 PM, dvrao wrote: Hi Imre Kaloz, With default configurations omap4(Pandaboard) WIFI is not working and Ethernet is in lan group. So added default configuration files of a working router(pandaboard)to change eth0 to wan and added working wlan configs. Signed-off-by:

Re: [OpenWrt-Devel] [PATCH] Added default configurations for enabling wifi on omap4 by default

2013-01-04 Thread dvrao
On Saturday 05 January 2013 01:48 AM, Felix Fietkau wrote: On 2013-01-04 9:11 PM, dvrao wrote: Hi Imre Kaloz, With default configurations omap4(Pandaboard) WIFI is not working and Ethernet is in lan group. So added default configuration files of a working router(pandaboard)to change eth0 to

Re: [OpenWrt-Devel] [PATCH] Added default configurations for enabling wifi on omap4 by default

2013-01-04 Thread Felix Fietkau
On 2013-01-04 9:37 PM, dvrao wrote: On Saturday 05 January 2013 01:48 AM, Felix Fietkau wrote: On 2013-01-04 9:11 PM, dvrao wrote: Hi Imre Kaloz, With default configurations omap4(Pandaboard) WIFI is not working and Ethernet is in lan group. So added default configuration files of a working

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Damian Kaczkowski
Hi. On 4 January 2013 18:25, Bastian Bittorf bitt...@bluebottle.com wrote: - MKSWAP and SWAPONOFF has to be a dependency, the old package compcache does this via DEPENDS:=@BUSYBOX_CONFIG_SWAPONOFF @BUSYBOX_CONFIG_MKSWAP I think better dependency would be: define

Re: [OpenWrt-Devel] [PATCH] Added default configurations for enabling wifi on omap4 by default

2013-01-04 Thread dvrao
On Saturday 05 January 2013 02:19 AM, Felix Fietkau wrote: On 2013-01-04 9:37 PM, dvrao wrote: On Saturday 05 January 2013 01:48 AM, Felix Fietkau wrote: On 2013-01-04 9:11 PM, dvrao wrote: Hi Imre Kaloz, With default configurations omap4(Pandaboard) WIFI is not working and Ethernet is in

Re: [OpenWrt-Devel] [PATCH] Added default configurations for enabling wifi on omap4 by default

2013-01-04 Thread Daniel Dickinson
Hi dvrao, Generally in OpenWrt wireless is not configured automatically even with a default disable config. wifi detect is run to determine info about the wlan interface and set default parameters, but left disabled. It shouldn't be on the filesystem. Regards, Daniel On Fri, Jan 4, 2013 at

Re: [OpenWrt-Devel] [PATCH] Added default configurations for enabling wifi on omap4 by default

2013-01-04 Thread Felix Fietkau
On 2013-01-04 10:04 PM, dvrao wrote: On Saturday 05 January 2013 02:19 AM, Felix Fietkau wrote: On 2013-01-04 9:37 PM, dvrao wrote: On Saturday 05 January 2013 01:48 AM, Felix Fietkau wrote: On 2013-01-04 9:11 PM, dvrao wrote: Hi Imre Kaloz, With default configurations omap4(Pandaboard)

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Damian Kaczkowski
On 4 January 2013 21:52, Damian Kaczkowski damian.kaczkow...@gmail.comwrote: On 4 January 2013 18:25, Bastian Bittorf bitt...@bluebottle.com wrote: - MKSWAP and SWAPONOFF has to be a dependency, the old package compcache does this via DEPENDS:=@BUSYBOX_CONFIG_SWAPONOFF

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Daniel Dickinson
On 13-01-04 04:23 PM, Damian Kaczkowski wrote: On 4 January 2013 21:52, Damian Kaczkowski damian.kaczkow...@gmail.comwrote: On 4 January 2013 18:25, Bastian Bittorf bitt...@bluebottle.com wrote: - MKSWAP and SWAPONOFF has to be a dependency, the old package compcache does this via

Re: [OpenWrt-Devel] [PATCH] Added default configurations for enabling wifi on omap4 by default

2013-01-04 Thread dvrao
On Saturday 05 January 2013 02:49 AM, Felix Fietkau wrote: On 2013-01-04 10:04 PM, dvrao wrote: On Saturday 05 January 2013 02:19 AM, Felix Fietkau wrote: On 2013-01-04 9:37 PM, dvrao wrote: On Saturday 05 January 2013 01:48 AM, Felix Fietkau wrote: On 2013-01-04 9:11 PM, dvrao wrote: Hi

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Stefan Hellermann
I think better dependency would be: define KernelPackage/zram/config select BUSYBOX_CONFIG_MKSWAP if !PACKAGE_swap-utils select BUSYBOX_CONFIG_SWAPONOFF if !PACKAGE_swap-utils endef btw. @devs - is there an openwrt DEPENDS:= equivalent for select symbol if expr ? Yes there is:

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Damian Kaczkowski
On 4 January 2013 23:46, Stefan Hellermann ste...@the2masters.de wrote: I think better dependency would be: define KernelPackage/zram/config select BUSYBOX_CONFIG_MKSWAP if !PACKAGE_swap-utils select BUSYBOX_CONFIG_SWAPONOFF if !PACKAGE_swap-utils endef btw. @devs - is

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Stefan Hellermann
I wanted to use such DEPENDS type instead of define (...)/config block but unfortunately after converting Kconfig selects to equivalent openwrt DEPENDS:, eg: DEPENDS:=+@!PACKAGE_swap-utils:BUSYBOX_CONFIG_MKSWAP +@!PACKAGE_swap-utils:BUSYBOX_CONFIG_SWAPONOFF I got this in opkg control file:

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Damian Kaczkowski
On 5 January 2013 01:37, Stefan Hellermann ste...@the2masters.de wrote: That's easy: DEPENDS:=+!BUSYBOX_CONFIG_MKSWAP:swap-utils the @ is only needed if you want to select a symbol. I have never watched into a opkg control file, otherwise I would have seen that busybox depends will not

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Damian Kaczkowski
On 5 January 2013 02:36, Damian Kaczkowski damian.kaczkow...@gmail.comwrote: I think this has to be workaround/pached on buildroot first so it allows DEPENDS like above and generates proper opkg control files in such situations. Eg: a) It should strip the PACKAGE_ portion from opkg control

[OpenWrt-Devel] [PATCH] cns3xxx: fix inverted gpio line config

2013-01-04 Thread Tim Harvey
The logic for setting pin direction was inverted Signed-off-by: Tim Harvey thar...@gateworks.com --- .../cns3xxx/files/arch/arm/mach-cns3xxx/gpio.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/gpio.c

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Stefan Hellermann
On 5 January 2013 01:37, Stefan Hellermann ste...@the2masters.de wrote: That's easy: DEPENDS:=+!BUSYBOX_CONFIG_MKSWAP:swap-utils Unfortunately this doesn't work. Menuconfig does not see the symbol swap-utils which is expected behavior. Symbol: PACKAGE_kmod-zram [=n] x Prompt:

[OpenWrt-Devel] [PATCH] cns3xxx: clean up PCI bus topology

2013-01-04 Thread Tim Harvey
This makes the PCI bus topology more standard for devices behind a bridge Signed-off-by: Tim Harvey thar...@gateworks.com --- .../patches-3.3/066-pcie_bus_topology.patch| 27 1 files changed, 27 insertions(+), 0 deletions(-) create mode 100644

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Stefan Hellermann
My bad! You are right Stephan. I apologizes. I have overlooked missing @ in your DEPENDS ... been testing with +@! ... -.- Time to sleep. Sorry all and thank you again Stefan. When doing funky DEPENDS always think of poor opkg which has to install a package later. It cannot add a applet to

[OpenWrt-Devel] D-Link DIR-600/601(Rev.A1) - Not preserving configurations

2013-01-04 Thread HeXiLeD
I have a few dir 601 A1 and built some images from attitude adjustment URL: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment Repository Root: svn://svn.openwrt.org/openwrt Repository UUID: 3c298f89-4303-0410-b956-a3cf2f4a3e73 Revision: 35014 Node Kind: directory Schedule: normal Last

Re: [OpenWrt-Devel] D-Link DIR-600/601(Rev.A1) - Not preserving configurations

2013-01-04 Thread Daniel Dickinson
I use dir 601 a1 with no problem. Maybe the problem is the size check and you have too big an image to create a jffs2 partition. Regards, Daniel On 13-01-04 10:40 PM, HeXiLeD wrote: I have a few dir 601 A1 and built some images from attitude adjustment URL: