openwrt/openwrt.git
11 years agopackage/util-linux: don't lie about availability of '%ms' scanf modifier
Gabor Juhos [Fri, 24 Aug 2012 10:01:01 +0000 (10:01 +0000)]
package/util-linux: don't lie about availability of '%ms' scanf modifier

Use a patch from gentoo which allows building libmount even
if the C library does not supports %ms/%as.

See: https://bugs.gentoo.org/406303

SVN-Revision: 33270

11 years agoadd safethread
John Crispin [Fri, 24 Aug 2012 09:58:42 +0000 (09:58 +0000)]
add safethread

SVN-Revision: 33269

11 years agoEnable eSATA sheevaplug
John Crispin [Fri, 24 Aug 2012 06:15:06 +0000 (06:15 +0000)]
Enable eSATA sheevaplug

OpenWRT runs in a eSATA sheevaplug like a charm. This patch just enables
CONFIG_MACH_ESATA_SHEEVAPLUG so the proper MACHINE_START definition
is compiled in.

Signed-off-by: Unai Uribarri <unaiur@gmail.com>
SVN-Revision: 33266

11 years agopackage/uboot-envtools: always install the fw_setenv symlink
Gabor Juhos [Thu, 23 Aug 2012 14:27:36 +0000 (14:27 +0000)]
package/uboot-envtools: always install the fw_setenv symlink

It is required by sysupgrade on some boards, and it is only
working if a suitable /etc/fw_env.config is present on the
target board. If an user creates such configuration he/she
should know that it is a dangerous tool. The devices can
be bricked in several other ways anyway.

SVN-Revision: 33265

11 years agoar71xx: image: group and sort {Single,Multi}Profiles
Gabor Juhos [Thu, 23 Aug 2012 13:17:47 +0000 (13:17 +0000)]
ar71xx: image: group and sort {Single,Multi}Profiles

SVN-Revision: 33264

11 years agoar71xx: image: group and sort mtdlayout definitions
Gabor Juhos [Thu, 23 Aug 2012 13:14:35 +0000 (13:14 +0000)]
ar71xx: image: group and sort mtdlayout definitions

SVN-Revision: 33263

11 years agoar71xx: image: use the MultiProfile helper for the Madwifi profile
Gabor Juhos [Thu, 23 Aug 2012 13:11:25 +0000 (13:11 +0000)]
ar71xx: image: use the MultiProfile helper for the Madwifi profile

SVN-Revision: 33262

11 years agoar71xx: image: automatically build a list of SingleProfiles
Gabor Juhos [Thu, 23 Aug 2012 13:08:15 +0000 (13:08 +0000)]
ar71xx: image: automatically build a list of SingleProfiles

Use that for Default/Minimal profiles.

SVN-Revision: 33261

11 years agoar71xx: image: use the new helpers for the ZyXEL images
Gabor Juhos [Thu, 23 Aug 2012 13:05:05 +0000 (13:05 +0000)]
ar71xx: image: use the new helpers for the ZyXEL images

SVN-Revision: 33260

11 years agoar71xx: image: use the new helpers for the Zcomax images
Gabor Juhos [Thu, 23 Aug 2012 13:01:55 +0000 (13:01 +0000)]
ar71xx: image: use the new helpers for the Zcomax images

SVN-Revision: 33259

11 years agoar71xx: image: use the new helpers for the WRT400 images
Gabor Juhos [Thu, 23 Aug 2012 12:58:45 +0000 (12:58 +0000)]
ar71xx: image: use the new helpers for the WRT400 images

SVN-Revision: 33258

11 years agoar71xx: image: use the new helpers for the WZRHPG30XNH images
Gabor Juhos [Thu, 23 Aug 2012 12:55:35 +0000 (12:55 +0000)]
ar71xx: image: use the new helpers for the WZRHPG30XNH images

SVN-Revision: 33257

11 years agoar71xx: image: use the new helpers for the WHRHPG300N images
Gabor Juhos [Thu, 23 Aug 2012 12:52:25 +0000 (12:52 +0000)]
ar71xx: image: use the new helpers for the WHRHPG300N images

