openwrt/staging/ldir.git
10 years agoar71xx: fix switch port map for the Sitecom WLR-8100
Gabor Juhos [Fri, 29 Nov 2013 20:18:49 +0000 (20:18 +0000)]
ar71xx: fix switch port map for the Sitecom WLR-8100

There was no way to determine a working config, because
the switch (ar8337) was not working previously.

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4470/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38953

10 years agogeneric: ar8216: add AR8337N switch support
Gabor Juhos [Fri, 29 Nov 2013 20:18:48 +0000 (20:18 +0000)]
generic: ar8216: add AR8337N switch support

This patch is needed to use the switch inside the Sitecom WLR-8100;
it was unusable and detected as Generic-Phy before.

since ar8337 is behaving like ar8327
generally do the same thing
see: https://forum.openwrt.org/viewtopic.php?pid=214218#p214218
forward-ported to trunk

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4469/
[juhosg: merge chip_is_ar83[23]7 statements in ar8xxx_phy_config_init]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38952

10 years agogeneric: ar8216: remove trailing whitespaces
Gabor Juhos [Fri, 29 Nov 2013 20:18:46 +0000 (20:18 +0000)]
generic: ar8216: remove trailing whitespaces

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38951

10 years agoar71xx: rssi leds for My Net WiFi Range Extender
Gabor Juhos [Fri, 29 Nov 2013 20:18:45 +0000 (20:18 +0000)]
ar71xx: rssi leds for My Net WiFi Range Extender

The device has three extra LEDs which indicate the quality
of the wireless link. Thanks to rssileds, this feature now
works out of the box.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4462/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38950

10 years agoar71xx: improve support for the My Net Wi-Fi Range Extender device
Gabor Juhos [Fri, 29 Nov 2013 20:18:44 +0000 (20:18 +0000)]
ar71xx: improve support for the My Net Wi-Fi Range Extender device

This patch improves support for the device considerably.

1. The wifi didn't work in the initial release. This was because
the WMAC of the AR9340 is not connected to the antennas.
(However, it can pick up wifi signals, if they are strong enough!)
Instead there's a dedicated AR9300 chip on the same board, which
works.

2. Ethernet throughput is improved. iperf shows that the hardware
can sustain more than 200Mbit/s and no longer drops any packages
when the link is under load.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4461/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38949

10 years agoag71xx: add F1E specific feature bit definitions to AR934X register file
Gabor Juhos [Fri, 29 Nov 2013 20:18:43 +0000 (20:18 +0000)]
ag71xx: add F1E specific feature bit definitions to AR934X register file

The F1E Phy (AR8035?) requires additional bits to be
set in order to provide a fast and reliable connection
over gigabit links.

When enabled, the link doesn't suffer anymore from a small
package loss under load and the performance is improved
quite a bit as well. (203 mbit/s vs 112 mbit/s, iperf tcp).

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4460/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38948

10 years agoar71xx: user space support update tl-wr842n_v2 add default led support
Gabor Juhos [Fri, 29 Nov 2013 20:18:42 +0000 (20:18 +0000)]
ar71xx: user space support update tl-wr842n_v2 add default led support

Small update to uci_defaults/01_leds, to support the usb led

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4426/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38947

10 years agoar71xx: Kernel support update tl-wr842n_v2 added missing usb led
Gabor Juhos [Fri, 29 Nov 2013 20:18:40 +0000 (20:18 +0000)]
ar71xx: Kernel support update tl-wr842n_v2 added missing usb led

Just a small oversight my part, added the support for the USB led
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4425/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38946

10 years agoFPU type should not interfere with the ABI selection. Also make sure we either do...
Imre Kaloz [Fri, 29 Nov 2013 10:59:51 +0000 (10:59 +0000)]
FPU type should not interfere with the ABI selection. Also make sure we either do real soft-float or hard-float on ARM, with the right options.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38943

