aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2John Crispin2015-07-241-1/+1
| | | | | | | | | | | | | | | There are a few NETGEAR devices which don't terminate the model name in the ART with a NUL byte, at least some NETGEAR WNDR3700v2. The current awk expression doesn't match 0xFF bytes, so AR71XX_MODEL contains lots of trailing 0xFF garbage in this case. Fix this by matching for the first non-printable character and explicitly setting LC_CTYPE=C (probably not strictly necessary on OpenWrt, but will definitely work like this, even when awk supports locales and LANG is set). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for STORYLiNK SAP-G3200U3John Crispin2015-07-248-1/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | STORYLiNK SAP-G3200U3 is an AC1200 router based on MT7621AT+MT7602EN+MT7612EN. It has 128MB DDR3, 8MB NOR FLASH, 5-port Gbps switch and 1x USB 3.0. The following patch adds support for this device. Tested and working: * ethernet * both WiFi radios * USB 3.0 * buttons * ethernet switch and USB diag LEDs * UART * GPIOs Tested and not working: * LEDs for WiFi radios (connected with WiFi chips, not supported in mt76?) * failsafe mode (known problem, needs workaround like other MTK based devices) More information in Wiki: http://wiki.openwrt.org/toh/storylink/sap-g3200u3 Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Silence the PCIe error interrupt printk also in 4.1John Crispin2015-07-241-1/+1
| | | | | | | | | This ports 9e2a7b779e6f0914395da3657b00f0ac00209bfd to the 4.1 patches. I forgot this when preparing the initial 4.1 patch. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Fix ifxos driver on linux 4.1John Crispin2015-07-241-1/+1
| | | | | | | | | | request_mem_region returns NULL when requesting the region failed, and a valid pointer when it was successful. Currently the condition is inverted. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kmod-regmap: enable MMIO supportJohn Crispin2015-07-241-1/+3
| | | | | | | | This adds MMIO support for kmod-regmap. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh patches for 4.1Jonas Gorski2015-07-224-8/+7
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46441 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 4.0 to 4.0.9Jonas Gorski2015-07-224-5/+5
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.9 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46440 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.19Jonas Gorski2015-07-2211-22/+22
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.19 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: refresh kernel configFelix Fietkau2015-07-221-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46438 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update to linux 4.1.3Felix Fietkau2015-07-225-6/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46437 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to wireless-testing 2015-07-21Felix Fietkau2015-07-2228-827/+959
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46436 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add more missing linux 4.1 symbolsFelix Fietkau2015-07-221-0/+3
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46435 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: drop circular dependency between patch and ccache, build patch ↵Felix Fietkau2015-07-202-1/+4
| | | | | | | | without ccache (fixes #20132) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove the use of the obsolete IRQF_DISABLED flag in the NAND flash ↵Felix Fietkau2015-07-201-1/+1
| | | | | | | | driver (fixes #20125) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: switch to linux 4.1Felix Fietkau2015-07-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add missing patch chunk to 4.1 unaligned access hacksFelix Fietkau2015-07-191-0/+15
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46431 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reorganize 4.1 patch directory layoutFelix Fietkau2015-07-1935-554/+275
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46430 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: refresh kernel configFelix Fietkau2015-07-191-8/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46429 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbols for 4.1Felix Fietkau2015-07-191-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46428 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: refresh 4.1 patchesFelix Fietkau2015-07-1939-80/+80
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46427 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add 4.1 supportFelix Fietkau2015-07-1995-0/+10253
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46426 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: Add support for Cisco-Linksys WAP4410N" (r46250)Felix Fietkau2015-07-198-307/+0
| | | | | | | | The commit is incomplete, it does not even build the mach-* file This reverts commit 6e6adcf7a197b1802cb728ddcccf05f890ca0574 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mkimage: cross compile fix: pass HOST_*FLAGS in to uboot's makefileFelix Fietkau2015-07-191-2/+2
| | | | | | | | | | The HOST_*FLAGS are for compiling programs which will run on the machine that is running the build. Setting these flags is frequently required for unusual cross-compiles. Signed-off-by: Lawrence D'Anna <larry@elder-gods.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46424 3c298f89-4303-0410-b956-a3cf2f4a3e73
* strace: add kernel headers include to host cflags to fix build on non-linux ↵Felix Fietkau2015-07-191-0/+2
| | | | | | | | systems Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46423 3c298f89-4303-0410-b956-a3cf2f4a3e73
* strace: cross compile fix: pass HOST_*FLAGS in to ./configureFelix Fietkau2015-07-191-0/+6
| | | | | | | | | | The HOST_*FLAGS are for compiling programs which will run on the machine that is running the build. Setting these flags is frequently required for unusual cross-compiles. Signed-off-by: Lawrence D'Anna <larry@elder-gods.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46422 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes setting RPS/XPS for wlan devicesFelix Fietkau2015-07-181-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46421 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix sched_getaffinity on MIPS SMP systems (fixes enabling RPS/XPS in ↵Felix Fietkau2015-07-183-0/+105
| | | | | | | | netifd with musl) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46420 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Enable ath10k calibration data loading for EnGenius ESR1750 and EPG500.John Crispin2015-07-181-0/+5
| | | | | | | | | | As r46245 disabled the board.bin template workaround, 5GHz wifi stopped working on these devices. This adds them to the calibration data loading introduced in r46244 and thus makes 5GHz work again for these devices. Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use automatic firmware partition splitting for devolo dLAN devicesJohn Crispin2015-07-181-4/+4
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cfg80211: fix a locking issue (#20098)Felix Fietkau2015-07-185-5/+221
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46413 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enable mt76 by default for mt7621Felix Fietkau2015-07-184-3/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mt76: update to the latest version, fixes rx buffer allocation issuesFelix Fietkau2015-07-181-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46409 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: add option "sourcefilter" to disable source filterSteven Barth2015-07-183-4/+6
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46408 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix dependecy of kmod-ieee802154_6lowpanHauke Mehrtens2015-07-171-1/+1
| | | | | | | | | This module also depends on kmod-ieee802154 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46407 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: libsw.so should be installed into /usr/lib/John Crispin2015-07-171-2/+2
| | | | | | | | | | otherwise it's not picked up by toolchain: staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_musl-1.1.10/lib/gcc/mipsel-openwrt-linux-musl/4.8.3/../../../../mipsel-openwrt-linux-musl/bin/ld: cannot find -lsw Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Planex MZK-DP150NJohn Crispin2015-07-178-0/+135
| | | | | | | | | This patch add support for Planex MZK-DP150N. a mini router on the MT7620A SoC with one Ethernet port and a 802.11n 2.4 GHz radio. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46405 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: add gzip image compressionJohn Crispin2015-07-171-0/+11
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46404 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: add Raspberry Pi Compute Module supportJohn Crispin2015-07-172-0/+10
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46403 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: switch to linux 4.1John Crispin2015-07-171-1/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46402 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: add upstream (bcm2835) modules and improve downstream ones (bcm2708)John Crispin2015-07-171-11/+60
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46401 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add missing linux 4.1 symbolsJohn Crispin2015-07-171-0/+6
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: add linux 4.1 supportJohn Crispin2015-07-17121-0/+139563
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46399 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: split target config into subtargetsJohn Crispin2015-07-174-69/+452
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46398 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: remove unneeded base-filesJohn Crispin2015-07-173-56/+0
| | | | | | | | Device tree exports board name/model and device LEDs. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46397 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: improve profiles and image generationJohn Crispin2015-07-173-17/+36
| | | | | | | | | - Add profiles for bcm2708 subtarget. - Check subtarget for image generation. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46396 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toplevel.mk: fix LD_LIBRARY_PATH for host binariesJo-Philipp Wich2015-07-171-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46394 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: fix last commitSteven Barth2015-07-171-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46393 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: fix dhcpv6 relay forwardingSteven Barth2015-07-171-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46392 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: make use of dt-includesJonas Gorski2015-07-1678-184/+340
| | | | | | | | | Now that we have a dtc command that invokes the preprocessor, make use of it and replace the magic numbers with KEY_* defines. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46391 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: make use of the new BuildDTB commandJonas Gorski2015-07-161-1/+1
| | | | | | | | | Now that we have a BuildDTB command, make use of it instead of calling dtc directly. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46390 3c298f89-4303-0410-b956-a3cf2f4a3e73