aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* ipq806x: update DT in accordance to new drivers And add some more DT nodesPavel Kubelun2016-11-037-214/+90
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: switch to generic cpufreq driver cpufreq-dtPavel Kubelun2016-11-035-466/+383
| | | | | | | | This fixes ondemand frequency scaling and moves ipq806x onto upstream driver Also switching to ondemand frequency scaling as it is fixed now Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: add opp patches for voltage scalingPavel Kubelun2016-11-032-0/+259
| | | | | | Preparing for cpufreq driver switch to generic cpufreq-dt Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: update clk-qcom patchesPavel Kubelun2016-11-035-6/+563
| | | | | | Preparing for cpufreq driver switch to generic cpufreq-dt Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fix leds, sata port for Netgear R7800 and minor fixes - renamed ↵Pavel Kubelun2016-11-032-34/+43
| | | | | | leds in correct color accordance - blink power led with white during boot and with amber when flashing firmware - fixed usb leds - enabled unused wps and rfkill leds as wlan leds. Now rfkill led is for 2.4GHz and wps - 5GHz WIFI - removed unneeded bootargs - removed unneeded pci pins from R7800 DT (driver already handles it in proper way) and add tx offsetting - nand ecc step size - fixed sata ports Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ramips: Use MT7621 I2C driver for MT7628/MT7688Sven Schwermer2016-11-031-2/+4
| | | | | | | The i2c-ramips driver does not work for the MT7628/MT7688 SoCs, the i2c-mt7621 driver does. Signed-off-by: Sven Schwermer <sven.schwermer@arcor.de>
* ipq806x: TP-Link Archer C2600: convert old usbdev trigger to new usbportCezary Jackiewicz2016-11-031-2/+2
| | | | Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips: add support for MikroTik hEX v3 (RB750Gr3)Andrew Yong2016-11-026-0/+137
| | | | | | | | | | | | | | The MikroTik hEX v3 (RB750Gr3) is a MT7621AT board which is similar to most MT7621 reference designs, it can be easily supported by this patch; however, the stock RouterBOOT bootloader has to be replaced by a MT7621 SDK U-Boot such as https://github.com/ndoo/RB750Gr3-U-Boot - U-Boot configured for the RB750Gr3 (16MiB SPI flash, 256MiB DDR3 RAM at 1200MHz). RouterBOOT, the stock bootloader, does not initialize the UART and boots silently, making it preferable to replace it with a MT7621 SDK U-Boot with UART (57600 8N1) that supports HTTP, TFTP or serial upload of sysupgrade firmware and U-Boot. Furthermore, RouterOS, the stock firmware, is contained in a proprietary modification of SquashFS without GPL sources; UART is also disabled in stock firmware. The combination of LEDE firmware generated by this PR and MT7621 SDK U-Boot expects the printed MAC address to reside at offset `0xe000` of the factory partition (absolute offset is `0x4e000`); this is similar to the factory MAC address offset for several other MT7621 devices. A 16MiB flash dump suitable for use with flashrom will be provided if/once this patch is accepted and binaries are built by LEDE buildbot. Alternatively, writing the U-Boot to the SPI flash starting at 0x0 offset and booting the board with serial console attached will allow TFTP, HTTP or serial upload of sysupgrade firmware. Signed-off-by: Andrew Yong <me@ndoo.sg>
* kernel: update kernel 4.4 to version 4.4.30Stijn Segers2016-11-0231-71/+70
| | | | | | | | | | This patch bumps the 4.4 kernel from .28 to .30 and refreshes the patches. Compile-tested on ar71xx, x86/64, ramips/mt7621, brcm47xx and kirkwood. Run-tested on ar71xx & ramips/mt7621, brcm47xx and kirkwood (last two confirmed by P. Wassi). Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
* ramips: add usb packages into DIR-860L B1 profileStijn Segers2016-11-021-0/+1
| | | | | | | This patch adds the kmod-usb3 and kmod-usb-ledtrig-usbport packages to the DIR-860L B1 profile. The DIR-860L B1 has a USB 3 port. Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
* ar71xx: Add support to Powerline ac TP-Link WPA8630Henryk Heisig2016-10-3112-2/+210
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* layerscape: add 64b/32b target for ls1012ardb deviceYutang Jiang2016-10-3157-1/+19862
| | | | | | | | | | | | | | | | | | | | | | | | The QorIQ LS1012A processor, optimized for battery-backed or USB-powered, integrates a single ARM Cortex-A53 core with a hardware packet forwarding engine and high-speed interfaces to deliver line-rate networking performance. QorIQ LS1012A Reference Design System (LS1012ARDB) is a high-performance development platform, with a complete debugging environment. The LS1012ARDB board supports the QorIQ LS1012A processor and is optimized to support the high-bandwidth DDR3L memory and a full complement of high-speed SerDes ports. LEDE/OPENWRT will auto strip executable program file while make. So we need select CONFIG_NO_STRIP=y while make menuconfig to avoid the ppfe network fiemware be destroyed, then run make to build ls1012ardb firmware. The fsl-quadspi flash with jffs2 fs is unstable and arise some failed message. This issue have noticed the IP owner for investigate, hope he can solve it earlier. So the ls1012ardb now also provide a xx-firmware.ext4.bin as default firmware, and the uboot bootcmd will run wrtboot_ext4rfs for "rootfstype=ext4" bootargs. Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
* layerscape: add 64b/32b target for ls1043ardb deviceYutang Jiang2016-10-3177-0/+170370
| | | | | | | | | | | | | | | | | | Add support for NXP layerscape ls1043ardb 64b/32b Dev board. LS1043a is an SoC with 4x64-bit up to 1.6 GHz ARMv8 A53 cores. ls1043ardb support features as: 2GB DDR4, 128MB NOR/512MB NAND, USB3.0, eSDHC, I2C, GPIO, PCIe/Mini-PCIe, 6x1G/1x10G network port, etc. 64b/32b ls1043ardb target is using 4.4 kernel, and rcw/u-boot/fman images from NXP QorIQ SDK release. All of 4.4 kernel patches porting from SDK release or upstream. QorIQ SDK ISOs can be downloaded from this location: http://www.nxp.com/products/software-and-tools/run-time-software/linux-sdk/linux-sdk-for-qoriq-processors:SDKLINUX Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
* ramips: Archer C50 cleanupHenryk Heisig2016-10-313-24/+54
| | | | | | | | | | | - setting read-only flag to important partitions - enabling PA to improve 2.4 GHz signal strength - add missing leds - rename colour led - add mac adress to 5GHz wlan interface - included <dt-bindings/input/input.h> and <dt-bindings/gpio/gpio.h> Signed-off-by: Henryk Heisig hyniu@o2.pl
* lantiq: add vpe/watchdog modules to kernelStefan Koch2016-10-311-0/+6
| | | | | | | | | (required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri <eddi@depieri.net> (cherry picked from commit 064f467264c5c9b6eca0bb96b587f9412b770cc5) Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
* lantiq: vpe softdogStefan Koch2016-10-311-0/+171
| | | | | | | | | | | | | (required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri <eddi@depieri.net> (cherry picked from commit eb0ce57270d0b5b81b224b9336cf54707497eede) Modified after cherry-pick: obj in Makefile Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
* lantiq: added support for VPE1Stefan Koch2016-10-311-0/+208
| | | | | | | | | | | | | | | | | | Created minimal patchset based on BB rev 43158 by Eddi De Pieri 14.07/openwrt.git 79472c025449efae9310defad0d3a73cff14d756 If the VR9 based router provides FXS ports and they shoud enabled then the following must added to the kernel command line: mem=[TOTALMEMSIZE-2M] vpe1_load_addr=ADDRESS vpe1_mem=2M maxvpes=1 maxtcs=1 To use FXS 2M of RAM are needed for the VPE firmware. The size is set by vpe1_mem. The available RAM must be reduced by this size using the mem argument. A correct load address (example 0x83e00000) for the firmware must be given, too. Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
* lantiq: modify vr9.dts to support vmmcStefan Koch2016-10-311-0/+8
| | | | | | | | | | | | | (required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri <eddi@depieri.net> (cherry picked from commit 8d924d43c0ea6839a3a33e54982e8da48b736001) Modified after cherry-pick: compatible attribute Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
* ipq806x: add reserved memory node in Netgear R7800Pavel Kubelun2016-10-311-0/+5
| | | | | | KERNEL BUG: BAD_PAGE_STATE in process appears here and there during intensive memory usage. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ramips: Add RTC driver to kernel for working hctosysRosen Penev2016-10-312-2/+3
| | | | | | | Build the RTC driver into the kernel, (and remove the optional module), in order to make hctosys working. (Currently the module is loaded after hctosys has failed previously) Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ipq806x: ArcherC2600: export usb power pinsHenryk Heisig2016-10-311-0/+16
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ipq806x: ArcherC2600: devictree cleanupHenryk Heisig2016-10-311-13/+44
| | | | | | add blank lines and use macros for GPIOs Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* kernel: update kernel 4.4 to version 4.4.28Paul Wassi2016-10-317-17/+17
| | | | | | | | Refresh patches for all targets that support kernel 4.4. compile/run-tested on ar71xx, brcm47xx, kirkwood. Signed-off-by: Paul Wassi <p.wassi@gmx.at> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: deactivate CONFIG_QCOM_SPMI_TEMP_ALARMHauke Mehrtens2016-10-311-0/+1
| | | | | | This fixes the build of the ipq806x target. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ar71xx: Add net config for MR12 & MR16Chris Blake2016-10-311-0/+2
| | | | | | | | | Both the MR12 and MR16 are single gigabit ethernet devices, similar to the MR18. This change gives them the correct network config on a fresh install. Signed-off-by: Chris Blake <chrisrblake93@gmail.com> [Jo-Philipp Wich: adjust for alphabetical ordering, line wrap commit msg] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: fix ethernet on wpj344 boardChristian Mehlis2016-10-311-0/+1
| | | | | | | | | In 814d70b2 the member mac06_exchange_en of struct ar8327_pad_cfg was changed to mac06_exchange_dis, but wpj344 was not adopted to stay in sync. Signed-off-by: Christian Mehlis <christian@m3hlis.de> Reported-by: Nick Dennis <ndennis@rapiduswireless.com>
* brcm47xx: image: use append-rootfs step for per-device rootfs supportRafał Miłecki2016-10-281-18/+18
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: image: make TRX steps work with rootfs passed as $@Rafał Miłecki2016-10-281-2/+4
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: image: make linksys-pattern-partition leave specific fileRafał Miłecki2016-10-281-2/+2
| | | | | | | Thanks to leaving .pattern file we can easily insert extra step between linksys-pattern-partition and trx-v2-with-loader, e.g. rootfs one. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* apm821xx: fix USB LED trigger for WNDR4700Rafał Miłecki2016-10-281-2/+1
| | | | | | | | | The old usbdev trigger never supported assigning more than 1 USB port. This code we got was never working as expected and it was missing 2 more ports. Switch to usbport to have LED working with all ports. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Tested-by: Christian Lamparter <chunkeey@gmail.com>
* brcm47xx: add support for per-device rootfsRafał Miłecki2016-10-271-4/+95
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* imx6: Add ds1672 RTC to kernel for working hctosys (Gateworks)Koen Vandeputte2016-10-271-0/+1
| | | | | | | | | | Fixes the same hctosys init issue as described in commit 5481ce9a1157a43d8b2c963e03fb243e70974361 The Gateworks Ventana family uses an emulated Dallas 1672 RTC device. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ar71xx: add support for D-Link DAP-2695 rev. A1Stijn Tintel2016-10-2712-0/+269
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* ar71xx: build relocate stub for generic and legacy imagesStijn Tintel2016-10-272-7/+4
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* ar71xx/base-files: rename 09_fix-trx-header 09_fix-checksumStijn Tintel2016-10-271-0/+0
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* kernel: mtdsplit: add support for WRGG imagesStijn Tintel2016-10-277-0/+119
| | | | | | | | Support splitting WRGG images, found in some D-Link devices (e.g. DAP-2695). Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* ar71xx: Ignore firmware building errors of UBNT and CyberTAN devicesChuanhong Guo2016-10-262-13/+14
| | | | Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* ipq806x/nbg6817: add sysupgrade supportAndré Valentin2016-10-262-0/+99
| | | | | | Add new way of flashing to mmc devices based on rootfs split with loop devices. Signed-off-by: André Valentin <avalentin@marcant.net>
* linux/mtd: add id for mx25u3235f needed by ZyXEL NBG6817André Valentin2016-10-261-0/+10
| | | | Signed-off-by: André Valentin <avalentin@marcant.net>
* ipq806x/nbg6817: add support for ZyXEL NBG6817André Valentin2016-10-268-8/+400
| | | | | | | | | | | | | | | | | CPU: 2x1.8GHz ARM, RAM: 512MiB Storage: 4MiB serial Flash, 3.9GiB MMC NIC: 2x1GBit/s, Switch with 5 external and 2 internal ports WiFi: Dualband, ath10k 2.4GHz, 5GHz MU-MIMO For installation copy xx-mmcblk0p4-kernel.bin and xx-mmcblk0p5-rootfs-full.bin to device. Then run: cat xx-mmcblk0p4-kernel.bin > /dev/mmc0blk0p4 cat xx-mmcblk0p5-rootfs-full.bin > /dev/mmc0blk0p5 reboot -f For debugging serial console is easily visible on board, no soldering needed. Signed-off-by: André Valentin <avalentin@marcant.net>
* lantiq: danube fxs bugfix: changed compatible attribute of vmmcStefan Koch2016-10-261-1/+1
| | | | | | | | This bugfix enables FXS support on dabube based devices. Changed "compatible" attribute from "vmmc" to "vmmc-xway". The vmmc driver uses "vmmc-xway". Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
* kirkwood: fix pogo_e02 LED namePaul Wassi2016-10-261-2/+4
| | | | | | | The pogo_e02's dts file has its LEDs named "pogo_e02:(...)" Fix the status-LED's name for this device. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* ramips: fix PSG1218 LEDsXuefu Lin2016-10-263-5/+6
| | | | Signed-off-by: Xuefu Lin <xuefulin@gmail.com>
* ar71xx: add support for TP-Link WR802N v1Julius Schulz-Zander2016-10-2612-0/+132
| | | | | | | This patch adds support solely for version 1 of the TP-Link WR802N. It is based on Rick Pannen's patch posted on the OpenWrt devel list. Signed-off-by: Julius Schulz-Zander <julius@inet.tu-berlin.de>
* kirkwood: remove redundant code in etc/board.d/02_networkPaul Wassi2016-10-261-10/+5
| | | | | | | | Remove redundant code: merge boards/cases that share the same network configuration. Also fix the alphabetical ordering of the cases. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* ar71xx: Remove switch config for the MR12/MR16Chris Blake2016-10-261-2/+0
| | | | | | | These boards do not have a switch, so they should have never been added to this file in the first place. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* ar71xx: add mac partition to the MR12/MR16Chris Blake2016-10-263-23/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | On the stock Meraki Firmare for the MR12/MR16, a chunk of SPI space after u-boot-env is used to store the boards Mac address. Sadly as this was removed on any device already on OpenWRT/LEDE, moving forward a new, 64k partition named "mac" will be used to store the mac address for the device (which is the minimum size). This allows users to properly set the correct MAC, without editing the ART partition (which holds the same MAC for all devices). The reason the space is taken from kernel instead of rootfs is currently kernels are only 1.3MB, so that way we can leave the current rootfs space alone for users who fully utilize the available storage space. Once this partition is added to a device, you can set your MAC doing the following: mtd erase mac echo -n -e '\x00\x18\x0a\x33\x44\x55' > /dev/mtd5 sync && reboot Where 00:18:0a:33:44:55 is your MAC address. This was tested, and confirmed working on both the MR12 and MR16. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* ar71xx: Move MR12 & MR16 from legacy to genericChris Blake2016-10-263-16/+26
| | | | | | | | | | | This moves the Meraki MR12 and Meraki MR16 to the new generic target. Tested and verified working on both devices. Note that kernel/rootfs images are still generated. This is because they are used for the inital flashing process due to the fun pace at which UBoot erases/writes to SPI. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* imx6: Add ds1307 RTC to kernel for working hctosysPetr Štetiar2016-10-261-0/+2
| | | | | | | | | | | Otherwise if we use ds1307 as kernel module, hctosys fails as ds1307 is being initialized later then hctosys: [ 2.427349] hctosys: unable to open rtc device (rtc0) [ 3.714263] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc1 [ 8.990061] rtc-ds1307 3-006f: rtc core: registered mcp7941x as rtc0 Signed-off-by: Petr Štetiar <ynezz@true.cz>
* kirkwood: Add RTC driver to kernel for working hctosysPaul Wassi2016-10-263-6/+6
| | | | | | | Build the RTC driver into the kernel, (and remove the optional module), in order to make hctosys working. (Currently the module is loaded after hctosys has failed previously) Signed-off-by: Paul Wassi <p.wassi@gmx.at>