openwrt/svn-archive/archive.git
7 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

7 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

7 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

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

SVN-Revision: 33197

7 years ago[iamgebuilder] use bundle-libraries.sh to install required host utilities into imageb...
Jo-Philipp Wich [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

SVN-Revision: 33196

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

SVN-Revision: 33195

7 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

7 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

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

SVN-Revision: 33192

7 years ago[mcs814x] MCS8140 actually selects CPU_ARM926T
Florian Fainelli [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

SVN-Revision: 33188

7 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

7 years ago[kernel] fixes gpio_dev un/reload balancing
John Crispin [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>
SVN-Revision: 33183

7 years ago[tools] wrt350nv2-builder: don't use internal zlib macro OF() in ioapi.h, it breaks...
Jo-Philipp Wich [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

SVN-Revision: 33181

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

SVN-Revision: 33180

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

SVN-Revision: 33179

7 years ago[orion] generic: enhanced image Makefile
Florian Fainelli [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>

SVN-Revision: 33174

7 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

7 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

7 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

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

SVN-Revision: 33162

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

SVN-Revision: 33160

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

SVN-Revision: 33159

7 years ago[brcm63xx] leds: do not register device if no leds defined
Florian Fainelli [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>
SVN-Revision: 33158

7 years ago[brcm63xx] BCM6358 fix enet MII clk definitions
Florian Fainelli [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>
SVN-Revision: 33157

7 years ago[brcm63xx] nb4: fix support, add support for SVC and CLIP BTN
Florian Fainelli [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>
SVN-Revision: 33156

7 years ago[buildroot] introduce 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)]
[buildroot] introduce a menuconfig option to turn off static linking of host utilities

SVN-Revision: 33154

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

SVN-Revision: 33152

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

SVN-Revision: 33151

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

SVN-Revision: 33150

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

SVN-Revision: 33148

7 years ago[package] base-files: provide a sysupgrade -r (--restore-backup) option as convenienc...
Jo-Philipp Wich [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

SVN-Revision: 33147

7 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

7 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

7 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

7 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

7 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

7 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

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

SVN-Revision: 33140

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

SVN-Revision: 33139

7 years ago[include] host-build.mk: define a variable HOST_STATIC_LINKING which is set to "...
Jo-Philipp Wich [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

SVN-Revision: 33138

7 years agogeneric: use __meminit annotation for crashlog_init_memblock
Gabor Juhos [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'

SVN-Revision: 33137

7 years ago[package] netifd: bump to git head, userspace routes are installed with RTPROT_STATIC...
Jo-Philipp Wich [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

SVN-Revision: 33132

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

SVN-Revision: 33131

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

None of the boards we support have PCI connectors

SVN-Revision: 33130

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

SVN-Revision: 33129

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

SVN-Revision: 33128

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

SVN-Revision: 33127

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

SVN-Revision: 33126

7 years ago6rd: missing config option `ipaddr`.
Jo-Philipp Wich [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>
SVN-Revision: 33123

7 years ago[include] add remaining missing build prereq checks
Jo-Philipp Wich [Sat, 11 Aug 2012 00:05:18 +0000 (00:05 +0000)]
[include] add remaining missing build prereq checks

SVN-Revision: 33122

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

SVN-Revision: 33121

7 years ago[tools] sed: disable further SELinux features
Jo-Philipp Wich [Fri, 10 Aug 2012 22:38:09 +0000 (22:38 +0000)]
[tools] sed: disable further SELinux features

SVN-Revision: 33120

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

SVN-Revision: 33119

7 years agoRevert "[tools] cmake: link statically"
Jo-Philipp Wich [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.

SVN-Revision: 33118

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

SVN-Revision: 33117

7 years ago[tools] e2fsprogs: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:27:07 +0000 (19:27 +0000)]
[tools] e2fsprogs: link statically

SVN-Revision: 33116

7 years ago[tools] dosfstools: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:27:06 +0000 (19:27 +0000)]
[tools] dosfstools: link statically

SVN-Revision: 33115

7 years ago[tools] cmake: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:27:04 +0000 (19:27 +0000)]
[tools] cmake: link statically

SVN-Revision: 33114

7 years ago[tools] ccache: fix compilation, link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:27:03 +0000 (19:27 +0000)]
[tools] ccache: fix compilation, link statically

SVN-Revision: 33113

7 years ago[tools] yaffs2: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:27:01 +0000 (19:27 +0000)]
[tools] yaffs2: link statically

SVN-Revision: 33112

7 years ago[tools] xz: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:27:00 +0000 (19:27 +0000)]
[tools] xz: link statically

SVN-Revision: 33111

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

SVN-Revision: 33110

7 years ago[tools] upx: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:57 +0000 (19:26 +0000)]
[tools] upx: link statically

SVN-Revision: 33109

7 years ago[tools] upslug2: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:55 +0000 (19:26 +0000)]
[tools] upslug2: link statically

SVN-Revision: 33108

7 years ago[tools] sstrip: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:54 +0000 (19:26 +0000)]
[tools] sstrip: link statically

SVN-Revision: 33107

7 years ago[tools] squashfs4: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:52 +0000 (19:26 +0000)]
[tools] squashfs4: link statically

SVN-Revision: 33106

7 years ago[tools] squashfs: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:50 +0000 (19:26 +0000)]
[tools] squashfs: link statically

SVN-Revision: 33105

7 years ago[tools] sdcc: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:49 +0000 (19:26 +0000)]
[tools] sdcc: link statically

