Commit Graph

26218 Commits (f126298a7c78c174507b01b518e613a62341b760)
 

Author SHA1 Message Date
Jo-Philipp Wich f126298a7c 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
11 years ago
Zoltan Herpai 719b57cbc1 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
11 years ago
Zoltan Herpai 1ae42098e9 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
11 years ago
Zoltan Herpai f8911b3197 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
11 years ago
Gabor Juhos 0e2586a774 kernel: update 3.10 to 3.10.26
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39220
11 years ago
Gabor Juhos 30ebad2dee 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
11 years ago
Zoltan Herpai 2d2254c9ce sunxi: add/refresh patches for cubieboard2
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39218
11 years ago
Gabor Juhos c977d49a29 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
11 years ago
Gabor Juhos cc3beb9c76 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
11 years ago
Gabor Juhos 182e8ef949 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
11 years ago
Gabor Juhos 32aef686f7 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
11 years ago
Gabor Juhos 01727717f7 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
11 years ago
Gabor Juhos 8384c0dba0 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:
  <b08b59ceb4>

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
11 years ago
Jo-Philipp Wich 6dcf878864 jsonpath: make output in non-export mode more shell friendly
SVN-Revision: 39211
11 years ago
Imre Kaloz 5c3cb628f8 upgrade the Linaro binutils to 2.24-2013.12
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39210
11 years ago
Imre Kaloz f6be067784 upgrade Linaro GCC 4.8 to 4.8-2013.12
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39209
11 years ago
Imre Kaloz 7aaa9bc91c add x86_64 target support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39208
11 years ago
Imre Kaloz 8603b30db5 virtualbox emulates the e1000 for a long time now
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39207
11 years ago
Imre Kaloz cc49f7c6e9 move most of the x86 image generation options to the main file
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39206
11 years ago
Zoltan Herpai 481c01136e sunxi: refresh usb vbus patch
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39205
11 years ago
Zoltan Herpai ba05c97e5e 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
11 years ago
Hauke Mehrtens e0027ed4ab 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
11 years ago
Hauke Mehrtens 2bc9700c0d 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
11 years ago
Hauke Mehrtens 5a55ace3b8 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
11 years ago
Zoltan Herpai 815ceabd9d sunxi: emac changes - move emac into module - add into profiles where appropriate
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39200
11 years ago
Zoltan Herpai 9712b2d6fa sunxi: add sata driver to profiles where appropriate
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39198
11 years ago
Zoltan Herpai 34ca9f355e sunxi: add sata driver for sun[47]i
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39197
11 years ago
Zoltan Herpai 9808a0830b sunxi: move sunxi-sid (security ID) off to module
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39196
11 years ago
Zoltan Herpai 1ffc2deed4 sunxi: move rtc off to module
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39195
11 years ago
Zoltan Herpai 662e5c224c sunxi: add the actual mmc driver
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39194
11 years ago
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
11 years ago
Zoltan Herpai c2f62ecc25 add support for pcDuino board
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39192
11 years ago
Zoltan Herpai 4800b2c723 update version
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39191
11 years ago
Zoltan Herpai 51d5e458a3 sunxi: add support for pcDuino board
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39190
11 years ago
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
11 years ago
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
11 years ago
Zoltan Herpai 4a314d1805 sunxi: remove sun6i/7i split for now
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39187
11 years ago
Zoltan Herpai 6b61e7786c sunxi: refresh clock framework
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39186
11 years ago
Jo-Philipp Wich 2e02c2da18 Add jsonpath - a command line utility to extract values from JSON data using XPath-like expressions
SVN-Revision: 39185
11 years ago
Steven Barth bc370646cd 6relayd: try to workaround race condition at startup
SVN-Revision: 39184
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Felix Fietkau 8bd7e0b19b uClibc: Fix lookup with DNS search in multi-threaded application.
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

SVN-Revision: 39179
11 years ago
Felix Fietkau c4b013f00b uClibc: make res_init() thread safe
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

SVN-Revision: 39178
11 years ago
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
11 years ago
Felix Fietkau 5607a13aa1 netifd: update to the latest version, fixes wifi related segfaults
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39176
11 years ago
Felix Fietkau c7d23cbeb9 hostapd: fix mixed wep/wpa with netifd
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

SVN-Revision: 39174
11 years ago
Felix Fietkau da886d761a hostapd: fix the uci option name for ap isolate
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39173
11 years ago
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
11 years ago