aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add led defintion for the WR2543 5GHz WLAN LEDJohn Crispin2012-08-221-1/+20
| | | | | | Signed-off-by: Andy Leiserson <andy@leiserson.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] comgt: handle service mode for Huawai modems (#12039)Jo-Philipp Wich2012-08-192-2/+9
| | | | | | | | | | | | | 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
* [brcm47xx] remove unused fileHauke Mehrtens2012-08-181-635/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33210 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx] make brcm47xx build only with bcma or only with ssb support.Hauke Mehrtens2012-08-187-59/+33
| | | | | | | | 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
* [brcm47xx] update gpio patchesHauke Mehrtens2012-08-182-106/+105
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add board alias for the ALL0239-3GGabor Juhos2012-08-1710-2/+36
| | | | | | | | | | | | | | 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
* ramips: add support for D-Link DIR-615 H1Gabor Juhos2012-08-1713-4/+152
| | | | | | | | | | | | 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
* tools/firmware-utils: add tool for DIR-651-H1 firmware generationGabor Juhos2012-08-172-0/+411
| | | | | | Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: setup WLAN LED for the TL-WA901ND v2Gabor Juhos2012-08-161-0/+4
| | | | | | Closes #11889. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33202 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] acx-mac80211: depend on mipsel, not mips since AR7 is low endianJo-Philipp Wich2012-08-161-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33201 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add hwinfo for Rt3052Jo-Philipp Wich2012-08-151-0/+1
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33200 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add hw info support for Rt3xxx SoCsJo-Philipp Wich2012-08-152-1/+24
| | | | | | | | | | | 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
* ath5k: add back a patch for fixing eeprom rate power parsingFelix Fietkau2012-08-151-0/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33198 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] make static host utility linking default to offJo-Philipp Wich2012-08-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33197 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [iamgebuilder] use bundle-libraries.sh to install required host utilities ↵Jo-Philipp Wich2012-08-151-1/+2
| | | | | | into imagebuilder staging tree git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33196 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [scripts] add a helper script to bundle required libraries for host utilitiesJo-Philipp Wich2012-08-151-0/+114
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33195 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/om-watchdog: start service only on the om2p/om2p-lc boards on ar71xxGabor Juhos2012-08-151-5/+5
| | | | | | | 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
* generic: extend pci_isable_usb_common_quirks patchGabor Juhos2012-08-151-0/+20
| | | | | | | | | | | | | 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
* [x86] set xen images to gzip compression, fixes #11970John Crispin2012-08-151-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33192 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mcs814x] MCS8140 actually selects CPU_ARM926TFlorian Fainelli2012-08-142-2/+2
| | | | | | Should make inclusion for other MCS814x SoCs easier git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33188 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add some Atheros cardsJo-Philipp Wich2012-08-141-0/+2
| | | | | | | | | 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
* [kernel] fixes gpio_dev un/reload balancingJohn Crispin2012-08-141-0/+2
| | | | | | Signed-off-by: SHI Bin <shibin@ctsing.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33183 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] wrt350nv2-builder: don't use internal zlib macro OF() in ioapi.h, it ↵Jo-Philipp Wich2012-08-142-8/+9
| | | | | | breaks with new zlib releases git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33181 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] iwinfo: transparently handle radioX names in madwifi backendJo-Philipp Wich2012-08-141-5/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [arptables] fix breakage when compiling for armv6John Crispin2012-08-141-0/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [orion] generic: enhanced image MakefileFlorian Fainelli2012-08-131-63/+179
| | | | | | | | | | | | | | | * 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
* ar71xx: uci-defaults/leds for ALL0258NGabor Juhos2012-08-131-0/+7
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: uci-defaults for rssiledsGabor Juhos2012-08-131-0/+44
| | | | | | | | 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
* new package: rssileds daemonGabor Juhos2012-08-133-0/+402
| | | | | | | | | | | | | | | | | 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
* [pjsip] dependencies break when alsa is stagedJohn Crispin2012-08-131-10/+44
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33162 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] unify tapi depsJohn Crispin2012-08-136-6/+23
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33160 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] busybox: enable fsync applet by defaultFlorian Fainelli2012-08-132-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] leds: do not register device if no leds definedFlorian Fainelli2012-08-131-4/+11
| | | | | | Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] BCM6358 fix enet MII clk definitionsFlorian Fainelli2012-08-131-2/+2
| | | | | | Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33157 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] nb4: fix support, add support for SVC and CLIP BTNFlorian Fainelli2012-08-1325-65/+142
| | | | | | Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33156 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] introduce a menuconfig option to turn off static linking of host ↵Jo-Philipp Wich2012-08-132-1/+10
| | | | | | utilities git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33154 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [acx-mac80211] 3rd time lucky ... too much sun todayJohn Crispin2012-08-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33152 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [acx-mac80211] unbreak depsJohn Crispin2012-08-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33151 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [acx-mac80211] breaks when building for powerpcJohn Crispin2012-08-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33150 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] convert remaining tools to $(HOST_STATIC_LINKING) (#12012)Jo-Philipp Wich2012-08-125-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33148 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: provide a sysupgrade -r (--restore-backup) option as ↵Jo-Philipp Wich2012-08-122-1/+13
| | | | | | convenience wrapper for tar -C / -x(v)zf git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33147 3c298f89-4303-0410-b956-a3cf2f4a3e73
* xz: update to 5.0.4Jo-Philipp Wich2012-08-121-2/+2
| | | | | | Signed-off-by: Jonh Wendell <jonh.wendell@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33146 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rename rt3352 usb platform devicesGabor Juhos2012-08-121-2/+2
| | | | | | | | | 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
* ramips: watchdog: use maximum possible timeout by defaultGabor Juhos2012-08-121-6/+6
| | | | | | | | | | | | | 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
* ramips: provide means to specify custom "image name" for uImages, use for ↵Gabor Juhos2012-08-121-4/+5
| | | | | | | | | | | 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
* ramips: add D-Link DIR-620 A1 supportGabor Juhos2012-08-1210-6/+81
| | | | | | | | | | | | 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
* tools/ppl: fix automake error due to use of obsolete directory nameJo-Philipp Wich2012-08-121-0/+75
| | | | | | | | | | | | | | | | | | | | | | | 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
* [tools] use HOST_STATIC_LINKING instead of hardcoding -staticJo-Philipp Wich2012-08-1223-25/+27
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33140 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] prereq-build.mk: do not perform static linking tests on DarwinJo-Philipp Wich2012-08-121-15/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33139 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] host-build.mk: define a variable HOST_STATIC_LINKING which is set ↵Jo-Philipp Wich2012-08-121-0/+4
| | | | | | to "-static" on non-Darwin systems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33138 3c298f89-4303-0410-b956-a3cf2f4a3e73