aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* ramips: enhance dma engine supportMichael Lee2016-06-241-211/+1339
| | | | | | | | | | | | | | * fix compiler error. device_control operation not support now. * add old chips support 8 channels. new chips support 16 channels. * add mt7621 hsdma driver. data sheet says it has two channels. but after test only one channel support. * add memory to memory DMA support. i use dmatest kernel module to verify this function. on rt305x it will copy more data. on mt7621 only two channels can works at the same time. these two chips maybe have hardware bugs. because on other chips don't have these bugs. * use tasklet to handle remaining dma requests. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: fix Netgear EX2700 imagesJoseph C. Lehner2016-06-241-3/+3
| | | | | | | Calling `cat foo bar | dd ... conv=sync` *may* add extraneous padding. Avoid this. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
* ramips: add kmod-pwm-mediatek for mt7628/mt7688Álvaro Fernández Rojas2016-06-241-1/+21
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix the number of uarts for each SoCÁlvaro Fernández Rojas2016-06-246-7/+4
| | | | | | | | - Use default number of uarts (2) for rt288x/rt305x/rt3883/mt7620. - Allow up to 3 uarts on MT7621 and MT7628. - Remove unneeded SERIAL_8250_RT288X for MT7628. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix Mi Wi-Fi Nano Wireless LED pinmuxÁlvaro Fernández Rojas2016-06-241-2/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: add Widora-NEO board supportYuan Chenmang2016-06-246-1/+184
| | | | | | | | | The Widora board is similar to the Linkit 7688 but features a larger flash capacity. Signed-off-by: Yuan Chenmang <771992497@qq.com> [Jo-Philipp Wich: Reword commit message, cleanup initial PR] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: fix Netgear EX2700 imagesJoseph C. Lehner2016-06-241-2/+3
| | | | | | | | The previous image creation code would have failed if the unpadded kernel uImage size was less than 64 bytes from the next erase block boundary. Fix that. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
* ramips: fix Netgear EX2700 imagesJoseph C. Lehner2016-06-241-8/+4
| | | | | | | | The bootloader on this device expects the kernel partition to end on a 64k boundary. The last 64 byte of the kernel partition must contain a valid uImage header (the fakeroot partition). Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
* ramips: add backported MT7628 pinmux fixesÁlvaro Fernández Rojas2016-06-244-2/+220
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: Add status led for Xiaomi MiWiFi NanoCezary Jackiewicz2016-06-241-1/+2
| | | | Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips: fix timing issues when using MT7621 spiJohn Crispin2016-06-241-3/+6
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: Add specific compatible properties for eswStanislav Galabov2016-06-242-2/+2
| | | | | | | | | | | | | | | | Currently, for RT5350 and MT7628, esw is marked as compatible with "ralink,rt3050-esw". While this is true, the switches within RT5350 and MT7628 actually support more functionality than the RT3050 switch. One such example is per-VLAN untagging, which is an important feature. RT3352 is another example of this, but it already has an additional compatible property, which allows to differentiate it from RT3050. This commit adds such more specific properties for RT5350 and MT7628 as well. Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* ramips: cleanup for Hame MPR-A2Cezary Jackiewicz2016-06-242-2/+3
| | | | | | | | | | | | - disable all ethernet ports except port 0 on MPR-A2 Port 0 is the only ethernet port on this router, so disable all other PHYs in order to save power. - don't use a VLAN for the single ethernet port of the MPR-A2 Like A5-V11, this router only has one ethernet port. Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips: use green power LED as status indicator for Buffalo WSR-1166 and WSR-600Felix Fietkau2016-06-241-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: remove fake vlan rx offload from ethernet driverFelix Fietkau2016-06-244-27/+6
| | | | | | The network stack does not need it to do GRO Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix pinctrl regressionÁlvaro Fernández Rojas2016-06-246-6/+6
| | | | | | This regression was introduced in commit 9195d8da. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix spidev generic nodesÁlvaro Fernández Rojas2016-06-243-5/+6
| | | | | | | Use linux,spidev compatible string. Move MZK-DP150N spidev to spi1 node. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix size-cells on spi nodesÁlvaro Fernández Rojas2016-06-24111-114/+114
| | | | | | size-cells should be 0 in order to avoid dummy values in reg properties. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix 8M WT3020 image creationJohn Crispin2016-06-241-1/+1
| | | | | | fix image size for 8M version : 4M -> 8M Signed-off-by: Gerhard Bertelsmann <info@gerhard-bertelsmann.de>
* ramips: fix ArcherC20i image creation - 3rd tryJohn Crispin2016-06-241-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix Archer C20i image buildFelix Fietkau2016-06-241-2/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: set default profile to priority 1John Crispin2016-06-246-0/+6
| | | | | | doing so will sort all profiles alphabetically Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix ArcherC20i image creationJohn Crispin2016-06-241-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips/mt7621: remove cflags overrideFelix Fietkau2016-06-241-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: disable unused ethernet ports on VoCoreÁlvaro Fernández Rojas2016-06-241-1/+2
| | | | | | Only ports 0 and 4 are used so disable the other ones in order to save power. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix indentation of Build/* template commandsFelix Fietkau2016-06-242-12/+12
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: add wmac nodes to all mt7628/88 dts filesJohn Crispin2016-06-243-0/+11
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: add status led for ZBT-WE826Andrew Yong2016-06-241-1/+2
| | | | Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: convert a bunch of targets to new image building codeZoltan HERPAI2016-06-2434-723/+448
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* target: globally remove ARCH_PACKAGES overridesJo-Philipp Wich2016-06-2417-106/+57
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: DTS modificationsStanislav Galabov2016-06-249-3/+87
| | | | | | | | | | | | | | This commit makes the following modifications to ramips dts files: 1. Add clkctrl node to all dtsi files (although not used for now) 2. Add clocks and clock-names properties to some nodes (usbphy, pci) 3. Add usbphy node for rt3050 (although not used for now) 4. Add clock-frequency to uart nodes in mt7621.dtsi and mt7628an.dtsi These modifications, although not fully used at the moment, will make it easier for FreeBSD to adopt and use LEDE ramips dts files with minimal changes for easier maintenance. Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* ramips: add initial support for SamKnows SK-WB8Andrew Yong2016-06-249-0/+169
| | | | Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: DTS reworkStanislav Galabov2016-06-24196-9852/+9599
| | | | | | | | Add node aliases to dtsi files. Reword dts files so they're more in-line with upstream. Fix some more warnings and errors reported by dtc Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* include/image.mk: move build step tplink-safeloader to image.mkAsh Benz2016-06-241-12/+0
| | | | | | Move tplink-safeloader from target/linux/ar71xx/image/tp-link.mk to include/image.mk Signed-off-by: Ash Benz <ash.benz@bk.ru>
* ipq806x: bump to 4.4Zoltan HERPAI2016-06-231-1/+1
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* ipq806x: enable ieee80211 phy hotplug and patch macaddressAdrian Panella2016-06-231-0/+23
| | | | | | | | Calibration data for QCA99x0 in this device has bogus macaddress. The data cannot be modified directly, as it breaks checksum control. Instead change the macaddress from phy add hotplug event. Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* ipq806x: Fix typo in Qualcomm device namesSven Eckelmann2016-06-231-3/+3
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ipq806x: add initial support for Netgear R7800Pavel Kubelun2016-06-2310-12/+1597
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: move ath10k firmware selection into device profilesPavel Kubelun2016-06-232-1/+8
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: move smb208 nodes into a regulator subnodePavel Kubelun2016-06-231-0/+69
| | | | Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: fix MAC_POWER_SEL switch configurationJosh Bendavid2016-06-235-6/+6
| | | | | | Fixes instability/corruption on the ethernet interface connected to port0 on the switch. Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
* ipq806x: activate ATAG DTB mangle and EA8500 rootblock in dtsAdrian Panella2016-06-233-1/+190
| | | | | | | | | | | | | | The command-line arguments provided by the boot loader will be appended to a new device tree property: bootloader-args. If there is a property "append-rootblock" in DT under /chosen and a root= option in bootloaders command line it will be parsed and added to DT bootargs with the form: <append-rootblock>XX. Only command line ATAG will be processed, the rest of the ATAGs sent by bootloader will be ignored. This is usefull in dual boot systems, to get the current root partition without afecting the rest of the system. Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* ipq806x: add missing kernel config symbolJo-Philipp Wich2016-06-231-0/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ipq806x: restore old stmmac dma patch which is still needed to fix data ↵Josh Bendavid2016-06-231-0/+117
| | | | | | corruption Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
* ipq806x: move dts file to the files folderJohn Crispin2016-06-238-1173/+1528
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ipq806x: base-files: add support for Linksys EA8500Adrian Panella2016-06-238-0/+142
| | | | Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* ipq806x: build Linksys EA8500 imagesAdrian Panella2016-06-231-1/+18
| | | | Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* ipq806x: update bombZoltan HERPAI2016-06-2375-5072/+4291
| | | | | | | | | | | | | | | | | ipq806x: Add support for linux-4.4 ipq806x: Add Archer C2600 to image/Makefile ipq806x/base-files: Add Archer C2600 LEDs and board ipq806x/base-files: Add support for Archer C2600 ipq806x/base-files: extract ath10k caldata ipq806x/dts: Add Archer C2600 DTS ipq806x: enable PM support ipq806x: add a default profile ipq806x: add diag.sh script ipq806x: qcom rpm fix support for smb208 mtd: add linksys_bootcount for ipq806x uboot-envtools: add ipq806x support Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* ipq806x: enable fpuAdrian Panella2016-06-231-1/+1
| | | | | | Enable hardfloat to use all the cpu power Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* realview: sync kernel config file, update to 4.4Zoltan HERPAI2016-06-232-1/+298
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>