aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* netfilter.mk: prepare for linux 4.9 supportFelix Fietkau2017-01-271-2/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: split up 980-arm_openwrt_machtypes.patch and move to target foldersFelix Fietkau2017-01-273-15/+16
| | | | | | This is only required for non-DT platforms Signed-off-by: Felix Fietkau <nbd@nbd.name>
* openvpn: add support for various new 2.4 configuration optionsMagnus Kroken2017-01-271-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: bump to 4.4.44Stijn Segers2017-01-2716-111/+64
| | | | | | | | Bump kernel to 4.4.44. Compile-tested on ar71xx, ramips/mt7621 and x86/64. .44 has been run-tested on the 17.01 branch here on ar71xx and mt7621. Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
* netfilter: re-enable TEE support for kernel 4.4Koen Vandeputte2017-01-271-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>
* kmod-sched-core: Add HTB and TBF traffic shapersToke Høiland-Jørgensen2017-01-271-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>
* gpio-nct5104d: Add nct5104d driver packageChris Blake2017-01-274-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-01-271-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>
* ramips: cleanup mt7620 Netgear image codeJoseph C. Lehner2017-01-273-17/+9
| | | | | | | 1. Reuse functions defined in `image-commands.mk` 2. Rename fakeroot image Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
* build: move append-file to image-commands.mkJoseph C. Lehner2017-01-272-4/+4
| | | | | | | Move it append-file to image-commands.mk so that it can used by other targets as well. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
* ramips: enable rlt8366s Green Feature for F5D8235 V1Tobias Wolf2017-01-271-0/+2
| | | | | | Enable the green feature for the board by default. Signed-off-by: Tobias Wolf <github-NTEO@vplace.de>
* generic: rtl836x: add support for Green FeatureTobias Wolf2017-01-271-62/+198
| | | | | | | | The GPL licensed source code of Belkin contains an ASIC based "Green Feature". This change adds support for this Green Feature that can be activated with an DTS option or swconfig. Signed-off-by: Tobias Wolf <github-NTEO@vplace.de>
* ramips: add rlt8366s initvals to the F5D8235 V1 DTSTobias Wolf2017-01-271-0/+39
| | | | | | | | | | Before this change only port 4 of F5D8235 V1 worked at 1000Mpbs. Comparing the current driver with the GPL_BELKIN_F5D8235-4_v1000 v1.01.24 sources showed that additional steps are required to set-up the rlt8366s switch correctly. Signed-off-by: Tobias Wolf <github-NTEO@vplace.de>
* generic: rtl8366s: add support support for initvals from DTSTobias Wolf2017-01-271-2/+27
| | | | | | | This change provides the possibility to define per-device initvals in the DTS file for a rlt8366s switch. Signed-off-by: Tobias Wolf <github-NTEO@vplace.de>
* ar71xx: fix Archer C7 LED colour namesMathias Kresin2017-01-271-4/+4
| | | | | | | | All LEDs on this board are green. Fixes: FS#409 Signed-off-by: Mathias Kresin <dev@kresin.me>
* odhcpd: update to git HEAD versionHans Dedecker2017-01-261-3/+3
| | | | | | | | c4f9ace odhcpd: decrease default log level to LOG_INFO a6eadd7 odhcpd: rework IPv6 interface address dump 44965f1 odhcpd: extra syslog tracing Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* netifd: update to git HEAD versionHans Dedecker2017-01-261-3/+3
| | | | | | 650758b interface-ip: route proto config support (FS#170) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* base-files: uppercase default hostname: LEDEYousong Zhou2017-01-261-1/+1
| | | | | | | The name will appear in shell prompt and LuCI page title. Uppercase letters seem to be more vigorous Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* generic: keep module aliases inside .modinfoYousong Zhou2017-01-262-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems module aliases are actually essential info. E.g. other modules may call xt_request_find_match(NFPROTO_IPV{4,6}, "hashlimit", 1) and the kernel will request user mode modprobe helper for ipt_hashlimit and ip6t_hashlimit respectively which are aliases of xt_hashlimit.ko Compile-tested for armvirt, there is nearly no size impact. Before -rw-r--r-- 1 yousong yousong 304 Jan 10 17:37 config.seed -rw-r--r-- 1 yousong yousong 1634 Jan 11 11:07 lede-armvirt-default.manifest -rw-r--r-- 1 yousong yousong 1533647 Jan 11 11:07 lede-armvirt-default-rootfs.tar.gz -rw-r--r-- 1 yousong yousong 1802711 Jan 11 11:07 lede-armvirt-root.ext4.gz -rw-r--r-- 1 yousong yousong 1544597 Jan 11 11:07 lede-armvirt-rootfs.cpio.gz -rw-r--r-- 1 yousong yousong 1174984 Jan 11 11:07 lede-armvirt-root.squashfs.gz -rwxr-xr-x 1 yousong yousong 1654712 Jan 11 11:07 lede-armvirt-zImage -rwxr-xr-x 1 yousong yousong 2738296 Jan 11 11:07 lede-armvirt-zImage-initramfs drwxr-xr-x 2 yousong yousong 4096 Jan 10 17:35 packages -rw-r--r-- 1 yousong yousong 739 Jan 10 17:37 sha256sums After -rw-r--r-- 1 yousong yousong 304 Jan 10 17:37 config.seed -rw-r--r-- 1 yousong yousong 1634 Jan 11 11:10 lede-armvirt-default.manifest -rw-r--r-- 1 yousong yousong 1533646 Jan 11 11:10 lede-armvirt-default-rootfs.tar.gz -rw-r--r-- 1 yousong yousong 1802711 Jan 11 11:10 lede-armvirt-root.ext4.gz -rw-r--r-- 1 yousong yousong 1544593 Jan 11 11:10 lede-armvirt-rootfs.cpio.gz -rw-r--r-- 1 yousong yousong 1174984 Jan 11 11:10 lede-armvirt-root.squashfs.gz -rwxr-xr-x 1 yousong yousong 1654736 Jan 11 11:10 lede-armvirt-zImage -rwxr-xr-x 1 yousong yousong 2738144 Jan 11 11:10 lede-armvirt-zImage-initramfs drwxr-xr-x 2 yousong yousong 4096 Jan 10 17:35 packages -rw-r--r-- 1 yousong yousong 739 Jan 10 17:37 sha256sums Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ubox: import kmodloader fixesJo-Philipp Wich2017-01-261-3/+3
| | | | | | | | | | | | | | | | Update ubox to latest Git head in order to import the following fixes: 14839f0 kmodloader: make insert_module() idempotent 6e3c6dc kmodloader: add module alias awareness 9371411 kmodloader: fix out-of-bound access when parsing .modinfo a62c946 kmodloader: modprobe: skip possible command line arguments 46a4b5f kmodloader: log to kmsg when loading directories of modules eacc426 kmodloader: remove redundant glob wildcard char 8488bb5 ubox: Initialize conditionally uninitialized variable db070f1 ubox: Fix some memory leaks acc48b5 kmodloader: Fix typo in error message Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ubox: install kernel module utilities to /sbin directoryYousong Zhou2017-01-261-5/+5
| | | | | | | | This is how other Linux distributions are doing and kernel modprobe_path[] of request_module() also has a default value of /sbin/modprobe Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* procd: update procd.sh to disallow signal-numbers, enforce signal-namesBastian Bittorf2017-01-261-1/+4
| | | | | | | | | | | | A given signal-name is now converted to the corresonding number. In general it's good style to use names (readability) and it's more portable: signal numbers can be architecture-dependent, so we are more safe giving names. A real world example is signal 10, which is BUS on ramips and USR1 on PPC. All users of 'procd_send_signal' must change their code to reflect this. Signed-off-by: Bastian Bittorf <bb@npl.de>
* openvpn: ssl-enabled variants also provide a virtual openvpn-crypto packageSven Roederer2017-01-261-1/+5
| | | | | | | | | | When relying on x.509 certs for auth and / or encryption of traffic you can't use package openvpn-nossl. Just have your package depend on openvpn-crypto to have SSL-encryption and X.509-support enabled in OpenVPN. If encryption / X.509 is not a must, use virtual packge openvpn, which is provided by all OpenVPN-variants. Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
* uClibc-ng: update to 1.0.21Etienne Haarsma2017-01-262-2/+2
| | | | Signed-off-by: Etienne Haarsma <bladeoner112@gmail.com>
* ramips: ZyXEL Keenetic Omni/Omni2: export gpio usb powerVitaly Chekryzhev2017-01-262-0/+22
| | | | | | Export gpio usb to allow power management of USB port. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
* ramips: ZyXEL Keenetic Viva: align factory imagesVitaly Chekryzhev2017-01-261-1/+1
| | | | | | ZyXEL web-flasher requires squashfs to be aligned to 64kb. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
* ramips: ZyXEL Keenetic Viva: export gpio usb powerVitaly Chekryzhev2017-01-261-0/+11
| | | | | | Export gpio usb to allow power management of USB port. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
* procd: update to latest git HEADMatthias Schiffer2017-01-261-3/+3
| | | | | | 0f58977 init: fix /tmp permissions on zram Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* iproute2: cake: add 'mpu' minimum packet length supportKevin Darbyshire-Bryant2017-01-262-4/+28
| | | | | | | Add 'mpu' minimum length packet size parameter for scheduling/bandwidth accounting. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* kmod-sched-cake: add 'mpu' minimum packet length supportKevin Darbyshire-Bryant2017-01-261-3/+3
| | | | | | | Add 'mpu' minimum packet length for scheduling/bandwidth accounting purposes. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* ramips: add ip17xx support to WLI-TX4-AG300NYo Abe2017-01-261-0/+1
| | | | | | | | | ramips/rt288x WLI-TX4-AG300N was missing support for its 100Mbit switch which should be included by default. Signed-off-by: Yo Abe <abe.geel@gmail.com> [Jo-Philipp Wich: picked from OpenWrt PR#359, rewrap commit msg, fix Sob] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* hostapd: default to wps_independent 1Steven Honson2017-01-261-1/+2
| | | | Signed-off-by: Steven Honson <steven@honson.id.au>
* hostapd: expose wps_independent and ap_setup_locked as uci optionsSteven Honson2017-01-261-3/+5
| | | | | | | ap_setup_locked is named wps_ap_setup_locked in uci for consistency with other wps related uci options. Signed-off-by: Steven Honson <steven@honson.id.au>
* ramips: fix EX2700 wireless macJoseph C. Lehner2017-01-261-13/+11
| | | | | | | | On some EX2700 devices, the MAC address from the eeprom data differs from the actual MAC address. Fix that, and cleanup the DTS file while we're at it. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
* mwlwifi: Fixes rewritten history hash and latest versionGabe Rodriguez2017-01-261-1/+1
| | | | | | | | The author of the upstream mwlwifi edited the history of the previous commit. This commit not only fixes the updated hash but also sends in the latest commits he made to the code which are mainly testing. Signed-off-by: Gabe Rodriguez <lifehacksback@gmail.com>
* kernel: update Broadcom PHY driversRafał Miłecki2017-01-264-0/+700
| | | | | | | This commit adds 4 patches, one per kernel version that was used for picking updates. This adds support for few new PHYs. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* Fix dependency for hostapdWilco Baan Hofman2017-01-261-1/+1
| | | | Signed-off-by: Wilco Baan Hofman <wilco@baanhofman.nl>
* ar71xx: add support to TP-Link Archer C59v1 and C60v1Henryk Heisig2017-01-2616-0/+531
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TP-Link Archer C59v1 is a dual-band AC1350 router, based on Qualcomm/Atheros QCA9561+QCA9886. Specification: - 775/650/258 MHz (CPU/DDR/AHB) - 128 MB of RAM (DDR2) - 16 MB of FLASH (SPI NOR) - 3T3R 2.4 GHz - 2T2R 5 GHz - 5x 10/100 Mbps Ethernet - USB 2.0 port - 8x LED (controled by 74HC595), 3x button - UART header on PCB TP-Link Archer C60v1 is a dual-band AC1350 router, based on Qualcomm/Atheros QCA9561+QCA9886. Specification: - 775/650/258 MHz (CPU/DDR/AHB) - 64 MB of RAM (DDR2) - 8 MB of FLASH (SPI NOR) - 3T3R 2.4 GHz - 2T2R 5 GHz - 5x 10/100 Mbps Ethernet - 7x LED, 2x button - UART header on PCB Currently not working: - Port LAN1 on C59, LAN4 on C60 - WiFi 5GHz (missing ath10k firmware for QCA9886 chip) - Update from oficial web interface ( tplink-saveloader not support "product-info") Flash instruction: 1. Set PC to fixed ip address 192.168.0.66 2. Download lede-ar71xx-generic-archer-cXX-v1-squashfs-factory.bin and rename it to tp_recovery.bin 3. Start a tftp server with the file tp_recovery.bin in its root directory 4. Turn off the router 5. Press and hold Reset button 6. Turn on router with the reset button pressed and wait ~15 seconds 7. Release the reset button and after a short time the firmware should be transferred from the tftp server 8. Wait ~30 second to complete recovery. Flash instruction under U-Boot, using UART: 1. tftp 0x81000000 lede-ar71xx-...-sysupgrade.bin 2. erase 0x9f020000 +$filesize 3. cp.b $fileaddr 0x9f020000 $filesize 4. reset Signed-off-by: Henryk Heisig <hyniu@o2.pl> [Jo-Philipp Wich: remove duplicate ATH79_MACH_ARCHER_C59/C60_V1 entries] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: QCA956X: add missing registerHenryk Heisig2017-01-266-4/+66
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ar71xx: fix netgear wndr3700 v1/v2, wndr3800/wndr3800ch switch port mappingQian Zheng2017-01-261-2/+5
| | | | Signed-off-by: Qian Zheng <sotux82@gmail.com>
* ar71xx: fix netgear wnr2000 v3 switch port mappingQian Zheng2017-01-261-2/+2
| | | | | | Signed-off-by: Qian Zheng <sotux82@gmail.com> [Jo-Philipp Wich: fix alphabetical order after merging with gl-ar300 case] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: fix tl-wr841n-v7 switch port mappingQian Zheng2017-01-261-1/+5
| | | | | | Signed-off-by: Qian Zheng <sotux82@gmail.com> [Jo-Philipp Wich: fix alphabetical order] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* opkg: clarify messages and errors related to downloadsHannu Nyman2017-01-262-1/+62
| | | | | | | | | | | | | Clarify opkg's messages related to downloads: * more visible error message for package list download failure * separate error message for signature file download error * if wget returns 4, signal the network error more clearly * remove '.' from end of filenames and URLs * try signature check only if the package list was downloaded ok. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* 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 video feed to feeds.conf.defaultMirko Vogt2017-01-251-0/+1
| | | | Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
* 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>
* mediatek: update the ethernet compat stringJohn Crispin2017-01-255-6/+6
| | | | | | | mt2701 is an earlier version of the ip core, so use that compat string as baseline. Signed-off-by: John Crispin <john@phrozen.org>
* uboot-lantiq: mark SPL variants as brokenMathias Kresin2017-01-251-0/+5
| | | | | | | | | | | | | | | | | All SPL variants are lzo compressed. The lzop binary is used for compression but is not available in tools. Additionally at least the NAND SPL support is broken and doesn't create working bootloaders. The fb3370 SPI NOR SPL enabled u-boot isn't required for LEDE since the LEDE images are targeting the pre-installed EVA bootloader. Mark these u-boot variants as well as the SPL variants for the reference boards as broken till the lzma issues are fixed upstream and we can use lzma instead of lzo compression. Signed-off-by: Mathias Kresin <dev@kresin.me>