aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ipq806x: remove scm firmware clocksPavel Kubelun2017-03-202-4/+167
| | | | | | | | | | | | | | At the moment as a workaround definition for scm firmware in DT is used as if it is apq8064 board. This leads to incomplete scm firmware initialization and as a result cpuidle driver fails to configure. By design unlike other qcom boards ipq do not use clocks to connect to scm. Considering this we're removing from DT and scm driver clocks for ipq boards. As a result cpuidle does not produce errors about failed configuration anymore. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* iproute2: fix ip monitor can't work when NET_NS is not enabledYousong Zhou2017-03-192-1/+41
| | | | | | | | The bug appeared in v4.1.0 and was fixed since v4.8.0 Fixes FS#620 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* bcm53xx: switch to kernel 4.9Rafał Miłecki2017-03-181-1/+1
| | | | | | | With iproc regression fixed and GIC interrupts in DTS updated it seems we can safely start using 4.9. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* build: fix high cpu usage / hang in prereq-build.mkFelix Fietkau2017-03-181-1/+0
| | | | | | host-build.mk should not be included for prereq Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: backport BCM5301X patchesRafał Miłecki2017-03-1818-4/+1950
| | | | | | | This fixes GIC interrupts (required before switching to 4.9), adds few new entires & introduces DTS for Archer C5. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* dnsmasq: don't point --resolv-file to default location unconditionallyPhilip Prindeville2017-03-181-3/+3
| | | | | | | If noresolv is set, we should not generate a --resolv-file parameter. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [minor cleanup]
* build: add devel option to store build config in firmwareVitaly Chekryzhev2017-03-182-0/+10
| | | | | | Store config.seed in firmware /etc/build.config Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
* build: prepare config.seed before package compilationVitaly Chekryzhev2017-03-181-1/+2
| | | | Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
* lldpd: bump to 0.9.6Stijn Tintel2017-03-181-2/+2
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* mt76: update to the latest version, fixes Mesh/IBSS crypto supportFelix Fietkau2017-03-171-3/+3
| | | | | | | | 9f02db7 mt76x2: fall back to software crypto for IBSS/Mesh per-sta GTK 4a54ab3 mt7603: fall back to software crypto for IBSS/Mesh per-sta GTK 712b8e8 mac80211: claim RSN IBSS support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* perf: fix build with kernel 4.9Mathias Kresin2017-03-171-0/+2
| | | | | | | The musl workaround isn't required anymore and causes build errors with kernel 4.9 when applied. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: Shortcut non-pppoa interfaces in dsl_notifyOswald Buddenhagen2017-03-171-6/+8
| | | | | | No need to query 'up' and 'auto' when they are not going to be used. Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
* ramips: add support for Zbtlink ZBT-WE2026Vaclav Svoboda2017-03-177-1/+119
| | | | | | | | | | | | | | | | | | This patch adds support for the Zbtlink ZBT-WE2026. Specification: - SoC: MediaTek MT7620N (580MHz) - RAM: 64 MiB - Flash: 8 MiB SPI - LAN: 4x100M - WAN: 1x100M Installation through bootloader webserver: - With the power unplugged press and hold reset button. - Plug power and hold reset button until LED starts to blink. - Install sysupgrade image using web interface on 192.168.1.1. Signed-off-by: Vaclav Svoboda <svoboda@neng.cz>
* lantiq: vr9 fxs support: fixed check of SMP state within vpe-mt.cStefan Koch2017-03-171-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | SMP state is generally affected by - CONFIG_SMP build-time kernel configuration option and - 'nosmp' runtime kernel commandline option The SMP state within vpe-mt.c is determined by CONFIG_SMP option. A runtime check is needed if VPE functionality should be used with a kernel image that supports SMP. This fix introduces a check for 'nosmp' command line option if CONFIG_SMP kernel configuration option is enabled. Note: This patch is needed to use lantiq FXS if CONFIG_MIPS_MT_SMP (that activates CONFIG_SMP) is enabled within kernel configuration and the 'nosmp' command line argument is given to disable SMP at runtime. Without this patch CONFIG_MIPS_MT_SMP must be disabled before using FXS. With this patch setting the 'nosmp' parameter is enough. In general, concurrent usage of FXS and SMP is incompatible and will cause kernel panics. Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
* odhcp6c: update to git HEAD versionHans Dedecker2017-03-161-3/+6
| | | | | | 7e0d8b8 CMakeLists: don't enable libubox md5 implementation by default Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* kernel: do not build modules.orderFelix Fietkau2017-03-162-0/+68
| | | | | | | It is not needed for anything on the system and skipping this saves some build time, especially in cases where there is nothing to do. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: speed up build system by getting rid of redundant workFelix Fietkau2017-03-161-1/+3
| | | | | | | | | KERNELRELEASE contains a $(shell) call which is evaluated over and over again. The call to checksyscalls.sh is unnecessary for LEDE and also takes a few seconds to complete. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: improve performance by avoiding lazy-eval for make shell callsFelix Fietkau2017-03-162-3/+3
| | | | | | | Avoids lots of redundant calls to mkhash on things like package/kernel/linux Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing config symbols for 4.9Felix Fietkau2017-03-161-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: Fix the incorrect i_nlink count after jffs2's RENAME_EXCHANGE ↵Jing Qiu2017-03-162-10/+49
| | | | | | | | | | | | | | | | | | | | | operations. The problem is caused by the incorrect handling of the parent inode's i_nlink count for the dentry to be RENAME_EXCHANGED. There are 3 cases to consider. Assume we want to RENAME_EXCHANGE struct dentry *a and struct dentry *b, and inode_a is pointed to by dentry_a, inode_b is pointed to by dentry_b: 1. If inode_a is a directory, but inode_b isn't, then we must decrease the i_nlink count of old_dir_i, and increase the i_nlink of new_dir_i. 2. If inode_a isn't a directory, but inode_b is a directory, then we must increase the i_nlink of old_dir_i, and decrease the i_nlink count of new_dir_i. 3. If the types of inode_a and inode_b are the same, we don't change the i_nlink for either old_dir_i or new_dir_i. Signed-off-by: Jing Qiu <aqiu0720@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: Update wireless-regdb to master-2017-03-07Ryan Mounce2017-03-161-12/+19
| | | | | | | | | | | | | | | | The short log of changes since the 2016-06-10 release is below. Jouni Malinen (1): wireless-regdb: Remove DFS requirement for India (IN) Ryan Mounce (1): wireless-regdb: Update rules for Australia (AU) and add 60GHz rules Seth Forshee (2): wireless-regdb: Update 5 GHz rules for Canada wireless-regdb: update regulatory.bin based on preceding changes Signed-off-by: Ryan Mounce <ryan@mounce.com.au>
* x86: image: drop duplicated copy of bzImage into vmlinuzRafał Miłecki2017-03-161-1/+0
| | | | | | It's already done once few lines earlier in the Image/Build/iso. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* libnl: Fix building with uClibcAlexey Brodkin2017-03-161-0/+105
| | | | | | | | | | | | | | | | | | | | uClibc doesn't implement strerror_l() and thus libnl starting from 3.2.29 couldn't be compiled with it any longer, see https://github.com/thom311/libnl/commit/6c2d111177e91184073c44f83d4a6182aaba06d7 To work-around that problem we'll just do a check on strerror_l() availability during configuration and if it's not there just fall back to locale-less strerror(). Patch for libnl is alreadfy merged upstream, see https://github.com/thom311/libnl/commit/e15966ac7f3b43df2acf869f98089762807d0568 and once the next libnl release happens this one must be removed from Lede/OpenWrt. Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Cc: Felix Fietkau <nbd@nbd.name> Cc: John Crispin <john@phrozen.org> Cc: Daniel Engberg <daniel.engberg.lists@pyret.net>
* brcm63xx: diag.sh: use common status_led_blink_* functionsPiotr Dymacz2017-03-151-3/+3
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar7: diag.sh: use common status_led_* functionsPiotr Dymacz2017-03-151-17/+4
| | | | | | | | | | | | Switch to the common LED related status_led_blink_* functions in set_state() as it's done in most of other targets. Also, use "status_led_on" instead of "status_led_set_heartbeat" and incorrect "status_led_set_on" in the "done" state. Moreover, remove outdated comment from the script. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* sysntpd: restore support for peer-less (standalone) modePiotr Dymacz2017-03-151-1/+1
| | | | | | | | | | | | | | | | | ntpd from Busybox supports peer-less (standalone) mode when it's started with option -l and without any peer provided with option -p. In this mode ntpd uses local time as reference and acts as stratum 1 server. This mode can be used in isolated networks, where Internet access and/or other NTP server/s are not available, but the device has some other way of getting correct time, like e.g. GPS (ugps supports setting local time by default). Support for this mode was incorrectly disabled/removed in: 1527f96ca6e196fa17c96fdb3ae520158fa5943f Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> Acked-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: mikrotik: prepend "RouterBOARD" to machine name for NOR devicesThibaut VARENE2017-03-151-3/+15
| | | | | | | | | | | | When the device name doesn't already contain "RouterBOARD", this patch adds this string to the machine name. Most NOR devices already have "RouterBOARD" in their hardware-stored device name, but not all of them. This patch also makes the code more robust against buffer overflows. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* ar71xx: add support for RB LHG 5nDThibaut VARENE2017-03-1510-34/+146
| | | | | | | | | | | | | | | | This patch adds support for the MikroTik RouterBOARD LHG 5 https://routerboard.com/RBLHG-5nD Specifications: - SoC: Atheros AR9344 (600MHz) - RAM: 64MB - Storage: 16MB NOR SPI flash - Wireless: builtin AR9344 5GHz, 2x2:2 - Ethernet: 1x100M Initial flash via initramfs, like all other RB devices. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* curl: Adjust URLsDaniel Engberg2017-03-151-6/+4
| | | | | | | Update mirror list, add main site as last resort Source: https://github.com/curl/curl-www/blob/master/latest.pl Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* toolchain: add musl libc.so to external toolchainHauke Mehrtens2017-03-151-1/+1
| | | | | | | | | musl provides a /lib/libc.so file which should be integrated into the libc package when the external toolchain with musl is used. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Acked-by: Jo-Philipp Wich <jo@mein.io>
* mt76: update to the latest version, improves mt7603 supportFelix Fietkau2017-03-151-3/+3
| | | | | | | | | | | | | | | | | 03e44dc mt76x2: remove unnecessary headroom check cc70498 mt76x2: clarify queue selection field b056a78 dma: fix endian issue in mt76_dma_get_buf f020a60 mt7603: support loading the entire EEPROM from OTP 29b08d3 mt7603: fix endian issue in mt7603_mcu_set_timing dce8aac mt7603: fix endian issue in mt7603_mac_fill_rx f22273b mt7603: init WTBL entry before setting capabilities da8e796 mt7603: check wtbl busy status and stop/start tx queues when clearing sta entry e54add5 mt7603: move napi/tasklet enable/disable outside of the locked section 59ce2b4 mt7603: set tx vif own MAC index (needed for beacons) 93ce124 mt7603: enable beacons for other virtual interfaces c91e660 mt7603: set secondary beacon time offsets Signed-off-by: Felix Fietkau <nbd@nbd.name>
* opkg: gracefully handle missing $PATH, fix build warningsJo-Philipp Wich2017-03-151-4/+5
| | | | | | | | | | | | | | | | | | | | | | | Update to latest Git in order to import the following fixes: cfe46c7 opkg_active_list_test: mark functions static, swap strcmp() with memcmp() 0b60d6a libopkg_test: mark functions static, remove unused opkg_test() 28b5e15 pkg_parse: fix bad message level for opkg_msg() call d9e5814 pkg_parse: remove unused variable in pkg_parse_line() 1654bcc pkg_parse: remove const requirement from pkg_parse_line() 53e199e pkg_hash: remove unused variable in pkg_hash_load_feeds() da8d599 pkg_depends: add missing parse_replacelist() prototype f0c0a80 opkg_utils: add missing header e450488 libopkg: remove unused progress parameters from opkg_download() f4a55d1 libopkg: remove unused progress callback 7cbc466 libopkg: remove unused variable from opkg_install_package() 6fbf8a9 libbb: remove unused variables 7975c73 libbb: change gzip_read() buffer argument to void * 6e28563 libbb: fix gzip_thread() warnings 1ff2475 libopkg/opkg_cmd.c: more robust PATH handling 5dc3e33 libopkg: specify "/bin/sh" instead of "sh" Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* iwcap: fix handling kill signal during dumpFelix Fietkau2017-03-141-13/+13
| | | | | | Do not run another loop iteration before checking the stop flag Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: Add intel_idle driver to x86_64 buildMichael Marley2017-03-141-0/+1
| | | | | | | | | This driver supports CPU-specific idle features on recent Intel processors. It does not conflict with the ACPI idle driver and that driver will continue to be used for unsupported and non-Intel processors. Signed-off-by: Michael Marley <michael@michaelmarley.com>
* kernel: Add coretemp driver to x86_64 buildMichael Marley2017-03-141-0/+1
| | | | | | | | The x86_64 build already has the k10temp driver for AMD processors built in, so this patch adds the coretemp driver for the same functionality on Intel processors. Signed-off-by: Michael Marley <michael@michaelmarley.com>
* kernel: add missing config symbols for 4.9Felix Fietkau2017-03-141-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* umdns: update to the version 2017-03-14Rafał Miłecki2017-03-141-3/+3
| | | | | | | | | This includes 3 cleanups: fd5a160 Don't cache hosts as services 80dd246 Refresh DNS records A and AAAA directly 6515101 Access cached records (instead of services) to read list of hosts Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ipq806x: fix ethernet DMA parameters with linux 4.9Felix Fietkau2017-03-131-0/+22
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq806x: fix pcie with linux 4.9Felix Fietkau2017-03-132-3/+311
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* curl: update to version 7.53.1Hauke Mehrtens2017-03-134-42/+6
| | | | | | | This fixes the following security problem: * CVE-2017-2629 SSL_VERIFYSTATUS ignored Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mbedtls: update to version 2.4.2Hauke Mehrtens2017-03-132-4/+4
| | | | | | | | | This fixes the following security problems: * CVE-2017-2784: Freeing of memory allocated on stack when validating a public key with a secp224k1 curve * SLOTH vulnerability * Denial of Service through Certificate Revocation List Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: tpm: add Infineon i2c supportIan Pozella2017-03-131-0/+15
| | | | | | (based on openwrt "kernel: add tpm support") Signed-off-by: Ian Pozella <Ian.Pozella@imgtec.com>
* lantiq: vr9 fxs support: fixed check of SMP state within vpe-mt.cStefan Koch2017-03-131-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | SMP state is generally affected by - CONFIG_SMP build-time kernel configuration option and - 'nosmp' runtime kernel commandline option The SMP state within vpe-mt.c is determined by CONFIG_SMP option. A runtime check is needed if VPE functionality should be used with a kernel image that supports SMP. This fix introduces a check for 'nosmp' command line option if CONFIG_SMP kernel configuration option is enabled. Note: This patch is needed to use lantiq FXS if CONFIG_MIPS_MT_SMP (that activates CONFIG_SMP) is enabled within kernel configuration and the 'nosmp' command line argument is given to disable SMP at runtime. Without this patch CONFIG_MIPS_MT_SMP must be disabled before using FXS. With this patch setting the 'nosmp' parameter is enough. In general, concurrent usage of FXS and SMP is incompatible and will cause kernel panics. Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
* ipq806x: re-enable the RAM clock for gcc on 4.9Felix Fietkau2017-03-131-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq806x: fix crash on 4.9 if the rpm clock probe happens before cpuidle initFelix Fietkau2017-03-131-0/+16
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq806x: fix NAND support for linux 4.9Felix Fietkau2017-03-137-343/+397
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq806x: do not allocate coherent memory in dma engine hotpathFelix Fietkau2017-03-131-15/+29
| | | | | | | | | | | The available amount of coherent DMA memory is very limited. On Linux 4.4 this issue was worked around by increasing the pool size. It turns out that using coherent memory here is completely unnecessary. This change reworks the driver code to use kzalloc+dma_map_single instead. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq806x: clean up patches, port missing patches from 4.4John Crispin2017-03-1368-134/+4796
| | | | | Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq806x: sync 4.9 kernel config with 4.4John Crispin2017-03-131-1/+21
| | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: John Crispin <john@phrozen.org>
* ipq806x: clean up dts patching in 4.9Felix Fietkau2017-03-137-1159/+1298
| | | | | | | | | Do not patch upstream files, overwrite them entirely. The upstream files are buggy for a number of devices and this significantly simplifies the patch structure Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: John Crispin <john@phrozen.org>