Commit Graph

26192 Commits

Author SHA1 Message Date
Zoltan Herpai
34ca9f355e sunxi: add sata driver for sun[47]i
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39197
2014-01-04 16:30:56 +00:00
Zoltan Herpai
9808a0830b sunxi: move sunxi-sid (security ID) off to module
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39196
2014-01-04 13:46:43 +00:00
Zoltan Herpai
1ffc2deed4 sunxi: move rtc off to module
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39195
2014-01-04 12:47:51 +00:00
Zoltan Herpai
662e5c224c sunxi: add the actual mmc driver
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39194
2014-01-04 11:08:27 +00:00
Zoltan Herpai
78936aa875 sunxi: delete a31 reset for now in lack of the mach split
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39193
2014-01-04 11:02:16 +00:00
Zoltan Herpai
c2f62ecc25 add support for pcDuino board
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39192
2014-01-04 10:09:52 +00:00
Zoltan Herpai
4800b2c723 update version
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39191
2014-01-04 10:08:31 +00:00
Zoltan Herpai
51d5e458a3 sunxi: add support for pcDuino board
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39190
2014-01-04 10:06:17 +00:00
Zoltan Herpai
c98c6ef201 sunxi: add mmc support - add MMC support for sun457i - update kernel config to compile in MMC and ext4 - update kernel cmdline
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39189
2014-01-04 10:02:01 +00:00
Zoltan Herpai
2657412374 sunxi: various fixes - have Kconfig options ordered - add new olinuxino a13-micro board - various fixes for EHCI
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39188
2014-01-04 09:55:41 +00:00
Zoltan Herpai
4a314d1805 sunxi: remove sun6i/7i split for now
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39187
2014-01-04 09:49:44 +00:00
Zoltan Herpai
6b61e7786c sunxi: refresh clock framework
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39186
2014-01-04 09:47:50 +00:00
Jo-Philipp Wich
2e02c2da18 Add jsonpath - a command line utility to extract values from JSON data using XPath-like expressions
SVN-Revision: 39185
2014-01-02 11:55:16 +00:00
Steven Barth
bc370646cd 6relayd: try to workaround race condition at startup
SVN-Revision: 39184
2014-01-02 11:38:36 +00:00
Felix Fietkau
20151a3394 netifd: initialize the switch early at start time and on reload (fixes #13015)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39183
2013-12-31 13:09:20 +00:00
Luka Perkov
1df5226b04 ixp4xx: upgrade: don't copy extra binaries
hexdump is already added to new temporary file system while less is not used at
all. While at it, remove some trailing whitespaces.

Signed-off-by: Luka Perkov <luka@openwrt.org>
CC: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39181
2013-12-30 23:49:25 +00:00
Felix Fietkau
6865f1d6b2 netifd: update to the latest version, fixes wireless related segfaults on arm
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39180
2013-12-29 02:26:34 +00:00
Felix Fietkau
8bd7e0b19b uClibc: Fix lookup with DNS search in multi-threaded application.
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

SVN-Revision: 39179
2013-12-28 15:06:14 +00:00
Felix Fietkau
c4b013f00b uClibc: make res_init() thread safe
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

SVN-Revision: 39178
2013-12-28 15:06:04 +00:00
Felix Fietkau
8cabffaa3b uClibc: Fix threaded use of res_ functions.
This patch moves res_init() back above #undef _res. It fixes dns resolving issue in OpenWrt
(uClibc related - OpenWrt ticket #11929). It is a backport from uClibc master.

Further details are there:
http://git.uclibc.org/uClibc/commit/libc/inet/resolv.c?id=20b69920b299585265eb100d0b67e1097ccb1092

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

SVN-Revision: 39177
2013-12-28 15:05:56 +00:00
Felix Fietkau
5607a13aa1 netifd: update to the latest version, fixes wifi related segfaults
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39176
2013-12-28 14:19:54 +00:00
Felix Fietkau
c7d23cbeb9 hostapd: fix mixed wep/wpa with netifd
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

SVN-Revision: 39174
2013-12-28 11:07:37 +00:00
Felix Fietkau
da886d761a hostapd: fix the uci option name for ap isolate
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39173
2013-12-28 11:07:28 +00:00
John Crispin
3b4152bfda firmware-utils: check_magic() in buffalo-lib.c always return 0
spotted with cppcheck

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 39171
2013-12-27 21:15:31 +00:00
John Crispin
d1156bca0a swconfig: remove useless variables, return -1 on errors
spotted with cppcheck

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 39170
2013-12-27 21:15:20 +00:00
John Crispin
834204bda6 base-files: fix mount-utils incompatibility
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>

SVN-Revision: 39169
2013-12-27 21:15:09 +00:00
John Crispin
9715b61b3c ralink: fix tso regression in the ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39168
2013-12-27 21:14:49 +00:00
Hauke Mehrtens
8c085f647b brcm47xx: fix cpu wait for BCM4706
This was called to early.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39167
2013-12-26 23:30:10 +00:00
Hauke Mehrtens
961d5b4453 brcm47xx: b44: This updates the phylib patches to the version send upstream
This uses a fixed phy instead of a dummy one.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39166
2013-12-26 23:27:52 +00:00
Hauke Mehrtens
bc3d934148 kernel: bgmac: update patches
This updates the bgmac backport patch to the current upstream version
and adds some more patches mostly for BCM4707.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39165
2013-12-26 23:22:31 +00:00
Imre Kaloz
ac8d562503 handle the Linaro version as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39164
2013-12-26 22:19:29 +00:00
John Crispin
9739a0b41b ramips: add support for RT-N14U (mt7620n based) board
added dts file and userspace scripts modified to support Asus RT-N14U board

current support status:
usb        works
ethernet   works
buttons    reset, wps
leds       asus:blue:[usb|lan|wan|air|power]
i2c        not tested
uart       not tested
wifi       not yet

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>

SVN-Revision: 39163
2013-12-25 17:04:50 +00:00
John Crispin
93d8dc870e ramips: add gpio pin 72 in mt7620 chips to dtsi files
describes register set to control last gpio pin on mt7620 platfrom

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>

SVN-Revision: 39162
2013-12-25 17:04:34 +00:00
Gabor Juhos
05f8604e2e ar71xx: fix max frame length of the QCA955x SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39161
2013-12-23 17:05:23 +00:00
Gabor Juhos
76f37c5d46 ar71xx: don't set builtin_switch flag for QCA9558
It makes no sense, the SoC has no built-in switch.

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

SVN-Revision: 39160
2013-12-23 17:05:21 +00:00
Gabor Juhos
dd7c1f8fcd x86/kvm_guest: remove 3.7 support
Patch-by: Stijn Tintel <stijn@linux-ipv6.be>
Patchwork: http://patchwork.openwrt.org/patch/4637/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39159
2013-12-23 17:05:19 +00:00
Gabor Juhos
d720b95ac2 x86/kvm_guest: remove 3.3 support
Patch-by: Stijn Tintel <stijn@linux-ipv6.be>
Patchwork: http://patchwork.openwrt.org/patch/46366/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39158
2013-12-23 17:05:18 +00:00
Gabor Juhos
03e091f3ce x86/kvm_guest: add support for 3.10 and switch to it
Patch-by: Stijn Tintel <stijn@linux-ipv6.be>
Patchwork: http://patchwork.openwrt.org/patch/4635/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39157
2013-12-23 17:05:16 +00:00
Felix Fietkau
aab522e1e3 hostapd: fix wep with netifd
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

SVN-Revision: 39156
2013-12-23 12:11:28 +00:00
Felix Fietkau
fd4cd3825b wpa_supplicant: fix interface combination parsing issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39155
2013-12-21 19:42:45 +00:00
Jo-Philipp Wich
df57b8dcb6 opkg: switch to git repository (#14655)
Upstream development now takes place in a git repository which was clone
from the old svn repository. Switch the source location to the git tree
using the commit that corresponds to the old svn r618 revision.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 39153
2013-12-21 13:47:46 +00:00
Jo-Philipp Wich
efce764f0e dnsmasq: rework init procedure
- cache udhcp check results to speed up subsequent reloads
	- enable procd file tracking for /var/etc/dnsmasq.conf to only reload service if needed
	- implement reload action to only restart dnsmasq if /var/etc/dnsmasq.conf actually changed
	- launch dnsmasq from interface hotplug to avoid race conditions with network bringup

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 39152
2013-12-21 13:31:28 +00:00
Imre Kaloz
72f00c8de4 change fixup method and fix CFLAGS handling
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39151
2013-12-20 20:25:44 +00:00
Felix Fietkau
41cbd0a389 ath9k: merge a timer handling fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39150
2013-12-20 16:02:32 +00:00
Gabor Juhos
f2cd3399f7 ar71xx: allow to use large ethernet frames on AR934x SoCs
The hardware supports large ethernet frames. Override
the maximum frame length and packet lenght mask in the
platform data to allow to use large MTU on the ethernet
interfaces.

Limit the feature to AR934x SoCs for now. It should work
on some other SoCs as well, but those has not been tested
yet.

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

SVN-Revision: 39149
2013-12-20 11:41:23 +00:00
Gabor Juhos
2b220f3550 ar71xx: ag71xx: fix max frame length setup of the built-in switches
The currently used bitmask of the maximum frame length field
is wrong for both models. On AR724x/AR933x the largest frame
size is 2047 bytes, on the AR934x it is 16383 bytes.

Make the MTU setup code model specific, and use the correct
bitmask for both models. Also change the value to the maximum.

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

SVN-Revision: 39148
2013-12-20 11:41:22 +00:00
Gabor Juhos
35d601f974 ar71xx: ag71xx: calculate max frame len register value from the MTU
Set the MAX_FRAME_LEN register to zero in ag71xx_hw_init()
and write the correct value into that from the ag71xx_open()
and ag71xx_fast_reset() functions.

Also recalculate the RX buffer size based on the actual
maximum frame length value to optimize memory allocation.
Additionaly, disallow to change the MTU value while the
interface it running.

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

SVN-Revision: 39147
2013-12-20 11:41:20 +00:00
Gabor Juhos
9e7d77de2d ar71xx: ag71xx: add ag71xx_max_frame_len() helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39146
2013-12-20 11:41:18 +00:00
Gabor Juhos
2c4e3cf33a ar71xx: ag71xx: get max_frame_len and desc_pktlen_mask from platform data
This will allow to use SoC specific values for both.

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

SVN-Revision: 39145
2013-12-20 11:41:17 +00:00
Gabor Juhos
9be1e508f9 ar71xx: ag71xx: store descriptor packet length mask in ag71xx struct
The currently used bitmask is not correct for all SoCs.
Introduce a new field in struct ag71xx and store the
bitmask in that. Use the current value for now, it will
be adjusted for each SoCs in further patches.

Aslo use the new field directly in the ag71xx_rx_packets
and ag71xx_hard_start_xmit() functions and remove the
ag71xx_desc_pktlen() helper.

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

SVN-Revision: 39144
2013-12-20 11:41:16 +00:00