10 years agotunr on some additional features
Imre Kaloz [Fri, 29 Nov 2013 10:58:40 +0000 (10:58 +0000)]
tunr on some additional features

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38942

10 years agoignore the fpu if we're doing soft-float
Imre Kaloz [Fri, 29 Nov 2013 10:44:04 +0000 (10:44 +0000)]
ignore the fpu if we're doing soft-float

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38941

10 years agothere's no such thing as a soft fpu, this target should be fine without these
Imre Kaloz [Fri, 29 Nov 2013 10:25:43 +0000 (10:25 +0000)]
there's no such thing as a soft fpu, this target should be fine without these

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38940

10 years agoenable using soft-float regardless of having a fpu
Imre Kaloz [Fri, 29 Nov 2013 09:24:07 +0000 (09:24 +0000)]
enable using soft-float regardless of having a fpu

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38939

10 years agoubox: fix handling of uci lists, prevent shell code injection from uci values (#14548)
Jo-Philipp Wich [Thu, 28 Nov 2013 20:47:26 +0000 (20:47 +0000)]
ubox: fix handling of uci lists, prevent shell code injection from uci values (#14548)

SVN-Revision: 38938

10 years agoRevert "ubox: the validation code has problems with the "(" char. use string for...
Jo-Philipp Wich [Thu, 28 Nov 2013 11:33:49 +0000 (11:33 +0000)]
Revert "ubox: the validation code has problems with the "(" char. use string for now"

This reverts commit f7c2ac3ea9b5f2dc4ef4ce4ef195de8a4ac5546b.

SVN-Revision: 38937

10 years agobusybox: do not abort sysntpd init if enable_server is unset, that variable just...
Jo-Philipp Wich [Thu, 28 Nov 2013 11:28:40 +0000 (11:28 +0000)]
busybox: do not abort sysntpd init if enable_server is unset, that variable just controls the server part for relaying NTP

SVN-Revision: 38936

10 years agoprocd: fix processing of datatype specification with spaces
Jo-Philipp Wich [Thu, 28 Nov 2013 11:26:34 +0000 (11:26 +0000)]
procd: fix processing of datatype specification with spaces

SVN-Revision: 38935

11 years agoinitialize wl12xx from the device tree
Imre Kaloz [Wed, 27 Nov 2013 12:51:35 +0000 (12:51 +0000)]
initialize wl12xx from the device tree

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38934

11 years agoadd device tree based initialization to wl12xx
Imre Kaloz [Wed, 27 Nov 2013 12:40:07 +0000 (12:40 +0000)]
add device tree based initialization to wl12xx

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38933

11 years agorefresh/rename patches
Imre Kaloz [Wed, 27 Nov 2013 12:34:41 +0000 (12:34 +0000)]
refresh/rename patches

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38932

11 years agofix gpio interrupt-cells property on AM335x
Imre Kaloz [Wed, 27 Nov 2013 12:33:06 +0000 (12:33 +0000)]
fix gpio interrupt-cells property on AM335x

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38931

11 years agorefresh patch
Imre Kaloz [Wed, 27 Nov 2013 12:31:05 +0000 (12:31 +0000)]
refresh patch

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38930

11 years agomake the wl12xx glue code available with compat-wireless, too
Imre Kaloz [Wed, 27 Nov 2013 12:29:13 +0000 (12:29 +0000)]
make the wl12xx glue code available with compat-wireless, too

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38929

11 years agoadd TI wireless symbols and enable the platform glue by default
Imre Kaloz [Wed, 27 Nov 2013 12:25:20 +0000 (12:25 +0000)]
add TI wireless symbols and enable the platform glue by default

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38928

11 years agomac80211: include 802.11n support when wl12xx is selected
Felix Fietkau [Wed, 27 Nov 2013 12:08:38 +0000 (12:08 +0000)]
mac80211: include 802.11n support when wl12xx is selected

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38927

11 years agoath9k: merge initval updates
Felix Fietkau [Wed, 27 Nov 2013 10:56:05 +0000 (10:56 +0000)]
ath9k: merge initval updates

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38926

11 years agofix typo in wl128x firmware names
Imre Kaloz [Wed, 27 Nov 2013 09:02:17 +0000 (09:02 +0000)]
fix typo in wl128x firmware names

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38925

11 years agohide package, it's needed all the time
Imre Kaloz [Tue, 26 Nov 2013 18:46:47 +0000 (18:46 +0000)]
hide package, it's needed all the time

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38924

11 years agouse plain image names inside the target directories
Imre Kaloz [Tue, 26 Nov 2013 18:45:51 +0000 (18:45 +0000)]
use plain image names inside the target directories

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38923

11 years agoupgrade Linaro GCC 4.8 to 4.8-2013.11
Imre Kaloz [Tue, 26 Nov 2013 18:42:32 +0000 (18:42 +0000)]
upgrade Linaro GCC 4.8 to 4.8-2013.11

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38922

11 years agowl12xx could need the wl128x firmware files, too
Imre Kaloz [Tue, 26 Nov 2013 17:46:45 +0000 (17:46 +0000)]
wl12xx could need the wl128x firmware files, too

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38921

11 years agomac80211: merge another round of upstream fixes
Felix Fietkau [Tue, 26 Nov 2013 11:25:31 +0000 (11:25 +0000)]
mac80211: merge another round of upstream fixes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38918

11 years agoralink: dts fixes
John Crispin [Tue, 26 Nov 2013 09:51:57 +0000 (09:51 +0000)]
ralink: dts fixes

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38917

11 years agoubox: the validation code has problems with the "(" char. use string for now
John Crispin [Tue, 26 Nov 2013 07:50:05 +0000 (07:50 +0000)]
ubox: the validation code has problems with the "(" char. use string for now

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38916

11 years agohostapd: add support for auto-channel selection
Felix Fietkau [Mon, 25 Nov 2013 15:43:30 +0000 (15:43 +0000)]
hostapd: add support for auto-channel selection

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38915

11 years agohostapd: update to version 2013-11-20
Felix Fietkau [Mon, 25 Nov 2013 15:43:15 +0000 (15:43 +0000)]
hostapd: update to version 2013-11-20

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38914

11 years agokernel/modules: snd-pcm-dmaengine only if CONFIG_SND_DMAENGINE_PCM is set
John Crispin [Mon, 25 Nov 2013 14:09:48 +0000 (14:09 +0000)]
kernel/modules: snd-pcm-dmaengine only if CONFIG_SND_DMAENGINE_PCM is set

Platforms without in-soc audio don't provide CONFIG_SND_DMAENGINE_PCM, thus
the module is not generated.

SVN-Revision: 38913

11 years agotools/mpfr: add GNU source
John Crispin [Mon, 25 Nov 2013 14:09:24 +0000 (14:09 +0000)]
tools/mpfr: add GNU source

fixes https://dev.openwrt.org/ticket/14519

mpfr is available from GNU too
see: https://gforge.inria.fr/forum/forum.php?forum_id=11263

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 38912

11 years agopppd: Place plugin-specific options after `plugin name`.
John Crispin [Mon, 25 Nov 2013 14:09:16 +0000 (14:09 +0000)]
pppd: Place plugin-specific options after `plugin name`.

Before this patch, if we specify a plugin specific option through
`pppd_options` in /etc/config/network, e.g. `rp_pppoe_verbose 1`, pppd
would quit with the following error in log.

    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): /usr/sbin/pppd: unrecognized option 'rp_pppoe_verbose'
    Wed Oct  9 09:42:58 2013 daemon.err pppd[1689]: unrecognized option 'rp_pppoe_verbose'
    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): pppd version 2.4.5
    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): Usage: /usr/sbin/pppd [ options ], where options are:

This is due to the requirement that function add_option() should be
called by the plugin_init() function first before pppd can parse those
options.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 38911

11 years agoralink: add mac address detection for Asus RT-G32 b1
John Crispin [Mon, 25 Nov 2013 14:09:08 +0000 (14:09 +0000)]
ralink: add mac address detection for Asus RT-G32 b1

http://patchwork.openwrt.org/patch/4463/

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38910

11 years agobase-files: allow users to delect debug level during boot
John Crispin [Mon, 25 Nov 2013 08:34:55 +0000 (08:34 +0000)]
base-files: allow users to delect debug level during boot

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38909

11 years agoprocd: update procd.sh to make use of the new validate_data tool
John Crispin [Mon, 25 Nov 2013 08:34:47 +0000 (08:34 +0000)]
procd: update procd.sh to make use of the new validate_data tool

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38908

11 years agoubox: update the validate_data tool
John Crispin [Mon, 25 Nov 2013 08:34:39 +0000 (08:34 +0000)]
ubox: update the validate_data tool

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38907

11 years agoubox: fix typo that caused log_file to not be validated properly
John Crispin [Mon, 25 Nov 2013 08:34:31 +0000 (08:34 +0000)]
ubox: fix typo that caused log_file to not be validated properly

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38906

11 years agoralink: fix up the mt7530 driver to work properly with gmac2
John Crispin [Mon, 25 Nov 2013 08:34:23 +0000 (08:34 +0000)]
ralink: fix up the mt7530 driver to work properly with gmac2

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38905

11 years agoralink: add LRO support
John Crispin [Mon, 25 Nov 2013 08:34:12 +0000 (08:34 +0000)]
ralink: add LRO support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38904

11 years agoralink: add NETIF_F_HW_VLAN_CTAG_TX support for the mt7620X family
John Crispin [Mon, 25 Nov 2013 08:34:01 +0000 (08:34 +0000)]
ralink: add NETIF_F_HW_VLAN_CTAG_TX support for the mt7620X family

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38903

11 years agoralink: set the mac addr via the dts file
John Crispin [Mon, 25 Nov 2013 08:33:42 +0000 (08:33 +0000)]
ralink: set the mac addr via the dts file

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38902

11 years agokirkwood: include ext4 support by default
Luka Perkov [Sun, 24 Nov 2013 23:07:34 +0000 (23:07 +0000)]
kirkwood: include ext4 support by default

Several users reported that they would like this feature.

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38901

11 years agokirkwood: kernel: add missing config option
Luka Perkov [Sun, 24 Nov 2013 17:53:34 +0000 (17:53 +0000)]
kirkwood: kernel: add missing config option

Buildbot found missing config option for target kirkwood.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
SVN-Revision: 38900

11 years agocmake: upgrade to 2.8.12.1
Luka Perkov [Sun, 24 Nov 2013 07:10:21 +0000 (07:10 +0000)]
cmake: upgrade to 2.8.12.1

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38899

11 years agokirkwood: drop unnecessary argument from *_UBIFS_OPTS variables
Luka Perkov [Sat, 23 Nov 2013 15:55:12 +0000 (15:55 +0000)]
kirkwood: drop unnecessary argument from *_UBIFS_OPTS variables

The '-U' aka '--squash-uids' is already used in Image/mkfs/ubifs function.

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38898

11 years agokirkwood: add support for iomega iconnect
Luka Perkov [Sat, 23 Nov 2013 15:55:10 +0000 (15:55 +0000)]
kirkwood: add support for iomega iconnect

Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Daniel Engberg <daniel.engberg@pyret.net>
SVN-Revision: 38897

11 years agoFor now vdi and vmdk images should be x86 only
Imre Kaloz [Fri, 22 Nov 2013 14:39:53 +0000 (14:39 +0000)]
For now vdi and vmdk images should be x86 only

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38896

11 years agomove menuconfig options into separate files
Imre Kaloz [Fri, 22 Nov 2013 14:30:40 +0000 (14:30 +0000)]
move menuconfig options into separate files

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38895

11 years agodrop stupid defaults
Imre Kaloz [Fri, 22 Nov 2013 13:41:55 +0000 (13:41 +0000)]
drop stupid defaults

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38894

11 years agoadd a feature flag for device tree support
Imre Kaloz [Fri, 22 Nov 2013 12:01:01 +0000 (12:01 +0000)]
add a feature flag for device tree support

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38893

11 years agoVMWare and VirtualBox images should select what they need, not depend on it..
Imre Kaloz [Fri, 22 Nov 2013 09:54:36 +0000 (09:54 +0000)]
VMWare and VirtualBox images should select what they need, not depend on it..

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38892

11 years agorationalize target image options
Imre Kaloz [Fri, 22 Nov 2013 09:44:14 +0000 (09:44 +0000)]
rationalize target image options

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38891

11 years agoallow configuration of the target directory for binaries
Imre Kaloz [Fri, 22 Nov 2013 09:39:41 +0000 (09:39 +0000)]
allow configuration of the target directory for binaries

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38890

11 years agoreplace the mips64 fixes patch with an upstream commit
Imre Kaloz [Fri, 22 Nov 2013 09:22:54 +0000 (09:22 +0000)]
replace the mips64 fixes patch with an upstream commit

The current one broke all other 64 bit targets.. DOH!

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38889

11 years agouhttpd: update to the latest version, fixes crashes in the ubus plugin
Felix Fietkau [Thu, 21 Nov 2013 21:52:24 +0000 (21:52 +0000)]
uhttpd: update to the latest version, fixes crashes in the ubus plugin

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38888

11 years agopkg-config: fix occasional install problem
Luka Perkov [Wed, 20 Nov 2013 22:09:11 +0000 (22:09 +0000)]
pkg-config: fix occasional install problem

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38886

11 years agoprocd: fix the running hook #38868
John Crispin [Wed, 20 Nov 2013 19:28:51 +0000 (19:28 +0000)]
procd: fix the running hook #38868

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38885

11 years agolantiq: move patch to proper folder
John Crispin [Wed, 20 Nov 2013 17:53:36 +0000 (17:53 +0000)]
lantiq: move patch to proper folder

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38884

11 years agomac80211: fix reorder issues with multicast packets (client mode)
Felix Fietkau [Wed, 20 Nov 2013 17:33:50 +0000 (17:33 +0000)]
mac80211: fix reorder issues with multicast packets (client mode)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38883

11 years agomac80211: fix an overflow issue in minstrel_ht
Felix Fietkau [Wed, 20 Nov 2013 17:33:46 +0000 (17:33 +0000)]
mac80211: fix an overflow issue in minstrel_ht

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38882

11 years agolantiq: update default mii modes
John Crispin [Wed, 20 Nov 2013 16:56:58 +0000 (16:56 +0000)]
lantiq: update default mii modes

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38881

11 years agolantiq: fix etop registers
John Crispin [Wed, 20 Nov 2013 16:56:50 +0000 (16:56 +0000)]
lantiq: fix etop registers

As first reported more than a year ago
(https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016240.html
and
https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016241.html),
some of the register definitions of the lantiq etop driver are
incorrect. When OpenWrt is booted with a bootloader which doesn't do
proper network initialization of its own (e.g. brnboot), ethernet won't
work. The patch below changes the register names and addresses to match
the lantiq etop driver included with the recent U-Boot.

At the moment the MII/RMII setting in the lantiq .dts-files has no
effect, since wrong registers are written. Once this patch is applied,
it is necessary to make sure that the MII/RMII setting in the .dts-file
is correct.

v2: fix mangled whitespaces

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 38880

11 years agoprocd: add validation to the log init script
John Crispin [Wed, 20 Nov 2013 16:56:41 +0000 (16:56 +0000)]
procd: add validation to the log init script

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38879

11 years agolantiq: fix an endless loop in the vmmc platform code
John Crispin [Wed, 20 Nov 2013 16:56:32 +0000 (16:56 +0000)]
lantiq: fix an endless loop in the vmmc platform code

this was caused by not honoured error return codes of of_gpio_count()

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38878

11 years agomxs: build/profile-related changes - change uImage creation to use zImage - update...
Zoltan Herpai [Wed, 20 Nov 2013 10:23:49 +0000 (10:23 +0000)]
mxs: build/profile-related changes - change uImage creation to use zImage - update image Makefile for further boards with u-boot support - add profile for OLinuXino Micro/Nano boards

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38876

11 years agopackage: uboot-mxs: cosmetic fix
Zoltan Herpai [Wed, 20 Nov 2013 10:15:02 +0000 (10:15 +0000)]
package: uboot-mxs: cosmetic fix

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38875

11 years agomac80211: small rate control fix
Felix Fietkau [Wed, 20 Nov 2013 07:33:27 +0000 (07:33 +0000)]
mac80211: small rate control fix

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38874

11 years agolibubox: fix compile error (#14497)
John Crispin [Tue, 19 Nov 2013 21:54:51 +0000 (21:54 +0000)]
libubox: fix compile error (#14497)

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38873

11 years agoralink: set wmr-300 mac properly
John Crispin [Tue, 19 Nov 2013 21:13:24 +0000 (21:13 +0000)]
ralink: set wmr-300 mac properly

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38872

11 years agomtd: add a "mtd verify" call
John Crispin [Tue, 19 Nov 2013 20:56:23 +0000 (20:56 +0000)]
mtd: add a "mtd verify" call

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38871

11 years agolibubox: ubox: procd: move md5.{c,h} to libubox
John Crispin [Tue, 19 Nov 2013 20:56:11 +0000 (20:56 +0000)]
libubox: ubox: procd: move md5.{c,h} to libubox

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38870

11 years agoprocd: update to latest git head
John Crispin [Tue, 19 Nov 2013 16:33:50 +0000 (16:33 +0000)]
procd: update to latest git head

* fix up the order of respawn parameters for ubus
* add a event broadcast function
* add debug level handover between preinit and main process
* make the service running trigger be queued directly after the service was startetd
* Allow process respawning forever

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38868

11 years agoralink: add missing CONFIG_ symbol to mt7620n
John Crispin [Tue, 19 Nov 2013 16:33:43 +0000 (16:33 +0000)]
ralink: add missing CONFIG_ symbol to mt7620n

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38867

11 years agolibubox: update to latest git head
John Crispin [Tue, 19 Nov 2013 16:31:47 +0000 (16:31 +0000)]
libubox: update to latest git head

add a renqueue_add_first() api

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38866

11 years agompc85xx: Fix NAPI poll mechanism in GIANFAR ethernet driver
Felix Fietkau [Tue, 19 Nov 2013 13:00:37 +0000 (13:00 +0000)]
mpc85xx: Fix NAPI poll mechanism in GIANFAR ethernet driver

This patch fixes the NAPI poll mechanism in the GIANFAR ethernet driver, which
was not properly working since Linus Kernel Version 3,8.
Therefore the workaround patch to downgrade the GIANFAR ethernet driver to
Kernelversion v3.8 is obsoete.
This patch was extensivly testes with different network loads and types of
traffic. There is quite a substantial user base that reports proper Ethernet
function with TPlink-4900. This patch is based on the fixes from GINAFAR
maintainer Claudiu Manoli.

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38865

11 years agoprocd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem
Felix Fietkau [Tue, 19 Nov 2013 00:03:42 +0000 (00:03 +0000)]
procd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38862

11 years agobase-files: add the DEVICENAME variable for hotplug scripts
Felix Fietkau [Tue, 19 Nov 2013 00:03:39 +0000 (00:03 +0000)]
base-files: add the DEVICENAME variable for hotplug scripts

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38861

11 years agoscripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in...
Felix Fietkau [Tue, 19 Nov 2013 00:03:34 +0000 (00:03 +0000)]
scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38860

11 years agoimx6: build images for ventana boards that are supported
Luka Perkov [Mon, 18 Nov 2013 22:23:43 +0000 (22:23 +0000)]
imx6: build images for ventana boards that are supported

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38859

11 years agoimx6: merge all gateworks boards into one profile
Luka Perkov [Mon, 18 Nov 2013 22:23:42 +0000 (22:23 +0000)]
imx6: merge all gateworks boards into one profile

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38858

11 years agoimx6: add support for more then one nand type per profile
Luka Perkov [Mon, 18 Nov 2013 22:23:40 +0000 (22:23 +0000)]
imx6: add support for more then one nand type per profile

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38857

11 years agoimx6: refresh kernel config
Luka Perkov [Mon, 18 Nov 2013 22:23:39 +0000 (22:23 +0000)]
imx6: refresh kernel config

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38856

11 years agoimage: remove spaces from toupper function
Luka Perkov [Mon, 18 Nov 2013 22:23:38 +0000 (22:23 +0000)]
image: remove spaces from toupper function

The extra prefix space is passed to the caller.

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38855

11 years agoath9k: merge a few reset / calibration fixes
Felix Fietkau [Mon, 18 Nov 2013 19:58:53 +0000 (19:58 +0000)]
ath9k: merge a few reset / calibration fixes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38854

11 years agocmake.mk: fix support for ccache
Felix Fietkau [Mon, 18 Nov 2013 14:10:12 +0000 (14:10 +0000)]
cmake.mk: fix support for ccache

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38853

11 years agohostapd: remove random pool support - the entropy it gathers is questionable and...
Felix Fietkau [Mon, 18 Nov 2013 13:54:26 +0000 (13:54 +0000)]
hostapd: remove random pool support - the entropy it gathers is questionable and we have better entropy sources on common platforms now

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38852

11 years agouClibc: Deactivate oversized thread stack cache
Felix Fietkau [Mon, 18 Nov 2013 13:32:06 +0000 (13:32 +0000)]
uClibc: Deactivate oversized thread stack cache

A small system like the common home router doesn't have 40 MiB per process for
a dirty stack cache. This can easily lead to an overbooking OOM problem and
caused a lot of hangs+reboots on 32 MiB systems running nodogsplash.

Not using a stack cache can increase the time to spawn new threads. This is
hopefully no problem for system not running a lot of parallel computations.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 38851

11 years agomake default packages selected for real
Imre Kaloz [Mon, 18 Nov 2013 12:05:11 +0000 (12:05 +0000)]
make default packages selected for real

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38850

11 years agofirewall: optimize DNAT rules and skip invalid rules and redirects (#14485)
Jo-Philipp Wich [Mon, 18 Nov 2013 11:59:27 +0000 (11:59 +0000)]
firewall: optimize DNAT rules and skip invalid rules and redirects (#14485)

- instead of writing one (or more) ACCEPT rules in the filter table
  for each redirect install a global ctstate DNAT accept rule per zone

- discard rules and redirects which have invalid options set instead
  of silently skipping the invalid values

SVN-Revision: 38849

11 years agoralink: add support for ralink mt7620 nand eval board
John Crispin [Mon, 18 Nov 2013 09:35:41 +0000 (09:35 +0000)]
ralink: add support for ralink mt7620 nand eval board

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38848

11 years agoralink: improve mt7620n detection
John Crispin [Mon, 18 Nov 2013 09:35:32 +0000 (09:35 +0000)]
ralink: improve mt7620n detection

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38847

11 years agoralink: add mt7620 nand driver
John Crispin [Mon, 18 Nov 2013 09:35:23 +0000 (09:35 +0000)]
ralink: add mt7620 nand driver

This is a minor rework of the SDK driver. This driver needs a full rewrite.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38846

11 years agoralink: make all none 3x5x boards default to a vlan1/2 setup
John Crispin [Mon, 18 Nov 2013 09:35:14 +0000 (09:35 +0000)]
ralink: make all none 3x5x boards default to a vlan1/2 setup

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38845