aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kernel: fix an af_packet regression that was breaking PPPoE on 4.1+ (#20707)Felix Fietkau2015-11-112-0/+34
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47459 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: add Linksys routers to default profileLuka Perkov2015-11-112-3/+4
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-envtools: kirkwood: fix EA35/4500 board namesLuka Perkov2015-11-111-4/+4
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47457 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libnl-tiny: include <sys/socket.h>Felix Fietkau2015-11-112-0/+2
| | | | | | | | | | | | | | | | Currently some libnl headers require application code to include dependencies on its own. E.g. a simple include of <linux/netlink.h> will trigger an error: /usr/include/libnl-tiny/linux/netlink.h:32:2: error: unknown type name 'sa_family_t' Similarly including <netlink/handlers.h> causes: /usr/include/libnl-tiny/netlink/handlers.h:133:19: warning: 'struct ucred' declared inside parameter list [enabled by default] Fix it by including <sys/socket.h> where needed in libnl headers. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: Use network_get_device instead of uci_get_stateFelix Fietkau2015-11-113-5/+13
| | | | | | | | This fixes the IAPP functionality. Signed-off-by: Petko Bordjukov <bordjukov@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath10k-firmware: update firmware version for QCA988XFelix Fietkau2015-11-111-1/+1
| | | | | | | | | | | Updates the ath10k firmware version for QCA988X to version 10.2.4.70.10-2, which appears to fix problems with the 5GHz wireless failing on TP-Link Archer C7 v2 when using a Nexus 5X phone. Fixes issue #20854. Signed-off-by: Robert Hancock <hancockrwd@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* elfutils: bump to 0.164Felix Fietkau2015-11-118-2084/+25
| | | | | | | | | Patches are refreshed except for elfutils-portability, which is gone: https://lists.fedorahosted.org/pipermail/elfutils-devel/2015-October/005290.html Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config optionsHauke Mehrtens2015-11-103-0/+3
| | | | | | | | | This was seen by the buildbot on arm64. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add Arduino YunHauke Mehrtens2015-11-109-1/+217
| | | | | | | | | | | | | | | | | | | | This is based on patches from Federico Fissore <f.fissore@arduino.cc> especially this one: https://github.com/arduino/openwrt-yun/commit/7e2976fa83fb0d72a955574499178c387a1b3c92 The console is running with 250000 baud which is a non standard baud rate and needs an extra patch to be applied, I will try to get this patch upstream or something else which accomplish the same. Some upstream code looks like there are many different versions of this SoC, are these only internal versions and all versions on the consumer market are the same? I saw different GPIO configuration and flash sizes of 8MB and 16MB? Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: serial: core: add support for boot console with arbitrary baud ratesHauke Mehrtens2015-11-101-0/+76
| | | | | | | | | | | | | | The Arduino Yun uses a baud rate of 250000 by default. The serial is going over the Atmel ATmega and is used to connect to this chip. Without this patch Linux wants to switch the console to 230400 Baud. With this patch Linux will use the configured baud rate and not some standard one which is near by. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add function to access the GPIO function2 registerHauke Mehrtens2015-11-101-0/+72
| | | | | | | | | | | Add access to the function2 gpio register. This probably has to be converted into a pimux driver later on. This is needed for some setup functions on the Arduino Yun. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47449 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: add support for configuration option ubus_corsLuka Perkov2015-11-101-0/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47448 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix breakage in the 4.3 version of ↵Felix Fietkau2015-11-101-3/+6
| | | | | | | | 611-netfilter_match_bypass_default_table.patch Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gdb: disable python supportFelix Fietkau2015-11-101-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: remove obsolete relinking codeFelix Fietkau2015-11-101-61/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: remove obsolete gcc version checkFelix Fietkau2015-11-101-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: remove version 4.6, it is no longer neededFelix Fietkau2015-11-1029-1104/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: enable LTO support unconditionallyFelix Fietkau2015-11-101-5/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: use version 5.x for octeon instead of 4.6 - it has been tested with glibcFelix Fietkau2015-11-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47441 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add -Wno-error=unused-result to target cflagsFelix Fietkau2015-11-101-1/+1
| | | | | | | | | | Many glibc functions have __warn_unused_result__ in so many different core functions, and failing the build for all of those simply does not make any sense Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47440 3c298f89-4303-0410-b956-a3cf2f4a3e73
* openvpn: enable options consistency check even in the small buildFelix Fietkau2015-11-101-0/+12
| | | | | | | | | Only costs about 3k compressed, but significantly improves handling of configuration mismatch Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: add support of ARC architectureFelix Fietkau2015-11-1031-31/+934
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes binutils, gcc, gdb and uClibc-ng. Latest release of ARC gcc (as of today it is "arc-2015.06") is based on upstream gcc 4.8.4. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/gcc Latest release of ARC binutils (as of today it is "arc-2015.06") is based on upstream binutils 2.23. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06 Latest release of ARC GDB (as of today this is "arc-2015.06-gdb") is based on upstream gdb 7.9.1. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06-gdb Note that for binutils and gdb that come from unified git repository (which is the case for upstream binutils/gdb today) we need to disable building of gdb in binutils and binutils in gdb hence in binutils: ------>8------ --disable-sim --disable-gdb ------>8------ and in gdb: ------>8------ --disable-binutils --disable-ld --disable-gas ------>8------ Also in gdb we disable sim because if the following breakage while building with it: ------------>8------------ /usr/bin/env bash ./../common/genmloop.sh -shell /usr/bin/env bash \ -mono -fast -pbb -switch sem5-switch.c \ -cpu a5f -infile ./mloop5.in \ -outfile-suffix 5 unknown option: bash Makefile:699: recipe for target 'stamp-5mloop' failed make[7]: *** [stamp-5mloop] Error 1 ------------>8------------ Cc: Felix Fietkau <nbd@openwrt.org> Cc: John Crispin <blogic@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47438 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath10k-firmware: add qca6174 firmware (mostly untested)Felix Fietkau2015-11-101-7/+18
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47437 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: rename EA3500/EA4500 profilesLuka Perkov2015-11-102-11/+11
| | | | | | | | Match the engineering board names now used elsewhere. Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47436 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: add diag LED on Linksys EA3500Luka Perkov2015-11-101-0/+3
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47435 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: support sysupgrade on Linksys EA[34]500Luka Perkov2015-11-102-0/+111
| | | | | | | | | | This automatically writes to the alternate firmware partition (on Linksys's dual firmware layout) using code borrowed from the WRT1900AC port. Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: support Linksys boot counter on EA[34]500Luka Perkov2015-11-102-0/+21
| | | | | | | | | | | | | This is done with existing code from the WRT1900AC port. It makes sure the "auto_recovery" bootloader option is set, and resets the s_env boot counter after a successful boot. This gives users without a serial console connection some measure of safety. Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: generate factory images for Linksys EA[34]500Luka Perkov2015-11-102-12/+39
| | | | | | | | | This is done with the new image generation system and board names. It also generates a sysupgrade.tar image. Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: find active Linksys root partitionLuka Perkov2015-11-104-0/+124
| | | | | | | | | | | This is imported verbatim from the mvebu WRT1900AC port. It picks up the current boot partition from the kernel command line, then renames that partition "ubi" so that it auto-mounts. Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47431 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: consistently use engineering board namesLuka Perkov2015-11-104-12/+12
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47430 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: rework Linksys EA[34]500 DTSLuka Perkov2015-11-107-95/+173
| | | | | | | | | | | | | | | - Use board engineering names rather than marketing names - Linksys uses a dual firmware layout, where the bootloader will switch to the other stored image when one fails to boot three consecutive times. In order to make this firmware compatible with the factory images and the stock bootloader we must match this layout. Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47429 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: enable squashfs-on-ubiblock supportLuka Perkov2015-11-103-3/+3
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47428 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: restricted automatic channel selectionFelix Fietkau2015-11-081-0/+3
| | | | | | | | | | | | | | | Add a new config option "channels" for mac80211 wifi devices. It's only valid if automatic channel selection is used and restricts the channel selection to one of the given channels. config wifi-device list channels 1 list channels 6 list channels 11 Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47427 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/e2fsprogs: update to 1.42.13Felix Fietkau2015-11-084-17/+15
| | | | | | | | | Update e2fsprogs to 1.42.13. Refresh and cleanup patches. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47426 3c298f89-4303-0410-b956-a3cf2f4a3e73
* e2fsprogs: add packages for "chattr" and "lsattr"Felix Fietkau2015-11-081-0/+24
| | | | | | Signed-off-by: Richard Kunze <richard.kunze@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* conntrack-tools: split into conntrack/conntrackdFelix Fietkau2015-11-081-16/+31
| | | | | | | | | | | as conntrack and conntrackd are completely independent programs, serving a different purpose. Also split by other distributions, as Debian and Ubuntu. Signed-off-by: Ulrich Weber <uw@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47424 3c298f89-4303-0410-b956-a3cf2f4a3e73
* conntrack-tools: upgrade to 1.4.3Felix Fietkau2015-11-082-42/+2
| | | | | | Signed-off-by: Ulrich Weber <uw@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47423 3c298f89-4303-0410-b956-a3cf2f4a3e73
* conntrack-tools: remove default config fileFelix Fietkau2015-11-082-7/+1
| | | | | | | | | | | default configuration will fill up disk by writing /var/log/conntrackd-stats.log Introduced due init script auto start. Signed-off-by: Ulrich Weber <uw@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47422 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: add generic profiles to x86_64, kvm_guest and xen_domuFelix Fietkau2015-11-083-0/+45
| | | | | | | | The imagebuilder requires a profile for every subtarget to work. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47421 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-LINK TL-WR941ND v6 (international version)Felix Fietkau2015-11-0810-80/+265
| | | | | | | | | | | | | | | The international version is completely different from the already supported Chinese version. The WLAN of the QCA956x SoC used by this router has been fixed in r46948. This patch looks like it changes a lot in 700-MIPS-ath79-openwrt-machines.patch; that is not the case. Unfortunately, quilt decided to completely reorganize the Kconfig patch even though only a single section has been added. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47420 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to the latest version, adds support for redirect helper scriptsFelix Fietkau2015-11-082-3/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47419 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: update to the latest version, adds a small json_script featureFelix Fietkau2015-11-081-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47418 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix typo in r47416Felix Fietkau2015-11-071-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47417 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix alignment of struct arpt_arp (fixes #14577)Felix Fietkau2015-11-071-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47416 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove kmod-xen-kbddev, it is already enabled in the kernel configFelix Fietkau2015-11-071-17/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove kmod-acpi-button package, it is already built into the kernelFelix Fietkau2015-11-071-16/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: remove obsolete kernel version checkFelix Fietkau2015-11-071-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47413 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove linux 4.0 supportFelix Fietkau2015-11-07211-33364/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47412 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image: append-ubi: add optional UBI subpage sizeFelix Fietkau2015-11-071-1/+2
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/quilt: fix build error during kernel_menuconfig on a cleaned envFelix Fietkau2015-11-071-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | When running "make kernel_menuconfig" right after "make clean", we error out with the following message: Makefile:22: recipe for target '.../build_dir/target-arm_cortex-a7_musl-1.1.10_eabi/linux-.../linux-3.18.18/.quilt_checked' failed make[2]: [.../build_dir/target-arm_cortex-a7_musl-1.1.10_eabi/linux-.../linux-3.18.18/.quilt_checked] Error 127 (ignored) The root cause of the problem is located in the OpenWrt specific quilt patch, which sets the quilt install directory to $STAGING_DIR/../host. However, on a clean environment (right after running "make clean"), $STAGING_DIR doesn't exist. The "quilt" executable doesn't find its different commands, errors out, and creates this message. We're fixing it by using $STAGING_DIR_HOST rather than $STAGING_DIR, which is absolute. It will work even if there is no target directory yet. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47410 3c298f89-4303-0410-b956-a3cf2f4a3e73