SVN-Revision: 33104

7 years ago[tools] qemu: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:48 +0000 (19:26 +0000)]
[tools] qemu: link statically

SVN-Revision: 33103

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

SVN-Revision: 33102

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

SVN-Revision: 33101

7 years ago[tools] padjffs2: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:43 +0000 (19:26 +0000)]
[tools] padjffs2: link statically

SVN-Revision: 33100

7 years ago[tools] mtools: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:42 +0000 (19:26 +0000)]
[tools] mtools: link statically

SVN-Revision: 33099

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

SVN-Revision: 33098

7 years ago[tools] mklibs: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:36 +0000 (19:26 +0000)]
[tools] mklibs: link statically

SVN-Revision: 33097

7 years ago[tools] mkimage: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:34 +0000 (19:26 +0000)]
[tools] mkimage: link statically

SVN-Revision: 33096

7 years ago[tools] m4: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:31 +0000 (19:26 +0000)]
[tools] m4: link statically

SVN-Revision: 33095

7 years ago[tools] lzma: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:30 +0000 (19:26 +0000)]
[tools] lzma: link statically

SVN-Revision: 33094

7 years ago[tools] genext2fs: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:28 +0000 (19:26 +0000)]
[tools] genext2fs: link statically

SVN-Revision: 33093

7 years ago[tools] flock: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:26 +0000 (19:26 +0000)]
[tools] flock: link statically

SVN-Revision: 33092

7 years ago[tools] flex: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:24 +0000 (19:26 +0000)]
[tools] flex: link statically

SVN-Revision: 33091

7 years ago[tools] bison: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:19 +0000 (19:26 +0000)]
[tools] bison: link statically

SVN-Revision: 33090

7 years ago[tools] sed: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:17 +0000 (19:26 +0000)]
[tools] sed: link statically

SVN-Revision: 33089

7 years ago[rules.mk] remove duplicate HOSTCC_NOCACHE
John Crispin [Fri, 10 Aug 2012 19:07:03 +0000 (19:07 +0000)]
[rules.mk] remove duplicate HOSTCC_NOCACHE

SVN-Revision: 33088

7 years ago[tools] fix ccache build
John Crispin [Fri, 10 Aug 2012 19:05:22 +0000 (19:05 +0000)]
[tools] fix ccache build

SVN-Revision: 33087

7 years ago[buildroot] move LIB_SUFFIX from base-files to rules.mk
Florian Fainelli [Fri, 10 Aug 2012 14:15:06 +0000 (14:15 +0000)]
[buildroot] move LIB_SUFFIX from base-files to rules.mk

Some packages are going to need fixups based on LIB_SUFFIX

SVN-Revision: 33080

7 years ago[mcs814x] nuport-mac: delay call to napi_start() until fully able to process RX
Florian Fainelli [Fri, 10 Aug 2012 07:04:21 +0000 (07:04 +0000)]
[mcs814x] nuport-mac: delay call to napi_start() until fully able to process RX

SVN-Revision: 33079

7 years ago[mcs814x] set a compatible command-line to boot from flash
Florian Fainelli [Fri, 10 Aug 2012 07:04:16 +0000 (07:04 +0000)]
[mcs814x] set a compatible command-line to boot from flash

SVN-Revision: 33078

7 years agogeneric: rtl8366_smi: increase delay after switch hw reset
Gabor Juhos [Fri, 10 Aug 2012 06:32:00 +0000 (06:32 +0000)]
generic: rtl8366_smi: increase delay after switch hw reset

SVN-Revision: 33077

7 years ago[package] netifd: call "wifi down" before "wifi up"
Jo-Philipp Wich [Thu, 9 Aug 2012 22:44:52 +0000 (22:44 +0000)]
[package] netifd: call "wifi down" before "wifi up"

When the underlying /etc/config/wireless got changed since the last "wifi up"
has been performed, the uci vap ifname state vars become inconsistent on a
subsequent "wifi up" and multiple vaps get mapped to the same ifnames which
confuses the gui and other processes relying on them.

