openwrt/staging/ansuel.git
10 years agoralink: don't build mkhilinkfw untilt he ssl header dependency is resolved
John Crispin [Sun, 12 Jan 2014 17:26:24 +0000 (17:26 +0000)]
ralink: don't build mkhilinkfw untilt he ssl header dependency is resolved

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39248

10 years agompc85xx: preallocate SPI transfer buffer
Gabor Juhos [Sun, 12 Jan 2014 14:16:18 +0000 (14:16 +0000)]
mpc85xx: preallocate SPI transfer buffer

This helps to avoid high order alloction failures.
Closes #14702.

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

10 years agoubox: welcome to 2014
John Crispin [Sun, 12 Jan 2014 14:07:01 +0000 (14:07 +0000)]
ubox: welcome to 2014

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39246

10 years agoralink: fix eeprom loading
John Crispin [Sun, 12 Jan 2014 14:03:15 +0000 (14:03 +0000)]
ralink: fix eeprom loading

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39245

10 years agoubox: update to latest git - fixes error reporting Signed-off-by: John Crispin <blogi...
John Crispin [Sun, 12 Jan 2014 14:03:10 +0000 (14:03 +0000)]
ubox: update to latest git - fixes error reporting Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39244

10 years agofirmware-utils: mkhilinkfw breaks the build bots
John Crispin [Sun, 12 Jan 2014 14:03:05 +0000 (14:03 +0000)]
firmware-utils: mkhilinkfw breaks the build bots

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39243

10 years agoFix build for individual profiles with dashes in names
John Crispin [Sun, 12 Jan 2014 12:27:32 +0000 (12:27 +0000)]
Fix build for individual profiles with dashes in names

Config symbols can have regular dashes, e.g.

CONFIG_TARGET_ramips_rt305x_UR-336UN=y

So no substitution should be performed on the last part of the symbol.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 39242

10 years agoralink: fix WHR-600D and WHR-300HP image generation
John Crispin [Sun, 12 Jan 2014 12:12:58 +0000 (12:12 +0000)]
ralink: fix WHR-600D and WHR-300HP image generation

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39241

10 years agoralink: fix WHR-600D pcie support
John Crispin [Sun, 12 Jan 2014 12:12:53 +0000 (12:12 +0000)]
ralink: fix WHR-600D pcie support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39240

10 years agomac80211: enable ralink ap+sta support
John Crispin [Sun, 12 Jan 2014 12:07:51 +0000 (12:07 +0000)]
mac80211: enable ralink ap+sta support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39239

10 years agofirmware-utils: add HLK-RM04 tool
John Crispin [Sun, 12 Jan 2014 12:07:46 +0000 (12:07 +0000)]
firmware-utils: add HLK-RM04 tool

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39238

10 years agoralink: add HLK-RM04 support
John Crispin [Sun, 12 Jan 2014 12:07:40 +0000 (12:07 +0000)]
ralink: add HLK-RM04 support

https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39237

10 years agoralink: switch to askconsole
John Crispin [Sun, 12 Jan 2014 12:07:34 +0000 (12:07 +0000)]
ralink: switch to askconsole

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39236

10 years agoralink: fix uartf memory range size
John Crispin [Sun, 12 Jan 2014 12:07:30 +0000 (12:07 +0000)]
ralink: fix uartf memory range size

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39235

10 years agoralink: honour memory@0 node
John Crispin [Sun, 12 Jan 2014 12:07:26 +0000 (12:07 +0000)]
ralink: honour memory@0 node

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39234

10 years agoralink: fix rt5350 ethernet
John Crispin [Sun, 12 Jan 2014 12:07:20 +0000 (12:07 +0000)]
ralink: fix rt5350 ethernet

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39233

10 years agonetifd: fix mac80211.sh to respect setting of mcast_rate
John Crispin [Sun, 12 Jan 2014 12:07:15 +0000 (12:07 +0000)]
netifd: fix mac80211.sh to respect setting of mcast_rate

