aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* scripts/patch-kernel.sh: remove -E flag to preserve empty files touched by ↵Felix Fietkau2015-08-251-1/+1
| | | | | | | | patches Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46723 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rules.mk: remove GCC 4.4 and GCC 4.5 conditionalFelix Fietkau2015-08-251-2/+2
| | | | | | | | | gcc 4.4 was removed in r44957 gcc: remove 4.4.7 (only used by avr32) gcc 4.5 was removed in r36149 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46722 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: bridge, multicast-to-unicast: assign src after pskb_may_pull()Felix Fietkau2015-08-252-37/+56
| | | | | | | | | | A call to pskb_may_pull() might reallocate skb->data. Therefore we should only assign the src-pointer after any potential reallocations. Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46721 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "kernel: disable multicast-to-unicast translation for ipv6 neighbor ↵Felix Fietkau2015-08-252-40/+34
| | | | | | | | | | | | | | | | | | | | solicitation (#17625)" This reverts commit a080e8e1943156168913d0353a2e99d1151102aa. It did not fix the problem but just hid some symptom. The real issue was that IGMP/MLD report suppression was not considered for the multicast-to-unicast feature. A recent netifd which isolates IGMP/MLD reports between STAs by utilizing AP-isolation and bridge-hairpinning should have fixed this. It is perfectly fine to apply multicast-to-unicast to IPv6 Neighbor Solicitations, too (once that feature is configured correctly). Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, adds multicast-to-unicast fixesFelix Fietkau2015-08-251-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46719 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: various updatesSteven Barth2015-08-251-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46718 3c298f89-4303-0410-b956-a3cf2f4a3e73
* omcproxy: fix last commitSteven Barth2015-08-241-3/+3
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46717 3c298f89-4303-0410-b956-a3cf2f4a3e73
* omcproxy: add new igmpv3 & mldv2 multicast proxySteven Barth2015-08-243-0/+195
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46716 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove already upstream applied patchJonas Gorski2015-08-231-73/+0
| | | | | | | | | | | | | | | | Remove 131-MIPS-export-get_c0_perfcount_int.patch which was already applied in 4.1.6. This fixes the following build error: arch/mips/ath79/setup.c:217:77: error: redefinition of '__kstrtab_get_c0_perfcount_int' arch/mips/ath79/setup.c:211:77: note: previous definition of '__kstrtab_get_c0_perfcount_int' was here arch/mips/ath79/setup.c:217:350: error: redefinition of '__ksymtab_get_c0_perfcount_int' arch/mips/ath79/setup.c:211:350: note: previous definition of '__ksymtab_get_c0_perfcount_int' was here scripts/Makefile.build:258: recipe for target 'arch/mips/ath79/setup.o' failed Reported-by: swalker Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: make patches apply againJonas Gorski2015-08-232-17/+17
| | | | | | | | Fix patches not applying anymore since r46654. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46714 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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