aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update kernel 4.9 to version 4.9.10Hauke Mehrtens2017-02-1622-135/+43
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* brcm47xx: fix button inversion for Asus WL-500WMirko Parthey2017-02-161-0/+38
| | | | | | | | | 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-153-3/+12
| | | | | | | | | | | 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: add preliminary kernel support for several RB SPI NOR devicesThibaut VARENE2017-02-153-0/+184
| | | | | | | | | | | | | | | | | | | The cAP 2nD, mAP 2nD and wAP 2nD apparently all share the same QCA953x/SPI-NOR platform. This patch adds preliminary kernel support based on init data used in Mikrotik's linux-3.3.5 kernel patch. Since this is totally experimental and untested, the necessary glue in base-files has not been added, the code is provided as a starting point in case somebody with that hardware wants to help getting it supported. The cAP lite (cAPL 2nD) should also be supported once it is determined whether or not it uses the same board identifier as the mAP lite. Code has been successfully built and has no side effect (no impact on already supported devices). Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* ar71xx: add new SPI NOR RB devices to the list of serial-enable patchThibaut VARENE2017-02-151-1/+5
| | | | Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* ar71xx: add support for RB750r2Thibaut VARENE2017-02-157-4/+19
| | | | | | | | | | | | | | | | This patch adds support for the MikroTik RouterBOARD hEX lite https://routerboard.com/RB750r2 Specifications: - SoC: Qualcomm QCA9531 (850MHz) - RAM: 64MB - Storage: 16MB NOR SPI flash - Ethernet: 5x100M (1 PoE in) This ethernet router is based on the same platform as the hEX PoE lite (it shares the same board identifier), but has no USB and no PoE out. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* ar71xx: add support for RB750UPr2Thibaut VARENE2017-02-159-19/+68
| | | | | | | | | | | | | | | | This patch adds support for the MikroTik RouterBOARD hEX PoE lite https://routerboard.com/RB750UPr2 Specifications: - SoC: Qualcomm QCA9531 (650MHz) - RAM: 64MB - Storage: 16MB NOR SPI flash - Ethernet: 5x100M (1 PoE in, 1 PoE out) - USB: Type A This ethernet router is based on the same platform as the wireless router hAP. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* ar71xx: add support for RB951Ui-2nDThibaut VARENE2017-02-159-1/+170
| | | | | | | | | | | | | | | This patch adds support for the MikroTik RouterBOARD hAP https://routerboard.com/RB951Ui-2nD Specifications: - SoC: Qualcomm QCA9531 (650MHz) - RAM: 64MB - Storage: 16MB NOR SPI flash - Wireless: builtin QCA9531, 2x2:2 - Ethernet: 5x100M (1 PoE in, 1 PoE out) - USB: Type A Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* ar71xx: provide support for RB-941-2nD via mach-rbspi.cThibaut VARENE2017-02-158-194/+44
| | | | | | | | | This patch implements support for the hAP lite in mach-rbspi.c hAP lite was supported via mach-rb941.c, so this file is removed as well as the corresponding build bits. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* ar71xx: add support for RB mAP L-2nDThibaut VARENE2017-02-1512-4/+313
| | | | | | | | | | | | | | | | | | | This patch adds support for the MikroTik RouterBOARD mAP lite https://routerboard.com/RBmAPL-2nD Specifications: - SoC: Qualcomm QCA9533 (650MHz) - RAM: 64MB - Storage: 16MB NOR SPI flash - Wireless: builtin QCA9533, 2x2:2 - Ethernet: 1x100M This is another 16M SPI NOR mikrotik device. The machine file is named mach-rbspi.c because I plan to add support for several of the other spi-based RouterBOARD devices in subsequent patches: they share most of the hardware and thus the same codebase. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* ramips: replace remaining instances of ralink, port-mapDaniel Golle2017-02-1511-11/+11
| | | | | | | | | | | | Some boards were apparently forgotten when ralink,portmap was renamed to mediatek,portmap -- probably because they used the long obsolete ralink,port-map attribute. If this commit breaks ethernet wan/lan assignment, this is because the port-map attribute wasn't actually parsed, you'll have to replace "wllll" by "llllw" in the dts file belonging to that board (and send a patch doing that!) Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ramips: fix mt7621 ethernet support for v4.9John Crispin2017-02-152-1/+8
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: add missing symbol for v4.9John Crispin2017-02-151-0/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* x86: Add board configs for the PC Engines APU2Chris Blake2017-02-152-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-152-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-152-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>
* ramips: export slic IRQ line in dwr-512Giuseppe Lippolis2017-02-151-0/+4
| | | | | | | | The DWR-512 embeds the hw slic device si3210. This device have the IRQ line attached to the gpio1. This patch export the gpio1 with proper name and parameters to the sysfs. Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
* 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>
* octeon: bump to v4.9John Crispin2017-02-142-1/+297
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: revert faulty 4.4 config change from 9c242270907Felix Fietkau2017-02-141-9/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix DEFAULT_PACKAGES for mikrotik devicesFelix Fietkau2017-02-141-1/+2
| | | | | | Include packages from the default profile for NAND devices Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: Add support for D-Link EBR-2310 Rev. CAlexandru Gagniuc2017-02-149-1/+22
| | | | | | | Add support for the EBR-2310, which is almost identical to the DIR-615 rev E4, without the wifi. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
* ar71xx: add support for TP-Link TL-WA850RE v2Piotr Dymacz2017-02-1413-5/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TP-Link TL-WA850RE v2 is a wall-plug N300 Wi-Fi range extender, based on Qualcomm/Atheros QCA9533 v2. Short specification: - 550/391/195 MHz (CPU/DDR/AHB) - 1x 10/100 Mbps Ethernet - 32 MB of RAM (DDR1) - 4 MB of FLASH - 2T2R 2.4 GHz - 2x internal antennas (embedded on PCB) - 9x LED (all can be turned off with GPIO15), 2x button - UART (J3) header on PCB Flash instruction: use "factory" image directly in vendor GUI. Warning: this device does not include any kind of recovery mechanism in the bootloader and disassembling process is not trivial. You can access vendor firmware over serial line using: - login: root - password: sohoadmin Image was tested only in US version of the device, but should work also with the same device version sold in other countries. Available FLASH space, with LEDE trunk, is only 240 KB. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ramips: Clean duplicated status property for Omega2 WMAC in dtsiFurong Xu2017-02-141-4/+0
| | | | | | At the tail of dtsi, wmac is enabled twice, clean the first one Signed-off-by: Furong Xu <xfr@outlook.com>
* ramips: fixed sms led polarity into dwr-512 DTGiuseppe Lippolis2017-02-141-1/+1
| | | | Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
* ramips: WN3000RPv3: do not setup switchThibaut VARENE2017-02-141-1/+1
| | | | | | | | | The WN3000RPv3 is a repeater with a single ethernet port. Setting up the switch, even to disable it, is unnecessary and possibly confusing. Configure LAN as eth0 instead. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* ar71xx: Add missing device package om-watchdog for MR1750Sven Eckelmann2017-02-141-1/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add OpenMesh A40 to OpenMesh A60 profileSven Eckelmann2017-02-141-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-141-0/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: enable sysupgrade for the OpenMesh A40Sven Eckelmann2017-02-142-0/+3
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add user-space support for the OpenMesh A40Sven Eckelmann2017-02-144-0/+11
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add kernel support for the OpenMesh A40 boardSven Eckelmann2017-02-143-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-142-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-141-0/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: enable sysupgrade for the OpenMesh A60Sven Eckelmann2017-02-142-1/+8
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add user-space support for the OpenMesh A60Sven Eckelmann2017-02-144-0/+11
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add kernel support for the OpenMesh A60 boardSven Eckelmann2017-02-145-0/+173
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: enable sysupgrade for the OpenMesh OM2Pv4/-HSv4Sven Eckelmann2017-02-142-0/+6
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add user-space support for the OpenMesh OM2Pv4/-HSv4Sven Eckelmann2017-02-144-0/+12
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add kernel support for the OpenMesh OM2Pv4/-HSv4Sven Eckelmann2017-02-143-0/+97
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: Remove the v2/v3 from the OpenMesh profile namesSven Eckelmann2017-02-141-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>
* ramips: add v4.9 supportJohn Crispin2017-02-1478-3/+23061
| | | | | | NAND support is missing Signed-off-by: John Crispin <john@phrozen.org>
* 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>
* cns3xxx: disable watchdog until it is fixedFelix Fietkau2017-02-131-1/+1
| | | | | | It has been reported to cause random reboots on some devices Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing tracing related config symbols for linux 4.9Felix Fietkau2017-02-131-1/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* apm821xx: adds missing symbol to v4.9 default configJohn Crispin2017-02-131-0/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* 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>