openwrt.git
9 years ago[target] derive system from hostcc to allow building inside a chroot
blogic [Wed, 22 Aug 2012 15:07:32 +0000 (15:07 +0000)]
[target] derive system from hostcc to allow building inside a chroot

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33228 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33227 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: fix mtd layout of the AP113
juhosg [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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33226 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add profile for Allnet devices
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33225 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add ALL0305 board alias
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33224 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add RSSI leds for uci-defaults for ALL0256N
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33220 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add support for TP-Link TL-WDR3600
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33219 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[tools] tools/firmware-utils/ptgen option to use MB rounding
blogic [Wed, 22 Aug 2012 09:22:38 +0000 (09:22 +0000)]
[tools] tools/firmware-utils/ptgen option to use MB rounding

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33218 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: dsl: fix status polling loop
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33217 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodnsmasq: Set prefix on-link bit in RAs
blogic [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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33216 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoadd led defintion for the WR2543 5GHz WLAN LED
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33215 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[package] comgt: handle service mode for Huawai modems (#12039)
jow [Sun, 19 Aug 2012 15:59:24 +0000 (15:59 +0000)]
[package] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33212 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[brcm47xx] remove unused file
hauke [Sat, 18 Aug 2012 15:45:18 +0000 (15:45 +0000)]
[brcm47xx] remove unused file

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33210 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[brcm47xx] make brcm47xx build only with bcma or only with ssb support.
hauke [Sat, 18 Aug 2012 14:08:35 +0000 (14:08 +0000)]
[brcm47xx] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33209 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[brcm47xx] update gpio patches
hauke [Sat, 18 Aug 2012 11:51:35 +0000 (11:51 +0000)]
[brcm47xx] update gpio patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33208 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: add board alias for the ALL0239-3G
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33206 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: add support for D-Link DIR-615 H1
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33205 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agotools/firmware-utils: add tool for DIR-651-H1 firmware generation
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33204 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Closes #11889.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33202 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[package] acx-mac80211: depend on mipsel, not mips since AR7 is low endian
jow [Thu, 16 Aug 2012 01:24:46 +0000 (01:24 +0000)]
[package] acx-mac80211: depend on mipsel, not mips since AR7 is low endian

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33201 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoiwinfo: add hwinfo for Rt3052
jow [Wed, 15 Aug 2012 20:22:35 +0000 (20:22 +0000)]
iwinfo: add hwinfo for Rt3052

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33200 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoiwinfo: add hw info support for Rt3xxx SoCs
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33199 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33198 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[buildroot] make static host utility linking default to off
jow [Wed, 15 Aug 2012 13:31:31 +0000 (13:31 +0000)]
[buildroot] make static host utility linking default to off

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33197 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[iamgebuilder] use bundle-libraries.sh to install required host utilities into imageb...
jow [Wed, 15 Aug 2012 13:28:26 +0000 (13:28 +0000)]
[iamgebuilder] use bundle-libraries.sh to install required host utilities into imagebuilder staging tree

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33196 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[scripts] add a helper script to bundle required libraries for host utilities
jow [Wed, 15 Aug 2012 13:28:23 +0000 (13:28 +0000)]
[scripts] add a helper script to bundle required libraries for host utilities

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33195 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agopackage/om-watchdog: start service only on the om2p/om2p-lc boards on ar71xx
juhosg [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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33194 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agogeneric: extend pci_isable_usb_common_quirks patch
juhosg [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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33193 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[x86] set xen images to gzip compression, fixes #11970
blogic [Wed, 15 Aug 2012 09:20:12 +0000 (09:20 +0000)]
[x86] set xen images to gzip compression, fixes #11970

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33192 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[mcs814x] MCS8140 actually selects CPU_ARM926T
florian [Tue, 14 Aug 2012 16:19:30 +0000 (16:19 +0000)]
[mcs814x] MCS8140 actually selects CPU_ARM926T

Should make inclusion for other MCS814x SoCs easier

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33188 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoiwinfo: add some Atheros cards
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33186 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[kernel] fixes gpio_dev un/reload balancing
blogic [Tue, 14 Aug 2012 12:32:11 +0000 (12:32 +0000)]
[kernel] fixes gpio_dev un/reload balancing

Signed-off-by: SHI Bin <shibin@ctsing.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33183 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33181 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[package] iwinfo: transparently handle radioX names in madwifi backend
jow [Tue, 14 Aug 2012 10:33:40 +0000 (10:33 +0000)]
[package] iwinfo: transparently handle radioX names in madwifi backend

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33180 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[arptables] fix breakage when compiling for armv6
blogic [Tue, 14 Aug 2012 10:13:39 +0000 (10:13 +0000)]
[arptables] fix breakage when compiling for armv6

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33179 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[orion] generic: enhanced image Makefile
florian [Mon, 13 Aug 2012 14:46:47 +0000 (14:46 +0000)]
[orion] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33174 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: uci-defaults/leds for ALL0258N
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33165 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobase-files: uci-defaults for rssileds
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33164 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agonew package: rssileds daemon
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33163 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[pjsip] dependencies break when alsa is staged
blogic [Mon, 13 Aug 2012 12:45:36 +0000 (12:45 +0000)]
[pjsip] dependencies break when alsa is staged

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33162 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[lantiq] unify tapi deps
blogic [Mon, 13 Aug 2012 11:08:13 +0000 (11:08 +0000)]
[lantiq] unify tapi deps

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33160 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[package] busybox: enable fsync applet by default
florian [Mon, 13 Aug 2012 09:55:12 +0000 (09:55 +0000)]
[package] busybox: enable fsync applet by default

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33159 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[brcm63xx] leds: do not register device if no leds defined
florian [Mon, 13 Aug 2012 09:55:10 +0000 (09:55 +0000)]
[brcm63xx] leds: do not register device if no leds defined

Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33158 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[brcm63xx] BCM6358 fix enet MII clk definitions
florian [Mon, 13 Aug 2012 09:55:07 +0000 (09:55 +0000)]
[brcm63xx] BCM6358 fix enet MII clk definitions

Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33157 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[brcm63xx] nb4: fix support, add support for SVC and CLIP BTN
florian [Mon, 13 Aug 2012 09:55:04 +0000 (09:55 +0000)]
[brcm63xx] nb4: fix support, add support for SVC and CLIP BTN

Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33156 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[buildroot] introduce a menuconfig option to turn off static linking of host utilities
jow [Mon, 13 Aug 2012 00:26:34 +0000 (00:26 +0000)]
[buildroot] introduce a menuconfig option to turn off static linking of host utilities

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33154 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[acx-mac80211] 3rd time lucky ... too much sun today
blogic [Sun, 12 Aug 2012 20:01:04 +0000 (20:01 +0000)]
[acx-mac80211] 3rd time lucky ... too much sun today

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33152 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[acx-mac80211] unbreak deps
blogic [Sun, 12 Aug 2012 19:59:51 +0000 (19:59 +0000)]
[acx-mac80211] unbreak deps

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33151 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[acx-mac80211] breaks when building for powerpc
blogic [Sun, 12 Aug 2012 18:38:59 +0000 (18:38 +0000)]
[acx-mac80211] breaks when building for powerpc

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33150 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] convert remaining tools to $(HOST_STATIC_LINKING) (#12012)
jow [Sun, 12 Aug 2012 13:27:49 +0000 (13:27 +0000)]
[tools] convert remaining tools to $(HOST_STATIC_LINKING) (#12012)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33148 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[package] base-files: provide a sysupgrade -r (--restore-backup) option as convenienc...
jow [Sun, 12 Aug 2012 13:20:27 +0000 (13:20 +0000)]
[package] base-files: provide a sysupgrade -r (--restore-backup) option as convenience wrapper for tar -C / -x(v)zf

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33147 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoxz: update to 5.0.4
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33146 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: rename rt3352 usb platform devices
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33145 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: watchdog: use maximum possible timeout by default
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33144 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: provide means to specify custom "image name" for uImages, use for DIR-620
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33143 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: add D-Link DIR-620 A1 support
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33142 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agotools/ppl: fix automake error due to use of obsolete directory name
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33141 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] use HOST_STATIC_LINKING instead of hardcoding -static
jow [Sun, 12 Aug 2012 12:34:30 +0000 (12:34 +0000)]
[tools] use HOST_STATIC_LINKING instead of hardcoding -static

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33140 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[include] prereq-build.mk: do not perform static linking tests on Darwin
jow [Sun, 12 Aug 2012 12:34:28 +0000 (12:34 +0000)]
[include] prereq-build.mk: do not perform static linking tests on Darwin

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33139 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[include] host-build.mk: define a variable HOST_STATIC_LINKING which is set to "...
jow [Sun, 12 Aug 2012 12:34:25 +0000 (12:34 +0000)]
[include] host-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on non-Darwin systems

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33138 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agogeneric: use __meminit annotation for crashlog_init_memblock
juhosg [Sun, 12 Aug 2012 10:30:41 +0000 (10:30 +0000)]
generic: use __meminit annotation for crashlog_init_memblock

Fixes this section mismatch warning:
WARNING: vmlinux.o(.meminit.text+0xb14): Section mismatch in reference
from the function memblock_insert_region() to the function
.init.text:crashlog_init_memblock()
The function __meminit memblock_insert_region() references
a function __init crashlog_init_memblock().
If crashlog_init_memblock is only used by memblock_insert_region then
annotate crashlog_init_memblock with a matching annotation.

Also, remove the __init annotations from 'include/linux/crashlog.h'

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33137 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[package] netifd: bump to git head, userspace routes are installed with RTPROT_STATIC...
jow [Sat, 11 Aug 2012 16:07:36 +0000 (16:07 +0000)]
[package] netifd: bump to git head, userspace routes are installed with RTPROT_STATIC from now on

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33132 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[mcs814x] only support 128KiB erase block sizes
florian [Sat, 11 Aug 2012 12:56:09 +0000 (12:56 +0000)]
[mcs814x] only support 128KiB erase block sizes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33131 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[mcs814x] disable PCI support
florian [Sat, 11 Aug 2012 12:56:00 +0000 (12:56 +0000)]
[mcs814x] disable PCI support

None of the boards we support have PCI connectors

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33130 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[mcs814x] strip a bit more the kernel config
florian [Sat, 11 Aug 2012 12:55:51 +0000 (12:55 +0000)]
[mcs814x] strip a bit more the kernel config

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33129 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[mcs814x] properly advertise OHCI and EHCI capabilities
florian [Sat, 11 Aug 2012 12:55:41 +0000 (12:55 +0000)]
[mcs814x] properly advertise OHCI and EHCI capabilities

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33128 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[mcs814x] change partition names to be more in line with other OpenWrt devices
florian [Sat, 11 Aug 2012 12:55:30 +0000 (12:55 +0000)]
[mcs814x] change partition names to be more in line with other OpenWrt devices

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33127 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[mcs814x] generate upgrade files suffixed with filesystem type
florian [Sat, 11 Aug 2012 12:55:15 +0000 (12:55 +0000)]
[mcs814x] generate upgrade files suffixed with filesystem type

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33126 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago6rd: missing config option `ipaddr`.
jow [Sat, 11 Aug 2012 00:25:23 +0000 (00:25 +0000)]
6rd: missing config option `ipaddr`.

This option is necessary when configuring 6rd behind NAT.

Signed-off-by: St├ęphan Kochen <stephan@kochen.nl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33123 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[include] add remaining missing build prereq checks
jow [Sat, 11 Aug 2012 00:05:18 +0000 (00:05 +0000)]
[include] add remaining missing build prereq checks

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33122 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[include] add a build preeq check for glibc-static
jow [Fri, 10 Aug 2012 23:35:20 +0000 (23:35 +0000)]
[include] add a build preeq check for glibc-static

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33121 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] sed: disable further SELinux features
jow [Fri, 10 Aug 2012 22:38:09 +0000 (22:38 +0000)]
[tools] sed: disable further SELinux features

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33120 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] sed: unconditionally disable SELinux, NLS and ACL support (#12007)
jow [Fri, 10 Aug 2012 21:41:44 +0000 (21:41 +0000)]
[tools] sed: unconditionally disable SELinux, NLS and ACL support (#12007)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33119 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoRevert "[tools] cmake: link statically"
jow [Fri, 10 Aug 2012 21:25:45 +0000 (21:25 +0000)]
Revert "[tools] cmake: link statically"

Static linking of cmake is broken on x86_64, until we can sort it out, revert the static linking.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33118 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] firmware-utils: link statically
jow [Fri, 10 Aug 2012 19:27:08 +0000 (19:27 +0000)]
[tools] firmware-utils: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33117 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] e2fsprogs: link statically
jow [Fri, 10 Aug 2012 19:27:07 +0000 (19:27 +0000)]
[tools] e2fsprogs: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33116 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] dosfstools: link statically
jow [Fri, 10 Aug 2012 19:27:06 +0000 (19:27 +0000)]
[tools] dosfstools: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33115 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] cmake: link statically
jow [Fri, 10 Aug 2012 19:27:04 +0000 (19:27 +0000)]
[tools] cmake: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33114 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] ccache: fix compilation, link statically
jow [Fri, 10 Aug 2012 19:27:03 +0000 (19:27 +0000)]
[tools] ccache: fix compilation, link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33113 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] yaffs2: link statically
jow [Fri, 10 Aug 2012 19:27:01 +0000 (19:27 +0000)]
[tools] yaffs2: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33112 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] xz: link statically
jow [Fri, 10 Aug 2012 19:27:00 +0000 (19:27 +0000)]
[tools] xz: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33111 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] wrt350nv2-builder: link statically
jow [Fri, 10 Aug 2012 19:26:58 +0000 (19:26 +0000)]
[tools] wrt350nv2-builder: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33110 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] upx: link statically
jow [Fri, 10 Aug 2012 19:26:57 +0000 (19:26 +0000)]
[tools] upx: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33109 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] upslug2: link statically
jow [Fri, 10 Aug 2012 19:26:55 +0000 (19:26 +0000)]
[tools] upslug2: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33108 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] sstrip: link statically
jow [Fri, 10 Aug 2012 19:26:54 +0000 (19:26 +0000)]
[tools] sstrip: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33107 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] squashfs4: link statically
jow [Fri, 10 Aug 2012 19:26:52 +0000 (19:26 +0000)]
[tools] squashfs4: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33106 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] squashfs: link statically
jow [Fri, 10 Aug 2012 19:26:50 +0000 (19:26 +0000)]
[tools] squashfs: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33105 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] sdcc: link statically
jow [Fri, 10 Aug 2012 19:26:49 +0000 (19:26 +0000)]
[tools] sdcc: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33104 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] qemu: link statically
jow [Fri, 10 Aug 2012 19:26:48 +0000 (19:26 +0000)]
[tools] qemu: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33103 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] pkg-config: link statically
jow [Fri, 10 Aug 2012 19:26:46 +0000 (19:26 +0000)]
[tools] pkg-config: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33102 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] patch-cmdline: link statically
jow [Fri, 10 Aug 2012 19:26:45 +0000 (19:26 +0000)]
[tools] patch-cmdline: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33101 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] padjffs2: link statically
jow [Fri, 10 Aug 2012 19:26:43 +0000 (19:26 +0000)]
[tools] padjffs2: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33100 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] mtools: link statically
jow [Fri, 10 Aug 2012 19:26:42 +0000 (19:26 +0000)]
[tools] mtools: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33099 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] mtd-utils: link statically
jow [Fri, 10 Aug 2012 19:26:40 +0000 (19:26 +0000)]
[tools] mtd-utils: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33098 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] mklibs: link statically
jow [Fri, 10 Aug 2012 19:26:36 +0000 (19:26 +0000)]
[tools] mklibs: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33097 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] mkimage: link statically
jow [Fri, 10 Aug 2012 19:26:34 +0000 (19:26 +0000)]
[tools] mkimage: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33096 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] m4: link statically
jow [Fri, 10 Aug 2012 19:26:31 +0000 (19:26 +0000)]
[tools] m4: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33095 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] lzma: link statically
jow [Fri, 10 Aug 2012 19:26:30 +0000 (19:26 +0000)]
[tools] lzma: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33094 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] genext2fs: link statically
jow [Fri, 10 Aug 2012 19:26:28 +0000 (19:26 +0000)]
[tools] genext2fs: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33093 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] flock: link statically
jow [Fri, 10 Aug 2012 19:26:26 +0000 (19:26 +0000)]
[tools] flock: link statically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33092 3c298f89-4303-0410-b956-a3cf2f4a3e73