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: svn://svn.openwrt.org/openwrt/b

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

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

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

2013-01-04 Thread Damian Kaczkowski
On 5 January 2013 02:59, Stefan Hellermann wrote: > Hmm, here it works! I double checked it! > A package with DEPENDS:= +!BUSYBOX_CONFIG_HOSTNAME:net-tools-hostname > > I compiled it with BUSYBOX_CONFIG_HOSTNAME=y and the resulting opkg > does not depend on net-tools-hostname > Then I removed BUS

[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 --- .../patches-3.3/066-pcie_bus_topology.patch| 27 1 files changed, 27 insertions(+), 0 deletions(-) create mode 100644 target/linux/cns3xxx/patches-3.3/066-pcie_

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

2013-01-04 Thread Stefan Hellermann
> On 5 January 2013 01:37, Stefan Hellermann 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: kmod-zram...

[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 --- .../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 b/target/linux/cns3xxx/files/arch

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

2013-01-04 Thread Damian Kaczkowski
On 5 January 2013 02:36, Damian Kaczkowski wrote: > 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 file in such > case: >

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

2013-01-04 Thread Damian Kaczkowski
On 5 January 2013 01:37, Stefan Hellermann 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 work. For compiling

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 opk

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

2013-01-04 Thread Damian Kaczkowski
On 4 January 2013 23:46, Stefan Hellermann 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 there

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 if > " ? > Yes there is

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 Imr

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 wrote: On 4 January 2013 18:25, Bastian Bittorf wrote: - MKSWAP and SWAPONOFF has to be a dependency, the old package compcache does this via DEPENDS:=@BUSYBOX_CONFIG_SWAPONOFF @BUSYBOX_CONFIG_MK

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

2013-01-04 Thread Damian Kaczkowski
On 4 January 2013 21:52, Damian Kaczkowski wrote: > On 4 January 2013 18:25, Bastian Bittorf 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 w

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 configuratio

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 4:

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 lan

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

2013-01-04 Thread Damian Kaczkowski
Hi. On 4 January 2013 18:25, Bastian Bittorf 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 KernelPackage/zram/config select BUSYB

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 f

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 wan

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-

[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 Index: target/linux/omap4/base-files

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

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 lit

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/descript

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

2013-01-04 Thread Bastian Bittorf
* Hauke Mehrtens [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 busybox are al

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

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

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

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

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 [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 idea: change th

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

2013-01-04 Thread Karl Palsson
From: Karl Palsson 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 computers behind

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

2013-01-04 Thread Karl Palsson
From: Karl Palsson 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: Karl Palsson --

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.

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 P

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 CONFIG_KERNEL_DEB

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

[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 https://forum.openwrt.o

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

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 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 hanging/panic/oopsing during boot-ti