aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
...
* brcm2708: update 4.1 patchesJohn Crispin2015-12-17213-390/+1950
| | | | | | | | | As usual, this patches were taken (and rebased) from https://github.com/raspberrypi/linux/commits/rpi-4.1.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: add GW2393 SupportJohn Crispin2015-12-171-1/+3
| | | | | | | | | | | Based off of the GW2391-C, but with the following changes: * 4x4in to 4x5in pcb * flat panel connector for LED signals Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47920 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: Fix commentJohn Crispin2015-12-171-1/+1
| | | | | | | | Original comment was wrong about which pads are being set. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47919 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix ARV7519RW22 buttonsJohn Crispin2015-12-171-7/+7
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47918 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add the TDW8980 5GHz ledJohn Crispin2015-12-171-0/+7
| | | | | | | | | Still unused, but u-boot doesn't take care of the led, which results in a permanent switched on 5GHz LED. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Fix LED handling.John Crispin2015-12-171-24/+32
| | | | | | | | | | - Use common OpenWrt blink patterns instead of custom ones - Add preinit_regular hook - Handle the TDW89X0 that does not have a configurable power LED Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Configure LED polarity for TDW8970.John Crispin2015-12-171-0/+4
| | | | | | | | This patch configures the correct ath9k WLAN LED polarity for the TDW8970. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47913 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Configure disabled WLAN bands for TDW89X0.John Crispin2015-12-171-0/+1
| | | | | | | | | | | | | | | | | The TDW8970 has a AR9381, which is the bgn 3x3:3 variant of the AR938x family. The TDW8980 has a AR9287, which is the bgn 2x2:2 variant of the AR928x family. This means that the chip for both routers is 2.4 GHz only. Anyway, the manufacturer didn't disable the 5 GHz band in the EEPROM partition (at least on my TDW8970). So this patch disables the 5 GHz band. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Allow configuration of ath9k disabled bands and LED polarity from ↵John Crispin2015-12-171-1/+17
| | | | | | | | the device tree. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: Allow configuration of LED polarity in platform data.John Crispin2015-12-171-0/+1
| | | | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: mt7621: fix error message when initramfs is too largeJohn Crispin2015-12-171-1/+1
| | | | | | Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47908 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove unwanted change from patchJohn Crispin2015-12-171-11/+0
| | | | | | | | Remove unwanted change to irq-mips-gic.c from mt7621 support patch Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47907 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: change CM_GCR_BASE_CMDEFTGT_MEM value to match datasheetJohn Crispin2015-12-171-0/+12
| | | | | | | | | | Zero config value for default memory region means 'memory', not not 'disabled' according to 'Control Registers Of The Coherency Manager' manual. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: mt7621: undo mips-cm probe hack to not wipe out memory regionsJohn Crispin2015-12-171-0/+20
| | | | | | | | | | Since now we hopefully setup memory regions properly we no longer need this hack. Tested and works on ubnt-erx. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47905 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: mt7621: setup memory region for pcie controller memoryJohn Crispin2015-12-171-0/+42
| | | | | | | | | Only compile tested since I do not have any hardware with devices on pcie bus. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47904 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: mt7621: add patch to setup CM memory region for palmbusJohn Crispin2015-12-171-0/+36
| | | | | | | | This is tested and works on ubnt-erx. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: update config files to build the cleaned up ethernet driverJohn Crispin2015-12-177-28/+37
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47902 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: drop dummy profile from mt7688John Crispin2015-12-172-14/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47901 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fixup devicetree files to work with new ethernet driverJohn Crispin2015-12-17139-176/+190
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: drop old ethernet driverJohn Crispin2015-12-1721-6842/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47899 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add reworked ethernet driverJohn Crispin2015-12-1717-24/+7877
| | | | | | | | update to the version of the driver that is on its way upstream Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47898 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: print bcm47xxpart buf to debug R8000 UBI problemRafał Miłecki2015-12-161-0/+40
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/4.4: bump to -rc5Imre Kaloz2015-12-155-39/+5
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47894 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: clean up ethernet tx queue after reset, wake queues when done - ↵Felix Fietkau2015-12-141-3/+8
| | | | | | | | fixes hangs reported in #18922 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Update merakinand.sh to fix sysupgradeFelix Fietkau2015-12-131-1/+0
| | | | | | | | | | Remove reliance on /lib/upgrade/nand.sh as this is called by sysupgrade, based on felix's comments at https://lists.openwrt.org/pipermail/openwrt-devel/2015-December/037963.html Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47889 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add missing kernel symbolsJohn Crispin2015-12-126-0/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47884 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add rx/tx delay definitons for qca955x's MACFelix Fietkau2015-12-121-0/+14
| | | | | | | | This patch adds the rx/tx register offsets for the qca955x SoC. Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Ubiquiti EdgeRouter X (UBNT-ERX)John Crispin2015-12-127-2/+301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This router is based on MT7621 SoC, no wifi, no usb, nand. Works: * Boots. * Ethernet. * Switch. * Button (reset). * Flashing OpenWrt from stock firmware. * Upgrading OpenWrt. Doesn't work: * No GPIO leds. All leds are controlled by switch, but stock firmware was able to control them. * SoC has crypto engine but no open driver. * SoC has nat acceleration, but no open driver. * This router has 2MB spi flash soldered in but MT nand/spi drivers do not support pin sharing, so it is not accessable and disabled. Stock firmware could read it and it was empty. * PoE out. Router has serial pins populated. If looking at the top of the router, then counting from Eth sockets pins go as: 'GND, RX, TX, GND'. 3.3v, 57600. U-boot bootloader supports tftpboot, controlled from serial. This router has two kernel partitions: 'live' and 'backup'. They are swapped during flashing (on both stock and OpenWrt). Active partition is controlled by a flag in a factory partition. U-boot has custom command to switch active kernel partition. Kernel partitions are 'bare flash' 3MB. Stock bootloader has no UBI support. Stock rootfs is UBIFS. Flashing procedure. Stock firmware uses custom kernel patch to mount squashfs from a file that is located on UBIFS volume. This makes wiping out this volume from within stock firmware difficult. Instead this patch builds image that is flashable by stock firmware and contains initrams image (with minimal set of packages to fit into kernel partition). Once this is flashed one can reboot into initramfs OpenWrt and use sysupgrade to flash OpenWrt including rootfs into nand. Note: factory image is only built if initramfs image is enabled. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47881 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Spansion S34ML0[24]G2 flashJohn Crispin2015-12-121-0/+43
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47880 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Cisco's MR18John Crispin2015-12-1216-0/+541
| | | | | | | | | | | This patch adds support for Cisco's MR18. Detailed instructions for the flashing the device can be found in the OpenWrt forum thread: <https://forum.openwrt.org/viewtopic.php?id=59248> Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47878 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: remove stray "+" from ethernet driverJohn Crispin2015-12-121-1/+1
| | | | | | | | this is what you get if you manually apply patches with c&p Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47877 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: move partition definitions out of mt7621.dtsi fileJohn Crispin2015-12-122-20/+22
| | | | | | | | | Partitions defined in parent dtsi cannot be undefined in children. This moves partitions defined in mt7621.dtsi into board's device tree. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47876 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use gic timer as clocksource for mt7621John Crispin2015-12-123-0/+112
| | | | | | | | | | * Switches clocksource to gic timer. * Moves frequency definitions to dtsi since frequency was hardcoded anyway Will work on proper frequency detection later. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47875 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reorganize target patches/files to make it possible to add boards ↵Felix Fietkau2015-12-1123-2314/+1843
| | | | | | | | without adding patch files Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: on wnr2200, revert the mac0/mac1, the ethernet interfaces are ↵Felix Fietkau2015-12-111-3/+3
| | | | | | | | swapped. use MAC1 for wlan Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47873 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ramips: use gic timer as clocksource for mt7621"Felix Fietkau2015-12-113-101/+0
| | | | | | This reverts commit 270a2afcc544ca14e79198346e7e186033472ae7. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47872 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix MAC address swapping on WNR2200 and fix the WLAN MAC addressFelix Fietkau2015-12-111-3/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-1138-38/+38
| | | | | | | | | Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one and update all users accordingly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: migrate network config to board detection frameworkJo-Philipp Wich2015-12-113-241/+173
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47866 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: get rid of ltq-vdsl-fwJohn Crispin2015-12-111-1/+0
| | | | | | | | | Because of dsl-vrx200-firmware-xdsl-* there's no need anymore to download a dsl firmware at runtime. Signed-off-by: Andre Heider <a.heider@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix led setup after switch to uci-defaults-new.shJohn Crispin2015-12-111-6/+7
| | | | | | | | | | | | | | | | | | | | | | | The switch to uci-defaults-new.sh revealed a bug in the former used uci-defaults.sh, which failed to add leds with colons in the led name. This bug isn't any longer present in uci-defaults-new.sh and therefore all via DT defined leds will be added to /etc/config/system with their initial on/off state, regardless whether they are already added by the board specific led mappings. This results for a BTHOMEHUBV5A into the following led configuration: - soc:blue:power is added as led_power with the initial state "switched on" - soc:blue:power is added as led_soc_blue_power with the initial state "switched off" With the final result of a switched off power led after boot. The only led that needs to be added is the BTHOMEHUBV5A specific dimmed led. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: build image for TL-WR710N v2.1John Crispin2015-12-111-1/+10
| | | | | | | | | | This patch just extends target/linux/ar71xx/image/Makefile to build images also for version 2.1 of TL-WR710N patch against the latest git Signed off by: Norbert Wegener <nw@wegener-net.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add LED driver NU801John Crispin2015-12-114-0/+476
| | | | | | | | | The MR18 uses a 3-channel 16-bit PWM Constant Current Driver for its status LED. Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for Wallys DR344John Crispin2015-12-119-0/+254
| | | | | | | | This patch is for Wallys DR344 support under OpenWRT Signed-off-by: Philippe Duchein <wireless-dev@duchein.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47847 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image for AP121/16MJohn Crispin2015-12-111-1/+3
| | | | | | | | Build image for the AP121 reference board with 16MB flash. Signed-off-by: Norbert Wegener <nw@wegener-net.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add additional support for MQmaker WiTi boardJohn Crispin2015-12-117-1/+178
| | | | | | | | | | | | | | The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram, 2 sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and one 5 ghz antenna. This is the 6th submission that adds support for XHCI in the device tree file, along with switching the location of the 2 radio's and addition of the kmod-i2c-mt7621 in the default packages of the profile. Signed-off-by: Sebastian Careba <nitroshift@yahoo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47845 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix support for PBR-M1 boardJohn Crispin2015-12-113-22/+61
| | | | | | | | | | The PBR-M1 support in current OpenWrt is for the early demo board and it doesn't work on the final board.This patch fixes the support for it. The LED called pbr-m1:buzzer is a beeper connected to GPIO26 so I used gpio-beeper instead of gpio-leds. Signed-off-by: 郭传鈜 <gch981213@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47844 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use gic timer as clocksource for mt7621John Crispin2015-12-113-0/+101
| | | | | | | | | | * Switches clocksource to gic timer. * Moves frequency definitions to dtsi since frequency was hardcoded anyway Will work on proper frequency detection later. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47843 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enable CPS for mt7621John Crispin2015-12-113-123/+21
| | | | | | | | | | | | | Enables CPS multiprocessing instead ob obsoleted CMP for mt7621. This patch fixes a few issues currently existing on 4.3 kernel with at least ubnt-erx: * iperf shows only 50Mbits on direct gigabit connection to desktop, * ping times jump to 5-6ms to dorectly connected desktop * /proc/interrupts shows spurious interrups (ERR) Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: irq handlers do not get irq in 4.3 kernel, update patchesJohn Crispin2015-12-112-29/+4
| | | | | | | | | | | This resolves compilation warnings like this: drivers/gpio/gpio-mt7621.c: In function 'mediatek_gpio_probe': drivers/gpio/gpio-mt7621.c:328:46: warning: passing argument 2 of 'irq_set_chained_handler' from incompatible pointer type [-Wincompatible-pointer-types] irq_set_chained_handler(mediatek_gpio_irq, mediatek_gpio_irq_handler); Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47841 3c298f89-4303-0410-b956-a3cf2f4a3e73