openwrt.git
10 years agofirmware-utils/trx: fix two bugs
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38962 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: Fix initial network configuration for few boards
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38960 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38959 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: build image for the TL-WR1043ND v2 board
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38958 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agofirmware-utils/mkplinkfw: add TL-WR1043ND v2 support
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38957 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add user-space support for the TL-WR1043ND v2 board
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38956 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add kernel support for the TL-WR1043ND v2 board
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38955 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add profile and build image for the Sitecom WLR-8100
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38954 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: fix switch port map for the Sitecom WLR-8100
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38953 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agogeneric: ar8216: add AR8337N switch support
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38952 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38951 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: rssi leds for My Net WiFi Range Extender
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38950 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: improve support for the My Net Wi-Fi Range Extender device
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38949 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoag71xx: add F1E specific feature bit definitions to AR934X register file
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38948 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: user space support update tl-wr842n_v2 add default led support
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38947 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: Kernel support update tl-wr842n_v2 added missing usb led
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38946 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoFPU type should not interfere with the ABI selection.
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38943 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[omap]: tunr on some additional features
kaloz [Fri, 29 Nov 2013 10:58:40 +0000 (10:58 +0000)]
[omap]: tunr on some additional features

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38942 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoignore the fpu if we're doing soft-float
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38941 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agothere's no such thing as a soft fpu, this target should be fine without these
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38940 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoenable using soft-float regardless of having a fpu
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38939 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoubox: fix handling of uci lists, prevent shell code injection from uci values (#14548)
jow [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)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38938 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoRevert "ubox: the validation code has problems with the "(" char. use string for...
jow [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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38937 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobusybox: do not abort sysntpd init if enable_server is unset, that variable just...
jow [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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38936 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38935 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[omap]: initialize wl12xx from the device tree
kaloz [Wed, 27 Nov 2013 12:51:35 +0000 (12:51 +0000)]
[omap]: initialize wl12xx from the device tree

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38934 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoadd device tree based initialization to wl12xx
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38933 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[omap]: refresh/rename patches
kaloz [Wed, 27 Nov 2013 12:34:41 +0000 (12:34 +0000)]
[omap]: refresh/rename patches

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38932 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[omap]: fix gpio interrupt-cells property on AM335x
kaloz [Wed, 27 Nov 2013 12:33:06 +0000 (12:33 +0000)]
[omap]: fix gpio interrupt-cells property on AM335x

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38931 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[generic/3.12]: refresh patch
kaloz [Wed, 27 Nov 2013 12:31:05 +0000 (12:31 +0000)]
[generic/3.12]: refresh patch

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38930 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[generic/3.12]: make the wl12xx glue code available with compat-wireless, too
kaloz [Wed, 27 Nov 2013 12:29:13 +0000 (12:29 +0000)]
[generic/3.12]: make the wl12xx glue code available with compat-wireless, too

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38929 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[generic/3.12]: add TI wireless symbols and enable the platform glue by default
kaloz [Wed, 27 Nov 2013 12:25:20 +0000 (12:25 +0000)]
[generic/3.12]: add TI wireless symbols and enable the platform glue by default

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38928 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: include 802.11n support when wl12xx is selected
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38927 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38926 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[mac80211]: fix typo in wl128x firmware names
kaloz [Wed, 27 Nov 2013 09:02:17 +0000 (09:02 +0000)]
[mac80211]: fix typo in wl128x firmware names

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38925 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[uboot-omap]: hide package, it's needed all the time
kaloz [Tue, 26 Nov 2013 18:46:47 +0000 (18:46 +0000)]
[uboot-omap]: hide package, it's needed all the time

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38924 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[uboot-omap]: use plain image names inside the target directories
kaloz [Tue, 26 Nov 2013 18:45:51 +0000 (18:45 +0000)]
[uboot-omap]: use plain image names inside the target directories

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38923 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[toolchain/gcc]: upgrade Linaro GCC 4.8 to 4.8-2013.11
kaloz [Tue, 26 Nov 2013 18:42:32 +0000 (18:42 +0000)]
[toolchain/gcc]: upgrade Linaro GCC 4.8 to 4.8-2013.11

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38922 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[mac80211]: wl12xx could need the wl128x firmware files, too
kaloz [Tue, 26 Nov 2013 17:46:45 +0000 (17:46 +0000)]
[mac80211]: wl12xx could need the wl128x firmware files, too

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38921 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: merge another round of upstream fixes
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38918 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38917 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoubox: the validation code has problems with the "(" char. use string for now
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38916 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agohostapd: add support for auto-channel selection
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38915 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agohostapd: update to version 2013-11-20
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38914 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel/modules: snd-pcm-dmaengine only if CONFIG_SND_DMAENGINE_PCM is set
blogic [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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38913 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agotools/mpfr: add GNU source
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38912 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agopppd: Place plugin-specific options after `plugin name`.
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38911 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: add mac address detection for Asus RT-G32 b1
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38910 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobase-files: allow users to delect debug level during boot
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38909 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoprocd: update procd.sh to make use of the new validate_data tool
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38908 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoubox: update the validate_data tool
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38907 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoubox: fix typo that caused log_file to not be validated properly
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38906 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: fix up the mt7530 driver to work properly with gmac2
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38905 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38904 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: add NETIF_F_HW_VLAN_CTAG_TX support for the mt7620X family
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38903 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: set the mac addr via the dts file
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38902 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokirkwood: include ext4 support by default
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38901 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokirkwood: kernel: add missing config option
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38900 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] cmake: upgrade to 2.8.12.1
luka [Sun, 24 Nov 2013 07:10:21 +0000 (07:10 +0000)]
[tools] cmake: upgrade to 2.8.12.1

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38899 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokirkwood: drop unnecessary argument from *_UBIFS_OPTS variables
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38898 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokirkwood: add support for iomega iconnect
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38897 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoFor now vdi and vmdk images should be x86 only
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38896 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomove menuconfig options into separate files
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38895 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38894 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoadd a feature flag for device tree support
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38893 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[x86]: VMWare and VirtualBox images should select what they need, not depend on it..
kaloz [Fri, 22 Nov 2013 09:54:36 +0000 (09:54 +0000)]
[x86]: VMWare and VirtualBox images should select what they need, not depend on it..

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38892 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[x86]: rationalize target image options
kaloz [Fri, 22 Nov 2013 09:44:14 +0000 (09:44 +0000)]
[x86]: rationalize target image options

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38891 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoallow configuration of the target directory for binaries
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38890 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[toolchain/uClibc]: replace the mips64 fixes patch with an upstream commit
kaloz [Fri, 22 Nov 2013 09:22:54 +0000 (09:22 +0000)]
[toolchain/uClibc]: 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38889 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouhttpd: update to the latest version, fixes crashes in the ubus plugin
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38888 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] pkg-config: fix occasional install problem
luka [Wed, 20 Nov 2013 22:09:11 +0000 (22:09 +0000)]
[tools] pkg-config: fix occasional install problem

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38886 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoprocd: fix the running hook #38868
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38885 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolantiq: move patch to proper folder
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38884 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: fix reorder issues with multicast packets (client mode)
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38883 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: fix an overflow issue in minstrel_ht
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38882 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38881 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolantiq: fix etop registers
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38880 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoprocd: add validation to the log init script
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38879 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolantiq: fix an endless loop in the vmmc platform code
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38878 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomxs: build/profile-related changes
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38876 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38875 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38874 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38873 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: set wmr-300 mac properly
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38872 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomtd: add a "mtd verify" call
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38871 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolibubox: ubox: procd: move md5.{c,h} to libubox
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38870 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoprocd: update to latest git head
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38868 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: add missing CONFIG_ symbol to mt7620n
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38867 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolibubox: update to latest git head
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38866 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agompc85xx: Fix NAPI poll mechanism in GIANFAR ethernet driver
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38865 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoprocd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38862 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobase-files: add the DEVICENAME variable for hotplug scripts
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38861 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoscripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in...
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38860 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: build images for ventana boards that are supported
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38859 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: merge all gateworks boards into one profile
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38858 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: add support for more then one nand type per profile
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38857 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38856 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimage: remove spaces from toupper function
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38855 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoath9k: merge a few reset / calibration fixes
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38854 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agocmake.mk: fix support for ccache
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38853 3c298f89-4303-0410-b956-a3cf2f4a3e73