Re: [OpenWrt-Devel] [PATCH] Automount enhanced/fixed, also fstab

2010-02-08 Thread Daniel Dickinson
On Sun, 2010-02-07 at 22:32 +0100, edgar.sol...@web.de wrote: > The swap parts should be part of base files. The needed swapon/off could > come from util-linux or busybox. The idea was to have swap automount functionality only if swapon/of was actually present. I don't think that swapon/off from

Re: [OpenWrt-Devel] [PATCH] Automount enhanced/fixed, also fstab

2010-02-08 Thread Daniel Dickinson
On Sun, 2010-02-07 at 16:26 +0100, edgar.sol...@web.de wrote: > What do you think of packaging hotplug automount separately? Now that > it's that sophisticated it takes several kilobytes of space. Space that > is valuable to users without non-usb-routers. I think adding hotplugd-autmount (5K), plu

Re: [OpenWrt-Devel] nfsd-kernel-server umount problem

2010-02-08 Thread Lars-Peter Clausen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Wagner wrote: > Hi > > i found following problem: > > /dev/sda4 5.3G 2.9G 2.1G 58% /mnt/data > > this disk is mounted and shared to the local network... this share > is also mounted on a pc in the local network. now all

[OpenWrt-Devel] nfsd-kernel-server umount problem

2010-02-08 Thread Peter Wagner
Hi i found following problem: /dev/sda4 5.3G 2.9G 2.1G 58% /mnt/data this disk is mounted and shared to the local network... this share is also mounted on a pc in the local network. now alltough the share is still mounted i do this: server /root # /etc/init.d/nfsd st

[OpenWrt-Devel] How to add additional uci settings to system?

2010-02-08 Thread Matthias Buecher / Germany
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I want to add the following setup to /etc/config/system for the Orion router WRT350Nv2: config led option sysfs'wrt350nv2:green:power' option default 1 config led option dev wlan0 option sysfs'wrt350nv2:g

Re: [OpenWrt-Devel] b43 driver

2010-02-08 Thread Stefan Monnier
>> Note: The brcm47xx still won't work for those of you needing broadcom >> wifi, stick to brcm-2.4. We will tell you when it does work. > I need to know. How much may take time before we can use the b43 driver? > One month? Half year? IIUC the above note is conservative: the b43 driver in brcm4

Re: [OpenWrt-Devel] ath9k in openwrt

2010-02-08 Thread Otto Solares
On Mon, Feb 08, 2010 at 04:24:34PM +0800, Michael Geddes wrote: > The drivers work pretty well.. .though not entirely stable. Every few days > I > have to run a script that will ifdown wlan, rmmod the modules, insert the > modules back and ifup wlan... and every now and again, the server rebo

[OpenWrt-Devel] OpenWRT way of adding a new interface

2010-02-08 Thread Roberto Riggio
Hi, i'm using the click modular router to create a wireless mesh netrwork. What I'm doing at the moment is putting my init script in /etc/init.d/. I was wondering what would be the openwrt way of doing it. what my script does is launching a daemon which creates a tun interface. where in openwrt

[OpenWrt-Devel] [PATCH] Fix tcpdump parallel build

2010-02-08 Thread Raphaël HUCK
Hi again, this patch fixes tcpdump parallel build. -Raphaeldiff -pruN tcpdump.orig/Makefile tcpdump/Makefile --- tcpdump.orig/Makefile 2010-02-08 17:24:06.778911003 +0100 +++ tcpdump/Makefile 2010-02-08 17:24:35.694573060 +0100 @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2009 OpenWrt.org +# Copyrigh

[OpenWrt-Devel] [PATCH] New package powertop 1.11

2010-02-08 Thread Raphaël HUCK
Hi all, this patch adds powertop: http://www.lesswatts.org/projects/powertop/ Computer programs can make your computer use more power. PowerTOP is a Linux tool that helps you find those programs that are misbehaving while your computer is idle. The application that misbehaved the most was the L

[OpenWrt-Devel] [PATCH] syslog-ng: fix parallel build

2010-02-08 Thread Raphaël HUCK
Hi all, this patch fixes parallel build for syslog-ng package. -Raphaeldiff -pruN syslog-ng.orig/Makefile syslog-ng/Makefile --- syslog-ng.orig/Makefile 2010-02-08 17:03:19.350660971 +0100 +++ syslog-ng/Makefile 2010-02-08 17:03:51.022918775 +0100 @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2009 Ope

Re: [OpenWrt-Devel] compression mode of jffs2

2010-02-08 Thread edgar . soldin
On second thought I actually think it would make sense to clarify the following points before taking any action. Not that I expected anything to happen soon ;) 1. How is the compression evaluated. On per file or per file system basis. I couldn't really find docs telling this. Any hint appreci

Re: [OpenWrt-Devel] compression mode of jffs2

2010-02-08 Thread Bas Mevissen
On Mon, 2010-02-08 at 11:32 +0100, Bastian Bittorf wrote: > > boottime should'nt be affected, because bootpartition is squashfs, Ah, I use jffs2 as root (and only) fs on my dev boards. > only the writeable partition is jffs2. In theory i vote for default to > size-optimization and make it menuco

