aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* iptables: fix wrong depends for nftables support (FS#707)Ansuel Smith2017-04-221-1/+1
| | | | | | | The dep for the nftables support was wrong, if someone actually enable that option gain a compilation error. This fix this problem. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ar71xx: fix minor syntax error in /lib/upgrade/platform.shMatthias Schiffer2017-04-221-1/+1
| | | | | | | Fix a '==' that should be a '=' in a test condition. Busybox fortunately doesn't care. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ramips: update DEVICE_PACKAGES for Ubiquiti EdgeRouter XMatthias Schiffer2017-04-221-1/+1
| | | | | | Fixes removal of unneeded kernel modules with per-device rootfs. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ramips: add former board names to PSG1218 variantsDaniel Golle2017-04-211-0/+2
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* busybox: fix build of nslookup_lede applet without IPv6 (#728)Jo-Philipp Wich2017-04-211-9/+33
| | | | | | | | | Protect any IPv6 related with appropriate guards to fix compilation with disabled IPv6 support in Busybox. Fixes #728. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* lantiq: improve DGN3500 LED definitionsKevin Darbyshire-Bryant2017-04-212-9/+65
| | | | | | | | | | | | | | | | Add red:internet led on gpio 30 previously claimed as missing. Wifi led was claimed as blue however there are no blue leds on the board at all. Actually there are two wifi leds, green & amber so add definitions for those. Make the newly discovered green wifi led gpio 14 the default. There is no amber power led on this board. The mention of the amber power led in the manual means power red and power green at the same time. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> [removed unnecessary aliases, add migration script] Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: dont replace the board nameMathias Kresin2017-04-216-45/+88
| | | | | | | | | | Use fixed led names and add each board variant instead of manipulating the board name. It makes the ramips board name function less different to the one used in other targets and allows to merge them with a common function. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add former used board names to metadataMathias Kresin2017-04-212-0/+8
| | | | | | | | | We need to keep the former used (unmodified) boardname in the metadata. Otherwise an upgrade from an board using the old boardname will be refused. Fixes: a75ce960ac1b ("ramips: use different board names for variants") Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: rename PSG1218 to match labelDaniel Golle2017-04-218-30/+30
| | | | | | | | Fix previous commit to be less ambigous: PSG1218 rev.A = 5 ports, external PA, heatsinks PSG1218 rev.B = 4 ports, internal PA, no heatsinks Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ramips: split Phicomm PSG1218 and PSG1218K2CDaniel Golle2017-04-219-84/+145
| | | | | | | | | PSG1218 got only 4 Ethernet ports and WAN on port 3 while PSG1218K2C got 5 Ethernet ports and WAN on port 4 Switch to use kmod-kt76x2 instead of kmod-mt76 for both devices while at it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* bcm53xx: enable Northstar thermal driverRafał Miłecki2017-04-202-0/+10
| | | | | | | It allows monitoring CPU temp and will shutdown system on critical value. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport DT patches for serial, thermal and MDIORafał Miłecki2017-04-2010-2/+576
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* generic: mtd: backport mx25u25635f stateless 4b supportMathias Kresin2017-04-192-1/+30
| | | | | | | | | Use the stateless 4-byte op codes for this flash chip to fix reboot hangs on SoCs expecting the flash chip in 3-byte mode. Fixes: FS#179 Signed-off-by: Mathias Kresin <dev@kresin.me>
* mac80211: rt2800: fix mt7620 E2 channel registersTomislav Požega2017-04-181-0/+41
| | | | | | | | update RF register 47 and 54 values according to vendor driver Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org> [daniel@makrotopia.org: moved changes into a separate patch]
* mac80211: rt2800: fix mt7620 vco calibration registersTomislav Požega2017-04-181-0/+50
| | | | | | | | | | Use register values from init LNA function instead of the ones from restore LNA function. Apply register values based on rx path configuration. Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org> [daniel@makrotopia.org: moved changes into a separate patch]
* mac80211: fix kconfig recursive dependency warningFelix Fietkau2017-04-181-2/+1
| | | | | | | | | | | | | Make brcmfmac depend on !TARGET_uml. Technically, brcmfmac could be built for uml because only SDIO support won't work on that target. However, selectively avoiding the dependency propagation of !TARGET_uml from kmod-mmc to avoid including a reference to BRCMFMAC_SDIO doesn't work. In practice, brcmfmac is completely useless on uml, so let's just disable it there. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: rt2x00: fix MT7620 LNA gain and VCO-after-ALCDaniel Golle2017-04-172-0/+88
| | | | | | | This should fix issues with bad RX as well as AP not coming up and/or scanning failing. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* dnsmasq: fix uninitialized varname in init-scriptBastian Bittorf2017-04-171-1/+1
| | | | | | | | | minor/cosmetic: fixes the following misleading message: root@box:~ /etc/init.d/dnsmasq restart sh: out of range Signed-off-by: Bastian Bittorf <bb@npl.de>
* Revert "mvebu: remove linux 4.4 support"Felix Fietkau2017-04-1779-0/+14294
| | | | | | | | This reverts commit 51397d7d95d9f5e210a5557f65de1fa21e6f5921. There are some unresolved random crashes on WRT1900AC v1 that still need to be sorted out Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to 4.4.61Jo-Philipp Wich2017-04-155-117/+9
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* brcm2708: disable CONFIG_BCM2835_THERMAL by defaultRafał Miłecki2017-04-153-0/+3
| | | | | | | | | | | This fixes: Thermal sensors on bcm2835 SoC (BCM2835_THERMAL) [N/m/y/?] (NEW) aborted! This symbol depends on ARCH_BCM2835 so it should be OK to disable it at brcm2708 target only. Fixes: 7d32caa61fb0 ("brcm2708: backport upstream sdhost controller driver") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: backport Broadcom thermal driversRafał Miłecki2017-04-147-0/+1339
| | | | | | This includes driver for Northstar and for Raspberry Pi. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ramips: really drop the rt-n56u factory imageMathias Kresin2017-04-131-1/+0
| | | | | | Remove the stale reference to the factory image. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ar71xx: fix ath9k default LED changes falloutMathias Kresin2017-04-134-13/+22
| | | | | | | | | | | | | | | | Since 192f0a3db859 ("ath9k: unset the default LED pin if used by platform leds") the default ath9k wireless LED is not set as soon as any pin of the ath ath9k gpio controller is used. All touched boards have leds defined which are using the gpio pins exposed by the ath9k driver but rely on a default set wireless led trigger. Add the wireless leds were missing and setup the wireless phy trigger in userspace. Signed-off-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix Netgear R6220 package selectionMathias Kresin2017-04-131-1/+1
| | | | | | | | | | | | | The Netgear R6220 requires the kmod-usb3 package and misses kmod-usb-ledtrig-usbport package to setup the configured usb led trigger. Drop the already target selected kmod-mt76. Fixes: FS#686 Fixes: 38bee61dab02 ("ramips: add support for Netgear R6220") Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add RP-N53 pcie wireless eepromMathias Kresin2017-04-131-0/+9
| | | | | | | | | | Fix the PCIe 5GHz wireless by using the on flash eeprom/caldata. Disable the 2.4GHz band as this band has no antennas attached but is enabled in the eeprom/caldata. Fixes: FS#691 Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix WHR-600D eeprom dt propertyMathias Kresin2017-04-131-3/+3
| | | | | | | | | | | Fix the PCIe 5GHz wireless by using the ralink mtd-eeprom property as this board have a RT5592 and uses the rt2x00 driver. The mediathek device tree bindings do not work here. Fixes: FS#691 Fixes: d8dd207ea6f2 ("ramips: use the ralink,mtd-eeprom device tree property") Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: drop rt-n56u factory imageMathias Kresin2017-04-131-2/+0
| | | | | | | | | | | | | | | | | | | | | | The factory image has an uImage header covering the entire image and not only the kernel. The original uImage header which covers only the kernel is appended to the end of the image. During LEDE boot the uImage rootfs splitter skips the whole filesystem, can't find a valid filesystem magic and panics. The last known working version was OpenWrt 14.07, which simply kept on searching for an uImage header if the first found didn't resulted into a working rootfs. This behaviour is kind of error prone since it could produce false positives. Since the sysupgrade image works fine in combination with the tftp recovery for doing the initial installation of LEDE, simply drop the factory image. Related: FS#462 Signed-off-by: Mathias Kresin <dev@kresin.me>
* busybox: Move libresolv detection to LEDE MakefileFlorian Fainelli2017-04-122-18/+6
| | | | | | | | | | | Since the LEDE nslookup applet is already specific to LEDE, move the libresolv detection into the busybox Makefile that LEDE uses. This fixes builds with external toolchains that don't automatically search for headers and/or libraries without being told so. Fixes: de5b8e5d2fe1 ("busybox: add musl compatible nslookup replacement") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* mac80211: add rt2x00 debug symbols to PKG_CONFIG_DEPENDSJonas Gorski2017-04-121-0/+2
| | | | | | | Chaning these symbols require a recompilation of the modules, so make the system aware of it. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* mac80211: manually apply dependencies to prevent a recoursive oneJonas Gorski2017-04-121-1/+2
| | | | | | | Apply the !UML dependency to both the symbol and the DEPENDS so there is no recursive dependency anymore. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* cns3xxx: enable mpcore watchdogKoen Vandeputte2017-04-121-1/+1
| | | | Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* cns3xxx: fix mpcore watchdogKoen Vandeputte2017-04-121-5/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original implementation loaded the count register with (wrong) semi- random values due to its implemenation nature. If the wrongly calulated value was below the kickrate, the WD was triggered and rebooted the system. Rework this, partly based on upstream patches, to dynamically fetch the current clockrate and calculate the proper offset for the WD countdown register. Before: [ 143.800000] count val: 27219720 [ 148.820000] count val: 50623201 [ 153.830000] count val: 96425250 [ 158.830000] count val: 89735401 [ 163.840000] count val: 4756110 After: [ 0.700000] MPCore WD init. clockrate: 299984500 prescaler: 256 countrate: 1171814 timeout: 60s [ 358.530000] count val: 35154751 [ 363.540000] count val: 35154750 [ 368.540000] count val: 35154751 [ 373.550000] count val: 35154750 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* cns3xxx: refresh kernel configKoen Vandeputte2017-04-121-1/+0
| | | | Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* cns3xxx: remove linux 4.4 supportKoen Vandeputte2017-04-1224-1294/+0
| | | | Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* grub2: update to 2.02~rc2Alif M. Ahmad2017-04-121-2/+2
| | | | | | Update to version 2.02~rc2. Signed-off-by: Alif M. Ahmad <alive4ever@live.com>
* mac80211: conistent wireless.wiki.kernel.orgMatthias Fritzsche2017-04-121-7/+7
| | | | | | | Change all the URLs to wireless.wiki.kernel.org to have the same protocol, domain and path. Signed-off-by: Matthias Fritzsche <txt.file@txtfile.eu>
* iptables: set ABI_VERSION to force rebuild of dependent packagesFelix Fietkau2017-04-121-0/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* iptables: bump to 1.6.1Ansuel Smith2017-04-129-304/+103
| | | | | | | | | Switch to git repo Removed musl patch Refreshed existing patch Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanup]
* binutils: fix build with host gcc < 4.9Hauke Mehrtens2017-04-122-0/+1323
| | | | | | | | | binutils 2.27 checks if the target compiler supports -Wstack- usage=262144, and also uses this setting for the host compiler. If the host compiler is gcc < 4.9 binutils build will fail. This backports 2 commits which are fixing this problem for binutils 2.28. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* base-files: use restart if no reload hook for serviceAlexandru Ardelean2017-04-121-4/+3
| | | | | | | | | | | | | | | | | | | | | | | This was also working before, with a slightly different semantic. [ Original semantic ] If no reload hooks was implemented, the default one would kick in, it would return fail, and restart would happen. This would happen also in the case where a reload hook would be implemented, it would fail, and it would restart the service. [ New semantic ] The default reload hook calls restart. Services can implement their own reload. If reload fails, then the '/etc/init.d/<service> reload' would return a non-zero code, and the caller can choose a way to handle this. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* ath10k-firmware: update to latest versionPavel Kubelun2017-04-121-25/+2
| | | | | | Kvalo's repo has a newer version of qca9984 firmware. Use it instead. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* build: remove package makefile overlay functionalityFelix Fietkau2017-04-122-8/+1
| | | | | | | | Recent attempts to use it have shown that it does not work properly except for a few undocumented cases. It's better to remove this now to avoid having more people fall into the same trap Signed-off-by: Felix Fietkau <nbd@nbd.name>
* openvpn: add myself as maintainerFelix Fietkau2017-04-121-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* OpenVPN: Update to 2.4.1Daniel Engberg2017-04-124-20/+12
| | | | | | | | | Update OpenVPN to 2.4.1 Remove 200-small_build_enable_occ.patch as it's included upstream. Refresh patches Add mirror and switch to HTTPS Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* arm64: remove linux 4.4 supportFelix Fietkau2017-04-121-350/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* apm821xx: remove 4.4 kernel supportChristian Lamparter2017-04-1223-7119/+0
| | | | Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
* mvebu: remove linux 4.4 supportFelix Fietkau2017-04-1279-14294/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* arm64: Switch to 4.9 kernelFlorian Fainelli2017-04-112-1/+308
| | | | Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* kernel: Add various arm64-related symbolsFlorian Fainelli2017-04-111-0/+6
| | | | | | | In preparation for bumping arm64 to 4.9, add a bunch of configuration symbols that are available under arm64. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>