SVN-Revision: 33256

11 years agoar71xx: image: use the new helpers for the UBNTXM images
Gabor Juhos [Thu, 23 Aug 2012 12:49:15 +0000 (12:49 +0000)]
ar71xx: image: use the new helpers for the UBNTXM images

SVN-Revision: 33255

11 years agoar71xx: image: use the new helpers for the UBNT images
Gabor Juhos [Thu, 23 Aug 2012 12:46:06 +0000 (12:46 +0000)]
ar71xx: image: use the new helpers for the UBNT images

SVN-Revision: 33254

11 years agoar71xx: image: use the new helpers for the TPLINKOLD images
Gabor Juhos [Thu, 23 Aug 2012 12:42:56 +0000 (12:42 +0000)]
ar71xx: image: use the new helpers for the TPLINKOLD images

SVN-Revision: 33253

11 years agoar71xx: image: use the new helpers for the TPLINK-LZMA images
Gabor Juhos [Thu, 23 Aug 2012 12:39:46 +0000 (12:39 +0000)]
ar71xx: image: use the new helpers for the TPLINK-LZMA images

SVN-Revision: 33252

11 years agoar71xx: image: use the new helpers for the TPLINK images
Gabor Juhos [Thu, 23 Aug 2012 12:36:35 +0000 (12:36 +0000)]
ar71xx: image: use the new helpers for the TPLINK images

SVN-Revision: 33251

11 years agoar71xx: image: use the new helpers for the Planex images
Gabor Juhos [Thu, 23 Aug 2012 12:33:25 +0000 (12:33 +0000)]
ar71xx: image: use the new helpers for the Planex images

SVN-Revision: 33250

11 years agoar71xx: image: use the new helpers for the PB4X images
Gabor Juhos [Thu, 23 Aug 2012 12:30:15 +0000 (12:30 +0000)]
ar71xx: image: use the new helpers for the PB4X images

SVN-Revision: 33249

11 years agoar71xx: image: use the new helpers for the OpenMesh images
Gabor Juhos [Thu, 23 Aug 2012 12:27:06 +0000 (12:27 +0000)]
ar71xx: image: use the new helpers for the OpenMesh images

SVN-Revision: 33248

11 years agoar71xx: image: use the new helpers for the Netgear images
Gabor Juhos [Thu, 23 Aug 2012 12:23:56 +0000 (12:23 +0000)]
ar71xx: image: use the new helpers for the Netgear images

SVN-Revision: 33247

11 years agoar71xx: image: use the new helpers for the MyLoader images
Gabor Juhos [Thu, 23 Aug 2012 12:20:46 +0000 (12:20 +0000)]
ar71xx: image: use the new helpers for the MyLoader images

SVN-Revision: 33246

11 years agoar71xx: image: use the new helpers for the DIR825B1 images
Gabor Juhos [Thu, 23 Aug 2012 12:17:36 +0000 (12:17 +0000)]
ar71xx: image: use the new helpers for the DIR825B1 images

SVN-Revision: 33245

11 years agoar71xx: image: use the new helpers for the CyberTAN images
Gabor Juhos [Thu, 23 Aug 2012 12:14:26 +0000 (12:14 +0000)]
ar71xx: image: use the new helpers for the CyberTAN images

SVN-Revision: 33244

11 years agoar71xx: image: use the new helpers for the Cameo933x images
Gabor Juhos [Thu, 23 Aug 2012 12:11:17 +0000 (12:11 +0000)]
ar71xx: image: use the new helpers for the Cameo933x images

SVN-Revision: 33243

11 years agoar71xx: image: use the new helpers for the Cameo913x images
Gabor Juhos [Thu, 23 Aug 2012 12:08:07 +0000 (12:08 +0000)]
ar71xx: image: use the new helpers for the Cameo913x images

SVN-Revision: 33242

11 years agoar71xx: image: use the new helpers for the Cameo7240 images
Gabor Juhos [Thu, 23 Aug 2012 12:04:57 +0000 (12:04 +0000)]
ar71xx: image: use the new helpers for the Cameo7240 images

