aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* ramips: add support for Digineo AC1200 ProDominik Menke2016-11-176-4/+33
| | | | | | This is basically a ZBT-WG3526 (mt7621 SoC), but with 32M flash. Signed-off-by: Dominik Menke <dom@digineo.de>
* ramips: cleanup ZBT-WG3526.dtsiDominik Menke2016-11-171-6/+6
| | | | | | | | - replace magic numbers with GPIO_* constants - replace generic PCI definitions with correct vendor and device identification Signed-off-by: Dominik Menke <dom@digineo.de>
* ramips: split ZBT-WG3526.dts into dtsi and dts filesDominik Menke2016-11-172-112/+120
| | | | Signed-off-by: Dominik Menke <dom@digineo.de>
* kernel: enable pcryptJason A. Donenfeld2016-11-163-3/+3
| | | | | | | | | This is a powerful API for parallel crypto from which many other modules can benefit. It only winds up being turned on on SMP systems, which means this adds 0 bytes to the kernel on tiny machines, while only adding a small bit to SMP systems for big performance improvements. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* octeon: fix feature flag for initramfs supportFelix Fietkau2016-11-161-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.32Stijn Tintel2016-11-1612-82/+68
| | | | | | | | 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. Runtime-tested on ar71xx, octeon. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* ar71xx: tl-wpa8630: Use dynamic parsing of the firmware partitionHenryk Heisig2016-11-163-4/+8
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ipq806x: fixes for R7800 and C2600Pavel Kubelun2016-11-164-18/+115
| | | | | | | | Updating spi pins configuration in R7800 and C2600 DTs Adding more usb power pin export and gsbi6 in R7800 DT Updating and fixing leds Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fix Netgear R7500v2 memoryPavel Kubelun2016-11-161-1/+6
| | | | | | Netgear R7500v2 has 512MB of RAM with 2MB reserved block in the end of memory region. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fix pci pinsPavel Kubelun2016-11-162-7/+9
| | | | | | Fix pci pins drive-strength according to oem sources. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add vlans during switch init into R7800 DTPavel Kubelun2016-11-161-0/+4
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add support for RPM message RAMPavel Kubelun2016-11-164-0/+150
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add support for RPM clock controllerdissent12016-11-167-0/+1645
| | | | | | The patch #179 for RPM has initially been made for apq806x board. It has been modified to support ipq806x instead of apq8064. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add CPU idle statesPavel Kubelun2016-11-165-0/+102
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: backport upstream wdt driverPavel Kubelun2016-11-1616-38/+2567
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* lantiq: add tapi/vmmc to VGV7519 defaultsdpeddi2016-11-161-2/+2
| | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net>
* lantiq: enable VMMC for VGV7519dpeddi2016-11-161-1/+10
| | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net>
* lantiq: add tapi/vmmc to VGV7510KW22 defaultsEddi De Pieri2016-11-161-2/+2
| | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net>
* lantiq: enable VMMC for VGV7510KW22Eddi De Pieri2016-11-161-1/+10
| | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net>
* arm64: boot-wrapper: Add mirrorDaniel Engberg2016-11-161-1/+3
| | | | | | | Adds Google's mirror as primary source and kernel.org as fallback. Same as commit 0d4f02dfd650612aac6c11860139be03a0f54bee Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* layerscape: ls1012ardb: only reserve ext4 fs as default firmware.binYutang Jiang2016-11-161-4/+0
| | | | | | | | | In Device/ls1012ardb IMAGES variable, there are two separate firmware references to the same packages, while do mult-job compile, the same package build process will arise conflict occasionally. So, only reserve one ext4 fs as the default firmware.bin. Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
* layerscape: ls1043ardb: add pad-rootfs to reduce the size of firmware.binYutang Jiang2016-11-161-1/+1
| | | | Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
* kernel: update kernel 4.4 to version 4.4.31Koen Vandeputte2016-11-166-23/+18
| | | | | | | + Refresh patches compile/run-tested on cns3xxx & imx6. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ar71xx: Add usable, inactive LEDs on OpenMesh devicesJaylin Yu2016-11-161-0/+27
| | | | | | | | | | | OpenMesh devices have often LEDs which are not yet used by OpenWrt. These should still be available as disabled LEDs in the system configuration for easier modification. Signed-off-by: Jaylin Yu <jaylin.yu@open-mesh.com> [sven.eckelmann@open-mesh.com: Remove LEDs already specified via diag.sh, add wifi/status LEDs] Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add support for Buffalo BHR-4GRV2FUKAUMI Naoki2016-11-1612-4/+218
| | | | Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
* x86-generic: add MMC support to boot off SD cardsAndreas Ziegler2016-11-161-0/+8
| | | | | | | | | MMC support has been added to x86-64 a while ago, there is no reason not to support it in x86-generic as well. Signed-off-by: Andreas Ziegler <github@andreas-ziegler.de> [Matthias Schiffer: add commit message] Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* x86: add PATA support to generic and 64 subtargetsAndreas Ziegler2016-11-162-0/+14
| | | | | | | | | | | | PATA support has been removed from x86-generic without any note in LEDE r538. Not including them makes the generated images incompatible with older (and some newer) hardware without any significant gain. Add it back, and also add the same drivers (as far as available) to x86-64. Signed-off-by: Andreas Ziegler <github@andreas-ziegler.de> [Matthias Schiffer: add back x86-generic, update commit message] Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* x86: refresh generic subtarget configMatthias Schiffer2016-11-161-4/+2
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx, ramips: reduce CPU load and flickering on devices using rssliedsMartin Weinelt2016-11-162-9/+9
| | | | | | | | | Polling every 40ms causes more than 10% CPU load on weak devices. An interval of 200ms is much more reasonable. Signed-off-by: Martin Weinelt <martin@darmstadt.freifunk.net> [Matthias Schiffer: adapt OpenWrt patch; add ramips; extend commit message] Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: enable HSR tuner on Ubiquiti UAP Outdoor+Matthias Schiffer2016-11-151-0/+1
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: fix DEVICE_TITLE for Ubiquiti UAP Outdoor+Matthias Schiffer2016-11-151-1/+1
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ath9k: add support for the HSR tuner of the Ubiquiti UAP Outdoor+Matthias Schiffer2016-11-151-0/+2
| | | | | | | | Without setting the HSR to the selected channel, the WLAN of the UAP Outdoor+ will exhibit high packet loss in RX. Based-on-patch-by: Stefan Rompf <stefan@loplof.de> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ramips: fix polling switch interruptsFelix Fietkau2016-11-142-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: add port index in switch config for buffalo WHR-* and WSR-* devicesFelix Fietkau2016-11-141-4/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: add switch config for Buffalo WXR-1900DHP and WZR-1750DHPFelix Fietkau2016-11-141-0/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fix port indexing for WBMR-300Felix Fietkau2016-11-141-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: add hack to detect missing mt7621 cpu coresFelix Fietkau2016-11-141-0/+61
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix status LED for WHR-300HP2Felix Fietkau2016-11-141-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: revert remove of mvsw61xx device tree nodesMathias Kresin2016-11-132-0/+53
| | | | | | | | | | The marvell,88e6352 and marvell,88e6172 compatible strings are used in target/linux/generic/files/drivers/net/phy/mvsw61xx.c. No idea why grep missed them when I searched for them. Thanks to Syrone Wong for noticing and reporting my mistake. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: dts: use keycode defines from input dt-bindingMathias Kresin2016-11-13211-349/+757
| | | | | | | | | | | | | | | | | | | | | All compiled device tree files not mentioned are binary identical to the former ones. Fix the obvious decimal/hex confusion for the power key of ramips/M2M.dts. Due to the include of the input binding header, the BTN_* node names in: - ramips/GL-MT300A.dts - ramips/GL-MT300N.dts - ramips/GL-MT750.dts - ramips/Timecloud.dts will be changed by the compiler to the numerical equivalent. Move the binding include of lantiq boards to the file where they are used the first time to hint the user where the values do come from. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: dts: use C style includesMathias Kresin2016-11-127-7/+7
| | | | | | | No functional change but allows me to use one script to compile all device tree source files. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: dts: fix dtc compiler warningsMathias Kresin2016-11-128-57/+10
| | | | | | | | | | | Fixes invalid device tree parameters. Drop the mvsw61xx node used in mvebu device tree source files. It looks like some kind of ethernet switch cargo cult. Neither the marvell,88e6352 nor the marvell,88e6172 compatible strings can be found in any LEDE file or in the kernel sources. Signed-off-by: Mathias Kresin <dev@kresin.me>
* apm821xx: remove replaced netgear, wndr4700-usb dwc2 definitonChristian Lamparter2016-11-121-48/+0
| | | | | | | This special dwc2 device definition for the Netgear WNDR4700 has been replaced by amcc,usb-otg-405ex. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: consolidate apm821xx device trees filesChristian Lamparter2016-11-126-1472/+990
| | | | | | | | | | | | | This patch moves the common SoC device tree entries from the currently four supported platforms into a common apm82181.dtsi. Furthermore, this patch also changes the GPIO, IRQ and input definitions of the supported platforms to use the defined dt-bindings macros for GPIO_ACTIVE_LOW|HIGH, KEY_WPS|RESTART|*, IRQ_TYPE_* when it's appropriate. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: add amcc, usb-otg-405ex devicetree definitionChristian Lamparter2016-11-121-0/+44
| | | | | | | | | | | This patch adds support for the amcc,usb-otg-405ex device which is found in all APM82181 SoCs. Note: The system can't use the generic "snps,dwc2" compatible because of the special ahbcfg configuration. The default GAHBCFG_HBSTLEN_INCR4 of snps,dwc2 can cause a system hang when the USB and SATA is used concurrently. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* lantiq: fix pci issue if mem kernel parameter is usedEddi De Pieri2016-11-121-0/+22
| | | | | | | | | | | | | | | | | | | | As specified by e0229a16b0001c08e6c2611fa0bb9814507fced4 if the VR9 based router provides FXS ports and they should enabled then the following must added to the kernel command line: mem=[TOTALMEMSIZE-2M] vpe1_load_addr=ADDRESS vpe1_mem=2M By adding mem= parameter a pci device stop working correctly. The pci-lantiq.c module use get_num_physpages() to compute dynamically the memory amount of the board. The mem= make the module to compute in the wrong way the BAR11MASK, so in this situation the mask is misaligned with the dma area that the hardware expects. This patch is a port of what legacy ifxmips_pci.c does. Signed-off-by: Eddi De Pieri <eddi@depieri.net>
* ar71xx: generate region-coded factory images for TP-Link TL-WR841ND v11Matthias Schiffer2016-11-111-0/+3
| | | | | | | | The latest stock firmwares for US and EU regions have started checking the region code. Tested-by: Andreas Ziegler <ml@andreas-ziegler.de> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* arm64: boot-wrapper: add mirror checksumJo-Philipp Wich2016-11-101-0/+1
| | | | | | | | Some builders have troubles cloning the boot-wrapper-aarch64.git repository so provide a mirror checksum to allow downloading from sources.lede-project.org instead. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: add TEW-691GR/TEW-692GR 2.4 GHz interface mac addressesMathias Kresin2016-11-092-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assign an unused MAC addresses to the 2.4GHz wifi interface as it was originally planed but not possible. The MAC address numbering of the TEW-691GR changes to the following pattern: LAN: AA:BB:CC:DD:EE:0C WIFI: AA:BB:CC:DD:EE:0D WAN: AA:BB:CC:DD:EE:0F The MAC address numbering of the TEW-692GR changes to the following pattern: LAN: AA:BB:CC:DD:EE:e4 WAN: AA:BB:CC:DD:EE:e5 2.4GHz: AA:BB:CC:DD:EE:e7 5 GHz: AA:BB:CC:DD:EE:e8 Set the label and compatible string for the TEW-692GR PCIe wireless according to the the PCI binding documentation. Use the wifi@0,0 label and the pci0,0 compatible string since the PCI vendor and device id is unknown. It should work anyway since the compatible string isn't evaluated (yet). Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use the ralink,mtd-eeprom device tree propertyMathias Kresin2016-11-097-33/+26
| | | | | | | | | | | | | | | | | | | | | Use the ralink,mtd-eeprom instead of invoking the userspace firmware loader. Set the label and compatible string according to the the PCI binding documentation. Use the wifi@0,0 label and the pci0,0 compatible string in case the PCI vendor and device id is unknown. It should work anyway since the compatible string isn't evaluated (yet). This commit might fixes the PCIe wireless for the Buffalo WHR-600D. This board was mentioned in the board 10-rt2x00-eeprom firmware hotplug script but never had the correct eeprom name set to trigger the firmware from flash extraction. Use the usual eeprom for the soc wmac of the Dovado Tiny AC. Signed-off-by: Mathias Kresin <dev@kresin.me>