aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* oprofile: update to 1.1.0-rc2 and make it work with muslHauke Mehrtens2015-07-264-43/+41
| | | | | | | | | This brings oprifle to version 1.1.0-rc2 and adds some fixes for musl. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46505 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update Disable MMU and Dcache during decompressionHauke Mehrtens2015-07-261-144/+35
| | | | | | | | | This replaces the old patch with the version from Florian. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing CONFIG_ARM_CCI400_PMU config optionHauke Mehrtens2015-07-261-0/+1
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gpio-button-hotplug: handle EPROBE_DEFER and other errorsHauke Mehrtens2015-07-261-5/+15
| | | | | | | | | | | of_get_gpio_flags() could return an error like EPROBE_DEFER which was not handled before. This patch takes the code from gpio_keys_polled.c for error handling and also improves some other unrelated small parts. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add CONFIG_REGMAP_MMIO config optionHauke Mehrtens2015-07-263-0/+3
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update configHauke Mehrtens2015-07-261-9/+2
| | | | | | | | | This activates CONFIG_MULTIUSER and sets the maximal number of cpus to 2. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46500 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: swap radio calibration data pointers for DIR-860LFelix Fietkau2015-07-261-2/+2
| | | | | | | | Fixes low 5 GHz tx power issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46497 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image: fix device variable exports for initramfs imagesFelix Fietkau2015-07-261-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46496 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add kmod-lp againHauke Mehrtens2015-07-261-2/+1
| | | | | | | | | | | | This was deactivated in r21954 because it depended on kernel 2.4, but this module also compiles with kernel 3.18. This closes #20199. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: cdc_ncm: Add support for moving NDP to end of NCM frameHauke Mehrtens2015-07-253-48/+537
| | | | | | | | | | | | | This patch was missing for kernel 4.0 and 4.1 in r46464. I also replaced the version in OpenWrt with the version which went upstream into the Linux mainline kernel. This closes #20193 and #20192 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46493 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: do not add debugfs_create_devm_seqfile() on recent kernel versionsHauke Mehrtens2015-07-251-0/+33
| | | | | | | | | | | | | An #ifdef for the kernel version was missing around the header of debugfs_create_devm_seqfile() and the LINUX_BACKPORT() was also not done. This closes #20181 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46492 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: ensure image provided feeds are available after sysupgradeJonas Gorski2015-07-253-4/+21
| | | | | | | | | | | | | | | | | | | | | Split the opkg.conf into three files, to make it easier to support custom feeds and configs: * /etc/opkg.conf -> base opkg configuration * /etc/opkg/distfeeds.conf -> default Openwrt package feeds * /etc/opkg/customfeeds.conf -> custom package feeds Of these three, only the base opkg.conf and the customfeeds.conf is marked as to be kept, so that the distfeeds.conf from the image is always used. To ease migration, a script is added that moves any feeds from /etc/opkg.conf to /etc/opkg/customfeeds.conf on first boot. Also ensure that any keys used for verification are also kept in upgrade. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: switch to new image building systemJonas Gorski2015-07-251-260/+497
| | | | | | | | | | | | Switches BCM63xx to the new IB system. Images are generated per device definitions. There are no changes in the produced images except for some name changes, caused by the new IB system. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: use new tool for generating redboot imagesJonas Gorski2015-07-252-30/+5
| | | | | | | | | Simplify image/Makefile by using the new perl script for RedBoot. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46489 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts: add tool for generating redboot scriptsJonas Gorski2015-07-251-0/+111
| | | | | | | | | | This tool avoids generating the redboot script directly from Makefile, which can get really complicated when adapting image/Makefile to the new IB system. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46488 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kmod-regmap: make regmap-mmio user selectableJonas Gorski2015-07-253-3/+6
| | | | | | | | | | | | | | | REGMAP_MMIO is a hidden symbol, so it cannot be directly selected. If nothing selects it, it will fail the build with: ERROR: module '/store/buildbot/slave/slave/rb532/build/build_dir/target-mipsel_mips32_musl-1.1.10/linux-rb532/linux-3.18.19/drivers/base/regmap/regmap-mmio.ko' is missing. make[2]: *** [/store/buildbot/slave/slave/rb532/build/bin/rb532/packages/base/kmod-regmap_3.18.19-1_rb532.ipk] Error 1 Fix this by adding a description to allow selecting it manually. Fixes: r46451 ("kmod-regmap: enable MMIO support") Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mbedtls: package version 2.0, make polarssl compatibleSteven Barth2015-07-243-5/+309
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46484 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove kmod-crypto-aes, AES crypto support is always built into the ↵Felix Fietkau2015-07-244-24/+7
| | | | | | | | kernel Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46483 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix oprofile performance counter interrupt handling on mipsFelix Fietkau2015-07-242-1/+74
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: update to latest git versionFelix Fietkau2015-07-245-214/+829
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46481 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fortify-headers: update to 0.7Steven Barth2015-07-243-150/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46480 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: fix RA lifetimesSteven Barth2015-07-241-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46479 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: comply with REC-22, REC-24 of RFC 6092Steven Barth2015-07-242-13/+12
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46478 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add additional uarts to mt7628.dtsiJohn Crispin2015-07-241-2/+63
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46477 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make sd driver depend on mt7688John Crispin2015-07-241-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46476 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add CD polling to sd driverJohn Crispin2015-07-241-12/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46475 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: various mt7688 pinmux fixesJohn Crispin2015-07-241-11/+13
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46474 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add subtarget for mt7688John Crispin2015-07-247-1/+254
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add clock strecthing support to i2c driverJohn Crispin2015-07-241-32/+35
| | | | | | | | fixes #19816 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buttons: make all button handler scripts return 0John Crispin2015-07-244-0/+8
| | | | | | | | this is required by the new button timeout feature Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46471 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bzip2: add host buildJohn Crispin2015-07-241-0/+21
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils mktplinkfw: print amount of exceeding bytesJohn Crispin2015-07-241-10/+11
| | | | | | | | This is very useful for trimming images towards 4 MiB flash size. Signed-off-by: Stephan Maka <stephan@spaceboyz.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: Clarify ath9k & ath10k debug selectionJohn Crispin2015-07-241-1/+1
| | | | | | | | | Ath debug mode applies to ath10k as well as ath9k. Update Makefile help text to clarify. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46468 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: add some missing files to the jailJohn Crispin2015-07-241-1/+1
| | | | | | | | found with strace, not sure we got all of them though Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: fix /tmp/.jail permissionsJohn Crispin2015-07-241-1/+0
| | | | | | | | | | | We need a+x rights on the path to the root of the jails so we can use users other than root (like nobody) This partly fixes jailed dnsmasq Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git HEADJohn Crispin2015-07-241-2/+2
| | | | | | | | fixes http://patchwork.ozlabs.org/patch/497899/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46465 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: cdc_ncm: Add support for moving NDP to end of NCM frameJohn Crispin2015-07-241-0/+195
| | | | | | | | | | | | | | | | | | | | | | NCM specs are not actually mandating a specific position in the frame for the NDP (Network Datagram Pointer). However, some Huawei devices will ignore our aggregates if it is not placed after the datagrams it points to. Add support for doing just this, in a per-device configurable way. While at it, update NCM subdrivers, disabling this functionality in all of them, except in huawei_cdc_ncm where it is enabled instead. We aren't making any distinction between different Huawei NCM devices, based on what the vendor driver does. Standard NCM devices are left unaffected: if they are compliant, they should be always usable, still stay on the safe side. This change has been tested and working with a Huawei E3131 device (which works regardless of NDP position) and an E3372 device (which mandates NDP to be after indexed datagrams). Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com> Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46464 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: Add missing symbols when tracing is enabledJohn Crispin2015-07-241-0/+2
| | | | | | Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46463 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add missing symbolJohn Crispin2015-07-241-0/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46462 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: add kmod-sound-soc-bcm2708-i2s supportJohn Crispin2015-07-241-0/+155
| | | | | | | | This adds support for I2S SoC Audio modules. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46461 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: add kmod-video-bcm2835 supportJohn Crispin2015-07-241-0/+17
| | | | | | | | This adds BCM2835 camera interface driver as a kernel module. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Allow to use ath79_gpio_output_select on QCA955xJohn Crispin2015-07-242-0/+120
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46459 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Onion OmegaJohn Crispin2015-07-2410-6/+145
| | | | | | | | | | | | This patch adds support for the Onion Omega. https://onion.io/omega Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Acked-by: Boken Lin <bl@onion.io> Tested-by: Jacky Huang <huangfangcheng@163.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for AP147-010 reference boardJohn Crispin2015-07-2415-0/+250
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46457 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for PCIe on QCA953xJohn Crispin2015-07-242-0/+88
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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