SVN-Revision: 33241

11 years agoar71xx: image: use the new helpers for the AthGzip images
Gabor Juhos [Thu, 23 Aug 2012 12:01:47 +0000 (12:01 +0000)]
ar71xx: image: use the new helpers for the AthGzip images

SVN-Revision: 33240

11 years agoar71xx: image: use the new helpers for the AthLzma images
Gabor Juhos [Thu, 23 Aug 2012 11:58:37 +0000 (11:58 +0000)]
ar71xx: image: use the new helpers for the AthLzma images

SVN-Revision: 33239

11 years agoar71xx: image: use the new helpers for the ALFA images
Gabor Juhos [Thu, 23 Aug 2012 11:55:27 +0000 (11:55 +0000)]
ar71xx: image: use the new helpers for the ALFA images

SVN-Revision: 33238

11 years agoar71xx: image: add a few helper functions
Gabor Juhos [Thu, 23 Aug 2012 11:52:18 +0000 (11:52 +0000)]
ar71xx: image: add a few helper functions

These functions will be used to simplify the Makefile.

SVN-Revision: 33237

11 years agoar71xx: image: pass mtdlayout as a separate parameter for the ALFA template
Gabor Juhos [Thu, 23 Aug 2012 11:49:07 +0000 (11:49 +0000)]
ar71xx: image: pass mtdlayout as a separate parameter for the ALFA template

SVN-Revision: 33236

11 years agoupdate profiles
Hauke Mehrtens [Wed, 22 Aug 2012 21:54:06 +0000 (21:54 +0000)]
update profiles

* add profile for BCM4705 based SoC using tg3 instead of b44
* remove redundant 105-Atheros.mk
* reorder

SVN-Revision: 33235

11 years agoar71xx: add profile and build image for the TEW-712BR
Gabor Juhos [Wed, 22 Aug 2012 20:18:44 +0000 (20:18 +0000)]
ar71xx: add profile and build image for the TEW-712BR

SVN-Revision: 33234

11 years agotools/firmware-utils: add a new tool for TEW-712BR firmware generation
Gabor Juhos [Wed, 22 Aug 2012 20:15:34 +0000 (20:15 +0000)]
tools/firmware-utils: add a new tool for TEW-712BR firmware generation

SVN-Revision: 33233

11 years agoar71xx: TEW-712BR user space support
Gabor Juhos [Wed, 22 Aug 2012 20:12:24 +0000 (20:12 +0000)]
ar71xx: TEW-712BR user space support

SVN-Revision: 33232

11 years agoar71xx: add support for the TRENDnet TEW-712BR board
Gabor Juhos [Wed, 22 Aug 2012 20:09:13 +0000 (20:09 +0000)]
ar71xx: add support for the TRENDnet TEW-712BR board

SVN-Revision: 33231

11 years agoar71xx: fix serial clock calculation on AR933x
Gabor Juhos [Wed, 22 Aug 2012 19:11:10 +0000 (19:11 +0000)]
ar71xx: fix serial clock calculation on AR933x

Closes #12031.

SVN-Revision: 33230

