[OpenWrt-Devel] [PATCH 06/10] iw: add patch to support 802.11j frequencies

2013-10-10 Thread Bruno Randolf
A similar change was recently merged in iw commit 58b46da26ab9b5ff31c7033e175351eb1301d9af Signed-off-by: Bruno Randolf --- package/iw/patches/140-freq-11j.patch | 85 +++ 1 file changed, 85 insertions(+) create mode 100644 package/iw/patches/140-freq-11j.patch

[OpenWrt-Devel] [PATCH 09/10] x86: fix condition in base-files.mk

2013-10-10 Thread Bruno Randolf
TARGET_x86_generic_Soekris48xx is not defined, CONFIG_TARGET_x86_generic_Soekris48xx is This changes makes it possible to override the network config for soekris net48xx and net45xx targets. Signed-off-by: Bruno Randolf --- target/linux/x86/base-files.mk | 2 +- 1 file changed, 1 insertion

[OpenWrt-Devel] [PATCH 07/10] mac80211: fix iwconfig for ibss

2013-10-10 Thread Bruno Randolf
0x50/0x21c [cfg8 0211]() It is caused by an uninitialized variable center_freq1. The same was recently merged in wireless-testing commit f478f33a93f9353dcd1fe55445343d76b1c3f84a. Signed-off-by: Bruno Randolf --- package/mac80211/Makefile | 2 +- .../patches/92

[OpenWrt-Devel] [PATCH 10/10] net48xx: fix scx200_hrt clocksource

2013-10-10 Thread Bruno Randolf
+0x3a/0xb0 [ 13.310053] [] ? common_interrupt+0x29/0x30 [ 13.310053] ---[ end trace ac85af0b4252a378 ]--- Signed-off-by: Bruno Randolf --- .../004-clocksrouce-scx200_hrt-fix.patch | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 target/linux/x86

[OpenWrt-Devel] [PATCH 04/10] opkg: remove patch which disables "upgrade all"

2013-10-10 Thread Bruno Randolf
y well with writable filesystems such as JFFS2. As OpenWRT is used on a variety of systems, some with plenty of writeable flash space, I suggest to not unconditionally disable "upgrade all". Signed-off-by: Bruno Randolf --- package/opkg/patches/009-remove-upgrade-all.patch | 41 -

[OpenWrt-Devel] [PATCH 08/10] wpa_supplicant: fix beacon_int configuration option

2013-10-10 Thread Bruno Randolf
wpa_supplicant expects beacon_int instead of beacon_interval in its config file. Signed-off-by: Bruno Randolf --- package/hostapd/files/wpa_supplicant.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/hostapd/files/wpa_supplicant.sh b/package/hostapd/files

Re: [OpenWrt-Devel] [OpenWrt-Users] unknown network field 'beacon_int" and wpa_supplicant

2013-10-10 Thread Bruno Randolf
attitude_adjustment/package/hostapd/files/wpa_supplicant.sh.rej AA revision 38351 Hi, Check the patch I just posted which is against current AA 12.09. If it does not apply to your revision, the patch is simple enough so you can make the same changes by hand. bruno On 10/10/2013 03:22 AM, Bruno Randolf

[OpenWrt-Devel] [PATCH 1/7] libgphoto2 depends on libusb, not libusb-1.0

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- libs/libgphoto2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libgphoto2/Makefile b/libs/libgphoto2/Makefile index cc45ece..e31b30a 100644 --- a/libs/libgphoto2/Makefile +++ b/libs/libgphoto2/Makefile @@ -37,7 +37,7 @@ endef

[OpenWrt-Devel] [PATCH 3/7] ddns-scripts: add init script

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- net/ddns-scripts/Makefile | 2 ++ net/ddns-scripts/files/etc/init.d/ddns | 12 2 files changed, 14 insertions(+) create mode 100644 net/ddns-scripts/files/etc/init.d/ddns diff --git a/net/ddns-scripts/Makefile b/net/ddns-scripts

[OpenWrt-Devel] [PATCH 0/7] Patches for packages AA 12.09