For now call an explicit "wifi down" prior to each "wifi up" which will clear
up the state accordingly.

SVN-Revision: 33076

7 years ago[package] base-files: fix option parsing of -F/--force parameter
Jo-Philipp Wich [Thu, 9 Aug 2012 18:30:47 +0000 (18:30 +0000)]
[package] base-files: fix option parsing of -F/--force parameter

SVN-Revision: 33075

7 years agopackage: linux-atm: br2684ct: fix nas interface bringup on boot
Jonas Gorski [Thu, 9 Aug 2012 13:13:26 +0000 (13:13 +0000)]
package: linux-atm: br2684ct: fix nas interface bringup on boot

Give nas interface time to setup them selves before configuring them.
Should fix #11826.

Contributed by T-Labs, Deutsche Telekom Innovation Laboratories

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
SVN-Revision: 33074

7 years agoFix hard reset of alix/soekris hardware under heavy NIC load
Jo-Philipp Wich [Thu, 9 Aug 2012 09:41:22 +0000 (09:41 +0000)]
Fix hard reset of alix/soekris hardware under heavy NIC load

The following patch corrects a hard reset that occurs on alix and
soekris net5501 hardware. Specifically, this is an issue with the via
rhine NIC driver. Under periods of extreme load, the via rhine driver
can cause a reset of the entire system. When this happens no output is
seen on the console, the device simply reboots. This was reported in the
following ticket:

Consistent crash on Soekris NET5501
https://dev.openwrt.org/ticket/11882

I was able to reproduce the problem locally with numerous alix 2d13
platforms. Under heavy 64 byte frame size load from a Smartbits traffic
generator, the alix hardware will hard reset in under 5 minutes. The
same hardware, under the same load, on FreeBSD 9.0 does not reset.

The patch below backports most of the via rhine changes from kernel 3.5.
With OpenWrt trunk being on kernel 3.3.8, it seemed prudent to bring
these changes in to avoid this serious issue.

I've tested this heavily in my test environment and was able to keep the
device stable under load for extended periods of time without any resets.

Also, a nice side effect of this change is that it significantly raises
the performance the platform. Without this patch the alix 2d13 can move
approximately 29,000 packets per second at 64 byte frame sizes. After
this patch the alix can move 52,000 packets per second at 64 byte frame
sizes.

I put this patch under the x86 patches as those are the only platforms
with via rhine hardware that I'm aware of. If it needs to go some place
else please let me know.

Thanks,
Adam

Signed-off-by: Adam Gensler <openwrt@kristenandadam.net>
SVN-Revision: 33072

7 years ago[mcs814x] nuport-mac: use dma_mapping_error() instead of checking pointers
Florian Fainelli [Thu, 9 Aug 2012 09:06:35 +0000 (09:06 +0000)]
[mcs814x] nuport-mac: use dma_mapping_error() instead of checking pointers

Thanks Gabor for spotting this

SVN-Revision: 33071

7 years ago[mcs814x] nuport-mac: rework PHY interrupt configuration to avoid races
Florian Fainelli [Wed, 8 Aug 2012 21:51:18 +0000 (21:51 +0000)]
[mcs814x] nuport-mac: rework PHY interrupt configuration to avoid races

SVN-Revision: 33070

7 years ago[mcs814x] nuport-mac: close possible race condition during start
Florian Fainelli [Wed, 8 Aug 2012 21:51:13 +0000 (21:51 +0000)]
[mcs814x] nuport-mac: close possible race condition during start

SVN-Revision: 33069

7 years ago[mcs814x] nuport-mac: unmap the DMA buffer when closing device
Florian Fainelli [Wed, 8 Aug 2012 21:51:09 +0000 (21:51 +0000)]
[mcs814x] nuport-mac: unmap the DMA buffer when closing device

SVN-Revision: 33068

7 years ago[mcs814x] nuport-mac: check dma_map_single address return values
Florian Fainelli [Wed, 8 Aug 2012 21:51:04 +0000 (21:51 +0000)]
[mcs814x] nuport-mac: check dma_map_single address return values

SVN-Revision: 33067

7 years ago[mcs814x] build a Devolo dLAN USB Extender specific image
Florian Fainelli [Wed, 8 Aug 2012 21:51:00 +0000 (21:51 +0000)]
[mcs814x] build a Devolo dLAN USB Extender specific image

The kernel has to be rounded up to the nearest 1MB, then we append
the root filesystem at its end.

SVN-Revision: 33066

7 years ago[mcs814x] cleanup image generation
Florian Fainelli [Wed, 8 Aug 2012 21:50:55 +0000 (21:50 +0000)]
[mcs814x] cleanup image generation

SVN-Revision: 33065