aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update 4.1 to 4.1.6Jonas Gorski2015-08-2311-168/+43
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.6 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: kirkwood: fix ehci-orion probe if generic-phy isn't enabledJonas Gorski2015-08-233-0/+105
| | | | | | | | | Properly treat -ENOSYS as no PHY, else ehci-orion won't work without generic phy support. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46711 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: disable ipw2x00 for big endian targetsJonas Gorski2015-08-231-1/+1
| | | | | | | | | | | | | The ipw2x00 drivers assume that the system they are running is little endian, and access everything in native byte order. When run on a big endian system, everything breaks apart. Since fixing this is non trivial on a first glance, disable them for big endian targets. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46708 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: ensure dummy byte is set for mapped spi flash with fast readJonas Gorski2015-08-2318-78/+120
| | | | | | | | | | | | | Some CFEs seem to misconfigure the mapped memory flash access with fast read but without a dummy byte, causing all accesses to be prefixed with 0xff. This of course breaks reading out the nvram, so do not just move back to single i/o accessors, but also ensure that the dummy byte is correctly set. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46707 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/feeds: allow export of feeds with static revisionsJonas Gorski2015-08-231-1/+10
| | | | | | | | | | | | Add a switch to scripts/feeds that allows listing the feeds with their currently checked out revisions in feeds.conf compatible format. This allows providing a feeds.conf for public builds to make replication of the build easier. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: bump to 4.1Zoltan HERPAI2015-08-211-1/+3
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: add audio module for 4.1 Zoltan HERPAI2015-08-211-0/+17
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: update ahci package list for a couple board profilesZoltan HERPAI2015-08-218-9/+16
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: reorganize kmod-ata-sunxi dependenciesZoltan HERPAI2015-08-211-4/+2
| | | | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46702 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Newer kernels make use of libahci in ahci-platform, ie. also on non-PCIZoltan HERPAI2015-08-211-5/+7
| | | | | | | | | | | | | platforms. As there is no single config symbol deciding whether libahci.ko is being built or not it seems the most sensitive thing to package it in kmod-ata-core. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46701 3c298f89-4303-0410-b956-a3cf2f4a3e73
* This had been set in r44508 as a workaround for switchImre Kaloz2015-08-211-2/+1
| | | | | | | | | | | | | | | | problems. Now that the switch driver can handle two devices with the same MAC address in separate VLANs we can go back to using the same address on both interfaces. This is the Linksys firmware's default behavior. Signed-off-by: Claudio Leite <leitec@staticky.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Previously, all VLANs (port-based or 802.1q) were sharingImre Kaloz2015-08-212-4/+19
| | | | | | | | | | | | | | | | | | | a single database in the ATU. This created problems in the case of a system where two ports/devices share a MAC address (e.g. Linksys WRT1900AC eth0/eth1). This also clears any bootloader-set FDB defaults. This had caused issues creating port-based VLANs when mappings overlapped previous VLANs. Packets destined to a port not in the default port group flooded all ports. Tested on a 88E6171 (Linksys EA4500) and 88E6172 ('1900AC) Signed-off-by: Claudio Leite <leitec@staticky.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46699 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: fix cobra chainmaskImre Kaloz2015-08-211-2/+2
| | | | | | | | | | Thanks Sebastian for spotting it. Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46697 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing symbols for 4.1Zoltan HERPAI2015-08-201-0/+3
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46696 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: various RA improvementsSteven Barth2015-08-201-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46694 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mwlwifi: fix commit hash for 10.3.0.8Imre Kaloz2015-08-191-2/+2
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46693 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add support for the Linksys boot counterImre Kaloz2015-08-197-15/+149
| | | | | | | | | | | | | | The u-boot boot counter was never reset after a successful boot, which sometimes could make some variables become out of sync. This patch adds support for the boot counter and enables auto_recovery unconditionally. Signed-off-by: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46690 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: we don't know where the device is located, so reflect that in the certImre Kaloz2015-08-191-3/+3
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mwlwifi: upgrade to 10.3.0.8-20150818Imre Kaloz2015-08-181-1/+3
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46687 3c298f89-4303-0410-b956-a3cf2f4a3e73
* enable strong SSP / Stackprotector on gcc5Steven Barth2015-08-181-2/+2
| | | | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46685 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: fix getsubopt functionSteven Barth2015-08-181-0/+29
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* polarssl: Fix build failures due to PKG_NAME != dir nameSteven Barth2015-08-181-2/+5
| | | | | | | | | | | | | Packages that depend on PolarSSL fail to build because polarssl's InstallDev section never actually gets executed because (prior to this patch) the package name does not match the subdir the package is in (presumably due to upstream name change). As a workaround I have changed the package name back to polarssl and used a new variable SRC_PKG_NAME for the purposes of downloading the upstream tarball and creating PKG_BUILD_DIR. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add mt7601u driverHauke Mehrtens2015-08-171-1/+33
| | | | | | | | | | firmware is not available in linux-firmware yet so use official driver source Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: pass X-HTTP-Method-Override header to cgi scriptsJo-Philipp Wich2015-08-171-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46677 3c298f89-4303-0410-b956-a3cf2f4a3e73
* at91: fix usb rate backport patch tab mangleJohn Crispin2015-08-171-14/+14
| | | | | | | | | The patch submitted in [46649] was mangled in the use of gmails webmail interface, tabs replaced with spaces, resulting in a patch which dit not apply. This should fix the issue, sorry for the noise. Signed-off-by: Ben Whitten <benwhitten@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46676 3c298f89-4303-0410-b956-a3cf2f4a3e73
* orion: remove IRQF_DISABLEDJohn Crispin2015-08-171-2/+2
| | | | | | | | | | no-op since 2.6.35 removed in Kernel 4.1 see https://lwn.net/Articles/380931/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: crypto: remove IRQF_DISABLEDJohn Crispin2015-08-173-3/+3
| | | | | | | | | | no-op since 2.6.35 removed in Kernel 4.1 see https://lwn.net/Articles/380931/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46671 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Support newer versions of the PEF7071 ethernet PHYsJohn Crispin2015-08-172-2/+2
| | | | | | | | | | The BT Home Hub 5A uses three PEF7071 with PHY ID 0xd565a401. Daniel's PHY driver (for his u-boot sources) already supports that PHY because it uses a PHY ID mask of 0xfffffff8. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46670 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: update to latest git HEADJohn Crispin2015-08-171-2/+2
| | | | | | | | adds extra station info reporting Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oxnas: remove support for kernel 3.18 and 4.0John Crispin2015-08-1728-1554/+0
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46668 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: move patches aroundJohn Crispin2015-08-171-0/+0
| | | | | | | | 0073 needs to applied afert 0102 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46667 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ugps: update to latest git HEADJohn Crispin2015-08-171-2/+2
| | | | | | | | | | fixes 2 bugs * typo * use %04d rather than %d when printing the position Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46666 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: base-files: optimize etc/diag.sh and etc/board.d/01_leds scriptsJohn Crispin2015-08-172-424/+235
| | | | | | | | | | | | | | | | | | | | | | | | Instead of using board name provided explicitly as text in LED name, ex.: [...] mlwg2) status_led="mlwg2:blue:system" [...] use $board variable, which allows to combine together multiple boards with same color and LED names, ex: [...] mlw221|\ mlwg2) status_led="$board:blue:system" [...] The above approach allows to shrink size of code in base-files/etc/board.d/01_leds and base-files/etc/diag.sh scripts dramatically. One thing to keep in mind here is that we assume to use proper and consistent LED naming scheme ("device:color:led-name"). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46665 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use consistent naming scheme for LEDsJohn Crispin2015-08-1780-612/+694
| | | | | | | | | | | | | The upstream LED naming convention is "device:color:led-name", but it seems that many of supported boards in OpenWrt don't follow this approach. The following patch fixes this inconsistency in dts{,i} files and updates base-files scripts for ramips target: * fixes wrong indentation * keeps case statements structure in same convention as in other scripts (no empty line after ";;", no indentation for case...esac body) * fixes wrong LED names for some of boards (makes them the same as in dts{,i} files) * combines boards with same configuration (ex. set_wifi_led "rt2800pci-phy0::radio" in 01_leds) Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46664 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-Link TL-WDR6500 v2John Crispin2015-08-1711-1/+258
| | | | | | | | | | | Signed-off-by: Weijie Gao <hackpascal@gmail.com> This patch adds support for TP-Link TL-WDR6500 v2. The firmware has a U-Boot header for kernel, and a TP-LINK v2 header for the whole firmware, so I have to create a new firmware creation method. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46663 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add 64kb bootloader mtd parser for tplinkpartJohn Crispin2015-08-171-6/+29
| | | | | | | | | | | Signed-off-by: Weijie Gao <hackpascal@gmail.com> This patch adds flash layout parser for TP-Link firmwares which have a 64kb bootloader. This is used for TP-Link TL-WDR6500 v2. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46662 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add header version 2 support for mktplinkfwJohn Crispin2015-08-171-4/+21
| | | | | | | | | | | | | | | | Signed-off-by: Weijie Gao <hackpascal@gmail.com> This patch adds header version 2 option for mktplinkfw. The version 2 header is used for AR/QCA firmwares and is not the same as the header generated by mktplinkfw2. Instead, it is nearly the same as version 1 header except for the header version and the RSA signature. The header version 2 support is used for newer TP-Link routers which have only a 64kb bootloader part, e.g. TL-WDR6500 v2. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46661 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: reorder the sysupgrade scriptJohn Crispin2015-08-171-13/+13
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: reorder patchesJohn Crispin2015-08-1711-5/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: switch AP148 to using SMEM based MTD parserJohn Crispin2015-08-1713-63/+35
| | | | | | | | | | | | | | *Enable SMEM MTD parser and its dependencies (SMEM & HW spinlocks) in the kernel config *Replaces the MTD layout in DT by the dynamic layout provided by the SMEM parser for AP148 Using the OF based parser is still possible on platforms which have a fixed MTD partition layout. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46658 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: add QCOM SMEM based MTD parserJohn Crispin2015-08-172-0/+554
| | | | | | | | | This patch adds a new parser which uses the SMEM available on IPQ and some other QCOM platforms to map the MTD partitions. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46657 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: add SMEM supportJohn Crispin2015-08-176-0/+1918
| | | | | | | | | | | | 2 patches are cherry-picked from the following LKML thread: *https://lkml.org/lkml/2015/4/11/208 The last patch (036-soc-qcom-add-smem-to-IPQ806x-platforms.patch) is adding the corresponding DT nodes required for IPQ806x. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46656 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: add hwspinlock supportJohn Crispin2015-08-1719-28/+958
| | | | | | | | | | | | | | This change cherry-picks the following 3 changes from linux-next: *fb7737 hwspinlock/core: add device tree support *19a0f6 hwspinlock: qcom: Add support for Qualcomm HW Mutex block *bd5717 hwspinlock: qcom: Correct msb in regmap_field We're also adding a patch to add the hardware spinlock device nodes on IPQ806x platforms (033-soc-qcom-Add-sfbp-device-to-IPQ806x-dts.patch). Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move linux, part-probe dt parsing in generic codeJohn Crispin2015-08-1718-53/+229
| | | | | | | | | | | | | | The "linux,part-probe" dts parsing is a pretty neat generic feature. It has been posted to kernel.org and could easily be reused by all targets. This change moves the patch to the 3.18 and 4.1 generic folders, and makes the feature available to all platforms who may want to use it. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46654 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: default_postinst: propagate the real postinst return codeJohn Crispin2015-08-171-3/+7
| | | | | | | | | | | Using the postinst script for sanity checks and expecting opkg to fail if the postinst didn't return 0 was possible in Barrier Breaker, propagate the real postinst return code through default_postinst to restore this behaviour. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: Add vlan_file option to netifd.shJohn Crispin2015-08-171-1/+6
| | | | | | | | | | | | | Other VLAN related options are already being processed in netifd.sh but the vlan_file option is missing. This option allows the mapping of vlan IDs to network interfaces and will be used in dynamic VLAN feature for binding stations to interfaces based on VLAN assignments. The change is done similarly to the wpa_psk_file option. Signed-off-by: Gong Cheng <chengg11@yahoo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for Black SwiftJohn Crispin2015-08-1710-0/+172
| | | | | | | | | | | | Add support for the Black Swift board: http://www.black-swift.com/ Took relevant parts and slightly adapted from: https://github.com/blackswift/openwrt/blob/master/bsb.patch Signed-off-by: Bruno Randolf <br1@einfach.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: rework reset button script to indicate factory resetJohn Crispin2015-08-171-14/+21
| | | | | | | | | With this change we let user know 5 seconds have passed and reset button can be released (to trigger factory reset) Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* at91: Backport determine_rate prototype fixJohn Crispin2015-08-171-0/+20
| | | | | | | | | | | | | This patch is backport of a fix to a USB prototype mismatch bug found in 3.18 kernels, originally submitted by Boris Brezillon [1]. The symptom of this bug was that devices attached to the at91 using at91_ohci on a hub never appeared and failed to initialise. [1] http://www.spinics.net/lists/linux-usb/msg125969.html Signed-off-by: Ben Whitten <ben.whitten@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mcs814x: use firmware partition splitter on dLAN USB ExtenderJohn Crispin2015-08-173-9/+5
| | | | | | | | | to avoid editing the dts every time the kernel size changes. uImage is now bigger than 1MB. Pad uImage to 64k erase block size. Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46648 3c298f89-4303-0410-b956-a3cf2f4a3e73