aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kernel: spi-nor: add support for ESMT_f25l32qa and ESMT_f25l64qaFelix Fietkau2016-08-303-2/+23
| | | | | | | | Add Support for the ESMT_F25L32QA and ESMT_F25L64QA. These are 4MB and 8MB SPI NOR Chips from Elite Semiconductor Memory Technology Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: make serial port sysrq-disable patch more generic (FS#112)Felix Fietkau2016-08-293-25/+26
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "opkg: use vfork on gz_open by default (FS#120)"Jo-Philipp Wich2016-08-281-20/+0
| | | | | | | | | | This reverts commit 763f5d787316ec1b041450a644ecd9416f11e94f. Currently the vfork() code path in opkg is broken and relies on unsupported ftello() / fseeko() operations on pipes - we need to restructure the code before we can reconsider this approach. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* Revert "opkg: disable the use of vfork for the host build"Jo-Philipp Wich2016-08-282-13/+8
| | | | | | | | | | This reverts commit 02e3c718e9ad0c14aa3cf359ba2a4763e81df805. Currently the vfork() code path in opkg is broken and relies on unsupported ftello() / fseeko() operations on pipes - we need to restructure the code before we can reconsider this approach. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ath10k-firmware: Update to latest ath10k-ct 9984 firmware.Ben Greear2016-08-281-2/+2
| | | | | | | | Tested briefly on Netgear r7800. Firmware failed to load on first boot, but then it worked after that and I could not reproduce the failure. Signed-off-by: Ben Greear <greearb@candelatech.com>
* tools: make mtools/dosfstools unconditionalFelix Fietkau2016-08-281-1/+1
| | | | | | The list of targets that need them are getting longer Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: generate US- and EU-specific images for the Archer C7 v2Matthias Schiffer2016-08-281-1/+3
| | | | | | | | | | | | TP-Link has started providing US- and EU-specific stock firmwares that only allow upgrading to firmwares with the same region code. Provide factory images for both these regions. To avoid confusing users outside these regions, we still provide a "universal" factory.bin without a region code, although flashing either of the US and EU images would work as well. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* firmware-utils: mktplinkfw: add support for TP-Link's new region codesMatthias Schiffer2016-08-281-32/+37
| | | | | | | | | TP-Link has changed the way the region is stored in the firmware header, and now provides US- and EU-specific images for the Archer C7. Adding the new region codes is necessary to make LEDE/OpenWrt flashable on devices with the new stock firmwares again. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* opkg: disable the use of vfork for the host buildFelix Fietkau2016-08-282-8/+13
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* opkg: use vfork on gz_open by default (FS#120)Felix Fietkau2016-08-281-0/+20
| | | | | | Reduces memory consumption and binary size Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: revert temperature compensation support patch (FS#111)Felix Fietkau2016-08-282-98/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove obsolete legacy ide kernel module packagesFelix Fietkau2016-08-281-109/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* arc770: Introduce images for SD-cardsAlexey Brodkin2016-08-288-73/+102
| | | | | | | | | | | | | | | | | | | Historically on ARC we started from initramfs-based images because: a) It was much easier to debug especially when toolchain and other components were changing quite dynamically b) It was our usual approach for embedded Linux But now with ARC port of Lede/OpenWRT getting more stable and mature we're ready for more real-life scenarios with FS permanently stored on SD-card. This essentially benefits from ability to setup devices that survive reboots with all settings and extra packages kept in place. Still we keep an ability to build images with initramfs. This allows us to use storage-less simulators for testing still. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: John Crispin <john@phrozen.org> Cc: Jo-Philipp Wich <jo@mein.io>
* arc770: Remove MMC kernel modules, they are built-in nowAlexey Brodkin2016-08-282-2/+2
| | | | | | | | If we want to boot from SD-card we need to have corresponding drivers already built-in so there's no point in having these modules. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* arc770: Update kernel configurationAlexey Brodkin2016-08-281-1/+9
| | | | | | | | | | | | | | Now when we're switching to FS on SD-card it's necessary to have full stack of MMC block & FC drivers built-in otherwise kernel won't be able to mount FS with needed modules. Also we enable parsing of input parameters passed to the kernel by U-Boot. Otherwise kernel won't know where to look for command line and what's worse device tree blob (we had to disable this by default for cases when kernel is loaded by JTAG and core registers may have undefined state lading to kernel going bonkers). Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* arc770: Reduce generalizationAlexey Brodkin2016-08-281-25/+13
| | | | | | | | | | | | | | As support of ARC 770 in OpenWRT/Lede matures we don't need debug-only output binaries any longer, so purging vmlinux for AXS10x boards. As for uImage for nSIM it makes completely no sense because there's no way to run U-Boot on nSIM. So we remove add_arcYYY_XXX scripts making code more compact and cleaner. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* ct-bugcheck: Add tools to poll for and report ath10k firmware crashes.Ben Greear2016-08-284-0/+212
| | | | | | | | | | | | | | | | | | This tool can periodically check for ath10k firmware crashes. If it finds a crash, it will package up the binary crash dump, some OS level things like dmesg, lspci, etc into a tar file. It then notifies the user about the crash and asks them to report the bug to the appropriate email address. This is most useful when used with ath10k-ct driver and CT ath10k firmware, but it should also report issues with stock ath10k driver and firmware in case one has appropriate contacts to debug them. This tool could be extended later for other modules/bugs/etc. Signed-off-by: Ben Greear <greearb@candelatech.com>
* ath10k-ct: Remove useless WARNING for 10.4 firmware.Ben Greear2016-08-281-2/+2
| | | | | | | Removes a useless splat in ath10k, and adds some safety code around setting keys in the firmware. Signed-off-by: Ben Greear <greearb@candelatech.com>
* ath10k-fw: Update to latest 9980 CT firmware.Ben Greear2016-08-281-2/+2
| | | | | | This fixes a nasty memory corruption bug, among other things. Signed-off-by: Ben Greear <greearb@candelatech.com>
* bcm53xx: use the latest 6th version of ILP clock driver patchRafał Miłecki2016-08-262-44/+67
| | | | | | It still wasn't accepted, so don't switch to 0xx prefix yet. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: backport clk *_hw_* API for registering struct clk_hwRafał Miłecki2016-08-262-0/+416
| | | | | | | Drivers have been modified to use it and new ones have to be written this way, so we need it for backporting code. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* iwinfo: mark as nonsharedJo-Philipp Wich2016-08-251-0/+2
| | | | | | | | | The iwinfo library might get compiled with different backends, depending on the driver selection of the current target, so mark it as nonshared to avoid broken libiwinfo support on other targets with same cpu architecture but different wireless driver types. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mt76: update to the latest versionFelix Fietkau2016-08-251-2/+2
| | | | | | Adds client + ad-hoc mode fixes and some initial TPC preparation work Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: disable flow control to the built-in switch on AR934xFelix Fietkau2016-08-251-1/+0
| | | | | | | It apparently causes a regression on some devices if the ethernet cable is plugged in while booting. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fix ath5k EEPROM loadingMathias Kresin2016-08-241-9/+27
| | | | | | | | | | With 12fe4b579801ea812b64fc7e689716cd39c895ec I switched the ath5k eeprom extraction to an alternate code path. Unfortunately this code seams to be broken since ages and broke the ath5k EEPROM extraction. Reported-by: Mohammed Berdai <mohammed.berdai@gmail.com> Signed-off-by: Mathias Kresin <dev@kresin.me> Acked-by: John Crispin <john@phrozen.org>
* linux/arc*: disable MAC frame filter in DW GMACAlexey Brodkin2016-08-242-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | DW GMAC on ARC SDP boards doesn't enter promiscuous mode if Ethernet PHY haven't got established link. Good examples are auto-negotiation in progress or disconnected cable. We do see Linux kernel sets GMAC's MAC filter register properly but GMAC's hardware doesn't accept new settings. We believe it is a hardware issue, most probably problem of integration of DW GMAC and PHY on the board. As a work-around we completely disable frame filtering in GMAC hardware (once and for good) which forces GMAC to enter promiscuous mode with the first write to MAC filter register. That gives us working bridge that consists of eth0 and wlan0 (USB Wi-Fi dongle). I.e. we finally have working "Dumb AP" setup made of ARC AXS10x boards. Given that hack is quite dirty (in loaded wired networks this will effectively load CPU with junk packets even if user doesn't need promisc mode) and there's no indication any other boards with DW GMAC suffer from the same issue we're patching only kernel for ARC boards. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: John Crispin <john@phrozen.org>, Cc: Felix Fietkau <nbd@nbd.name>
* uqmi: update to the latest version, adds QMI-in-MBIM supportFelix Fietkau2016-08-241-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq806x: fix ipq8065 s2a/s2b regulator frequency (fixes ethernet performance)Roman Yeryomin2016-08-241-2/+2
| | | | Signed-off-by: Roman Yeryomin <roman@advem.lv>
* ipq806x: Archer C2600: Renaming LED accordance with the standardCezary Jackiewicz2016-08-243-20/+20
| | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
* ipq806x: enable ondemand governorJohn Crispin2016-08-241-1/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: backport patch for specifying USB ports/devices in DTRafał Miłecki2016-08-242-0/+287
| | | | | | | | This allows referencing USB ports/devices that are always present in a device. This applies to some internal devices, root hub ports and internal USB hubs. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ipq806x: rename R7800 device tree file, merge R7500v2 dts additionJo-Philipp Wich2016-08-244-13/+4
| | | | | | | The R7800 is an IPQ8065, so rename its dts file to reflect that fact. Also fold the R7500v2 dts addition into the existing 800-devicetree.patch. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* realview: rename config-default to config-4.4Stijn Tintel2016-08-241-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* rb532: rename config-default to config 4.1Stijn Tintel2016-08-241-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* orion: rename config-default to config-3.18Stijn Tintel2016-08-241-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* gemini: rename config-default to config-4.4Stijn Tintel2016-08-241-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* arm64: rename config-default to config-4.4Stijn Tintel2016-08-241-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* openvpn: update to 2.3.12Magnus Kroken2016-08-245-67/+37
| | | | | | | | | 300-upstream-fix-polarssl-mbedtls-builds.patch has been applied upstream. Replaced 101-remove_polarssl_debug_call.patch with upstream backport. Changelog: https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn23#OpenVPN2.3.12 Signed-off-by: Magnus Kroken <mkroken@gmail.com>
* gemini: rename patches directory to patches-4.4Stijn Tintel2016-08-2413-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* perf: drop sched_getcpu wrapperRalph Sennhauser2016-08-231-17/+0
| | | | | | Current musl already provides sched_getcpu Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
* strace: bump to 4.13Ralph Sennhauser2016-08-231-3/+3
| | | | | | Fixes broken btrfs support in 4.12 Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
* gemini: drop Linux 4.1 supportJo-Philipp Wich2016-08-2342-6743/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* gemini: add Linux 4.4 supportRoman Yeryomin2016-08-2324-0/+6220
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> [Jo-Philipp Wich: change commit title] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ath9k: Set ATH9K_STATION_STATISTICS when enabling debuggingToke Høiland-Jørgensen2016-08-231-1/+1
| | | | | | | | | The ATH9K_STATION_STATISTICS kernel config variable enables some extra statistics that are useful for debugging (in particular with the airtime fairness patches enabled). This adds that kernel config when selecting ath9k debugging. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
* ubus: update to the latest version, adds object remove fixesFelix Fietkau2016-08-231-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: move logd into ubox packageFelix Fietkau2016-08-232-14/+2
| | | | | | Preparation for further build rework Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: use printf to improve portability.Ash Benz2016-08-231-4/+4
| | | | Signed-off-by: Ash Benz <ash.benz@bk.ru>
* build: use perl instead of GNU date for KBUILD_BUILD_TIMESTAMPFelix Fietkau2016-08-231-1/+7
| | | | | | Fixes warning on non-Linux systems Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: build GNU date from coreutils on non-Linux systemsFelix Fietkau2016-08-232-0/+39
| | | | | | Required for reproducible builds in the kernel build system Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: pass $(STAGING_DIR_HOST) to Host/InstallFelix Fietkau2016-08-231-2/+2
| | | | | | makes it more consistent with package builds Signed-off-by: Felix Fietkau <nbd@nbd.name>