openwrt.git
10 years agoar71xx: ag71xx: use mdio bus name in ar7240_probe messages
juhosg [Tue, 17 Dec 2013 15:12:52 +0000 (15:12 +0000)]
ar71xx: ag71xx: use mdio bus name in ar7240_probe messages

The ar7240_probe function uses the network device name
in the kernel log messages, however the name is not yet
initialized when the ar7240_probe function is called.
Use the mdio bus name in the messages to avoid ugly
log lines like the following one:

  eth%d: Found an AR7240/AR9330 built-in switch

Reported-by: Ronald Wahl <ronald.wahl@raritan.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39116 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoag71xx: ag71xx: use device name for debugfs entry
juhosg [Tue, 17 Dec 2013 15:12:50 +0000 (15:12 +0000)]
ag71xx: ag71xx: use device name for debugfs entry

The ag71xx debugfs code uses the network device name
for the device specific debugfs directory. Since r38689
'ar71xx: ag71xx: fix a race involving netdev registration'
the debugfs initialization happens before the ethernet
device gets registered and the network device name contains
'eth%d' at this point. If the board setup code registers
multiple ag71xx devices, the debugfs code tries to create
the device specific dir with the same name which causes
an error like this:

  eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
  ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
  ag71xx: probe of ag71xx.0 failed with error -12

Use the device name for the debugfs directory to avoid the
collisions. Also add an error message and change the return
code if the debugfs_create_dir call fails.

