[OpenWrt-Devel] [PATCH] ar71xx/all0258n: sysupgrade support

2011-10-26 Thread Daniel Golle
U-Boot on the ALL0258N needs offset, size and md5 for kernel and rootfs to be stored in the U-Boot environment. If the checksums don't match during boot, a failsafe-system is booted instead. This patch adds a board-specific sysupgrade hack for the all0258n which calculates and updates the checksums

[OpenWrt-Devel] [PATCH] base-files/sysupgrade: add more busybox applet symlinks to ramdisk

2011-10-26 Thread Daniel Golle
Adds symlinks for printf and wc to make life happier in the sysupgrade ramdisk. Also make code more readable by escaping that overly long line. Signed-off-by: Daniel Golle Index: package/base-files/files/lib/upgrade/common.sh === --

[OpenWrt-Devel] [PATCH] ar71xx/all0258n: add default config

2011-10-26 Thread Daniel Golle
This adds default network and uboot-env settings for the ALL0258N. Signed-off-by: Daniel Golle Index: target/linux/ar71xx/base-files/etc/defconfig/all0258n/ubootenv === --- target/linux/ar71xx/base-files/etc/defconfig/all0258n/uboot

[OpenWrt-Devel] [PATCH] package/uboot-envtools: generate config-file from UCI and remove fw_setenv symlink

2011-10-26 Thread Daniel Golle
This introduces an init-script for uboot-envtools which creates /etc/fw_env.config in case it doesn't exist yet and we got settings in uci. For the sake of PFY protection don't install the fw_setenv symlink. Signed-off-by: Daniel Golle Index: package/uboot-envtools/files/uboot-envtools.init ===

[OpenWrt-Devel] [PATCH] ar71xx/all0258n: fix partition layout

2011-10-26 Thread Daniel Golle
A miscalculation in the original patch makes OpenWrt destroy the failsafe image. Signed-off-by: Daniel Golle Index: target/linux/ar71xx/files/arch/mips/ar71xx/mach-all0258n.c === --- target/linux/ar71xx/files/arch/mips/ar71xx/mach-a

Re: [OpenWrt-Devel] [PATCH 2/3] packages/utils/usb-modeswitch: use the hammer

2011-10-26 Thread Alexander Gordeev
В Wed, 26 Oct 2011 17:48:50 +0200 Daniel Golle пишет: > On 10/26/2011 05:24 PM, Alexander Gordeev wrote: > > В Tue, 25 Oct 2011 14:04:18 +0200 > > Daniel Golle пишет: > >> Unfortunately I returned the collection of 3G-dongles to where it came from > >> after I got all of them working... > >> How

Re: [OpenWrt-Devel] [PATCH 2/3] packages/utils/usb-modeswitch: use the hammer

2011-10-26 Thread Daniel Golle
On 10/26/2011 05:24 PM, Alexander Gordeev wrote: > В Tue, 25 Oct 2011 14:04:18 +0200 > Daniel Golle пишет: >> Unfortunately I returned the collection of 3G-dongles to where it came from >> after I got all of them working... >> However, it seems to be more of a libusb problem than directly related

Re: [OpenWrt-Devel] [PATCH 2/3] packages/utils/usb-modeswitch: use the hammer

2011-10-26 Thread Alexander Gordeev
В Tue, 25 Oct 2011 14:04:18 +0200 Daniel Golle пишет: > On 10/25/2011 01:30 PM, Alexander Gordeev wrote: > > Can you please send the log of usb_modeswitch and dmesg when the > > problem occurs? > > Probably it can be fixed easier and much more reliable in the > > usb_modeswitch code. Also other p

[OpenWrt-Devel] libevent 2.0.15 update patch - fixes tor compile error

2011-10-26 Thread Peter Wagner
libevent 2.0.15 update patch - fixes tor compile error Signed-off-by: Peter Wagner diff --git a/libs/libevent2/Makefile b/libs/libevent2/Makefile index 44b418c..f0cef8f 100644 --- a/libs/libevent2/Makefile +++ b/libs/libevent2/Makefile @@ -8,14 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=li

[OpenWrt-Devel] Board identification and machine on /proc/cpuinfo for atheros platform

2011-10-26 Thread Hanno Schupp
Dear all, I have recently switched from backfire to trunk. This forced a change from madwifi to ath5k for atheros platforms. I also compile and test firmware on ar71xx, ramips and brcm47xx. I notice that on ar71xx and ramips the actual router/board is identified in /proc/cpuinfo. Luci in trunk is

Re: [OpenWrt-Devel] [PATCH] Buffalo WHR-HP-G300N initial support

2011-10-26 Thread Gabor Juhos
2011.08.17. 5:32 keltezéssel, LEO Airwarosu Yoichi Shinoda írta: > The initial support for the Buffalo WHR-HP-G300N box. > The code was confirmed to boot and run, but not tested in depth. > > Known problem: iw phy phy0 info shows: > Coverage class: 0 (up to 0m) > Available Antennas: TX