aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kernel: ar8327/ar8337: disable ARL access code to avoid lockups (FS#384)Jo-Philipp Wich2017-02-011-0/+6
| | | | | | | | | | Running ar8327_get_arl_entry() early after boot leads to MDIO related system lockups on several devices using this driver. Since dumping the ARL table contens is an optional, uncritical feature, simply disable the code for now. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* bcm53xx: fix LAN MAC address for devices that use eth2 originallyRafał Miłecki2017-02-011-0/+6
| | | | | | | | We override default Ethernet interface with eth0 which often uses random MAC due to missing proper NVRAM entry. Fix this by manually assigning MAC in the config. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ar71xx: add missing DEVICE_TITLE for mikrotik devicesFelix Fietkau2017-02-011-0/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: Fix mikrotik subtarget default profile for device profile selectionAlex Samorukov2017-02-011-0/+1
| | | | Signed-off-by: Alex Samorukov <samm@os2.kiev.ua>
* ar71xx: improve Mikrotik hAP Lite device supportAlex Samorukov2017-02-013-4/+5
| | | | | | | | - remove CONFIG_MTD_SPI_NOR_USE_4K_SECTORS - enable jffs2 support - fix sysupgrade Signed-off-by: Alex Samorukov <samm@os2.kiev.ua>
* ar71xx: mark soft_config mtd part as writeable for RB-941-2nDThibaut VARENE2017-02-011-1/+0
| | | | | | | | | The soft_config partition must be writeable for rbcfg to be able to enact changes to the routerboot configuration. The read-only flag was a mistake in the initial patch. Removing it brings mach-rb941.c in line with all other RB platforms. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* ar71xx: fix up the kernel config for the mikrotik subtargetFelix Fietkau2017-02-011-0/+64
| | | | | | Limit enabled devices to routerboards, disable all other devices Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix network config for Mikrotik RB411UCezary Jackiewicz2017-02-011-0/+1
| | | | | | | Mikrotik RB411U has only one ethernet port - eth0. This patch allows to create correct config with one lan section. Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ar71xx: add support for RB-941-2nDThibaut VARENE2017-02-0111-4/+243
| | | | | | | | | | | | | | | | Add full support for Mikrotik RB-941-2nD (hAP lite) Original patch by Sergey Sergeev <adron@yapic.net> and more information is available here: https://wiki.openwrt.org/toh/mikrotik/rb941_2nd I updated and adapted the patch to apply cleanly to LEDE trunk and added proper numbering for the switch ports (matching case labels). Tested working on actual hardware with the information provided in the above webpage. Sysupgrade works. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: convert mikrotik routerboard support to UBIFelix Fietkau2017-02-0113-114/+80
| | | | | | | | | | Remove the wget2nand script, drop the need for manual installation, use sysupgrade instead. There are now two different NAND images, one for 64 MiB flashes, the other for >= 128 MiB Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: create a proper default profile for the mikrotik subtarget, drop ↵Felix Fietkau2017-02-012-23/+6
| | | | | | other profiles Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: update kernel2minor to 0.24 versionSergey Sergeev2017-02-014-61/+4
| | | | Signed-off-by: Sergey Sergeev <adron@yapic.net>
* base-files: don't overwrite model name set by targetMathias Kresin2017-02-011-1/+1
| | | | | | | | | | | The condition is always true due to the literal string followed the -n test parameter. A model name set by target scripts always gets overwritten this way. Change the condition to check for an already existing destination file as it was before 5e85ae9 ("base-files: fix error message during boot"). Signed-off-by: Mathias Kresin <dev@kresin.me>
* mt76: update to the latest versionFelix Fietkau2017-01-311-3/+3
| | | | | | Fixes DFS detection false positive issues Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update bcma to fix devm memory leaksRafał Miłecki2017-01-313-2/+133
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ath9k: remove the deaf rx path state check patchFelix Fietkau2017-01-3110-149/+53
| | | | | | | This needs to be refined and reworked before we can safely leave it enabled by default Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mdns: update to the latest versionFelix Fietkau2017-01-311-3/+3
| | | | | | | - fixes unaligned acccesses, causing DNS parsing issues on ARMv5 - fixes service timeout handling Signed-off-by: Felix Fietkau <nbd@nbd.name>
* download.pl: fix detecting download errors with curlFelix Fietkau2017-01-311-1/+1
| | | | | | Avoid treating error pages as successfully downloaded content Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: add missing DTS pcie node for WSR-600Felix Fietkau2017-01-311-0/+21
| | | | | | Enables PCI bus and support for the MT7603 and RT5592 chips Signed-off-by: Felix Fietkau <nbd@nbd.name>
* qemu: rename internal crypto/aes symbolsStijn Tintel2017-01-301-1/+7
| | | | | | | | | | | Qemu's local AES code defines symbols that conflict with LibreSSL/OpenSSL's libcrypto. Rename them to avoid build problems. See upstream commit c8d70e59738e672021926c7747af8ef9dea15c82. Fixes FS#444. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* tools/qemu: use default host configure rule ; set appropriate vars & argsAlexandru Ardelean2017-01-301-9/+7
| | | | | | | | | | | Admittedly, this is my own OCD wanting to get rid of this. Because I tried (a while back to upgrade QEMU to a newer version), and (during that attempt) I tried to get rid of this. Tested on Linux & Mac. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* lantiq: fix unaligned access in xrx200_poll_rx()Alexander Couzens2017-01-301-2/+2
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ledtrig-netdev: don't cancel work on events for different interfacesSergey Sergeev2017-01-291-3/+3
| | | | | | | | | This fixes logic bug(in function netdev_trig_notify) introduced in 0b2991a8ed32b5d9ba0a7c3441a72e1c1a1c4fde commit. Events triggered by different interfaces were stopping work queue so it wasn't working for tx/rx mode. Signed-off-by: Sergey Sergeev <adron@yapic.net>
* kmod-sched-core: Add HTB and TBF traffic shapersToke Høiland-Jørgensen2017-01-291-3/+3
| | | | | | | | | | | | HTB and TBF are the basic traffic shapers used by sqm-scripts. Moving these into kmod-sched-core enables sqm-scripts to downgrade its dependency from kmod-sched to kmod-sched-core, potentially making it useful on devices with smaller flash sizes. This adds around 30k to the size of kmod-sched-core (20k for sch_htb.ko and 10k for sch_tbf.ko). Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
* ar71xx: prepare jffs2 partition properly in factory.bin for BHR-4GRV2FUKAUMI Naoki2017-01-281-1/+1
| | | | | | "pad-rootfs" is required just after "append-rootfs". Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
* mxs: remove stale references to obsolete kernel module packagesMichael Heimpold2017-01-284-12/+4
| | | | | | | Commit 29443e2 (mxs: remove modules.mk, select drivers in the kernel config) missed to remove these references, so cleanup it now. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* openvpn: add support for various new 2.4 configuration optionsMagnus Kroken2017-01-281-24/+19
| | | | | | | Updates to openvpn.init were included in early OpenVPN 2.4 patch series, but got lost along the way and were never merged. Signed-off-by: Magnus Kroken <mkroken@gmail.com>
* kernel: backport support for BCM54210E PHYRafał Miłecki2017-01-282-27/+126
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: backport support for BCM54810 PHYRafał Miłecki2017-01-281-12/+164
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: backport support for BCM54612E PHYRafał Miłecki2017-01-281-0/+103
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* openssl: update to version 1.0.2kHauke Mehrtens2017-01-286-13/+13
| | | | | | | | | This fixes the following security problems: CVE-2017-3731: Truncated packet could crash via OOB read CVE-2017-3732: BN_mod_exp may produce incorrect results on x86_64 CVE-2016-7055: Montgomery multiplication may produce incorrect results Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: fix brnImage signature for the VGV7510KW22BRN imagesMathias Kresin2017-01-281-2/+2
| | | | | | | | The VGV7510KW22BRN and VGV7519BRN do not have the same brnImage signature. It was accidentally changed with ba42c1d ("lantiq: un-macro the image building code"). Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath9k: fix up a refcount imbalance error in the IRQ related fixFelix Fietkau2017-01-273-7/+39
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* procd: update to latest git HEADMatthias Schiffer2017-01-271-3/+3
| | | | | | 0f58977 init: fix /tmp permissions on zram Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* base-files: fix user creation on sysupgrade with few opkg control filesMatthias Schiffer2017-01-271-1/+1
| | | | | | | | | | | If only a single opkg control file exists (which can happen with CONFIG_CLEAN_IPKG), grep would not print the file name by default. Instead of forcing it using -H, we just switch to -l (print only file names) and get rid of the cut. Add -s to suppress an error message when no control files exist. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* include/rootfs.mk: keep Require-User lines with CONFIG_CLEAN_IPKGMatthias Schiffer2017-01-271-1/+9
| | | | | | | | Require-User is handled by /etc/uci-defaults/13_fix_group_user on first boot, so we need to keep these when removing all opkg data with CONFIG_CLEAN_IPKG. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* imagebuilder: properly escape single quotes in device titlesJo-Philipp Wich2017-01-261-1/+1
| | | | | | | | | | | | | The name "Plat'Home OpenBlocks AX3" causes the imagebuilders "make info" command to fail with: bash: -c: line 0: syntax error near unexpected token `(' bash: -c: line 0: `echo; [...]' Makefile:99: recipe for target '_call_info' failed Properly escape single quotes to avoid breaking the echo commands. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ath9k: add stability fixes for long standing hang issues (FS#13, #34, #373, ↵Felix Fietkau2017-01-2516-57/+523
| | | | | | | | | | | | | #383) The radio would stop communicating completely. This issue was easiest to trigger on AR913x devices, e.g. the TP-Link TL-WR1043ND, but other hardware was occasionally affected as well. The most critical issue was a race condition in disabling/enabling IRQs between the IRQ handler and the IRQ processing tasklet Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: refresh patchFelix Fietkau2017-01-251-17/+17
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Add back the commit "ath9k: Add airtime fairness scheduler"Felix Fietkau2017-01-259-15/+728
| | | | | | | | | This reverts commit c296ba834db4ce8c71e0ad7030aab188fe60b27b. According to several reports, the issues with the airtime fairness changes are gone in current versions. It's time to re-apply the patch now. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: disable building Linksys EA6300 V1 imageRafał Miłecki2017-01-251-1/+2
| | | | | | | This device has 2 TRX partitions (main one and failsafe one) and Linux may not detect them properly failing to run userspace. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* x86: fix sysupgrades on disks with 4k block sizeFelix Fietkau2017-01-251-9/+2
| | | | | | | Even when the disk uses 4k blocks, the partition table still uses units of 512 byte sectors. Always use ibs=512 for the offsets Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: brcmfmac: don't use uninitialize mem for country codesRafał Miłecki2017-01-241-2/+2
| | | | | | | There was a bug in brcmfmac patch that could result in treating random memory as source of country codes. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: move (& update) upstream accepted brcmfmac patchesRafał Miłecki2017-01-245-0/+3
| | | | | | These 3 patches are now in wireless-drivers-next tree. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: backport arch patch with Luxul devices supportRafał Miłecki2017-01-242-14/+260
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* packages: mark packages depending on a target as nonsharedMathias Kresin2017-01-248-0/+16
| | | | | | | | | The packages can't be build as shared packages due to the unmet dependencies. Fixes FS#418. Signed-off-by: Mathias Kresin <dev@kresin.me>
* sdk: explicitely remove ccache directories when packing SDKJo-Philipp Wich2017-01-241-0/+6
| | | | | | | | | | Upon first invocation, the ccache program will create the required directory hierarchy so there is no point in shipping these empty directories. Removing those paths also avoids shipping dangling symlinks in case the directories got linked elsewhere, e.g. into a shared global cache. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* lantiq: remove CPU_TYPE:=mips32r2, it gets overwritten anywayFelix Fietkau2017-01-241-2/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: unify CPU_TYPE for legacy and geodeFelix Fietkau2017-01-242-5/+2
| | | | | | | | | | According to some reports, -march=pentium-mmx is a better choice for older Geode CPUs than -march=geode anyway. Bump the minimum architecture of the legacy target from i486 to pentium-mmx. Anything older is not worth supporting anyway. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uml: mark as source-onlyFelix Fietkau2017-01-241-1/+1
| | | | | | Get rid of a special case in the buildbot script Signed-off-by: Felix Fietkau <nbd@nbd.name>