2013-10-10 Thread Bruno Randolf
Here some patches against AA 12.09 packages... Bruno Randolf (7): libgphoto2 depends on libusb, not libusb-1.0 LIBCONFIG: enabling c++ support (lconfig++). ddns-scripts: add init script pptpd: Add uci configuration for PPTPD. pptpd: remove IP in options.pptp isc-dhcp: dhcrelay: add

[OpenWrt-Devel] [PATCH 2/7] LIBCONFIG: enabling c++ support (lconfig++).

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- libs/libconfig/Makefile | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/libconfig/Makefile b/libs/libconfig/Makefile index f56de43..5eb0ed8 100644 --- a/libs/libconfig/Makefile +++ b/libs/libconfig/Makefile @@ -42,20 +42,24 @@ endef

[OpenWrt-Devel] [PATCH 6/7] isc-dhcp: dhcrelay: add UCI config and init script

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- net/isc-dhcp/Makefile | 6 +++-- net/isc-dhcp/files/dhcrelay.config | 15 +++ net/isc-dhcp/files/dhcrelay.init | 51 ++ 3 files changed, 70 insertions(+), 2 deletions(-) create mode 100644 net/isc-dhcp

[OpenWrt-Devel] [PATCH 7/7] isc-dhcp: dhcrelay: Add RFC3527 link selection sub-option

2013-10-10 Thread Bruno Randolf
RFC3527 link selection sub-option is used to select the "uplink" interface of dhcrelay in cases where the DHCP server does not know how to reach the dhcrelay based on the DHCP range. This can happen in weird network configurations like Mesh networks. Signed-off-by: Bruno Randolf --

[OpenWrt-Devel] [PATCH 4/7] pptpd: Add uci configuration for PPTPD.

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- net/pptpd/Makefile| 3 +++ net/pptpd/files/pptpd.init| 41 +++-- net/pptpd/files/pptpd.uciconf | 8 3 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 net/pptpd/files/pptpd.uciconf

[OpenWrt-Devel] [PATCH 5/7] pptpd: remove IP in options.pptp

2013-10-10 Thread Bruno Randolf
ppp has obsoleted this option (as of v2.4.3-7) according to http://wiki.openwrt.org/doc/howto/vpn.server.pptpd Signed-off-by: Bruno Randolf --- net/pptpd/files/options.pptpd | 1 - 1 file changed, 1 deletion(-) diff --git a/net/pptpd/files/options.pptpd b/net/pptpd/files/options.pptpd index

Re: [OpenWrt-Devel] [PATCH 6/7] isc-dhcp: dhcrelay: add UCI config and init script

2013-10-10 Thread Bruno Randolf
Please forget this patch, it is slightly incompatible with the version that already exists in trunk... I will update trunk instead. bruno On 10/10/2013 01:16 PM, Bruno Randolf wrote: Signed-off-by: Bruno Randolf --- net/isc-dhcp/Makefile | 6 +++-- net/isc-dhcp/files

Re: [OpenWrt-Devel] [PATCH 00/10] Some patches for AA 12.09

2013-10-10 Thread Bruno Randolf
On 10/10/2013 02:50 PM, Jo-Philipp Wich wrote: Are these patches backports from trunk? If not please rebase them on current trunk so we can apply them there and backport to 12.09 afterwards. I made the patches originally for 12.09. I am now forward-porting them to trunk, but due to the folder

[OpenWrt-Devel] [PATCH 0/8] Various patches for trunk

2013-10-10 Thread Bruno Randolf
Here I'm resending the patches which still apply to trunk from my previous series which was for AA. Bruno Randolf (8): mark base-files, kernel, opkg as essential packages mkfwimage: Increase RSPRO maximum size to 0xF0 (15 MiB) opkg: remove patch which disables "upgrade all&

[OpenWrt-Devel] [PATCH 1/8] mark base-files, kernel, opkg as essential packages

2013-10-10 Thread Bruno Randolf
Mark as essential to prevent removal from a running system. Signed-off-by: Bruno Randolf --- package/base-files/Makefile | 1 + package/kernel/linux/Makefile | 2 +- package/system/opkg/Makefile | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package/base-files/Makefile

[OpenWrt-Devel] [PATCH 3/8] opkg: remove patch which disables "upgrade all"

