openwrt/staging/robimarko.git
10 years agoar71xx: update Userspace support for the WA850/WA750
Gabor Juhos [Sat, 30 Nov 2013 18:31:08 +0000 (18:31 +0000)]
ar71xx: update Userspace support for the WA850/WA750

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38969

10 years agoar71xx: Update profile for the wa750/wa850 to include rssileds by default
Gabor Juhos [Sat, 30 Nov 2013 18:31:06 +0000 (18:31 +0000)]
ar71xx: Update profile for the wa750/wa850 to include rssileds by default

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38968

10 years agoar71xx: use cybertan_check_image for image verification on the WRT160NL
Gabor Juhos [Sat, 30 Nov 2013 18:31:04 +0000 (18:31 +0000)]
ar71xx: use cybertan_check_image for image verification on the WRT160NL

That function provides a slightly improved sanity check than the
currently used solution.

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

10 years agoar71xx: sysupgrade for My Net Wi-Fi Range Extender
Gabor Juhos [Sat, 30 Nov 2013 18:31:03 +0000 (18:31 +0000)]
ar71xx: sysupgrade for My Net Wi-Fi Range Extender

This patch enables the convenient sysupgrade feature for
WD's Wi-Fi Range Extender.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4341/
[juhosg:
  - rename 'mynet_rext_check_image' function to 'cybertan_check_image'
    and move that into platform.sh,
  - remove the the model specific 'platform_do_upgrade_mynet_rext' function,
  - drop the mynet-rext.sh script,
  - remove the image/Makefile change,
  - update commit message]
[christian:
  - check all 8 bytes of the firmware/device magic]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38966

10 years agoar71xx: image: unify CyberTAN macros
Gabor Juhos [Sat, 30 Nov 2013 18:31:01 +0000 (18:31 +0000)]
ar71xx: image: unify CyberTAN macros

Make the Image/Build/CyberTAN macro more generic,
and use simple wrappers for the GZIP/LZMA variants.
This simplifies the Makefile a bit, and allows to
build sysupgrade images for the devices which are
using LZMA compressed uImages.

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

10 years agoar71xx: image: fix CyberTAN sysupgrade images
Gabor Juhos [Sat, 30 Nov 2013 18:30:59 +0000 (18:30 +0000)]
ar71xx: image: fix CyberTAN sysupgrade images

In the current sysupgrade images, the CRC32 value of
the TRX header covers the whole rootfs data. Due to
this, the CRC value should be changed during sysupgrade
otherwise the bootloader refuses to load the image on
the next boot.

Change the image generation to create sysupgrade images
where the CRC32 value covers the kernel data only. This
allows to skip the 'fixtrx' step during sysupgrade on
the target.

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

10 years agofirmware-utils/trx: remove trailing whitespaces
Gabor Juhos [Sat, 30 Nov 2013 18:30:57 +0000 (18:30 +0000)]
firmware-utils/trx: remove trailing whitespaces

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

10 years agofirmware-utils/trx: fix two bugs
Gabor Juhos [Sat, 30 Nov 2013 18:30:56 +0000 (18:30 +0000)]
firmware-utils/trx: fix two bugs

 - fix crc32 calculation if -F was enabled.

 - don't convert the crc32 to little endian twice.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
SVN-Revision: 38962

10 years agoramips: Fix initial network configuration for few boards
John Crispin [Sat, 30 Nov 2013 08:36:56 +0000 (08:36 +0000)]
ramips: Fix initial network configuration for few boards

Argus ATP52B:      ethernet didn't work because of unconfigured switch
Sparklan WCR150GN: add switch config and make single port to be LAN
Dlink DIR-645:     seems to be a redundant case

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 38960

10 years agoramips: Fix dts typos
John Crispin [Sat, 30 Nov 2013 08:36:47 +0000 (08:36 +0000)]
ramips: Fix dts typos

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 38959

10 years agoar71xx: build image for the TL-WR1043ND v2 board
Gabor Juhos [Fri, 29 Nov 2013 20:51:16 +0000 (20:51 +0000)]
ar71xx: build image for the TL-WR1043ND v2 board

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

10 years agofirmware-utils/mkplinkfw: add TL-WR1043ND v2 support
Gabor Juhos [Fri, 29 Nov 2013 20:51:15 +0000 (20:51 +0000)]
firmware-utils/mkplinkfw: add TL-WR1043ND v2 support

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

10 years agoar71xx: add user-space support for the TL-WR1043ND v2 board
Gabor Juhos [Fri, 29 Nov 2013 20:51:13 +0000 (20:51 +0000)]
ar71xx: add user-space support for the TL-WR1043ND v2 board

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

10 years agoar71xx: add kernel support for the TL-WR1043ND v2 board
Gabor Juhos [Fri, 29 Nov 2013 20:51:12 +0000 (20:51 +0000)]
ar71xx: add kernel support for the TL-WR1043ND v2 board

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

10 years agoar71xx: add profile and build image for the Sitecom WLR-8100
Gabor Juhos [Fri, 29 Nov 2013 20:18:50 +0000 (20:18 +0000)]
ar71xx: add profile and build image for the Sitecom WLR-8100

  - partitions on factory fw are a bit strange
  - unknown contained some strings in factory
  - unknown2 contains some atheros (2nd art ?)

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4149/
[juhosg: edit commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38954

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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