aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rpcd: build, uci and session api fixesJo-Philipp Wich2014-01-121-3/+3
| | | | | | | | | | | | | | - 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: various changesZoltan HERPAI2014-01-116-4/+425
| | | | | | | | | | | | - let LBDAF be set by generic config - add high-speed timer support - refresh sun5i USB patch Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39223 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: add support for Olinuxino A10 LIMEZoltan HERPAI2014-01-114-0/+199
| | | | | | | | | Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39222 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [packages] uboot-sunxi: add support for Olinuxino A10 LIMEZoltan HERPAI2014-01-112-3/+68
| | | | | | | | | Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39221 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.26Gabor Juhos2014-01-1154-380/+210
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39220 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: increase calculated max frame length valueGabor Juhos2014-01-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39219 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: add/refresh patches for cubieboard2Zoltan HERPAI2014-01-104-0/+151
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39218 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: my net n750: simplify LNA GPIO setupGabor Juhos2014-01-101-6/+2
| | | | | | | | | Use the ath79_wmac_set_ext_lna_gpio helper instead of exporting the GPIOs. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: my net n600: simplify LNA GPIO setupGabor Juhos2014-01-101-6/+2
| | | | | | | | | Use the ath79_wmac_set_ext_lna_gpio helper instead of exporting the GPIOs. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39216 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a helper function for external LNA GPIO setupGabor Juhos2014-01-102-1/+79
| | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix WD My Net N600 weak signal issueGabor Juhos2014-01-101-0/+15
| | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39214 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix WD My Net N750 weak signal issueGabor Juhos2014-01-101-2/+2
| | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: add workaround for AR9331 USB host controller hang with USB1.1 devicesGabor Juhos2014-01-101-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39212 3c298f89-4303-0410-b956-a3cf2f4a3e73
* jsonpath: make output in non-export mode more shell friendlyJo-Philipp Wich2014-01-081-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39211 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/binutils]: upgrade the Linaro binutils to 2.24-2013.12Imre Kaloz2014-01-079-29/+19
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39210 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: upgrade Linaro GCC 4.8 to 4.8-2013.12Imre Kaloz2014-01-071-2/+2
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39209 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add x86_64 target supportImre Kaloz2014-01-0716-5/+887
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* virtualbox emulates the e1000 for a long time nowImre Kaloz2014-01-071-1/+1
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39207 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move most of the x86 image generation options to the main fileImre Kaloz2014-01-073-91/+89
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: refresh usb vbus patchZoltan HERPAI2014-01-061-27/+0
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39205 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: various fixesZoltan HERPAI2014-01-066-21/+420
| | | | | | | | | | | | | | | | | | - 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: make the l2x0 L2 cache controller workHauke Mehrtens2014-01-045-80/+94
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39203 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update the ethernet core hacksHauke Mehrtens2014-01-042-53/+30
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39202 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: bgmac: update the driver patches to a version submitted for mainline ↵Hauke Mehrtens2014-01-046-66/+119
| | | | | | | | | kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39201 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: emac changesZoltan HERPAI2014-01-046-5/+17
| | | | | | | | | | | - move emac into module - add into profiles where appropriate Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39200 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: add sata driver to profiles where appropriateZoltan HERPAI2014-01-043-3/+3
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39198 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: add sata driver for sun[47]iZoltan HERPAI2014-01-045-0/+706
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39197 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: move sunxi-sid (security ID) off to moduleZoltan HERPAI2014-01-043-2/+18
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39196 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: move rtc off to moduleZoltan HERPAI2014-01-043-3/+25
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39195 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: add the actual mmc driverZoltan HERPAI2014-01-042-0/+1154
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39194 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: delete a31 reset for now in lack of the mach splitZoltan HERPAI2014-01-041-41/+0
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39193 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [uboot-sunxi]: add support for pcDuino boardZoltan HERPAI2014-01-041-1/+5
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39192 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [uboot-sunxi]: update versionZoltan HERPAI2014-01-041-1/+1
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39191 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: add support for pcDuino boardZoltan HERPAI2014-01-044-0/+198
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39190 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: add mmc supportZoltan HERPAI2014-01-048-5/+595
| | | | | | | | | | | | - 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39189 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: various fixesZoltan HERPAI2014-01-045-2/+216
| | | | | | | | | | | | - have Kconfig options ordered - add new olinuxino a13-micro board - various fixes for EHCI Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39188 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: remove sun6i/7i split for nowZoltan HERPAI2014-01-041-56/+0
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39187 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: refresh clock frameworkZoltan HERPAI2014-01-0416-0/+1367
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39186 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add jsonpath - a command line utility to extract values from JSON data using ↵Jo-Philipp Wich2014-01-021-0/+31
| | | | | | XPath-like expressions git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39185 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: try to workaround race condition at startupSteven Barth2014-01-022-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39184 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: initialize the switch early at start time and on reload (fixes #13015)Felix Fietkau2013-12-311-6/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39183 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ixp4xx: upgrade: don't copy extra binariesLuka Perkov2013-12-301-5/+2
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39181 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes wireless related segfaults on armFelix Fietkau2013-12-291-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: Fix lookup with DNS search in multi-threaded application.Felix Fietkau2013-12-281-0/+12
| | | | | | Signed-off-by: Jiri Slachta <slachta@cesnet.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: make res_init() thread safeFelix Fietkau2013-12-281-0/+55
| | | | | | Signed-off-by: Jiri Slachta <slachta@cesnet.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39178 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: Fix threaded use of res_ functions.Felix Fietkau2013-12-281-0/+126
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39177 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes wifi related segfaultsFelix Fietkau2013-12-281-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39176 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix mixed wep/wpa with netifdFelix Fietkau2013-12-281-0/+1
| | | | | | Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39174 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix the uci option name for ap isolateFelix Fietkau2013-12-281-5/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39173 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: check_magic() in buffalo-lib.c always return 0John Crispin2013-12-271-2/+2
| | | | | | | | spotted with cppcheck Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39171 3c298f89-4303-0410-b956-a3cf2f4a3e73