2013-10-10 Thread Bruno Randolf
y well with writable filesystems such as JFFS2. As OpenWRT is used on a variety of systems, some with plenty of writeable flash space, I suggest to not unconditionally disable "upgrade all". Signed-off-by: Bruno Randolf --- .../opkg/patches/009-remove-upgrade-all.patch | 41

[OpenWrt-Devel] [PATCH 5/8] wpa_supplicant: fix beacon_int configuration option

2013-10-10 Thread Bruno Randolf
wpa_supplicant expects beacon_int instead of beacon_interval in its config file. Signed-off-by: Bruno Randolf --- package/network/services/hostapd/files/wpa_supplicant.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/services/hostapd/files

[OpenWrt-Devel] [PATCH 2/8] mkfwimage: Increase RSPRO maximum size to 0xF00000 (15 MiB)

2013-10-10 Thread Bruno Randolf
000 (768KiB) of space. This is based on revision 18410 which sets the limit to 0xB0 (11 MiB). Signed-off-by: Bruno Randolf --- tools/firmware-utils/src/mkfwimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/firmware-utils/src/mkfwimage.c b/tools/firmware-utils/sr

[OpenWrt-Devel] [PATCH 4/8] iw: add patch to support 802.11j frequencies

2013-10-10 Thread Bruno Randolf
A similar change was recently merged in iw commit 58b46da26ab9b5ff31c7033e175351eb1301d9af Signed-off-by: Bruno Randolf --- .../network/utils/iw/patches/140-freq-11j.patch| 85 ++ 1 file changed, 85 insertions(+) create mode 100644 package/network/utils/iw/patches/140

[OpenWrt-Devel] [PATCH 7/8] ppp: [RFC] Add IP unnumbered for PPPoE protocol

2013-10-10 Thread Bruno Randolf
and the following script in /etc/ppp/ip-up.d/. RFC: It works, but it is not integrated with netifd, e.g. netifd does not know about the IP address we assigned. Signed-off-by: Bruno Randolf --- package/network/services/ppp/Makefile | 2 + .../network/services/ppp/files/ip_unnumber

[OpenWrt-Devel] [PATCH 8/8] libconfig: enable c++ support (libconfig++).

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- package/libs/libconfig/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/libs/libconfig/Makefile b/package/libs/libconfig/Makefile index 5ade648..8723e36 100644 --- a/package/libs/libconfig/Makefile +++ b/package/libs

[OpenWrt-Devel] [PATCH 6/8] x86: fix condition in base-files.mk

2013-10-10 Thread Bruno Randolf
TARGET_x86_generic_Soekris48xx is not defined, CONFIG_TARGET_x86_generic_Soekris48xx is This changes makes it possible to override the network config for soekris net48xx and net45xx targets. Signed-off-by: Bruno Randolf --- target/linux/x86/base-files.mk | 2 +- 1 file changed, 1 insertion

Re: [OpenWrt-Devel] [PATCH 4/7] pptpd: Add uci configuration for PPTPD.

2013-10-11 Thread Bruno Randolf
On 10/11/2013 01:24 AM, Yousong Zhou wrote: To make `enabled 0` a working option, it should be something like setup_config pptpd && start_pptpd Thanks, will fix and resend the patch for trunk. bruno ___ openwrt-devel mailing list op

[OpenWrt-Devel] [PATCH 0/6] Patches for trunk packages

2013-10-11 Thread Bruno Randolf
Similar to my previous series for AA, now rebased to trunk... Bruno Randolf (6): libgphoto2 depends on libusb-compat, not libusb-1.0 ddns-scripts: add init script pptpd: Add uci configuration for PPTPD. pptpd: remove IP in options.pptp isc-dhcp: dhcrelay: Add more UCI options isc-dhcp

[OpenWrt-Devel] [PATCH 2/6] ddns-scripts: add init script

2013-10-11 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- net/ddns-scripts/Makefile | 2 ++ net/ddns-scripts/files/etc/init.d/ddns | 12 2 files changed, 14 insertions(+) create mode 100644 net/ddns-scripts/files/etc/init.d/ddns diff --git a/net/ddns-scripts/Makefile b/net/ddns-scripts

