aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update kernel 4.4 to version 4.4.50Jo-Philipp Wich2017-02-2013-88/+45
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: Remove images for rb-941-2ndThibaut VARENE2017-02-191-2/+0
| | | | | | | | | | The code that generates this image is broken in many ways. The new code currently in master generates images that will not be compatible with the ones in 17.01. To avoid a migration nightmare, this patch removes image generation for this device in 17.01 Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* lantiq: set the internet led interface according to wan interfaceMathias Kresin2017-02-181-0/+1
| | | | | | | | Use the nas0 interface for the netdev trigger as default. Use the ptm0 interface for xRX200 boards to match the default wan interface set in 02_network. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: introduce lantiq_is_vdsl_systemMathias Kresin2017-02-182-1/+5
| | | | | | | Move the code to check if the current system is a system with vdsl support to a dedicate function to make it reusable. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fix ARV7519RW22 switch port indexingMathias Kresin2017-02-181-1/+1
| | | | | | Fixes FS#454. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ar71xx: fix ethernet PLL configuration for QCA956xFelix Fietkau2017-02-171-1/+1
| | | | | | | QCA956x is configured like AR934x, not like the older chips. Should fix ethernet hangs when using the WAN port without SGMII Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: Add Geos profile for Geode subtargetDavid Woodhouse2017-02-173-0/+44
| | | | | | | | | | This makes the Geode images actually useful again. The Geos profile should include the relevant hardware for that board, and the Default profile adds the via-rhine adapter which seems to have been present in the net5501 and alix targets killed in commit 9e0759ea265 ("x86: merge all geode based subtargets into one"). Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* x86: Add board configs for the PC Engines APU2Chris Blake2017-02-172-0/+8
| | | | | | | | This adds the default LED and network settings for the PC Engines APU2 when running under the x86 target. [dwmw2: Change Ethernet port setup] Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* x86: Enable DIAG LED on GeosDavid Woodhouse2017-02-172-1/+79
| | | | | | | | | Based on a patch from Chris Blake <chrisrblake93@gmail.com>, except let's do it by using the LED configuration instead of hard-coding it for each board type. And try using /bin/board_detect to do the default behaviour, on the first boot where the config hasn't yet been generated. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* x86: Move Traverse Geos configs into x86 base-filesChris Blake2017-02-172-0/+0
| | | | | | | | | | This change moves the files in 657418d to the root of the x86 target. This is done in preperation for adding more devices under other subtargets. CC: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* x86: Add configuration back for Traverse GeosDavid Woodhouse2017-02-172-0/+45
| | | | | | | | When we merged all the Geode boards into one generic target, the default network and LED configuration was lost. Put it back. Fixes: 9e0759ea2653 ("x86: merge all geode based subtargets into one") Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Mark targets using kernel 3.18 as source-onlyRafał Miłecki2017-02-176-6/+6
| | | | | | | | | | | | We're past v17.01.0-rc2 phase and these few targets are stuck at 3.18 kernel. We obviously don't want to have targets like this built for the release, especially with 3.18 being EOL. It may be not too late for bringing these targets back for the next minor release, so just mark them as source-only instead of dropping completely. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ramips: fix the number of uarts for MT7688Furong Xu2017-02-161-2/+2
| | | | | | Same as MT7621 and MT7628, MT7688 allows up to 3 uarts Signed-off-by: Furong Xu <xfr@outlook.com>
* ramips: fix PWM pin mux conflict in dtsiFurong Xu2017-02-161-4/+0
| | | | | | | | | | | | | GPIO18 and GPIO19 on OMEGA2(+) should be GPIO mode, enable PWM lead to a conflict [ 0.290633] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm [ 0.299722] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22 [ 0.305729] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0 on device rt2880-pinmux [ 0.315131] mtk-pwm 10005000.pwm: Error applying setting, reverse things back Keep PWM disabled. Signed-off-by: Furong Xu <xfr@outlook.com>
* brcm47xx: fix button inversion for Asus WL-500WMirko Parthey2017-02-162-8/+46
| | | | | | | | | The Asus WL-500W buttons are active high, but the software treats them as active low. Fix the inverted logic. Signed-off-by: Mirko Parthey <mirko.parthey@web.de> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: fix USB driver choice for Asus WL-500WMirko Parthey2017-02-151-1/+1
| | | | | | | | | | | | | | | | BCM4704 SoC has only USB 1.1 core: ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x03, vendor 0x4243) but this device actually comes with two USB 2.0 ports. It appears embedded controller isn't used but instead there are two PCI attached controllers (next to the BCM4321 wireless card): 1106:3038 VT82xx/62xx UHCI USB 1.1 Controller 1106:3104 USB 2.0 Choose a set of USB drivers which actually support this hardware. Signed-off-by: Mirko Parthey <mirko.parthey@web.de> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: fix crashes on MIPS when loading kernel modules under memory pressureFelix Fietkau2017-02-152-2/+8
| | | | | | | | | | | When memory is tight, modules may need to be loaded into vmalloc() space. The code then has to generate jump trampolines which enable relocations between vmalloc space and physical address space. The code had a bug that was freeing these trampolines even when the module was successfully loaded. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix DEFAULT_PACKAGES for mikrotik devicesFelix Fietkau2017-02-151-1/+2
| | | | | | Include packages from the default profile for NAND devices Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: only copy sysupgrade file if presentJohn Crispin2017-02-151-1/+1
| | | | | | | | | | this caused 'mv: can't rename '/mnt/sysupgrade.tgz': No such file or directory' when running sysupgrade -n Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: Add missing device package om-watchdog for MR1750Sven Eckelmann2017-02-151-1/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add OpenMesh A40 to OpenMesh A60 profileSven Eckelmann2017-02-151-1/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: extract ath10k wifi board.bin for the OpenMesh A40 boardSven Eckelmann2017-02-151-0/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: enable sysupgrade for the OpenMesh A40Sven Eckelmann2017-02-152-0/+3
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add user-space support for the OpenMesh A40Sven Eckelmann2017-02-154-0/+11
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add kernel support for the OpenMesh A40 boardSven Eckelmann2017-02-153-1/+23
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: create profile and build image for the OpenMesh A60 boardSven Eckelmann2017-02-152-0/+8
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: extract ath10k wifi board.bin for the OpenMesh A60 boardSven Eckelmann2017-02-151-0/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: enable sysupgrade for the OpenMesh A60Sven Eckelmann2017-02-152-1/+8
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add user-space support for the OpenMesh A60Sven Eckelmann2017-02-154-0/+11
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add kernel support for the OpenMesh A60 boardSven Eckelmann2017-02-155-0/+173
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: enable sysupgrade for the OpenMesh OM2Pv4/-HSv4Sven Eckelmann2017-02-152-0/+6
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add user-space support for the OpenMesh OM2Pv4/-HSv4Sven Eckelmann2017-02-154-0/+12
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add kernel support for the OpenMesh OM2Pv4/-HSv4Sven Eckelmann2017-02-153-0/+97
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: Remove the v2/v3 from the OpenMesh profile namesSven Eckelmann2017-02-151-4/+4
| | | | | | | The list of v2/v3 devices is getting longer and makes reading the names of the profiles unnecessary hard. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* mvebu: append metadata to clearfog sd card imagesJonas Gorski2017-02-131-1/+1
| | | | | | | | | | | | | | Fixes the following issue: root@LEDE:/# sysupgrade /tmp/lede-mvebu-armada-388-clearfog-sdcard.img.gz Saving metaconfig... Image metadata not found Use sysupgrade -F to override this check when downgrading or flashing to vendor firmware Image check 'fwtool_check_image' failed. root@LEDE:/# Acked-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: Neufbox 6: fix switch by probing through DTJonas Gorski2017-02-1338-200/+128
| | | | | | | | | | | | Probe the switch through DT instead of a platform device. This fixes probe, as GPIO offsets are now properly accounted for. Fixes the following issue: [ 0.802953] 8021q: 802.1Q VLAN Support v1.8 [ 0.810518] rtl8366_smi: gpio_request failed for 18, err=-517 Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* ramips: added image size into dwr-512 DTGiuseppe Lippolis2017-02-131-0/+1
| | | | Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
* layerscape: fix adjust_link for 10G & 2.5GYangbo Lu2017-02-131-0/+48
| | | | | | Added a linux-4.4 patch to fix adjust_link for 10G & 2.5G. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* ramips: Correct switch configuration for Newifi D1Chuanhong Guo2017-02-131-4/+1
| | | | Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* lantiq: fix patching the wifi mac address on BTHOMEHUBV3AMartin Blumenstingl2017-02-131-1/+1
| | | | | | | | | | | | | | | | | | | The firmware hotplug script tries to read the mac address from a partition with the name "uboot-env" which does not exist (instead it's name is uboot_env). This broke calculation of the new checksum (after patching the mac address) which resulted in ath9k refusing to use the EEPROM data. The original error reported by ath9k was: PCI: Enabling device 0000:00:0e.0 (0000 -> 0002) ath: phy0: Bad EEPROM checksum 0x2523 ath: phy0: Unable to initialize hardware; initialization status: -22 ath9k 0000:00:0e.0: Failed to initialize device Fixes: a20616863d32d9 ("lantiq: use ath9k device tree bindings binding/owl-loader") Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* kernel: MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatchHauke Mehrtens2017-02-121-0/+35
| | | | | | | This backports the following fix to our mips IRQ stack patches: https://patchwork.linux-mips.org/patch/15110/ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* brcm63xx: fix lzma loader for BCM6362Jonas Gorski2017-02-101-1/+1
| | | | | | | | BCM6362 and BCM3380 seem to share the same PRID. Disable serial output for them until we can find a way to tell them apart reliably. Fixes: 8f3cfe4ba2 ("brcm63xx: lzma-loader: add BCM3380 support") Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: do a full reset phy cycleJonas Gorski2017-02-101-0/+28
| | | | | | Make sure we do a proper reset of the phy, if the phy reset is defined. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: fix external interrupts on BCM6318Jonas Gorski2017-02-102-8/+21
| | | | | | | | Setting the clear bit for an interrupt seems to cause interrupts to be deasserted again immediately. So unset the bit for BCM6318 to allow subsequent interrupts to still work. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* arc770: backport upstream fix for unaligned accessAlexey Brodkin2017-02-092-31/+38
| | | | | | | | | | | | | | | | | This commit reverts 42f3c1f ("arc770: fix broken upstream change") and simultaneously adds back-ported fix from Linus' tree: a524c218bc94 ("ARC: [arcompact] brown paper bag bug in unaligned access delay slot fixup"). Note mentioned patch will appear in stable trees soon as well so IMHO there's not much sense in adding this separate patch in lede/master branch. As well as we will get rid of it here in 17.01 once we bump 4.4 kernel here later down the line. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@nbd.name> Cc: John Crispin <john@phrozen.org> Cc: Jo-Philipp Wich <jo@mein.io>
* ramips: fix AR670W partition alignmentClaudio Leite2017-02-081-1/+1
| | | | | | | mtdsplit_lzma requires that the rootfs be aligned to a block boundary. Pad the kernel partition to make this so. Signed-off-by: Claudio Leite <leitec@gmail.com>
* bcm53xx: add missing system.sh includeRafał Miłecki2017-02-071-0/+1
| | | | | | | It's needed for macaddr_add. Fixes: 5ed23223fd1f ("bcm53xx: set WAN MAC address to don't share one with LAN interface") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* arc770: fix broken upstream changeJo-Philipp Wich2017-02-071-0/+31
| | | | | | | Add a patch to revert upstream commit 9aed02feae57bf7a40cb04ea0e3017cb7a998db4 which introduces syntax errors. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* bcm53xx: set Netgear R8000 USB LEDsRafał Miłecki2017-02-061-0/+18
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update kernel 4.4 to version 4.4.47Stijn Tintel2017-02-063-7/+7
| | | | | | | | | | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on all targets that use kernel 4.4 and aren't marked broken, except arc770 and arch38 due to broken toolchain. Runtime-tested on ar71xx, octeon, ramips and x86/64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> (cherry picked from commit d2c4041f0266cc93447998ddd67c7d6b6a4c2ee3) Conflicts: include/kernel-version.mk target/linux/ramips/patches-4.4/997-ralink-Introduce-fw_passed_dtb-to-arch-mips-ralink.patch