Reported-by: Ronald Wahl <ronald.wahl@raritan.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39115 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobusybox: fix typo in Config.in (#14628)
nbd [Tue, 17 Dec 2013 07:17:00 +0000 (07:17 +0000)]
busybox: fix typo in Config.in (#14628)

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

10 years agoimx6: ventana: add canbus utils
luka [Tue, 17 Dec 2013 02:47:20 +0000 (02:47 +0000)]
imx6: ventana: add canbus utils

Some of the Gateworks Ventana boards have CAN bus support, therefore
we will install the userspace utils.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39113 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: ventana: add default kernel modules for GSC
luka [Tue, 17 Dec 2013 02:47:18 +0000 (02:47 +0000)]
imx6: ventana: add default kernel modules for GSC

All Gateworks Ventana boards have a Gateworks System Controller
which emulates the following:
 - ds1672 RTC
 - pca953x GPIO expander
 - hardware monitor
 - at24 eeprom

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39112 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: add rtc feature support
luka [Tue, 17 Dec 2013 02:47:17 +0000 (02:47 +0000)]
imx6: add rtc feature support

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39111 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add rtc-ds1672 module support
luka [Tue, 17 Dec 2013 02:47:16 +0000 (02:47 +0000)]
kernel: add rtc-ds1672 module support

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39110 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: drop upstreamed patch
luka [Tue, 17 Dec 2013 02:47:15 +0000 (02:47 +0000)]
imx6: drop upstreamed patch

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

10 years ago[tools] automake: update to 1.11.6
luka [Tue, 17 Dec 2013 02:47:13 +0000 (02:47 +0000)]
[tools] automake: update to 1.11.6

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

10 years agobusybox: add support for config overrides via env/busybox-config
nbd [Mon, 16 Dec 2013 19:27:35 +0000 (19:27 +0000)]
busybox: add support for config overrides via env/busybox-config

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

10 years agobusybox: remove busybox menuconfig from top level menuconfig
nbd [Mon, 16 Dec 2013 19:09:57 +0000 (19:09 +0000)]
busybox: remove busybox menuconfig from top level menuconfig

This will help with avoiding bogus bug reports caused by stale configs
and bad cases of user tinkering :)

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

10 years agouClibc: disable sha256 and sha512 for libcrypt - saves about 13k uncompressed in...
nbd [Mon, 16 Dec 2013 18:49:10 +0000 (18:49 +0000)]
uClibc: disable sha256 and sha512 for libcrypt - saves about 13k uncompressed in libcrypt

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

10 years agohostapd: move old wifi setup scripts to hostapd-common-old
nbd [Mon, 16 Dec 2013 18:42:43 +0000 (18:42 +0000)]
hostapd: move old wifi setup scripts to hostapd-common-old

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

10 years agoar71xx: add initial support for the Mikrotik RB911G/RB912UAG boards
juhosg [Mon, 16 Dec 2013 18:08:51 +0000 (18:08 +0000)]
ar71xx: add initial support for the Mikrotik RB911G/RB912UAG boards

It is only on RB911G-5HPnD and RB912UAG-5HPnD boards.
The LEDs and the USB port is not working yet.

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

10 years agodnsmasq: switch to /lib/functions/network.sh
jow [Mon, 16 Dec 2013 16:47:41 +0000 (16:47 +0000)]
dnsmasq: switch to /lib/functions/network.sh

This commit changes the dnsmasq init script to use the interface
status exposed by netifd. The old references to scan_interfaces()
and (indirect) accesses to uci state variables are removed and
replaced with corresponding network_*() calls.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39101 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobase-files: ipcalc.sh: support bit length as netmask parameter
jow [Mon, 16 Dec 2013 16:29:23 +0000 (16:29 +0000)]
base-files: ipcalc.sh: support bit length as netmask parameter

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

10 years agobase-files: add network_get_protocol() to /lib/functions/network.sh
jow [Mon, 16 Dec 2013 16:28:45 +0000 (16:28 +0000)]
base-files: add network_get_protocol() to /lib/functions/network.sh

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

10 years agomac80211: fix AP mode scanning issues
nbd [Mon, 16 Dec 2013 15:45:57 +0000 (15:45 +0000)]
mac80211: fix AP mode scanning issues

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

10 years agoar71xx: add NAND driver for the Mikrotik RB91x boards
juhosg [Mon, 16 Dec 2013 12:57:24 +0000 (12:57 +0000)]
ar71xx: add NAND driver for the Mikrotik RB91x boards

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

10 years agoar71xx: rb2011: use board name from the hardware config
juhosg [Mon, 16 Dec 2013 12:41:48 +0000 (12:41 +0000)]
ar71xx: rb2011: use board name from the hardware config

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

10 years agoar71xx: rb2011: simplify setup code
juhosg [Mon, 16 Dec 2013 10:28:42 +0000 (10:28 +0000)]
ar71xx: rb2011: simplify setup code

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

10 years agoar71xx: rb2011: use the new RouterBOOT helpers
juhosg [Mon, 16 Dec 2013 10:28:41 +0000 (10:28 +0000)]
ar71xx: rb2011: use the new RouterBOOT helpers

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

10 years agoralink: fix dir810 networking
blogic [Mon, 16 Dec 2013 10:16:33 +0000 (10:16 +0000)]
ralink: fix dir810 networking

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

10 years agoar71xx: rb95x: use the rb_get_wlan_data helper
juhosg [Mon, 16 Dec 2013 10:11:02 +0000 (10:11 +0000)]
ar71xx: rb95x: use the rb_get_wlan_data helper

Also remove unused RB_* defines.

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

10 years agoar71xx: add some RouterBOOT specific helper functions
juhosg [Mon, 16 Dec 2013 10:11:01 +0000 (10:11 +0000)]
ar71xx: add some RouterBOOT specific helper functions

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

10 years agokernel: define RB_ID_HW_OPTIONS in include/linux/routerboot.h
juhosg [Mon, 16 Dec 2013 10:11:00 +0000 (10:11 +0000)]
kernel: define RB_ID_HW_OPTIONS in include/linux/routerboot.h

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

10 years agoar71xx: refresh m25p80 patches
juhosg [Mon, 16 Dec 2013 10:10:58 +0000 (10:10 +0000)]
ar71xx: refresh m25p80 patches

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

10 years agonetifd: update to latest version, fixes a null pointer crash
nbd [Mon, 16 Dec 2013 10:08:13 +0000 (10:08 +0000)]
netifd: update to latest version, fixes a null pointer crash

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

10 years agoar71xx: rb95x: nuke rb95x_gpio_init
juhosg [Mon, 16 Dec 2013 08:17:40 +0000 (08:17 +0000)]
ar71xx: rb95x: nuke rb95x_gpio_init

Set up the chipselect GPIO directly in rb95x_nand_init
instead.

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

10 years agokernel/3.1[02]: add Winbond W25X05 SPI flash support
juhosg [Mon, 16 Dec 2013 08:16:09 +0000 (08:16 +0000)]
kernel/3.1[02]: add Winbond W25X05 SPI flash support

It is used on newer RouterBOARDs.

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

10 years agokernel: remove obsolete yaffs options from target configs
juhosg [Mon, 16 Dec 2013 07:51:21 +0000 (07:51 +0000)]
kernel: remove obsolete yaffs options from target configs

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

10 years agokernel: update yaffs code
juhosg [Mon, 16 Dec 2013 07:51:19 +0000 (07:51 +0000)]
kernel: update yaffs code

Use the latest version of the yaffs code. Fetched from the
yaffs2 git tree and it is based on the following commit:

  commit bc76682d93955cfb33051beb503ad9f8a5450578
  Merge: 3a8580e ffa781d
  Author: Charles Manning <cdhmanning@gmail.com>
  Date:   Thu Jul 11 17:46:25 2013 +1200

      Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2

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

10 years agokernel/3.9: remove yaffs patches
juhosg [Mon, 16 Dec 2013 07:42:43 +0000 (07:42 +0000)]
kernel/3.9: remove yaffs patches

It is not used by any platform.

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

10 years agokernel/3.6: remove yaffs support
juhosg [Mon, 16 Dec 2013 07:42:42 +0000 (07:42 +0000)]
kernel/3.6: remove yaffs support

It is not used by any platform.

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

10 years agokernel/3.3: remove yaffs support
juhosg [Mon, 16 Dec 2013 07:42:41 +0000 (07:42 +0000)]
kernel/3.3: remove yaffs support

It is not used by any platform.

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

10 years agoar71xx/mikrotik: disable unused MTD options
juhosg [Mon, 16 Dec 2013 07:39:22 +0000 (07:39 +0000)]
ar71xx/mikrotik: disable unused MTD options

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

10 years agoar71xx: add dummy rle_decode function if CONFIG_RLE_DECOMPRESS is not set
juhosg [Mon, 16 Dec 2013 07:37:31 +0000 (07:37 +0000)]
ar71xx: add dummy rle_decode function if CONFIG_RLE_DECOMPRESS is not set

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

10 years agoar71xx: add userspace support for WD My Net N750
juhosg [Mon, 16 Dec 2013 07:16:43 +0000 (07:16 +0000)]
ar71xx: add userspace support for WD My Net N750

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
[juhosg: remove the image generation part until the ethernet
         switch issue is resolved]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39078 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add kernel support for WD My Net N750
juhosg [Mon, 16 Dec 2013 07:16:42 +0000 (07:16 +0000)]
ar71xx: add kernel support for WD My Net N750

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
[juhosg: use a separate patch for kernel changes]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39077 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agogeneric: ar8216: Enable jumbo frames on AR8327 by default
juhosg [Sun, 15 Dec 2013 22:18:04 +0000 (22:18 +0000)]
generic: ar8216: Enable jumbo frames on AR8327 by default

This patch enables jumbo frames on AR8327 switch by default.
I have tested it on TP-Link TL-WDR3600.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39076 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: build image for the TP-Link TL-WA901ND v3 board
juhosg [Sun, 15 Dec 2013 21:34:20 +0000 (21:34 +0000)]
ar71xx: build image for the TP-Link TL-WA901ND v3 board

Based-on: http://patchwork.openwrt.org/patch/4507/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39075 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add user-space support for the TP-Link TL-WA901ND v3 board
juhosg [Sun, 15 Dec 2013 21:34:19 +0000 (21:34 +0000)]
ar71xx: add user-space support for the TP-Link TL-WA901ND v3 board

Based-on: http://patchwork.openwrt.org/patch/4508/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39074 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add kernel support for the TL-WA901ND v3 board
juhosg [Sun, 15 Dec 2013 21:34:18 +0000 (21:34 +0000)]
ar71xx: add kernel support for the TL-WA901ND v3 board

Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39073 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: move TL-WA801ND v2 setup code
juhosg [Sun, 15 Dec 2013 21:34:17 +0000 (21:34 +0000)]
ar71xx: move TL-WA801ND v2 setup code

The TL-WA801ND v2 board has only one LAN port which makes
it more similar to the TL-WR[78]50RE devices. Move the
board setup code into the mach-tl-wax50re.c file.

Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39072 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: refactor TL-WAx50RE setup code
juhosg [Sun, 15 Dec 2013 21:34:15 +0000 (21:34 +0000)]
ar71xx: refactor TL-WAx50RE setup code

This way it is a bit easier to add other TP-LINK devices based on the
Atheros AP123 reference board with one LAN port.

Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39071 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[tools] ppl: update to 1.1
luka [Sun, 15 Dec 2013 21:07:34 +0000 (21:07 +0000)]
[tools] ppl: update to 1.1

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

10 years ago[tools] cloog: update to 0.18.1
luka [Sun, 15 Dec 2013 21:07:32 +0000 (21:07 +0000)]
[tools] cloog: update to 0.18.1

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

10 years agofirmware-utils/mkplinkfw: add TL-WA801ND v2 support
juhosg [Sun, 15 Dec 2013 20:39:13 +0000 (20:39 +0000)]
firmware-utils/mkplinkfw: add TL-WA801ND v2 support

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4503/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39066 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: build firmware image for the TL-WA801ND v2
juhosg [Sun, 15 Dec 2013 20:39:12 +0000 (20:39 +0000)]
ar71xx: build firmware image for the TL-WA801ND v2

Patch to add the profile for the TP-LINK WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4502/
[juhosg: change subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39065 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add user space support for the TL-WA801ND v2
juhosg [Sun, 15 Dec 2013 20:39:11 +0000 (20:39 +0000)]
ar71xx: add user space support for the TL-WA801ND v2

Patch to add the user space support for the TL-WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4501/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39064 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add kernel support for the TL-WA801ND v2 board
juhosg [Sun, 15 Dec 2013 20:39:10 +0000 (20:39 +0000)]
ar71xx: add kernel support for the TL-WA801ND v2 board

Patch to add kernel support for the TP-LINK WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4500/
[juhosg:
  - the TL-WA801ND v2 does not have a sliding switch, it uses a push button
    for WPS instead. Use the tl_mr3420v2_gpio_keys array to reflect that,
  - rename kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39063 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoath9k: fix interrupt storms on AR913x
nbd [Sun, 15 Dec 2013 20:23:00 +0000 (20:23 +0000)]
ath9k: fix interrupt storms on AR913x

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

10 years agoConvert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interface
cyrus [Sun, 15 Dec 2013 19:38:53 +0000 (19:38 +0000)]
Convert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interface

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

10 years agobrcm47xx: deactivate early printk support
hauke [Sun, 15 Dec 2013 19:19:16 +0000 (19:19 +0000)]
brcm47xx: deactivate early printk support

This breaks some devices where the serial console is not at port 0 but
somewhere else.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39060 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: update kernel 3.10 to 3.10.24
hauke [Sun, 15 Dec 2013 19:16:30 +0000 (19:16 +0000)]
kernel: update kernel 3.10 to 3.10.24

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39059 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoodhcp6c: add source routing support
cyrus [Sun, 15 Dec 2013 19:10:20 +0000 (19:10 +0000)]
odhcp6c: add source routing support

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

10 years agouhttpd: don't process ubus_* and lua_* options if corresponding plugin is not install...
jow [Sun, 15 Dec 2013 15:32:37 +0000 (15:32 +0000)]
uhttpd: don't process ubus_* and lua_* options if corresponding plugin is not installed (#14618)

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

10 years ago[tools] bison: update to 3.0.2
luka [Sun, 15 Dec 2013 03:59:49 +0000 (03:59 +0000)]
[tools] bison: update to 3.0.2

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

10 years agoupgrade 3.12 targets to 3.12.5
kaloz [Sat, 14 Dec 2013 17:37:14 +0000 (17:37 +0000)]
upgrade 3.12 targets to 3.12.5

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

10 years agoath9k: merge another round of cleanups and fixes submitted to linux-wireless
nbd [Sat, 14 Dec 2013 17:07:08 +0000 (17:07 +0000)]
ath9k: merge another round of cleanups and fixes submitted to linux-wireless

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

10 years agoath9k: merge an interrupt processing fix for AR5008-AR9002
nbd [Sat, 14 Dec 2013 16:40:27 +0000 (16:40 +0000)]
ath9k: merge an interrupt processing fix for AR5008-AR9002

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

10 years agokernel: move BLKCIPHER into crypto-core to avoid pulling in crypto-manager for arc4...
nbd [Sat, 14 Dec 2013 16:40:24 +0000 (16:40 +0000)]
kernel: move BLKCIPHER into crypto-core to avoid pulling in crypto-manager for arc4 (used by mac80211)

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

10 years ago[omap]: drop the bootscript, new u-boots won't need it
kaloz [Sat, 14 Dec 2013 16:29:35 +0000 (16:29 +0000)]
[omap]: drop the bootscript, new u-boots won't need it

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

10 years agonetifd: update to the latest version, adds a revert of the link state handling patche...
nbd [Sat, 14 Dec 2013 14:59:05 +0000 (14:59 +0000)]
netifd: update to the latest version, adds a revert of the link state handling patches which caused regressions in combination with wifi devices

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

10 years agobuild: speed up kernel symbol export stripping
nbd [Sat, 14 Dec 2013 13:14:44 +0000 (13:14 +0000)]
build: speed up kernel symbol export stripping

GNU grep has a high per-expression setup overhead when compiling regular
expressions. Use -F to force it to interpret the input as fixed strings,
which is much faster (fraction of a second instead of multiple minutes).

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

10 years agoopenssl: Support multi-threaded applications
nbd [Sat, 14 Dec 2013 10:19:48 +0000 (10:19 +0000)]
openssl: Support multi-threaded applications

Allow multi-threaded applications to work properly by
removing the "no-threads" flag that is enabled by default.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39048 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agousbmode: add an init script to switch devices that show up too early for the hotplug...
nbd [Fri, 13 Dec 2013 16:43:15 +0000 (16:43 +0000)]
usbmode: add an init script to switch devices that show up too early for the hotplug script

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

10 years agonetifd: prevent an unnecessary restart of netifd-managed wifi interfaces at boot...
nbd [Fri, 13 Dec 2013 16:43:11 +0000 (16:43 +0000)]
netifd: prevent an unnecessary restart of netifd-managed wifi interfaces at boot time

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

10 years agoscripts/download.pl: prefer the GNU mirror redirect over the primary site (#14603)
nbd [Fri, 13 Dec 2013 16:43:07 +0000 (16:43 +0000)]
scripts/download.pl: prefer the GNU mirror redirect over the primary site (#14603)

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

10 years ago[uboot-omap]: fix jffs2 with internal libgcc and switch omap4 to ext4
kaloz [Fri, 13 Dec 2013 16:38:43 +0000 (16:38 +0000)]
[uboot-omap]: fix jffs2 with internal libgcc and switch omap4 to ext4

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

10 years agoiw: reduce size and make the phy dump output more readable
nbd [Fri, 13 Dec 2013 11:02:05 +0000 (11:02 +0000)]
iw: reduce size and make the phy dump output more readable

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

10 years agoralink: add mt7621 support
blogic [Fri, 13 Dec 2013 10:53:34 +0000 (10:53 +0000)]
ralink: add mt7621 support

there are still various missing pieces for full support.

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

10 years agoopkg: do not add blank "Provides:" fields to package metadata
nbd [Fri, 13 Dec 2013 10:40:26 +0000 (10:40 +0000)]
opkg: do not add blank "Provides:" fields to package metadata

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

10 years agobuild: remove SourceFile and SourceURL from opkg metadata - they are useless without...
nbd [Fri, 13 Dec 2013 10:40:19 +0000 (10:40 +0000)]
build: remove SourceFile and SourceURL from opkg metadata - they are useless without the corresponding openwrt package directory

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

10 years ago[omap]: add a default profile file
kaloz [Thu, 12 Dec 2013 10:08:15 +0000 (10:08 +0000)]
[omap]: add a default profile file

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

10 years ago/sbin/wifi: reload network/wireless on wifi restart
nbd [Wed, 11 Dec 2013 19:48:19 +0000 (19:48 +0000)]
/sbin/wifi: reload network/wireless on wifi restart

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

10 years agonetifd: fix crashes triggered by adding/removing wireless devices on reload
nbd [Wed, 11 Dec 2013 18:23:52 +0000 (18:23 +0000)]
netifd: fix crashes triggered by adding/removing wireless devices on reload

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

10 years agoimx6: add canbus support for Ventana boards
luka [Wed, 11 Dec 2013 10:56:11 +0000 (10:56 +0000)]
imx6: add canbus support for Ventana boards

GW5400, GW5300, and GW5200 have CAN bus option.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39034 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: add flexcan support
luka [Wed, 11 Dec 2013 10:56:09 +0000 (10:56 +0000)]
imx6: add flexcan support

backport upstream changes to 3.10:
 - 0060-flexcan.patch:
   - add flexcan pinctrl and devicetree config
 - 0061-can-flexcan-use-correct-clock-as-base-for-bit-rate-c.patch
   - fix a clock issue
 - 0062-ARM-i.MX6q-fix-the-wrong-parent-of-can_root-clock.patch
   - fix a clock issue

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39033 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add CAN modules
luka [Wed, 11 Dec 2013 10:56:08 +0000 (10:56 +0000)]
kernel: add CAN modules

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39032 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: add missing set_default to fix stray "radio0: sh: bad number" messages
jow [Tue, 10 Dec 2013 16:24:52 +0000 (16:24 +0000)]
mac80211: add missing set_default to fix stray "radio0: sh: bad number" messages

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

10 years agohostapd: fix short_preamble option
jow [Tue, 10 Dec 2013 16:24:48 +0000 (16:24 +0000)]
hostapd: fix short_preamble option

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

10 years agolibevent2: Configure with --disable-debug-mode
blogic [Mon, 9 Dec 2013 18:26:58 +0000 (18:26 +0000)]
libevent2: Configure with --disable-debug-mode

Saves around 10K.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39025 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoubox: fix logging support. the initial connect failed
blogic [Mon, 9 Dec 2013 18:24:30 +0000 (18:24 +0000)]
ubox: fix logging support. the initial connect failed

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

10 years agoprocd: update procd, add ulimit support
blogic [Mon, 9 Dec 2013 17:38:19 +0000 (17:38 +0000)]
procd: update procd, add ulimit support

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

10 years agoubox: fix up pidcount handling inside log.init
blogic [Mon, 9 Dec 2013 17:29:44 +0000 (17:29 +0000)]
ubox: fix up pidcount handling inside log.init

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

10 years agogpio-button-hotplug: add irq mode to driver
blogic [Mon, 9 Dec 2013 17:29:39 +0000 (17:29 +0000)]
gpio-button-hotplug: add irq mode to driver

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

10 years agonetifd: enable coredumps again
blogic [Mon, 9 Dec 2013 17:29:34 +0000 (17:29 +0000)]
netifd: enable coredumps again

got broken due procd startup. Requires procd resource limit patch.

Signed-off-by: Ulrich Weber <uw@xyne.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39020 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: add TSO
blogic [Mon, 9 Dec 2013 17:29:29 +0000 (17:29 +0000)]
ralink: add TSO

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

10 years agoralink: fix typo in gpio irq handling
blogic [Mon, 9 Dec 2013 17:29:24 +0000 (17:29 +0000)]
ralink: fix typo in gpio irq handling

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

10 years agoralink: add mt7620a gdma info to dtsi
blogic [Mon, 9 Dec 2013 17:29:19 +0000 (17:29 +0000)]
ralink: add mt7620a gdma info to dtsi

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

10 years agoralink: add asoc modules
blogic [Mon, 9 Dec 2013 17:29:14 +0000 (17:29 +0000)]
ralink: add asoc modules

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

10 years agoralink: add partially working asoc driver. codec is not fully functional yet
blogic [Mon, 9 Dec 2013 17:29:08 +0000 (17:29 +0000)]
ralink: add partially working asoc driver. codec is not fully functional yet

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

10 years agoralink: add helper that identifies the mt7620 ECO
blogic [Mon, 9 Dec 2013 17:29:03 +0000 (17:29 +0000)]
ralink: add helper that identifies the mt7620 ECO

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

10 years agoralink: add dma engine support
blogic [Mon, 9 Dec 2013 17:28:43 +0000 (17:28 +0000)]
ralink: add dma engine support

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

10 years agoimx6: add support for GW53xx
luka [Mon, 9 Dec 2013 11:30:23 +0000 (11:30 +0000)]
imx6: add support for GW53xx

The Gateworks GW53xx family of products is based on the Freescale
i.MX6DL SoC and offers a small form-factor with peripherals such as:

 * i.MX6DL
 * NAND FLASH
 * 4x PCIe
 * 4x USB EHCI (1x front-panel; 3x PCIe sockets)
 * 1x USB OTG
 * 1x uSD
 * LVDS connector (VLDS for display, PWM/GPIO for backlight, i2c for touch)
 * HDMI Audio/Video out
 * Analog Video in
 * Digital IO
 * Gateworks System Controller
 * Accelerometer
 * Canbus
 * Optional GPS
 * Industrial temp (-40C to +85C)
 * DC input voltage 8 to 42V (Passive PoE and 802.3af)

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39012 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: add DMA/SDMA support for 3.12
luka [Mon, 9 Dec 2013 11:30:22 +0000 (11:30 +0000)]
imx6: add DMA/SDMA support for 3.12

DMA and SDMA support are needed for ssi based audio.  Note that the sdma
firmware is no longer required for ssi audio.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39011 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: drop upstreamed patch
luka [Mon, 9 Dec 2013 11:30:20 +0000 (11:30 +0000)]
imx6: drop upstreamed patch

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

10 years agokernel: added defines for 3.12
luka [Mon, 9 Dec 2013 11:30:19 +0000 (11:30 +0000)]
kernel: added defines for 3.12

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39009 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: module updates for 3.12
luka [Mon, 9 Dec 2013 11:30:18 +0000 (11:30 +0000)]
kernel: module updates for 3.12

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39008 3c298f89-4303-0410-b956-a3cf2f4a3e73