[OpenWrt-Devel] [PATCH 3/6] pptpd: Add uci configuration for PPTPD.

2013-10-11 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- net/pptpd/Makefile| 3 +++ net/pptpd/files/pptpd.init| 40 ++-- net/pptpd/files/pptpd.uciconf | 8 3 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 net/pptpd/files/pptpd.uciconf

[OpenWrt-Devel] [PATCH 4/6] pptpd: remove IP in options.pptp

2013-10-11 Thread Bruno Randolf
ppp has obsoleted this option (as of v2.4.3-7) according to http://wiki.openwrt.org/doc/howto/vpn.server.pptpd Signed-off-by: Bruno Randolf --- net/pptpd/files/options.pptpd | 1 - 1 file changed, 1 deletion(-) diff --git a/net/pptpd/files/options.pptpd b/net/pptpd/files/options.pptpd index

[OpenWrt-Devel] [PATCH 1/6] libgphoto2 depends on libusb-compat, not libusb-1.0

2013-10-11 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- libs/libgphoto2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libgphoto2/Makefile b/libs/libgphoto2/Makefile index cc45ece..bf4f55f 100644 --- a/libs/libgphoto2/Makefile +++ b/libs/libgphoto2/Makefile @@ -37,7 +37,7 @@ endef

[OpenWrt-Devel] [PATCH 5/6] isc-dhcp: dhcrelay: Add more UCI options

2013-10-11 Thread Bruno Randolf
Add more options to dhcrelay UCI and init script: - enabled - interfaces: Listen interfaces - relay_mode: What to do about packets that already have a relay option Also mark /etc/config/dhcrelay as conffile Signed-off-by: Bruno Randolf --- net/isc-dhcp/Makefile | 8

[OpenWrt-Devel] [PATCH 6/6] isc-dhcp: dhcrelay: Add RFC3527 link selection sub-option

2013-10-11 Thread Bruno Randolf
RFC3527 link selection sub-option is used to select the "uplink" interface of dhcrelay in cases where the DHCP server does not know how to reach the dhcrelay based on the DHCP range. This can happen in weird network configurations like Mesh networks. Signed-off-by: Bruno Randolf --

Re: [OpenWrt-Devel] [PATCH 01/10] cron: improve init script

2013-10-11 Thread Bruno Randolf
On 10/11/2013 01:35 AM, Yousong Zhou wrote: Hi, On 10 October 2013 19:02, Bruno Randolf wrote: Add PATH in case it is missing (e.g. when executing the script from ssh, like "ssh IP /etc/init.d/cron restart"). Signed-off-by: Bruno Randolf --- package/busybox/files/cron | 2 +

Re: [OpenWrt-Devel] [PATCH 3/6] pptpd: Add uci configuration for PPTPD.

2013-10-17 Thread Bruno Randolf
On 10/15/2013 02:45 PM, Jo-Philipp Wich wrote: comments inline. Hi, Thanks, will address the issues and resend. bruno On 11.10.2013 12:30, Bruno Randolf wrote: Signed-off-by: Bruno Randolf --- net/pptpd/Makefile| 3 +++ net/pptpd/files/pptpd.init| 40

Re: [OpenWrt-Devel] [PATCH 6/6] isc-dhcp: dhcrelay: Add RFC3527 link selection sub-option

2013-10-17 Thread Bruno Randolf
On 10/15/2013 02:52 PM, Jo-Philipp Wich wrote: +++ b/net/isc-dhcp/patches/100-relay-rfc3527-link-selection.patch Can you elaborate on the origin of this patch? Was it written by you? Yes, this patch was written by me, and I have sent it for inclusion to the "upstream" ISC "dhcp-hackers" mail

[OpenWrt-Devel] [PATCH 0/3] trunk packages resend

2013-10-17 Thread Bruno Randolf
Hi! Here I resend the PPTPD and dhcrelay patches for trunk packages. I tried to address all issues jow has mentioned before. Bruno Randolf (3): pptpd: Add uci configuration for PPTPD. isc-dhcp: dhcrelay: Add more UCI options isc-dhcp: dhcrelay: Add RFC3527 link selection sub-option net

