aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* brcm2708: update linux 4.4 patches to latest versionÁlvaro Fernández Rojas2017-03-0843-9/+3194
| | | | | | | | | | As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y - led1 can't be controlled on rpi-3 for linux 4.4, remove it. - Fix modules.mk typos. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708-gpu-fw: update to latest versionÁlvaro Fernández Rojas2017-03-081-8/+8
| | | | | | This is needed in order to add support for the new RPi Zero W Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix Linksys RE6500 switch port mappingJo-Philipp Wich2017-03-071-1/+4
| | | | | | | | Properly map the internal switch ports to the proper LAN1..LAN4 labels. Fixes #530. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ppp: propagate master peerdns setting to dynamic slave interfaceJo-Philipp Wich2017-03-073-2/+4
| | | | | | | | | | Honour the parent interfaces peerdns option when spawning a virtual DHCPv6 interface in order to avoid pulling in IPv6 DNS servers when the user opted to inhibit peer DNS servers in the configuration. Fixes #597. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: update kernel 4.4 to 4.4.52Kevin Darbyshire-Bryant2017-03-033-11/+11
| | | | | | | | Bump kernel from 4.4.50 to 4.4.52 Refresh patches Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* bcm53xx: backport accepted BCM5301X and BCM53573 patchesRafał Miłecki2017-03-039-0/+689
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: include Broadcom PHY driver in the kernelRafał Miłecki2017-03-031-0/+2
| | | | | | | | | | | | | | | | | Initial idea was to use package with this PHY driver for devices that need it. Unfortunately this can't work as bgmac is built-in and PHY probing happens before loading modules - it results in PHY subsystem picking default (generic) PHY driver. There were two ways of solving this: 1) Making bcm53xx use bgmac as module xor 2) Built-in Broadcom PHY driver After some quick discussion it seems we can simply built-in the driver as increased kenel size is relatively small (1805 B). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kirkwood: fix include in etc/board.d/02_networkAlberto Bursi2017-03-011-0/+1
| | | | | | the mtd_get_mac_ascii function called within this script requires the inclusion of /lib/functions/system.sh Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* wireless-tools: Change download url to githubHsing-Wang Liao2017-03-011-1/+1
| | | | Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
* grub2: update to 2.02~rc1Alif M. Ahmad2017-03-011-2/+2
| | | | Signed-off-by: Alif M. Ahmad <alive4ever@live.com>
* iftop: bump to latest upstreamKevin Darbyshire-Bryant2017-03-012-73/+8
| | | | | | | | | Drops a LEDE carried patch now upstream. Convert to autotools. A number of nits fixed upstream (dns & short packet handling most notable) Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* swconfig: Bugfix switch_port uci option parsingBen Kelly2017-03-011-2/+2
| | | | | | | | When not defining 'device' or 'vlan' in relevant switch_port uci sections, behaviour is inconsistent due to *devn, *port and *vlan pointers not being zero initialized. Signed-off-by: Ben Kelly <ben@benjii.net>
* netifd: fix stopping netifd + interfacesFelix Fietkau2017-03-011-10/+3
| | | | | | | stop() is overwritten by rc.common, so implement stop_service instead. While at it, remove the now unnecessary restart() override Signed-off-by: Felix Fietkau <nbd@nbd.name>
* libpcap: add optional netfilter supportMartin Schiller2017-03-012-2/+9
| | | | | | This is needed to use the nflog interface with tcpdump Signed-off-by: Martin Schiller <mschiller@tdt.de>
* archs38: only calculate entry point address when necessaryFelix Fietkau2017-03-011-5/+2
| | | | | | | $(eval) runs even during prereq check, which can cause bogus error messages Signed-off-by: Felix Fietkau <nbd@nbd.name>
* arc770: only calculate entry point address when necessaryFelix Fietkau2017-03-011-5/+2
| | | | | | | $(eval) runs even during prereq check, which can cause bogus error messages Signed-off-by: Felix Fietkau <nbd@nbd.name>
* px5g: replace px5g-standalone with a statically linked variant of px5g-mbedtlsFelix Fietkau2017-03-0118-8017/+22
| | | | | | | | px5g-standalone only supports SHA1 for certificates, which is strongly deprecated. The new px5g-standalone is about 27k bigger (compressed), and has identical behavior to px5g-mbedtls (it uses SHA256). Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mbedtls: add --function-sections and --data-sections to CFLAGSFelix Fietkau2017-03-011-0/+2
| | | | | | | This allows binaries that links these libraries statically to be reduced by using --gc-sections on link Signed-off-by: Felix Fietkau <nbd@nbd.name>
* scripts/feeds: Reuse TOPDIR if defined in environmentMichal Sojka2017-03-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The feeds script sets value of TOPDIR in a way that is inconsistent with how toplevel Makefile sets it. The inconsistency manifests when I use a "build directory" with symlinks to LEDE source (see below). When make is invoked in such a directory, make's TOPDIR variable is set to that directory, whereas scripts/feeds sets TOPDIR to the top of LEDE source, which results in creating feeds directory inside the LEDE source instead of in the build directory. This patch changes the script so that it reuses the TOPDIR value form the environment if it exists. The result is that 'make package/symlinks' correctly fetches feeds to the build directory instead in the source. I use the following commands to create the build directory: ln -s $SRC/config config ln -s $SRC/Config.in Config.in ln -s $SRC/feeds.conf.default feeds.conf.default ln -s $SRC/include include ln -s $SRC/Makefile Makefile mkdir package ln -s $SRC/package/base-files package/base-files ln -s $SRC/package/boot package/boot ln -s $SRC/package/devel package/devel ln -s $SRC/package/firmware package/firmware ln -s $SRC/package/kernel package/kernel ln -s $SRC/package/libs package/libs ln -s $SRC/package/Makefile package/Makefile ln -s $SRC/package/network package/network ln -s $SRC/package/system package/system ln -s $SRC/package/utils package/utils ln -s $SRC/rules.mk rules.mk ln -s $SRC/scripts scripts ln -s $SRC/target target ln -s $SRC/toolchain toolchain ln -s $SRC/tools tools This allows me to easily test changes in LEDE on multiple targets. Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
* kernel: add Chinese codepagesHsing-Wang Liao2017-03-011-0/+32
| | | | Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
* gen-dependencies.sh: fix handling variations in "file" outputFelix Fietkau2017-03-011-1/+1
| | | | | | On some systems, file adds ", with debug info" after "not stripped" Signed-off-by: Felix Fietkau <nbd@nbd.name>
* rstrip.sh: fix handling variations in "file" outputFelix Fietkau2017-03-011-1/+1
| | | | | | On some systems, file adds ", with debug info" after "not stripped" Signed-off-by: Felix Fietkau <nbd@nbd.name>
* libpcap: remove feature dependencies on kmod-* packagesFelix Fietkau2017-03-011-2/+0
| | | | | | USB support could be built into the kernel as well Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ebtables: update to last commitAnsuel Smith2017-03-013-183/+12
| | | | | | Refreshed patches Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* hostapd: mv netifd.sh hostapd.shDaniel Albers2017-03-012-1/+1
| | | | | | same name for the file on the host and target Signed-off-by: Daniel Albers <daniel.albers@public-files.de>
* ath10k-firmware: update qca9984 firmwarePavel Kubelun2017-03-011-3/+3
| | | | | | Bump qca9984 firmware. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ppp: honor ip6table for IPv6 PPP interfacesUlrich Weber2017-03-012-1/+3
| | | | | | | | as we do for IPv4 PPP interfaces. When we create the dynamic IPv6 interface we should inherit ip6table from main interface. Signed-off-by: Ulrich Weber <ulrich.weber@riverbed.com>
* ppp: add pppoe-discovery to an independent packageFlorian Eckert2017-03-011-0/+17
| | | | | | | | pppoe-discovery performs the same discovery process as pppoe, but does not initiate a session Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* base-files: Added a deprecation notice on wifi detectDavid Pinilla Caparrós2017-03-011-1/+7
| | | | | | | | When running wifi detect, the user will be told on error output that wifi detect is deprecated, that wifi config must be used instead. Also the commit that changes it is referenced for further info. Signed-off-by: David Pinilla Caparrós <dpinitux@gmail.com>
* base-files: Add wifi config to wifi command usageDavid Pinilla Caparrós2017-03-011-2/+2
| | | | | | | | | | Since commit 5f8f8a366136a07df661e31decce2458357c167a wifi detect does not longer work and wifi config it's used to configure not yet configured wireless devices. This commit changes command usage to reflect that change. Signed-off-by: David Pinilla Caparrós <dpinitux@gmail.com>
* ar71xx: fix platform_find_rootfspart()Thibaut VARENE2017-03-011-1/+1
| | | | | | | | platform_find_rootfspart() fails if the kernel partition comes before the rootfs partition. The proposed patch fixes this while preserving what I understand was the original idea: stop at first match. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* uclibc++: patch bugfix erase() on derived __base_associativeBen Kelly2017-03-011-0/+40
| | | | | | | | | | | | | | | | | When calling erase() on a containers derived from __base_associative (e.g. multimap) and providing a pair of iterators a segfault will occur. Example code to reproduce: typedef std::multimap<int, int> testmap; testmap t; t.insert(std::pair<int, int>(1, 1)); t.insert(std::pair<int, int>(2, 1)); t.insert(std::pair<int, int>(3, 1)); t.erase(t.begin(), t.end()); Signed-off-by: Ben Kelly <ben@benjii.net>
* ramips: fix Airlink AR725W device titleMathias Kresin2017-03-011-1/+1
| | | | | | Gemtek is the ODM but the board was sold by Airlink101. Signed-off-by: Mathias Kresin <dev@kresin.me>
* scripts: get_source_date_epoch.sh: fix mercurial support, add mtime fallbackJo-Philipp Wich2017-03-011-2/+7
| | | | | | | | | | Add a fallback case to get_source_date_epoch.sh which reports the modification time of the script itself in case there is no SCM information available, e.g. when downloading .tar.gz or .zip tarballs produced by Github. Also fix the mercurial case while we're at it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ath10k-firmware: revert faulty PKG_SOURCE_DATE change from 7cb27b46Felix Fietkau2017-03-011-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath10k-firmware: update qca9984 firmware and board dataPavel Kubelun2017-03-011-5/+5
| | | | | | | | | Fixes firmware crash in rare cases and a bug ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode for those who kept experiencing it after previous firmware update. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ath10k-ct: Support ath10k CT firmware for 9887 chipsets.Ben Greear2017-03-011-3/+41
| | | | | | | | | | | And, update support for 9880 chipsets. The new firmware fixes a regression with EAPOL 4/4 packets added in a recent commit. It also fixes a case where the firmware would improperly try to use STBC when configured for 1x1 (as 9887 always is). Signed-off-by: Ben Greear <greearb@candelatech.com>
* scripts/getver.sh: append short git hash based on upstream commitMagnus Kroken2017-03-011-1/+2
| | | | | | | | | | | The short git hash suffix printed by getver.sh is taken from the latest local commit, change this to use the hash from latest upstream commit if available. This is considered the intended behavior based on commit message a642a11faca87e2a7bddc1fadb54253e2fc26e84, introducing getver.sh. Signed-off-by: Magnus Kroken <mkroken@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* leds-apu2: Add PC Engines APU2 LED driverChris Blake2017-03-014-0/+435
| | | | | | | This adds support for the PCB LEDs and Reset Button found on the PC Engines APU2/APU3 embedded boards. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* netfilter: re-enable TEE support for kernel 4.4Koen Vandeputte2017-03-011-1/+1
| | | | | | | | | It got disabled in commit 4454a3fb6375cf1adf17f63a54cd7660bc40caa7 but works nicely these days. Tested on cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* gpio-nct5104d: Add nct5104d driver packageChris Blake2017-03-014-0/+519
| | | | | | | | | | | | | | This adds support for the SuperIO chip nct5104d found on the PC Engines APU boards, which allows for a handful of additional ports, such as 2x additional UART pinouts, enabling an external watchdog (no driver for this functionality yet), and 16 GPIO pins. More info can be found at https://pcengines.ch/ht_gpio.htm Thanks to @feckert for helping package this. Cc: Florian Eckert <Eckert.Florian@googlemail.com> Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* x86/64: Enable GPIO sysfs & GPIO LED supportChris Blake2017-03-011-0/+9
| | | | | | | | The following changes enables GPIO sysfs as well as the LEDS_GPIO option within the kernel. This is required to enable LEDs over a GPIO interface. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* x86: drop ep80579-driversMathias Kresin2017-03-0129-13884/+0
| | | | | | | | The subtarget on which the driver still depends was removed with dee8986b95dcc200550faebe49c143e5d2357c60 because it was unmaintained for a long time. Signed-off-by: Mathias Kresin <dev@kresin.me>
* 6in4: add missing colon when setting default ca_pathDaniel Golle2017-03-011-1/+1
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* procd: update to latest git HEADJohn Crispin2017-03-011-3/+3
| | | | | | | | | | | 5f91241 procd: add cancel_timeout on rc scripts when a runtime_timeout is specified 961dc69 procd: stop service using SIGKILL if SIGTERM failed to do so Fixes FS#516. Signed-off-by: John Crispin <john@phrozen.org> (cherry picked from commit 946d1dfb87d41cf9ffb487522f6a84a5e87edafb) Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* procd: update to the latest versionFelix Fietkau2017-03-011-3/+3
| | | | | | | Fixes compatibility issues with glibc 2.25 Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry picked from commit 2ffb80bc9f829f81878b12a10b0a352d3f76c421)
* hostapd: fix feature indicationJo-Philipp Wich2017-03-011-2/+14
| | | | | | | | - Fix eap test to work with standalone hostapd builds - Fix 11n test to check the correct define - Add 11ac, 11r and 11w tests Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* relayd: fix making incomplete instance json dataYousong Zhou2017-02-262-7/+14
| | | | | | | | Defer procd_open_instance only after validity check passed. Fixes FS#541 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* relayd: remove old start-stop-service related codeYousong Zhou2017-02-261-15/+0
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ppp: ppp6-up: add executable permission bitYousong Zhou2017-02-261-0/+0
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>