Imre 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
Felix Fietkau [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
John Crispin [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
Felix Fietkau [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
Felix Fietkau [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
Imre 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
Felix Fietkau [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
Felix Fietkau [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
Luka Perkov [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
Luka Perkov [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
Luka Perkov [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
Jo-Philipp Wich [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
Jo-Philipp Wich [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
John Crispin [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
John Crispin [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
John Crispin [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
John Crispin [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
John Crispin [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
John Crispin [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
John Crispin [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
John Crispin [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
John Crispin [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
John Crispin [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
John Crispin [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
John Crispin [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
John Crispin [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
Luka Perkov [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
Luka Perkov [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
Luka Perkov [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
Luka Perkov [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
Luka Perkov [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
Luka Perkov [Mon, 9 Dec 2013 11:30:16 +0000 (11:30 +0000)]
config: add KERNEL_DYNAMIC_DEBUG option
Useful when debugging kernel which uses this infrastructure, for
example ubi/ubifs.
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39007
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Luka Perkov [Mon, 9 Dec 2013 11:30:14 +0000 (11:30 +0000)]
[package] base-files: fix whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39006
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Sun, 8 Dec 2013 20:51:21 +0000 (20:51 +0000)]
hostapd: properly parse wmm and hidden uci options (#14589)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39005
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sun, 8 Dec 2013 18:00:05 +0000 (18:00 +0000)]
netifd: update to the latest version, adds tunnel fixes by Hans Dedecker and adds back support for multiple networks per wifi-iface
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39004
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sun, 8 Dec 2013 18:00:01 +0000 (18:00 +0000)]
mac80211: fix using custom wifi-iface ifname option with netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39003
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sun, 8 Dec 2013 14:48:34 +0000 (14:48 +0000)]
mac80211: merge an ibss dfs locking fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39002
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sun, 8 Dec 2013 14:48:30 +0000 (14:48 +0000)]
ath9k: merge initval and tx gain table updates, calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39001
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sun, 8 Dec 2013 14:48:25 +0000 (14:48 +0000)]
mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39000
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Fri, 6 Dec 2013 15:42:35 +0000 (15:42 +0000)]
generic: workaround arptables arpt_arp structure padding issue (#14577)
Linaro GCC 4.6-2013.05 incorrectly pads the arpt_arp structure on
at least the ar71xx target, resulting in a two bytes shorter struct
in the kernel compared to what arptables userspace expects.
When comparing sizeof(struct arpt_arp) in kernel and userspace, the
former yields 162 byte, while the latter is 164 byte.
As a consequence, the subsequent target_offset and next_offset
members of the parent arpt_entry structure contain invalid values
when processed by the arptables binary, leading to bad memory
accesses in the populate_cache() procedure, subsequently causing a
segfault.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38999
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Fri, 6 Dec 2013 15:37:55 +0000 (15:37 +0000)]
generic: fix occasional "execvp: /bin/sh: Argument list too long" is kernel header install phase (#12907)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38998
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Imre Kaloz [Fri, 6 Dec 2013 14:07:13 +0000 (14:07 +0000)]
[mac80211]: add support for the wl18xx, split wlcore from wl12xx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38997
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Steven Barth [Thu, 5 Dec 2013 12:17:09 +0000 (12:17 +0000)]
odhcpd/6c: Add config menu for prefix class ext.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38996
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Wed, 4 Dec 2013 22:59:36 +0000 (22:59 +0000)]
ath9k: fix length handling of unaggregated frames (might resolve some rts/cts issues)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38995
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Steven Barth [Wed, 4 Dec 2013 13:14:27 +0000 (13:14 +0000)]
odhcpd: Fix ubus integration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38994
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Tue, 3 Dec 2013 16:22:56 +0000 (16:22 +0000)]
mac80211: fix ad-hoc network setup with netifd (#14564)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38993
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Tue, 3 Dec 2013 14:17:44 +0000 (14:17 +0000)]
netifd: update to the latest version, improves wireless status output and fixes some bridge handling issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38992
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Tue, 3 Dec 2013 09:02:58 +0000 (09:02 +0000)]
hostapd: fix maclist processing with netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38991
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Mon, 2 Dec 2013 16:53:27 +0000 (16:53 +0000)]
wifi: restart netifd wifi interfaces on the "up" command like the old variant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38990
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Mon, 2 Dec 2013 16:53:24 +0000 (16:53 +0000)]
wifi: rename the "reload" (restarting non-netifd wifi) command to "reload_legacy"
Add a new "reload" command that reloads the netifd config as well
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38989
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Mon, 2 Dec 2013 16:41:03 +0000 (16:41 +0000)]
netifd: add wireless configuration support and port mac80211 to the new framework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38988
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Mon, 2 Dec 2013 13:08:17 +0000 (13:08 +0000)]
uci: update to the latest version, adds a small uci_to_blob fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38987
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Mon, 2 Dec 2013 13:08:14 +0000 (13:08 +0000)]
hostapd: change the wildcard for the hostapd control socket directory
prepare for using /var/run/hostapd instead of /var/run/hostapd-phy*
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38986
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Mon, 2 Dec 2013 13:08:11 +0000 (13:08 +0000)]
wpa_supplicant: clean up hostapd control socket on exit to fix socket leak in ap+sta mode on wifi restarts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38985
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Mon, 2 Dec 2013 13:08:08 +0000 (13:08 +0000)]
hostapd: fix os_daemonize vs starting process race by creating the pid file in the parent
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38984
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Mon, 2 Dec 2013 13:08:03 +0000 (13:08 +0000)]
libubox: update to latest version, adds some more jshn performance improvements and fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38983
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Mon, 2 Dec 2013 13:08:00 +0000 (13:08 +0000)]
netifd: remove redundant calls to /sbin/wifi down
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38982
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Mon, 2 Dec 2013 13:07:46 +0000 (13:07 +0000)]
hostapd: always include p2p options in wpa_cli
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38981
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 1 Dec 2013 18:12:57 +0000 (18:12 +0000)]
brcm47xx: misc cleanups
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38980
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 1 Dec 2013 18:05:08 +0000 (18:05 +0000)]
brcm47xx: deactivate mips wait instruction only for BCM4706
The wait instruction is only broken on the BCM4706 and not on the other
similar SoCs.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38979
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 1 Dec 2013 17:34:27 +0000 (17:34 +0000)]
brcm47xx: config: set CONFIG_HZ=100 and CONFIG_IP_ROUTE_VERBOSE
This sets both values to the OpenWrt default values. There is no reason
to use some brcm47xx specific values here.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38978
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 1 Dec 2013 17:23:19 +0000 (17:23 +0000)]
mac80211: b43: improve PCIe host controller workaround
This is only needed by BCM4716 and not by BCM4706, I haven't seen any
problems there. Adds the write flush for some more parts where the phy
control regs are written.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38977
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 1 Dec 2013 17:20:32 +0000 (17:20 +0000)]
mac80211: remove DMI_EXACT_MATCH
DMI_EXACT_MATCH was added to the kernel in version 3.10.21 and collides
with backports version. DMI_EXACT_MATCH is only used by the intel GPU
driver which is not build by OpenWrt, so remove it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38976
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 1 Dec 2013 16:37:58 +0000 (16:37 +0000)]
brcm47xx: add vectored interrupts
This adds support for vectored interrupts in this SoC.
This is supported by the 74K cpus.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38975
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 1 Dec 2013 16:36:38 +0000 (16:36 +0000)]
brcm47xx: add cpu overwrites
bcm47xx misses cpu overwrites for the features of the CPUs used in
these SoCs.
Instead of manually checking, it is now known at compile time for some
options and the compiler is able to remove the checks and optimize the
code.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38974
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 1 Dec 2013 16:32:32 +0000 (16:32 +0000)]
brcm47xx: use "firmware" partition name
Some time ago, after switching to the mainline bcm47xxpart driver
following patch has been applied:
commit
03cef8725d2062335ffc3de50fc037b294fd458c
Author: hauke <hauke@
3c298f89-4303-0410-b956-
a3cf2f4a3e73>
Date: Sat Apr 6 22:22:26 2013 +0000
brcm47xx: use old partition names again for kernel 3.8
This fixes sysupgrade. The partition names are used all over the Internet in various howtos.
Thank you russell for spotting this problem.
I propose to revert this change and make sysupgrade use "firmware"
instead. This makes brcm47xx compatible with widely used ar71xx and
after all "firmware" sounds like a much better name for... the firmware.
This change doesn't affect "sysupgrade" usage, because it never takes a
partition name as a parameter. This change only affects users using mtd
tool directly. Hopefully there are not many howtos using "mtd" command.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38973
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Sun, 1 Dec 2013 09:59:53 +0000 (09:59 +0000)]
kernel: update 3.10 to 3.10.21
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38972
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Luka Perkov [Sat, 30 Nov 2013 19:48:05 +0000 (19:48 +0000)]
ar71xx: merge board specific patches into one
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38971
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Sat, 30 Nov 2013 18:31:10 +0000 (18:31 +0000)]
kernel: refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38970
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38969
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38968
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38967
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38966
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38965
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38964
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38963
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38962
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38960
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38959
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38958
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38957
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38956
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38955
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38954
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38953
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38952
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38951
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38950
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38949
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38948
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38947
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38946
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38943
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Imre 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
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38941
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38940
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38939
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38938
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38937
3c298f89-4303-0410-b956-
a3cf2f4a3e73
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38936
3c298f89-4303-0410-b956-
a3cf2f4a3e73