11 years agoramips: fix board parameter for the NBG-419N (#12061)
Gabor Juhos [Wed, 22 Aug 2012 17:55:12 +0000 (17:55 +0000)]
ramips: fix board parameter for the NBG-419N (#12061)

SVN-Revision: 33229

11 years agoderive system from hostcc to allow building inside a chroot
John Crispin [Wed, 22 Aug 2012 15:07:32 +0000 (15:07 +0000)]
derive system from hostcc to allow building inside a chroot

SVN-Revision: 33228

11 years agoar71xx: fix comment style in mach-tl-wr2543n.c
Gabor Juhos [Wed, 22 Aug 2012 12:42:59 +0000 (12:42 +0000)]
ar71xx: fix comment style in mach-tl-wr2543n.c

SVN-Revision: 33227

11 years agoar71xx: fix mtd layout of the AP113
Gabor Juhos [Wed, 22 Aug 2012 12:39:46 +0000 (12:39 +0000)]
ar71xx: fix mtd layout of the AP113

The 'mtdparts=' prefix and the name of the flash device is missing.

SVN-Revision: 33226

11 years agoramips: add profile for Allnet devices
Gabor Juhos [Wed, 22 Aug 2012 12:36:35 +0000 (12:36 +0000)]
ramips: add profile for Allnet devices

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33225

11 years agoar71xx: add ALL0305 board alias
Gabor Juhos [Wed, 22 Aug 2012 12:33:22 +0000 (12:33 +0000)]
ar71xx: add ALL0305 board alias

For the pure convenience of having a correctly named
image and system name in /proc/cpuinfo , until we can
do that by having system names in DTS...

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33224

11 years agoramips: add RSSI leds for uci-defaults for ALL0256N
Gabor Juhos [Wed, 22 Aug 2012 09:46:30 +0000 (09:46 +0000)]
ramips: add RSSI leds for uci-defaults for ALL0256N

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33220

11 years agoar71xx: add support for TP-Link TL-WDR3600
Gabor Juhos [Wed, 22 Aug 2012 09:43:18 +0000 (09:43 +0000)]
ar71xx: add support for TP-Link TL-WDR3600

The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has
only two antennas.

[juhosg: remove the custom machine type, change the board name instead]

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 33219

11 years agotools/firmware-utils/ptgen option to use MB rounding
John Crispin [Wed, 22 Aug 2012 09:22:38 +0000 (09:22 +0000)]
tools/firmware-utils/ptgen option to use MB rounding

SVN-Revision: 33218

11 years agolantiq: dsl: fix status polling loop
John Crispin [Wed, 22 Aug 2012 09:19:11 +0000 (09:19 +0000)]
lantiq: dsl: fix status polling loop

doesn't need to do it 20 times all the time, missing loop condition check

Signed-off-by: Conor O'Gorman <i@conorogorman.net>
SVN-Revision: 33217

11 years agodnsmasq: Set prefix on-link bit in RAs
John Crispin [Wed, 22 Aug 2012 09:14:42 +0000 (09:14 +0000)]
dnsmasq: Set prefix on-link bit in RAs

This is fix an issue with dnsmasq's RA that does not set the "on-link" bit, making all local IPv6 traffic go to the router then to the destination host, not directly to each other.

patch is from dnsmasq git

SVN-Revision: 33216

11 years agoadd led defintion for the WR2543 5GHz WLAN LED
John Crispin [Wed, 22 Aug 2012 09:10:24 +0000 (09:10 +0000)]
add led defintion for the WR2543 5GHz WLAN LED

Signed-off-by: Andy Leiserson <andy@leiserson.org>
SVN-Revision: 33215

11 years agocomgt: handle service mode for Huawai modems (#12039)
Jo-Philipp Wich [Sun, 19 Aug 2012 15:59:24 +0000 (15:59 +0000)]
comgt: handle service mode for Huawai modems (#12039)

It seems that the comgt package does not handle the Huawei 3G USB dongle E176 correctly (and probably other Huawei dongles too). My dongle appears as ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem and 3G/UMTS
connections work well. However, no connection is established if only 2G/GPRS is available: the pppd chat script fails with NO CARRIER although the dongle is registered to the network (via 2G). As outlined in  this wiki or  this
blog, Huawei chips use the AT^SYSCFG command to set 2G or 3G mode, which is not implemented in comgt at the moment. Thus I wrote a patch for /lib/network/3g.sh which adds support for the "service" option in the network
configuration with Huawei dongles. By default (if no "service" option is specified) also 2G is used when 3G is unavailable. The Huawei dongle is detected analogously to other chips (the output of gcom -d /dev/ttyUSB0 -s
/etc/gcom/getcardinfo.gcom is scanned for huawei).

Some further information: The AT^SYSCFG command seems to be respected only once after the dongle is attached (or after the host is powered up). Resetting the dongle seems to render the serial port unusable in some cases.
However, the patch sets a useful mode by default which should cover most use cases (3G preferred, but 2G allowed) and if 3G-only or 2G-only mode is required the device can be power cycled.

SVN-Revision: 33212

11 years agoremove unused file
Hauke Mehrtens [Sat, 18 Aug 2012 15:45:18 +0000 (15:45 +0000)]
remove unused file

SVN-Revision: 33210

11 years agomake brcm47xx build only with bcma or only with ssb support.
Hauke Mehrtens [Sat, 18 Aug 2012 14:08:35 +0000 (14:08 +0000)]
make brcm47xx build only with bcma or only with ssb support.

There are some ifdefs missing so when only ssb or only bcma was
selected in the kernel config it did not build.

SVN-Revision: 33209

11 years agoupdate gpio patches
Hauke Mehrtens [Sat, 18 Aug 2012 11:51:35 +0000 (11:51 +0000)]
update gpio patches

SVN-Revision: 33208

11 years agoramips: add board alias for the ALL0239-3G
Gabor Juhos [Fri, 17 Aug 2012 17:56:07 +0000 (17:56 +0000)]
ramips: add board alias for the ALL0239-3G

Generate image for the ALL0239-3G which can be flashed through the
chipset-vendor SDK based firmware's web-interface and bootloader.

The bootloader seems to ignore uImage checksum errors, but does complain about
them once the 0xDEADC0DE was replaced by an actual JFFS2 page.

I'm working on implementing fixtrx for uImage in the mtd package to solve this.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33206

11 years agoramips: add support for D-Link DIR-615 H1
Gabor Juhos [Fri, 17 Aug 2012 17:56:05 +0000 (17:56 +0000)]
ramips: add support for D-Link DIR-615 H1

rt2x00 still needs some patching as the radio doesn't come to life.
Installation via webflash.

[juhosg: fix whitespace issues, remove rt305x_register_usb
from machine setup because the board has no USB port]

Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>
SVN-Revision: 33205

11 years agotools/firmware-utils: add tool for DIR-651-H1 firmware generation
Gabor Juhos [Fri, 17 Aug 2012 17:56:02 +0000 (17:56 +0000)]
tools/firmware-utils: add tool for DIR-651-H1 firmware generation

Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>
SVN-Revision: 33204

11 years agoar71xx: setup WLAN LED for the TL-WA901ND v2
Gabor Juhos [Thu, 16 Aug 2012 07:11:30 +0000 (07:11 +0000)]
ar71xx: setup WLAN LED for the TL-WA901ND v2

Closes #11889.

SVN-Revision: 33202

11 years agoacx-mac80211: depend on mipsel, not mips since AR7 is low endian
Jo-Philipp Wich [Thu, 16 Aug 2012 01:24:46 +0000 (01:24 +0000)]
acx-mac80211: depend on mipsel, not mips since AR7 is low endian

SVN-Revision: 33201

11 years agoiwinfo: add hwinfo for Rt3052
Jo-Philipp Wich [Wed, 15 Aug 2012 20:22:35 +0000 (20:22 +0000)]
iwinfo: add hwinfo for Rt3052

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33200

11 years agoiwinfo: add hw info support for Rt3xxx SoCs
Jo-Philipp Wich [Wed, 15 Aug 2012 16:25:38 +0000 (16:25 +0000)]
iwinfo: add hw info support for Rt3xxx SoCs

This takes the device_id and subsystem_id from the EEPROM, I'll add
the info for other Rt3xxx chips in the next days.

[jow: minor whitespace changes]

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33199

11 years agoath5k: add back a patch for fixing eeprom rate power parsing
Felix Fietkau [Wed, 15 Aug 2012 14:49:59 +0000 (14:49 +0000)]
ath5k: add back a patch for fixing eeprom rate power parsing

SVN-Revision: 33198

11 years agomake static host utility linking default to off
Jo-Philipp Wich [Wed, 15 Aug 2012 13:31:31 +0000 (13:31 +0000)]
make static host utility linking default to off

SVN-Revision: 33197

11 years agouse bundle-libraries.sh to install required host utilities into imagebuilder staging...
Jo-Philipp Wich [Wed, 15 Aug 2012 13:28:26 +0000 (13:28 +0000)]
use bundle-libraries.sh to install required host utilities into imagebuilder staging tree

SVN-Revision: 33196

11 years agoadd a helper script to bundle required libraries for host utilities
Jo-Philipp Wich [Wed, 15 Aug 2012 13:28:23 +0000 (13:28 +0000)]
add a helper script to bundle required libraries for host utilities

SVN-Revision: 33195

11 years agopackage/om-watchdog: start service only on the om2p/om2p-lc boards on ar71xx
Gabor Juhos [Wed, 15 Aug 2012 13:27:55 +0000 (13:27 +0000)]
package/om-watchdog: start service only on the om2p/om2p-lc boards on ar71xx

If the package is installed, it starts the watchdog daemon
on every ar71xx based board.

SVN-Revision: 33194

11 years agogeneric: extend pci_isable_usb_common_quirks patch
Gabor Juhos [Wed, 15 Aug 2012 13:26:51 +0000 (13:26 +0000)]
generic: extend pci_isable_usb_common_quirks patch

Fixes the following build error:
  SYSMAP  System.map
  Building modules, stage 2.
  MODPOST 48 modules
ERROR: "usb_enable_xhci_ports" [drivers/usb/host/ehci-hcd.ko] undefined!
ERROR: "usb_is_intel_switchable_xhci" [drivers/usb/host/ehci-hcd.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

SVN-Revision: 33193

11 years agoset xen images to gzip compression, fixes #11970
John Crispin [Wed, 15 Aug 2012 09:20:12 +0000 (09:20 +0000)]
set xen images to gzip compression, fixes #11970

SVN-Revision: 33192

11 years agoMCS8140 actually selects CPU_ARM926T
Florian Fainelli [Tue, 14 Aug 2012 16:19:30 +0000 (16:19 +0000)]
MCS8140 actually selects CPU_ARM926T

Should make inclusion for other MCS814x SoCs easier

SVN-Revision: 33188

11 years agoiwinfo: add some Atheros cards
Jo-Philipp Wich [Tue, 14 Aug 2012 13:58:49 +0000 (13:58 +0000)]
iwinfo: add some Atheros cards

These are two Atheros modules we are using, just for the cosmetics to make them
show up with the proper names in LuCI.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33186

11 years agofixes gpio_dev un/reload balancing
John Crispin [Tue, 14 Aug 2012 12:32:11 +0000 (12:32 +0000)]
fixes gpio_dev un/reload balancing

Signed-off-by: SHI Bin <shibin@ctsing.com>
SVN-Revision: 33183

11 years agowrt350nv2-builder: don't use internal zlib macro OF() in ioapi.h, it breaks with...
Jo-Philipp Wich [Tue, 14 Aug 2012 10:33:43 +0000 (10:33 +0000)]
wrt350nv2-builder: don't use internal zlib macro OF() in ioapi.h, it breaks with new zlib releases

SVN-Revision: 33181

11 years agoiwinfo: transparently handle radioX names in madwifi backend
Jo-Philipp Wich [Tue, 14 Aug 2012 10:33:40 +0000 (10:33 +0000)]
iwinfo: transparently handle radioX names in madwifi backend

SVN-Revision: 33180

11 years agofix breakage when compiling for armv6
John Crispin [Tue, 14 Aug 2012 10:13:39 +0000 (10:13 +0000)]
fix breakage when compiling for armv6

SVN-Revision: 33179

11 years agogeneric: enhanced image Makefile
Florian Fainelli [Mon, 13 Aug 2012 14:46:47 +0000 (14:46 +0000)]
generic: enhanced image Makefile

* Creation of uImage for WNR854T only done once (before 2x for jffs2 build and 1x for squashfs build)
* Got rid of unneccessary padding of rootfs partition
* ARM zImages always need a machine id, therefore do not copy generic (=no id) uImage to BIN_DIR, instead copy zImage
* Generalized functions for easier re-using and enhancing (e.g. D-Link DNS 323 implementation would be only a couple lines)
* Copy rootfs partitions to BIN_DIR, just like it is done for D-Link DNS 323
* Use variables to allows easily changing for custom builds, e.g. kernel mtd size for symbols
* Size check of kernel files to avoid builds that break devices
* Use for "-sysupgrade" and "-factory" in image names (like ar71xx, brcm63xx, etc.) to avoid questions about which image to use

Signed-off by: Matthias Buecher <mail@maddes.net>

SVN-Revision: 33174

11 years agoar71xx: uci-defaults/leds for ALL0258N
Gabor Juhos [Mon, 13 Aug 2012 14:01:38 +0000 (14:01 +0000)]
ar71xx: uci-defaults/leds for ALL0258N

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33165

11 years agobase-files: uci-defaults for rssileds
Gabor Juhos [Mon, 13 Aug 2012 14:01:37 +0000 (14:01 +0000)]
base-files: uci-defaults for rssileds

Adds capability to add uci-defaults defining RSSI LEDs

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33164

11 years agonew package: rssileds daemon
Gabor Juhos [Mon, 13 Aug 2012 14:01:34 +0000 (14:01 +0000)]
new package: rssileds daemon

rssileds is a small user-space process to control LEDs by polling the
signal quality reported by a WiFi interface. By using the iwinfo library,
rssileds is independent of the WiFi driver used.
It supports pwm controlled LEDs and may by used to nicely fade through
all colors in real-time of the rainbow while only wasting very little CPU
time and a small constant amount of system memory.
An example configuration for the ALL0258N will follow in the next patch.

This is a slightly improved version of rssileds, now quality values are
in percent and stuff is written to syslog.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33163

11 years agodependencies break when alsa is staged
John Crispin [Mon, 13 Aug 2012 12:45:36 +0000 (12:45 +0000)]
dependencies break when alsa is staged

SVN-Revision: 33162

11 years agounify tapi deps
John Crispin [Mon, 13 Aug 2012 11:08:13 +0000 (11:08 +0000)]
unify tapi deps

SVN-Revision: 33160

11 years agobusybox: enable fsync applet by default
Florian Fainelli [Mon, 13 Aug 2012 09:55:12 +0000 (09:55 +0000)]
busybox: enable fsync applet by default

SVN-Revision: 33159

11 years agoleds: do not register device if no leds defined
Florian Fainelli [Mon, 13 Aug 2012 09:55:10 +0000 (09:55 +0000)]
leds: do not register device if no leds defined

Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>
SVN-Revision: 33158

11 years agoBCM6358 fix enet MII clk definitions
Florian Fainelli [Mon, 13 Aug 2012 09:55:07 +0000 (09:55 +0000)]
BCM6358 fix enet MII clk definitions

Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>
SVN-Revision: 33157

11 years agonb4: fix support, add support for SVC and CLIP BTN
Florian Fainelli [Mon, 13 Aug 2012 09:55:04 +0000 (09:55 +0000)]
nb4: fix support, add support for SVC and CLIP BTN

Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>
SVN-Revision: 33156

11 years agointroduce a menuconfig option to turn off static linking of host utilities
Jo-Philipp Wich [Mon, 13 Aug 2012 00:26:34 +0000 (00:26 +0000)]
introduce a menuconfig option to turn off static linking of host utilities

SVN-Revision: 33154

11 years ago3rd time lucky ... too much sun today
John Crispin [Sun, 12 Aug 2012 20:01:04 +0000 (20:01 +0000)]
3rd time lucky ... too much sun today

SVN-Revision: 33152

11 years agounbreak deps
John Crispin [Sun, 12 Aug 2012 19:59:51 +0000 (19:59 +0000)]
unbreak deps

SVN-Revision: 33151

11 years agobreaks when building for powerpc
John Crispin [Sun, 12 Aug 2012 18:38:59 +0000 (18:38 +0000)]
breaks when building for powerpc

SVN-Revision: 33150

11 years agoconvert remaining tools to $(HOST_STATIC_LINKING) (#12012)
Jo-Philipp Wich [Sun, 12 Aug 2012 13:27:49 +0000 (13:27 +0000)]
convert remaining tools to $(HOST_STATIC_LINKING) (#12012)

SVN-Revision: 33148

11 years agobase-files: provide a sysupgrade -r (--restore-backup) option as convenience wrapper...
Jo-Philipp Wich [Sun, 12 Aug 2012 13:20:27 +0000 (13:20 +0000)]
base-files: provide a sysupgrade -r (--restore-backup) option as convenience wrapper for tar -C / -x(v)zf

SVN-Revision: 33147

11 years agoxz: update to 5.0.4
Jo-Philipp Wich [Sun, 12 Aug 2012 12:48:49 +0000 (12:48 +0000)]
xz: update to 5.0.4

Signed-off-by: Jonh Wendell <jonh.wendell@gmail.com>
SVN-Revision: 33146

11 years agoramips: rename rt3352 usb platform devices
Gabor Juhos [Sun, 12 Aug 2012 12:48:31 +0000 (12:48 +0000)]
ramips: rename rt3352 usb platform devices

In order to get OHCI/EHCI working on the Rt3352, the platform device must be
named so rt3883-?hci will recognize it.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33145

11 years agoramips: watchdog: use maximum possible timeout by default
Gabor Juhos [Sun, 12 Aug 2012 12:48:28 +0000 (12:48 +0000)]
ramips: watchdog: use maximum possible timeout by default

As the userspace has no means to determine the maximum possible timeout, use
that as the default and let the userspace lower it when necessary.

As the result the usual OpenWrt install (with busybox's watchdog trying to set
the timeout to 60s on start) is using a 33s timeout on an RT3052 clocked at
384MHz instead of the current 20s default.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 33144

11 years agoramips: provide means to specify custom "image name" for uImages, use for DIR-620
Gabor Juhos [Sun, 12 Aug 2012 12:48:26 +0000 (12:48 +0000)]
ramips: provide means to specify custom "image name" for uImages, use for DIR-620

D-Link's DIR-620 allows to flash a uImage directly from its web-interface but
for that the image name should be set to DIR_620.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 33143

11 years agoramips: add D-Link DIR-620 A1 support
Gabor Juhos [Sun, 12 Aug 2012 12:48:24 +0000 (12:48 +0000)]
ramips: add D-Link DIR-620 A1 support

Full functionality runtime tested, installation via OEM web-interface requires
a follow-up patch.

Thanks go to Sergey Vasilyugin for his patch that pointed me at the missing
bits (including the antiparallel wps led).

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 33142

11 years agotools/ppl: fix automake error due to use of obsolete directory name
Jo-Philipp Wich [Sun, 12 Aug 2012 12:46:47 +0000 (12:46 +0000)]
tools/ppl: fix automake error due to use of obsolete directory name

I recently experienced this:

configure.ac:1101: the top level
interfaces/Prolog/Ciao/Makefile.am:168: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/GNU/Makefile.am:167: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/SICStus/Makefile.am:71: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/SWI/Makefile.am:187: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/XSB/Makefile.am:186: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/YAP/Makefile.am:176: `pkglibdir' is not a legitimate directory for `DATA'
make[4]: *** [Makefile.in] Error 1

Found this on google:
http://bugs.mysql.com/bug.php?id=63898

And used this to fix it:
fgrep -rlZ pkglib_DATA --include Makefile.am . | xargs -0 sed -i 's/pkglib_DATA/pkgdata_DATA/g'

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33141

11 years agouse HOST_STATIC_LINKING instead of hardcoding -static
Jo-Philipp Wich [Sun, 12 Aug 2012 12:34:30 +0000 (12:34 +0000)]
use HOST_STATIC_LINKING instead of hardcoding -static

SVN-Revision: 33140

11 years agoprereq-build.mk: do not perform static linking tests on Darwin
Jo-Philipp Wich [Sun, 12 Aug 2012 12:34:28 +0000 (12:34 +0000)]
prereq-build.mk: do not perform static linking tests on Darwin

SVN-Revision: 33139

11 years agohost-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on...
Jo-Philipp Wich [Sun, 12 Aug 2012 12:34:25 +0000 (12:34 +0000)]
host-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on non-Darwin systems

SVN-Revision: 33138