[OpenWrt-Devel] [PATCH 4/5] Add support for the RTC on the Routerstation Pro.

2010-02-08 Thread Jonas Gorski
The RTC on the Routerstation Pro is connected through SPI and shares its line with the flash. Linux' SPI driver does not allow more than one device per CS, so create special handling so CS1 high is handled internally as CS0 high. --- .../ar71xx/files/arch/mips/ar71xx/mach-ubnt.c | 54 ++

[OpenWrt-Devel] [PATCH 2/5] SPI: Make sure that there always is a falling edge.

2010-02-08 Thread Jonas Gorski
Make sure that at the end of any transmit is a falling edge on the clock. --- target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c b/target/linux/ar71xx/files/drivers/spi/ar71

[OpenWrt-Devel] [PATCH 1/5] SPI: Also store ioc_base on inactive.

2010-02-08 Thread Jonas Gorski
Make sure the ioc_base gets also stored when SPI_CS_INACTIVE is set. --- target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c b/target/linux/ar71xx/files/drivers/spi/ar71xx_sp

[OpenWrt-Devel] [PATCH 0/5] Make the RTC on the Routerstation Pro work

2010-02-08 Thread Jonas Gorski
Hello, this patch series makes the RTC on the Routerstation Work without (hopefully) breaking any other targets. The RTC is connected to the SPI bus and shares a CS line with the flash. The first two patches fix two small errors in the ar71xx spi driver, while the third one creates the ability

[OpenWrt-Devel] [PATCH 3/5] SPI: Allow override of mode_bits.

2010-02-08 Thread Jonas Gorski
Allow platfom_data to override the mode bits. This is needed for supporting the rtc on the Routerstation Pro. --- .../arch/mips/include/asm/mach-ar71xx/platform.h |1 + target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c |2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git

[OpenWrt-Devel] [PATCH 5/5] Add RTC support and the driver needed for the Routerstation Pro.

2010-02-08 Thread Jonas Gorski
To utilize the RTC on the Routerstation Pro, we need generic RTC support and the driver for the RTC. Add them to the linux config for ar71xx. --- target/linux/ar71xx/config-2.6.32 |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/target/linux/ar71xx/config-2.6.32 b/target

Re: [OpenWrt-Devel] compression mode of jffs2

2010-02-08 Thread Bas Mevissen
On Mon, 2010-02-08 at 11:25 +0100, edgar.sol...@web.de wrote: > Any idea how to measure boot time? I don't have serial console access. ede > some LED changing state, first respond to ping or wait for first broadcast packet from ethernet (e.g. arp, dhcp) with wireshark. Bas. ___

Re: [OpenWrt-Devel] compression mode of jffs2

2010-02-08 Thread Bastian Bittorf
* Bas Mevissen [08.02.2010 11:20]: > > My 2 cents: compare the boot time between the jffs2 with and without the > patch. Can you also give an example in the actual flash space saved by > the patch? boottime should'nt be affected, because bootpartition is squashfs, only the writeable partition is

Re: [OpenWrt-Devel] compression mode of jffs2

2010-02-08 Thread edgar . soldin
Any idea how to measure boot time? I don't have serial console access. ede On 08.02.2010 11:14, Bas Mevissen wrote: On Sun, 2010-02-07 at 18:00 +0100, Matthias Buecher / Germany wrote: How will this affect performance (the opposite side of compression)? If it does, then it would be great if thi

Re: [OpenWrt-Devel] compression mode of jffs2

2010-02-08 Thread Bas Mevissen
On Sun, 2010-02-07 at 18:00 +0100, Matthias Buecher / Germany wrote: > How will this affect performance (the opposite side of compression)? > If it does, then it would be great if this would be selectable and not > hardcoded. > > Just my two cents > Maddes > > On 07.02.2010 17:44, edgar.sol...@we

Re: [OpenWrt-Devel] [PATCH] add support of m25p80 with mx25lxxx support to kirkwood (add filename information)

2010-02-08 Thread Macpaul Lin
Hi Gabor, This patch also adaptable to current 2.6.30 and 2.6.31.12 kernels. I suggest to modify the target architecture of kirkwood cpu in the form. /target/linux/kirkwood/patches-2.6.32 /target/linux/kirkwood/patches-2.6.31 /target/linux/kirkwood/patches-2.6.30 and config-2.6.32 config-2.6.31 c

Re: [OpenWrt-Devel] [PATCH] add support of m25p80 with mx25lxxx support to kirkwood (add filename information)

2010-02-08 Thread Gabor Juhos
Macpaul Lin írta: > Description: > > 1. Suggestion: > 1.a This patch add support of m25p80 with mx25lxxx support to kirkwood > based platform. > 1.b Because mx25lxxx series are used by many kind of platform with many CPU. > I also suggest someone to merge the patch related to m25p80 in > /tar

Re: [OpenWrt-Devel] ath9k in openwrt

2010-02-08 Thread Michael Geddes
I use Ath9k drivers. I have the option to show unstable stuff for other reasons, so it _could_ be in there. The drivers work pretty well.. .though not entirely stable. Every few days I have to run a script that will ifdown wlan, rmmod the modules, insert the modules back and ifup wlan... an