[OpenWrt-Devel] [PATCH 2/3] isc-dhcp: dhcrelay: Add more UCI options

2013-10-17 Thread Bruno Randolf
Add more options to dhcrelay UCI and init script: - enabled - interfaces: Listen interfaces - relay_mode: What to do about packets that already have a relay option Also mark /etc/config/dhcrelay as conffile Signed-off-by: Bruno Randolf --- net/isc-dhcp/Makefile | 8

[OpenWrt-Devel] [PATCH 1/3] pptpd: Add uci configuration for PPTPD.

2013-10-17 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- net/pptpd/Makefile | 5 - net/pptpd/files/pptpd.config | 8 net/pptpd/files/pptpd.init | 46 +++- 3 files changed, 53 insertions(+), 6 deletions(-) create mode 100644 net/pptpd/files/pptpd.config

[OpenWrt-Devel] [PATCH 3/3] isc-dhcp: dhcrelay: Add RFC3527 link selection sub-option

2013-10-17 Thread Bruno Randolf
RFC3527 link selection sub-option is used to select the "uplink" interface of dhcrelay in cases where the DHCP server does not know how to reach the dhcrelay based on the DHCP range. This can happen in weird network configurations like Mesh networks. Signed-off-by: Bruno Randolf --

Re: [OpenWrt-Devel] [PATCH] [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa

2013-10-30 Thread Bruno Randolf
On 10/30/2013 07:24 AM, Bastian Bittorf wrote: > [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 > to squashfs and visa versa > > till now only jffs2 was possible and sysupgrade refuses to change fs-type, > because of bad/invalid content in sysupgrade-file. manually ov

Re: [OpenWrt-Devel] [PATCH][packages]firewall3: optimize by loading conntrack modules on demand

2013-11-04 Thread Bruno Randolf
Hi! Auto-loading only the required modules definetly helps a lot for low CPU power systems like the Soekris net48xx. We have seen a difference in sirq (Soft IRQ) load of 80% with conntrack modules versus 12% without any iptables modules when the system is hit with 50Mbps UDP traffic on the ethern

[OpenWrt-Devel] [PATCH 3/3] au1000: implement sysupgrade platform.sh

2012-06-18 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- .../au1000/base-files/lib/upgrade/platform.sh | 36 target/linux/au1000/image/Makefile |1 + 2 files changed, 37 insertions(+) create mode 100644 target/linux/au1000/base-files/lib/upgrade/platform.sh diff --git a

[OpenWrt-Devel] [PATCH 1/3] au1000: fix InternetBox idsel and remove broken flag

2012-06-18 Thread Bruno Randolf
tform broken flag, it works. Signed-off-by: Bruno Randolf --- target/linux/au1000/Makefile |2 +- .../linux/au1000/patches-3.3/004-pci-idsel-cb.diff | 12 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 target/linux/au1000/patches-3.3/00

[OpenWrt-Devel] [PATCH 2/3] au1000: clean up profiles

2012-06-18 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- target/linux/au1000/au1500/profiles/InternetBox.mk |5 ++--- target/linux/au1000/au1500/profiles/MeshCube.mk|4 +--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/target/linux/au1000/au1500/profiles/InternetBox.mk b/target/linux

[OpenWrt-Devel] mac80211 MAC address generation

2012-07-31 Thread Bruno Randolf
783 Author: Bruno Randolf Date: Thu Jul 26 20:21:22 2012 +0100 mac80211: generate MAC adresses in the upper byte This way it's easier to avoid duplicate MAC adresses. diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac index 1a4d7c1..cc7c9

[OpenWrt-Devel] patch: iperf configure fix

2008-08-21 Thread Bruno Randolf
this patch fixes the iperf configure and dependencies: Index: package/iperf/Makefile === --- package/iperf/Makefile (revision 615) +++ package/iperf/Makefile (working copy) @@ -22,7 +22,7 @@ SUBMENU:=Monitoring SECTION

Re: [OpenWrt-Devel] patch: iperf configure fix

2008-08-21 Thread Bruno Randolf
On Thursday 21 August 2008 16:15:24 Florian Fainelli wrote: > Le Thursday 21 August 2008 16:02:55 Bruno Randolf, vous avez écrit : > > this patch fixes the iperf configure and dependencies: > > > > Index: p

Re: [OpenWrt-Devel] patch: iperf configure fix

2008-08-22 Thread Bruno Randolf
Felix Fietkau wrote: > Bruno Randolf wrote: >> hmm, i would not have bothered to send a patch if it worked fine without. >> >> i'm compiling for x86 and there is no g++-uc in my toolchain path... >> also there is no uclibcxx >> >> am i missing someth

[OpenWrt-Devel] [patch] add package opencv

2008-08-27 Thread Bruno Randolf
+PKG_SOURCE_VERSION:=HEAD +PKG_BUILD_DIR:=$(BUILD_DIR)/opencv + +PKG_FIXUP = libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/opencv + SECTION:=multimedia + CATEGORY:=Multimedia + DEPENDS:=+libjpeg +libpng +libffmpeg + MAINTAINER:=Bruno Randolf <[EMAIL PROTECTED]> + TITLE:=

[OpenWrt-Devel] [patch] fix cvs download

2008-08-27 Thread Bruno Randolf
this patch fixes CVS download - otherwise i get the error: cvs checkout: No CVSROOT specified! Please use the `-d' option Index: include/download.mk === --- include/download.mk (revision 629) +++ include/download.mk (revision 630) @

Re: [OpenWrt-Devel] [patch] add package opencv

2008-08-28 Thread Bruno Randolf
> make: *** [package/opencv-prepare] Error 2 > > > On Wed, 2008-08-27 at 10:52 -0400, Bruno Randolf wrote: > >> this adds the opencv (open source computer vision) libraries >> >> Index: package/opencv/Makefile >> ==

[OpenWrt-Devel] Fwd: Re: [patch] add package opencv

2008-08-28 Thread Bruno Randolf
> make: *** [package/opencv-prepare] Error 2 > > > On Wed, 2008-08-27 at 10:52 -0400, Bruno Randolf wrote: > >> this adds the opencv (open source computer vision) libraries >> >> Index: package/opencv/Makefile >> ==

[OpenWrt-Devel] [patch] cvs download by date

2008-08-29 Thread Bruno Randolf
hello! as there is no global revision number in CVS it is sometimes important to specify the date for CVS checkouts. this patch adds support to CVS checkout based on date by setting a variable PKG_SOURCE_DATE in the Makefile. note: be careful with PKG_SOURCE_VERSION when using PKG_SOURCE_DATE,

[OpenWrt-Devel] [PATCH] au1000: fix gpio output

2008-09-04 Thread Bruno Randolf
when setting the output state of one GPIO pin we have to keep the state of the other pins, hence use binary OR. also gpio_direction_output() wants to set an initial value, so add that too. this fixes a problem with the USB power switch on mtx-1 boards. Signed-off-by: Bruno Randolf <[EM

[OpenWrt-Devel] openwrt trunk on soekris net48xx fixes

2010-02-12 Thread Bruno Randolf
hello! trying to use todays openwrt trunk on a soekris net4826 i ran into the following problems: 1) the default kernel 2.6.31.12 does not boot (system continually reboots) and does not show any output on the serial console. i updated to kernel 2.6.32.8, which works better, but: 2) target/lin

Re: [OpenWrt-Devel] openwrt trunk on soekris net48xx fixes

2010-02-14 Thread Bruno Randolf
On Saturday 13 February 2010 20:22:15 Florian Fainelli wrote: > Hello, > > Le samedi 13 février 2010 06:16:17, Bruno Randolf a écrit : > > hello! > > > > trying to use todays openwrt trunk on a soekris net4826 i ran into the > > following problems: > > >

Re: [OpenWrt-Devel] openwrt trunk on soekris net48xx fixes

2010-02-14 Thread Bruno Randolf
On Saturday 13 February 2010 19:57:08 ulf kypke wrote: > hello bruno, > welcome back ;-) > > 2010/2/13 Bruno Randolf : > > hello! > > > > trying to use todays openwrt trunk on a soekris net4826 i ran into the > > following problems: > > > > 1) th

[OpenWrt-Devel] [PATCH] x86: additional grub options and defaults for soekris

2010-02-14 Thread Bruno Randolf
hello! soekris boxes don't have a 'console', just a serial port. the console option in grub/menu.lst has been troubling soekris users since a while. this patch adds an additional config option for "Grub Console Terminal" and selects appropriate defaults for soekris boards. it also sets the serial

Re: [OpenWrt-Devel] [PATCH] x86: additional grub options and defaults for soekris

2010-02-18 Thread Bruno Randolf
On Wednesday 17 February 2010 10:11:36 Jo-Philipp Wich wrote: > Hi. > > I committed a modified version based on your patch in > https://dev.openwrt.org/changeset/19681 - please test and report if you > see further issues. hi! yes, grub configuration now works out of the box. there are still the

[OpenWrt-Devel] [patch] openwrt mac80211: let ath5k use PACKAGE_ATH_DEBUG config too

2010-03-12 Thread Bruno Randolf
hi felix! let ath5k use PACKAGE_ATH_DEBUG config too, to enable debugging of ath5k... ah - and there is a problem with firmware extraction for RT, even though no RT drivers are selected (extraction fails, build fails). so i commented that out. feel free to ignore (or fix ;)) that last part.

[OpenWrt-Devel] ath5k-WAR-for-AR71xx-PCI-bug kills performance

2010-03-12 Thread Bruno Randolf
hi felix! using the openwrt mac80211 201-ath5k-WAR-for-AR71xx-PCI-bug.patch on an routerstation pro really kills ath5k performance. with it applied i can get only around 15Mbps, without it i can get up to 30Mbps (that is UDP iperf). and i haven't seen any problems in my, admittedly very limited

[OpenWrt-Devel] [PATCH] mac80211: enable debug option for ath5k

2010-03-18 Thread Bruno Randolf
From: Bruno Randolf resent and rebased against current trunk --- package/mac80211/Makefile |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index b302419..64cbf28 100644 --- a/package/mac80211/Makefile +++ b/package

[OpenWrt-Devel] PCI broken on au1000

2010-04-04 Thread Bruno Randolf
hi! currently PCI is broken on the au1000 platforms. this is also the reason for: https://dev.openwrt.org/ticket/6851 in order to debug this further, does anyone know when the au1000 was working last? which kernel version? has anyone tried openwrt on au1000 recently? bruno

Re: [OpenWrt-Devel] PCI broken on au1000

2010-04-06 Thread Bruno Randolf
On Tuesday 06 April 2010 17:42:12 Florian Fainelli wrote: > Hi Bruno, > > On Monday 05 April 2010 03:23:49 Bruno Randolf wrote: > > hi! > > > > currently PCI is broken on the au1000 platforms. > > > > this is also the reason for: > > https://dev

Re: [OpenWrt-Devel] meshcube and other devices running backfire

2010-05-21 Thread Bruno Randolf
On Friday 21 May 2010 18:49:01 ulf kypke wrote: > hi, > > backfire is broken on meshcube and magicbox > it would be very nice, special for people who are not that familiar > with unbricking devices, to stop providing this images on your > http://downloads.openwrt.org/backfire/10.03/ page. even n

Re: [OpenWrt-Devel] meshcube and other devices running backfire

2010-05-21 Thread Bruno Randolf
On Friday 21 May 2010 19:25:39 ulf kypke wrote: > well specially on meshcubes this is very annoying. now i have to build > a new special serial converter for it and my to roof date this > afternoon is canceled, happy hacking hi ulf! afaik ethernet should still work, it's just PCI which is broken.

Re: [OpenWrt-Devel] meshcube and other devices running backfire

2010-05-21 Thread Bruno Randolf
On Friday 21 May 2010 19:58:45 you wrote: > On Friday 21 May 2010 12:25:39 ulf kypke wrote: > > well specially on meshcubes this is very annoying. now i have to build > > a new special serial converter for it and my to roof date this > > afternoon is canceled, happy hacking > > Just use 2.6.30 if

[OpenWrt-Devel] ar71xx sysupgrade fails sometimes on routerstation-pro

2010-06-02 Thread Bruno Randolf
hi! on the routerstation-pro the mtd command of the sysupgrade script (ar71xx/base-files/lib/upgrade/platform.sh) sometimes fails because of problems with the FIS table. this sometimes results in a segfault, sometimes in an error message. i see this about every third time i try to flash an ima

Re: [OpenWrt-Devel] ar71xx sysupgrade fails sometimes on routerstation-pro

2010-06-03 Thread Bruno Randolf
On Wednesday 02 June 2010 21:05:46 Jo-Philipp Wich wrote: > Hi. > > I think this is a general mmap() issue in ar71xx, the "nvram" utility had > similar problems - the mmap call will always succeed but sometimes the > mapped memory just contains zeroes. > > You can try the patch below and check wh

Re: [OpenWrt-Devel] PCI broken on au1000

2010-06-29 Thread Bruno Randolf
On Monday 28 June 2010 17:18:48 Florian Fainelli wrote: > Hey, > > On Tuesday 20 April 2010 12:51:23 Manuel Lauss wrote: > > Hi Florian, > > > > On Mon, Apr 19, 2010 at 10:54 AM, Florian Fainelli > > wrote: > > >> The lspci output provided by the reporter of ticket 6851, does it look > > >> cor

Re: [OpenWrt-Devel] PCI broken on au1000

2010-07-01 Thread Bruno Randolf
hi! it seems the problem was alchemy_gpio2_enable(); everything works fine when i remove that call. maybe the problem is that PCI_SERR and PCI_RST# are connected to the GPIO2 block and they don't like the reset of GPIO2? in the following patch i also remove the now unnecessary au_sync from ud

[OpenWrt-Devel] [patch] lua: fix os.date with lnum patch

2010-07-13 Thread Bruno Randolf
commit 1c892f0e6220ae5a6a086bd811ec26e6bda4337c Author: Bruno Randolf Date: Tue Jul 13 21:05:09 2010 +0900 lua: fix os_date with LNUM this fixes the LNUMP patch for lua. without it os.date can return a wrong date or time, due to precision loss in the integer - float conversion

Re: [OpenWrt-Devel] wireless / ibss / mac80211 / beaconinterval = bintval = bi

2011-01-16 Thread Bruno Randolf
already. bruno diff --git a/package/iw/patches/501-ibss-bintval.patch b/package/iw/patches/501-ibss-bintval.patch new file mode 100644 index 000..aa18641 --- /dev/null +++ b/package/iw/patches/501-ibss-bintval.patch @@ -0,0 +1,57 @@ +iw: Add ibss join parameter for beacon in

[OpenWrt-Devel] small au1000 patches

2007-12-15 Thread bruno randolf
hi florian! i've been playing with openwrt on my meshcube this weekend. so i send a few small patches for the au1000. i'm not sure how they fit into the openwrt way of doing things, but i'd like to include a few more programs and kernel modules on the MeshCube by default, since we have the spac

[OpenWrt-Devel] [PATCH] au1000: use 128k blocksize for au1000 targets

2007-12-15 Thread bruno randolf
64k blocksize gives erase errors Signed-off-by: Bruno Randolf <[EMAIL PROTECTED]> --- target/linux/au1000/image/Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/target/linux/au1000/image/Makefile b/target/linux/au1000/image/Makefile index 3cdd83e..0

[OpenWrt-Devel] [PATCH] au1000: use .srec suffix for SREC files

2007-12-15 Thread bruno randolf
use .srec file suffix for .srec files, please Signed-off-by: Bruno Randolf <[EMAIL PROTECTED]> --- target/linux/au1000/image/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/au1000/image/Makefile b/target/linux/au1000/image/Makefile index 0

[OpenWrt-Devel] [PATCH] au1000: add profiles MeshCube and InternetBox

2007-12-15 Thread bruno randolf
this adds two au1000 based profiles: MeshCube and T-Mobile Internet Box. Signed-off-by: Bruno Randolf <[EMAIL PROTECTED]> --- target/linux/au1000/profiles/InternetBox.mk | 19 +++ target/linux/au1000/profiles/MeshCube.mk| 20 2 files chang

<    1   2