This patch fixes a bug in /lib/netifd/wireless/mac80211.sh, where
the UCI setting of wireless multicast traffic (in uci: mcast_rate)
is not respected within netifd. Especially in Freifunk mesh networks
the olsr routing as effected by this, as only the lowest mcast_rate
was used, even when uci ncast_rate was set to something else.
In function mac80211_setup_adhoc() the value of mcast_rate is missing
in json_get_vars.

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
SVN-Revision: 39232

10 years agohostapd: fix frequency setting for IBSS/RSN
John Crispin [Sun, 12 Jan 2014 12:07:11 +0000 (12:07 +0000)]
hostapd: fix frequency setting for IBSS/RSN

Introduced by ("netifd: add wireless configuration support and port mac80211 to
the new framework")

Reported-by: René van Weert <rene@sowifi.com>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
SVN-Revision: 39231

10 years agolantiq: improve Arcadyan ARV4510PW support
John Crispin [Sun, 12 Jan 2014 12:07:07 +0000 (12:07 +0000)]
lantiq: improve Arcadyan ARV4510PW support

Arcadyan ARV4510PW has already a build profile in OpenWrt, but it is
severely lacking. This patch brings it up-to-date.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 39230

10 years agoswconfig: improve usability when switch device incorrect
John Crispin [Sun, 12 Jan 2014 12:07:01 +0000 (12:07 +0000)]
swconfig: improve usability when switch device incorrect

http://patchwork.openwrt.org/patch/4701/

Signed-off-by: Andreas Mohr <andim2@users.sf.net>
SVN-Revision: 39229

10 years agolibjson-c: also install .pc file for compatibility libjson
John Crispin [Sun, 12 Jan 2014 12:06:57 +0000 (12:06 +0000)]
libjson-c: also install .pc file for compatibility libjson

Older packages, which did not follow the renaming yet, do not
find the library otherwise via pkgconfig.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 39228

10 years agosamba: add browsable option
John Crispin [Sun, 12 Jan 2014 12:06:53 +0000 (12:06 +0000)]
samba: add browsable option

https://dev.openwrt.org/ticket/14682

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39227

10 years agolantiq: fix atm compile
John Crispin [Sun, 12 Jan 2014 12:06:47 +0000 (12:06 +0000)]
lantiq: fix atm compile

https://dev.openwrt.org/ticket/14633

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39226

10 years agoadd git-src to .gitignore
John Crispin [Sun, 12 Jan 2014 12:06:39 +0000 (12:06 +0000)]
add git-src to .gitignore

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
SVN-Revision: 39225

10 years agorpcd: build, uci and session api fixes
Jo-Philipp Wich [Sun, 12 Jan 2014 11:52:40 +0000 (11:52 +0000)]
rpcd: build, uci and session api fixes

- fix CMakeFile to support rpcd out of tree builds
- fix a possible file descriptor leak in the session deserialization code
- add uci.state call which is equivalent to uci -P /var/state get ...
- make uci.changes "config" argument optional to allow listing all deltas in one go
- fix inverted check in uci.commit and uci.revert, resulting in eroorneous permission denied responses
- only trigger config change events if libuci was able to parse the config
- rename misleading "commit" argument of uci.apply to the more appropriate name "rollback"

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

10 years agosunxi: various changes - let LBDAF be set by generic config - add high-speed timer...
Zoltan Herpai [Sat, 11 Jan 2014 21:58:29 +0000 (21:58 +0000)]
sunxi: various changes - let LBDAF be set by generic config - add high-speed timer support - refresh sun5i USB patch

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39223

10 years agosunxi: add support for Olinuxino A10 LIME
Zoltan Herpai [Sat, 11 Jan 2014 17:19:04 +0000 (17:19 +0000)]
sunxi: add support for Olinuxino A10 LIME

Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39222

10 years agouboot-sunxi: add support for Olinuxino A10 LIME
Zoltan Herpai [Sat, 11 Jan 2014 17:17:17 +0000 (17:17 +0000)]
uboot-sunxi: add support for Olinuxino A10 LIME

Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39221

10 years agokernel: update 3.10 to 3.10.26
Gabor Juhos [Sat, 11 Jan 2014 16:06:37 +0000 (16:06 +0000)]
kernel: update 3.10 to 3.10.26

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

10 years agoar71xx: ag71xx: increase calculated max frame length value
Gabor Juhos [Sat, 11 Jan 2014 11:15:30 +0000 (11:15 +0000)]
ar71xx: ag71xx: increase calculated max frame length value

The r39147 commit introduces a regression: at lease on some routers
with ar8216 switch large packets get lost if 802.1q tagged port is
used on the interface connected to the aforementioned switch.

The r39147 changes code in the way so interface is set to accept
packets no longer than max ethernet frame length for a given mtu.

Unfortunately ar8216 has a feature: it sends two additional bytes
as a packet header and those this header needs to be added to the
max frame length. Otherwise long enough packets get lost.

The problem only manuifests itself if interface is used in vlan
tagged mode. If interface is untagged then ar8216's header fits
into space used by 802.1q tag and not packets are lost.

Include two additional bytes in the max frame length calculation
to fix the issue.

This patch is tested and works with Trendnet TEW-632BRP.

Signed-off-by Nikolay Martynov <mar.kolya@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4656/
[juhosg:
  - simplify the patch to include the additional bytes of the
    switch header unconditionally,
  - change subject and update commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39219

10 years agosunxi: add/refresh patches for cubieboard2
Zoltan Herpai [Fri, 10 Jan 2014 10:47:41 +0000 (10:47 +0000)]
sunxi: add/refresh patches for cubieboard2

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39218

10 years agoar71xx: my net n750: simplify LNA GPIO setup
Gabor Juhos [Fri, 10 Jan 2014 09:37:59 +0000 (09:37 +0000)]
ar71xx: my net n750: simplify LNA GPIO setup

Use the ath79_wmac_set_ext_lna_gpio helper instead
of exporting the GPIOs.

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

10 years agoar71xx: my net n600: simplify LNA GPIO setup
Gabor Juhos [Fri, 10 Jan 2014 09:37:58 +0000 (09:37 +0000)]
ar71xx: my net n600: simplify LNA GPIO setup

Use the ath79_wmac_set_ext_lna_gpio helper instead
of exporting the GPIOs.

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

10 years agoar71xx: add a helper function for external LNA GPIO setup
Gabor Juhos [Fri, 10 Jan 2014 09:37:57 +0000 (09:37 +0000)]
ar71xx: add a helper function for external LNA GPIO setup

The built-in wireless MAC of the AR934x SoC can handle
external LNAs and the control signal of the LNAs can be
routed to any GPIO line. Add a helper function which
can be used to configure the GPIO lines.

The helper function will be used for AR934x boards
which are using externel LNAs to improve sensitivity.

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

10 years agoar71xx: Fix WD My Net N600 weak signal issue
Gabor Juhos [Fri, 10 Jan 2014 09:07:12 +0000 (09:07 +0000)]
ar71xx: Fix WD My Net N600 weak signal issue

The LNAs need to be enabled by setting their respective GPIO to high even
though the original firmware's setting sets them to low on initialization.

Obviously the LNAs are then later initialized by the driver on the OEM
firmware. Without this fix the device is mostly "deaf".

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Tested-by: Steven Haigh <netwiz@crc.id.au>
Patchwork: http://patchwork.openwrt.org/patch/4689/
[juhosg:
  - remove the GPIO LED changes, the My Net N600 has no yellow LEDs at all,
  - change subject and update the commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39214

10 years agoar71xx: Fix WD My Net N750 weak signal issue
Gabor Juhos [Fri, 10 Jan 2014 09:07:11 +0000 (09:07 +0000)]
ar71xx: Fix WD My Net N750 weak signal issue

The LNAs need to be enabled by setting their respective GPIO to high even
though the original firmware's setting sets them to low on initialization.

Obviously the LNAs are then later initialized by the driver on the OEM
firmware. Without this fix the device is mostly "deaf".

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4688/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39213

10 years agoath9k: add workaround for AR9331 USB host controller hang with USB1.1 devices
Gabor Juhos [Fri, 10 Jan 2014 09:05:31 +0000 (09:05 +0000)]
ath9k: add workaround for AR9331 USB host controller hang with USB1.1 devices

When wifi radio is reset, some bits in (undocumented) USB registers may
flip. Patch adds setting them after radio reset (channel change, up/down).
With this patch stability of USB1.1 full-speed devices, connected directly
to AR9331 host port (no USB2.0 hub) is improved.

See "ar9331's usb stability issue" OpenWrt forum thread for details:
  <https://forum.openwrt.org/viewtopic.php?id=39956>

Based on QCA's Open HAL WAR_USB_DISABLE_PLL_LOCK_DETECT() macro:
  <https://github.com/qca/qcamain_open_hal_public/blob/master/hal/ar9300/ar9300_reset.c#L74>

Adapted to Linux mac80211 driver for 8Devices Carambola2 board by Mantas Pucka:
  <https://github.com/8devices/carambola2/commit/b08b59ceb4e7f0bad4c0b17e703e1e5c4e168923>

Ported to latest OpenWrt BB branch and tested on TP-Link TL-WR703N by
Michel Stempin <michel.stempin@wanadoo.fr>.

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
[juhosg: refresh and clean up the ath9k patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39212

10 years agojsonpath: make output in non-export mode more shell friendly
Jo-Philipp Wich [Wed, 8 Jan 2014 22:01:55 +0000 (22:01 +0000)]
jsonpath: make output in non-export mode more shell friendly

SVN-Revision: 39211

10 years agoupgrade the Linaro binutils to 2.24-2013.12
Imre Kaloz [Tue, 7 Jan 2014 15:03:55 +0000 (15:03 +0000)]
upgrade the Linaro binutils to 2.24-2013.12

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39210

10 years agoupgrade Linaro GCC 4.8 to 4.8-2013.12
Imre Kaloz [Tue, 7 Jan 2014 15:00:33 +0000 (15:00 +0000)]
upgrade Linaro GCC 4.8 to 4.8-2013.12

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39209

10 years agoadd x86_64 target support
Imre Kaloz [Tue, 7 Jan 2014 12:23:35 +0000 (12:23 +0000)]
add x86_64 target support

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39208

10 years agovirtualbox emulates the e1000 for a long time now
Imre Kaloz [Tue, 7 Jan 2014 10:21:31 +0000 (10:21 +0000)]
virtualbox emulates the e1000 for a long time now

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39207

10 years agomove most of the x86 image generation options to the main file
Imre Kaloz [Tue, 7 Jan 2014 10:18:55 +0000 (10:18 +0000)]
move most of the x86 image generation options to the main file

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39206

10 years agosunxi: refresh usb vbus patch
Zoltan Herpai [Mon, 6 Jan 2014 23:34:31 +0000 (23:34 +0000)]
sunxi: refresh usb vbus patch

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39205

10 years agosunxi: various fixes - DT: update USB vbus from 3.3v to 5v - emac: add missing free_i...
Zoltan Herpai [Mon, 6 Jan 2014 21:51:39 +0000 (21:51 +0000)]
sunxi: various fixes - DT: update USB vbus from 3.3v to 5v - emac: add missing free_irq - DT: add emac aliases - DT: fix interrupts on A20 - modules: add watchdog module - don't compile in mac80211 - don't compile in usbnet

Thanks to Hans de Goede, Zalan Blenessy et al.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39204

10 years agobcm53xx: make the l2x0 L2 cache controller work
Hauke Mehrtens [Sat, 4 Jan 2014 23:46:44 +0000 (23:46 +0000)]
bcm53xx: make the l2x0 L2 cache controller work

This fixes the DMA problems with the Ethernet driver.
This also updates some other parts of the patches.

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

10 years agobcm53xx: update the ethernet core hacks
Hauke Mehrtens [Sat, 4 Jan 2014 18:27:09 +0000 (18:27 +0000)]
bcm53xx: update the ethernet core hacks

The PHY always says there is no link
Instead of doing this dma sync a mdelay does the same trick and it is as unreliable.

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

10 years agokernel: bgmac: update the driver patches to a version submitted for mainline kernel.
Hauke Mehrtens [Sat, 4 Jan 2014 18:25:05 +0000 (18:25 +0000)]
kernel: bgmac: update the driver patches to a version submitted for mainline kernel.

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

10 years agosunxi: emac changes - move emac into module - add into profiles where appropriate
Zoltan Herpai [Sat, 4 Jan 2014 17:33:44 +0000 (17:33 +0000)]
sunxi: emac changes - move emac into module - add into profiles where appropriate

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39200

10 years agosunxi: add sata driver to profiles where appropriate
Zoltan Herpai [Sat, 4 Jan 2014 16:39:31 +0000 (16:39 +0000)]
sunxi: add sata driver to profiles where appropriate

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39198

10 years agosunxi: add sata driver for sun[47]i
Zoltan Herpai [Sat, 4 Jan 2014 16:30:56 +0000 (16:30 +0000)]
sunxi: add sata driver for sun[47]i

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39197

10 years agosunxi: move sunxi-sid (security ID) off to module
Zoltan Herpai [Sat, 4 Jan 2014 13:46:43 +0000 (13:46 +0000)]
sunxi: move sunxi-sid (security ID) off to module

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39196

10 years agosunxi: move rtc off to module
Zoltan Herpai [Sat, 4 Jan 2014 12:47:51 +0000 (12:47 +0000)]
sunxi: move rtc off to module

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39195

10 years agosunxi: add the actual mmc driver
Zoltan Herpai [Sat, 4 Jan 2014 11:08:27 +0000 (11:08 +0000)]
sunxi: add the actual mmc driver

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39194

10 years agosunxi: delete a31 reset for now in lack of the mach split
Zoltan Herpai [Sat, 4 Jan 2014 11:02:16 +0000 (11:02 +0000)]
sunxi: delete a31 reset for now in lack of the mach split

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39193

10 years agoadd support for pcDuino board
Zoltan Herpai [Sat, 4 Jan 2014 10:09:52 +0000 (10:09 +0000)]
add support for pcDuino board

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39192

10 years agoupdate version
Zoltan Herpai [Sat, 4 Jan 2014 10:08:31 +0000 (10:08 +0000)]
update version

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39191

10 years agosunxi: add support for pcDuino board
Zoltan Herpai [Sat, 4 Jan 2014 10:06:17 +0000 (10:06 +0000)]
sunxi: add support for pcDuino board

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39190

10 years agosunxi: add mmc support - add MMC support for sun457i - update kernel config to compil...
Zoltan Herpai [Sat, 4 Jan 2014 10:02:01 +0000 (10:02 +0000)]
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

10 years agosunxi: various fixes - have Kconfig options ordered - add new olinuxino a13-micro...
Zoltan Herpai [Sat, 4 Jan 2014 09:55:41 +0000 (09:55 +0000)]
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

10 years agosunxi: remove sun6i/7i split for now
Zoltan Herpai [Sat, 4 Jan 2014 09:49:44 +0000 (09:49 +0000)]
sunxi: remove sun6i/7i split for now

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39187

10 years agosunxi: refresh clock framework
Zoltan Herpai [Sat, 4 Jan 2014 09:47:50 +0000 (09:47 +0000)]
sunxi: refresh clock framework

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39186

10 years agoAdd jsonpath - a command line utility to extract values from JSON data using XPath...
Jo-Philipp Wich [Thu, 2 Jan 2014 11:55:16 +0000 (11:55 +0000)]
Add jsonpath - a command line utility to extract values from JSON data using XPath-like expressions

SVN-Revision: 39185

10 years ago6relayd: try to workaround race condition at startup
Steven Barth [Thu, 2 Jan 2014 11:38:36 +0000 (11:38 +0000)]
6relayd: try to workaround race condition at startup

SVN-Revision: 39184

10 years agonetifd: initialize the switch early at start time and on reload (fixes #13015)
Felix Fietkau [Tue, 31 Dec 2013 13:09:20 +0000 (13:09 +0000)]
netifd: initialize the switch early at start time and on reload (fixes #13015)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39183

10 years agoixp4xx: upgrade: don't copy extra binaries
Luka Perkov [Mon, 30 Dec 2013 23:49:25 +0000 (23:49 +0000)]
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

10 years agonetifd: update to the latest version, fixes wireless related segfaults on arm
Felix Fietkau [Sun, 29 Dec 2013 02:26:34 +0000 (02:26 +0000)]
netifd: update to the latest version, fixes wireless related segfaults on arm

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39180

10 years agouClibc: Fix lookup with DNS search in multi-threaded application.
Felix Fietkau [Sat, 28 Dec 2013 15:06:14 +0000 (15:06 +0000)]
uClibc: Fix lookup with DNS search in multi-threaded application.

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

10 years agouClibc: make res_init() thread safe
Felix Fietkau [Sat, 28 Dec 2013 15:06:04 +0000 (15:06 +0000)]
uClibc: make res_init() thread safe

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

10 years agouClibc: Fix threaded use of res_ functions.
Felix Fietkau [Sat, 28 Dec 2013 15:05:56 +0000 (15:05 +0000)]
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

10 years agonetifd: update to the latest version, fixes wifi related segfaults
Felix Fietkau [Sat, 28 Dec 2013 14:19:54 +0000 (14:19 +0000)]
netifd: update to the latest version, fixes wifi related segfaults

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39176

10 years agohostapd: fix mixed wep/wpa with netifd
Felix Fietkau [Sat, 28 Dec 2013 11:07:37 +0000 (11:07 +0000)]
hostapd: fix mixed wep/wpa with netifd

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
SVN-Revision: 39174

10 years agohostapd: fix the uci option name for ap isolate
Felix Fietkau [Sat, 28 Dec 2013 11:07:28 +0000 (11:07 +0000)]
hostapd: fix the uci option name for ap isolate

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39173

10 years agofirmware-utils: check_magic() in buffalo-lib.c always return 0
John Crispin [Fri, 27 Dec 2013 21:15:31 +0000 (21:15 +0000)]
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

10 years agoswconfig: remove useless variables, return -1 on errors
John Crispin [Fri, 27 Dec 2013 21:15:20 +0000 (21:15 +0000)]
swconfig: remove useless variables, return -1 on errors

spotted with cppcheck

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

10 years agobase-files: fix mount-utils incompatibility
John Crispin [Fri, 27 Dec 2013 21:15:09 +0000 (21:15 +0000)]
base-files: fix mount-utils incompatibility

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
SVN-Revision: 39169

10 years agoralink: fix tso regression in the ethernet driver
John Crispin [Fri, 27 Dec 2013 21:14:49 +0000 (21:14 +0000)]
ralink: fix tso regression in the ethernet driver

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39168

10 years agobrcm47xx: fix cpu wait for BCM4706
Hauke Mehrtens [Thu, 26 Dec 2013 23:30:10 +0000 (23:30 +0000)]
brcm47xx: fix cpu wait for BCM4706

This was called to early.

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

10 years agobrcm47xx: b44: This updates the phylib patches to the version send upstream
Hauke Mehrtens [Thu, 26 Dec 2013 23:27:52 +0000 (23:27 +0000)]
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

10 years agokernel: bgmac: update patches
Hauke Mehrtens [Thu, 26 Dec 2013 23:22:31 +0000 (23:22 +0000)]
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

10 years agohandle the Linaro version as well
Imre Kaloz [Thu, 26 Dec 2013 22:19:29 +0000 (22:19 +0000)]
handle the Linaro version as well

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39164

10 years agoramips: add support for RT-N14U (mt7620n based) board
John Crispin [Wed, 25 Dec 2013 17:04:50 +0000 (17:04 +0000)]
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

10 years agoramips: add gpio pin 72 in mt7620 chips to dtsi files
John Crispin [Wed, 25 Dec 2013 17:04:34 +0000 (17:04 +0000)]
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

10 years agoar71xx: fix max frame length of the QCA955x SoCs
Gabor Juhos [Mon, 23 Dec 2013 17:05:23 +0000 (17:05 +0000)]
ar71xx: fix max frame length of the QCA955x SoCs

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

10 years agoar71xx: don't set builtin_switch flag for QCA9558
Gabor Juhos [Mon, 23 Dec 2013 17:05:21 +0000 (17:05 +0000)]
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

10 years agox86/kvm_guest: remove 3.7 support
Gabor Juhos [Mon, 23 Dec 2013 17:05:19 +0000 (17:05 +0000)]
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

10 years agox86/kvm_guest: remove 3.3 support
Gabor Juhos [Mon, 23 Dec 2013 17:05:18 +0000 (17:05 +0000)]
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

10 years agox86/kvm_guest: add support for 3.10 and switch to it
Gabor Juhos [Mon, 23 Dec 2013 17:05:16 +0000 (17:05 +0000)]
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

10 years agohostapd: fix wep with netifd
Felix Fietkau [Mon, 23 Dec 2013 12:11:28 +0000 (12:11 +0000)]
hostapd: fix wep with netifd

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
SVN-Revision: 39156

10 years agowpa_supplicant: fix interface combination parsing issues
Felix Fietkau [Sat, 21 Dec 2013 19:42:45 +0000 (19:42 +0000)]
wpa_supplicant: fix interface combination parsing issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39155

10 years agoopkg: switch to git repository (#14655)
Jo-Philipp Wich [Sat, 21 Dec 2013 13:47:46 +0000 (13:47 +0000)]
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

10 years agodnsmasq: rework init procedure
Jo-Philipp Wich [Sat, 21 Dec 2013 13:31:28 +0000 (13:31 +0000)]
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

10 years agochange fixup method and fix CFLAGS handling
Imre Kaloz [Fri, 20 Dec 2013 20:25:44 +0000 (20:25 +0000)]
change fixup method and fix CFLAGS handling

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39151

10 years agoath9k: merge a timer handling fixes
Felix Fietkau [Fri, 20 Dec 2013 16:02:32 +0000 (16:02 +0000)]
ath9k: merge a timer handling fixes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39150

10 years agoar71xx: allow to use large ethernet frames on AR934x SoCs
Gabor Juhos [Fri, 20 Dec 2013 11:41:23 +0000 (11:41 +0000)]
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

10 years agoar71xx: ag71xx: fix max frame length setup of the built-in switches
Gabor Juhos [Fri, 20 Dec 2013 11:41:22 +0000 (11:41 +0000)]
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

10 years agoar71xx: ag71xx: calculate max frame len register value from the MTU
Gabor Juhos [Fri, 20 Dec 2013 11:41:20 +0000 (11:41 +0000)]
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

10 years agoar71xx: ag71xx: add ag71xx_max_frame_len() helper
Gabor Juhos [Fri, 20 Dec 2013 11:41:18 +0000 (11:41 +0000)]
ar71xx: ag71xx: add ag71xx_max_frame_len() helper

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

10 years agoar71xx: ag71xx: get max_frame_len and desc_pktlen_mask from platform data
Gabor Juhos [Fri, 20 Dec 2013 11:41:17 +0000 (11:41 +0000)]
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

10 years agoar71xx: ag71xx: store descriptor packet length mask in ag71xx struct
Gabor Juhos [Fri, 20 Dec 2013 11:41:16 +0000 (11:41 +0000)]
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