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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33156
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33154
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [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
John Crispin [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
John Crispin [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
Jo-Philipp Wich [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
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33147
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33146
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33145
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33144
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33143
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33142
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33141
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [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
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33139
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33138
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33137
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33132
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Florian Fainelli [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
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33130
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Florian Fainelli [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
Florian Fainelli [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
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33127
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Florian Fainelli [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
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33123
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33118
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:24 +0000 (19:26 +0000)]
[tools] flex: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33091
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:19 +0000 (19:26 +0000)]
[tools] bison: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33090
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:17 +0000 (19:26 +0000)]
[tools] sed: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33089
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 10 Aug 2012 19:07:03 +0000 (19:07 +0000)]
[rules.mk] remove duplicate HOSTCC_NOCACHE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33088
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 10 Aug 2012 19:05:22 +0000 (19:05 +0000)]
[tools] fix ccache build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33087
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33080
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33079
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Florian Fainelli [Fri, 10 Aug 2012 07:04:16 +0000 (07:04 +0000)]
[mcs814x] set a compatible command-line to boot from flash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33078
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Fri, 10 Aug 2012 06:32:00 +0000 (06:32 +0000)]
generic: rtl8366_smi: increase delay after switch hw reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33077
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33076
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Thu, 9 Aug 2012 18:30:47 +0000 (18:30 +0000)]
[package] base-files: fix option parsing of -F/--force parameter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33075
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33074
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33072
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33071
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Florian Fainelli [Wed, 8 Aug 2012 21:51:18 +0000 (21:51 +0000)]
[mcs814x] nuport-mac: rework PHY interrupt configuration to avoid races
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33070
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Florian Fainelli [Wed, 8 Aug 2012 21:51:13 +0000 (21:51 +0000)]
[mcs814x] nuport-mac: close possible race condition during start
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33069
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Florian Fainelli [Wed, 8 Aug 2012 21:51:09 +0000 (21:51 +0000)]
[mcs814x] nuport-mac: unmap the DMA buffer when closing device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33068
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Florian Fainelli [Wed, 8 Aug 2012 21:51:04 +0000 (21:51 +0000)]
[mcs814x] nuport-mac: check dma_map_single address return values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33067
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33066
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Florian Fainelli [Wed, 8 Aug 2012 21:50:55 +0000 (21:50 +0000)]
[mcs814x] cleanup image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33065
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Wed, 8 Aug 2012 18:23:04 +0000 (18:23 +0000)]
ath9k: fix handling of decryption errors, should improve link stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33063
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Wed, 8 Aug 2012 18:23:00 +0000 (18:23 +0000)]
ath5k: revert a buggy tx power related patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33062
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Florian Fainelli [Wed, 8 Aug 2012 15:37:34 +0000 (15:37 +0000)]
[package] base-files: check for ldd presence and executability (#11991)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33057
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Wed, 8 Aug 2012 12:56:44 +0000 (12:56 +0000)]
ath9k: fix hang issues on hw reset caused by interrupt storms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33055
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Wed, 8 Aug 2012 12:14:43 +0000 (12:14 +0000)]
[lantiq] pci gpio mapping
This patch fixes the GPIO ALTSEL settings for some of the GPIOs used by the PCI subsystem in Lantiq Danube. These changes are required for more than one PCI device to work. Tested with an ARV7510PW having two PCI-devices; a VIA USB controller and a Ralink WLAN mini-PCI card.
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33054
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Wed, 8 Aug 2012 11:13:12 +0000 (11:13 +0000)]
[package] hostapd: fix ap/sta regression which got accidentally introduced by r32829 (#11914)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33053
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Florian Fainelli [Tue, 7 Aug 2012 16:08:11 +0000 (16:08 +0000)]
[package] busybox: support V=c toplevel verboseness flag (#11799)
Signed-off-by: Gregory M. Turner <gmt@malth.us>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33035
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Florian Fainelli [Tue, 7 Aug 2012 16:08:08 +0000 (16:08 +0000)]
[package] w1-gpio-custom: set enable_external_pullup to null (#8952)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33034
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Tue, 7 Aug 2012 09:36:24 +0000 (09:36 +0000)]
ath9k: completely disable the MIB interrupt from the interrupt mask register to prevent potential interrupt storms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33032
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Mon, 6 Aug 2012 22:11:30 +0000 (22:11 +0000)]
ath9k: extend and enable PA predistortion
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33031
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Mon, 6 Aug 2012 20:18:07 +0000 (20:18 +0000)]
mac80211: do not delete linux/*_platform.h, they are touched by patches. instead make the build fail if they differ from the ones in the kernel tree to prevent subtle runtime issues (see #11981)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33030
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Mon, 6 Aug 2012 18:56:38 +0000 (18:56 +0000)]
[lantiq] fixes tapi dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33029
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Mon, 6 Aug 2012 18:54:36 +0000 (18:54 +0000)]
[e2fsprogs] fixes package description
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33028
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Mon, 6 Aug 2012 15:33:24 +0000 (15:33 +0000)]
ath5k: add various pending tx power fixes, vastly improves stability and performance with various cards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33014
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 5 Aug 2012 23:43:36 +0000 (23:43 +0000)]
[packages] mac80211: remove header files used to share struct with platform code.
The structs defined in these header files should be the same as the
structes used by the platform code otherwise it will cause strange
runtime errors. By removing them from compat-wireless we will get a
compile error instead of a runtime error if they are out of sync.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33006
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jonas Gorski [Sun, 5 Aug 2012 23:18:22 +0000 (23:18 +0000)]
bcm63xx: fix USB base registers and IRQs for BCM6328
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33005
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 5 Aug 2012 20:27:40 +0000 (20:27 +0000)]
[brcm47xx] update tg3 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33004
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 5 Aug 2012 13:14:00 +0000 (13:14 +0000)]
[brcm47xx] generate image for Linksys e3200
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33003
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 5 Aug 2012 13:10:43 +0000 (13:10 +0000)]
[packages] switch: clean up robo switch driver
* remove use_et, all supported drivers are using mii ioctls
* remove robo.phy_addr, phy_addr was always set to ROBO_PHY_ADDR.
* remove support for old kernel versions
* do_ioctl is allways called with buff == NULL
* use if_mii
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33002
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 5 Aug 2012 12:40:05 +0000 (12:40 +0000)]
brcm47xx: update gpio patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33001
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 5 Aug 2012 12:39:15 +0000 (12:39 +0000)]
brcm47xx: fix patch which moves the flash struct in wgt634u code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33000
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Sun, 5 Aug 2012 08:16:50 +0000 (08:16 +0000)]
[kernel] fix xen pci module, partially fixes #11970
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32996
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Sat, 4 Aug 2012 20:14:52 +0000 (20:14 +0000)]
[lantiq] W502V/ARV4525 wireless mac bugfix
The ARV4525 board init is passing the wrong offset to
arv_register_ath5k() resulting in a bogus mac.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32993
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sat, 4 Aug 2012 19:46:25 +0000 (19:46 +0000)]
brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32992
3c298f89-4303-0410-b956-
a3cf2f4a3e73