summaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* brcm47xx: fix switch config for devices with WAN port 0Rafał Miłecki2015-12-181-0/+14
| | | | | | | | | Commit r47866 dropped default values which were handling WAN interface at port 0. Fix it by handling 2 more cases on NVRAM values. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47932
* brcm47xx: update kernel 4.4 configRafał Miłecki2015-12-181-6/+18
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47931
* brcm47xx: add kernel 4.4 supportRafał Miłecki2015-12-1821-0/+2212
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47930
* ralink: update the mt7621 ethernet support patchJohn Crispin2015-12-171-19/+21
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47929
* ar71xx: add support for TRENDnet TEW-823DRUJohn Crispin2015-12-1713-3/+221
| | | | | | | | | | | | | | Add support for TRENDnet TEW-823DRU: - cpu: QCA9558 @720MHz - flash: 16MB - ram: 256MB - 4+1 RJ45 100/1000Mbps - wifi: QCA9558 (bgn) and QCA9880-BR4A (ac) - 1x USB 2.0 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 47927
* omap: add kernel 4.4John Crispin2015-12-171-0/+721
| | | | | | | | - tested on Beagleboard C4 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 47925
* 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> SVN-Revision: 47922
* 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> SVN-Revision: 47920
* 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> SVN-Revision: 47919
* lantiq: fix ARV7519RW22 buttonsJohn Crispin2015-12-171-7/+7
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47918
* 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> SVN-Revision: 47915
* 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> SVN-Revision: 47914
* 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> SVN-Revision: 47913
* 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> SVN-Revision: 47912
* 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> SVN-Revision: 47911
* ath9k: Allow configuration of LED polarity in platform data.John Crispin2015-12-171-0/+1
| | | | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 47910
* ramips: mt7621: fix error message when initramfs is too largeJohn Crispin2015-12-171-1/+1
| | | | | | Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47908
* 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> SVN-Revision: 47907
* 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> SVN-Revision: 47906
* 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> SVN-Revision: 47905
* 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> SVN-Revision: 47904
* 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> SVN-Revision: 47903
* ralink: update config files to build the cleaned up ethernet driverJohn Crispin2015-12-177-28/+37
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47902
* ralink: drop dummy profile from mt7688John Crispin2015-12-172-14/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47901
* ralink: fixup devicetree files to work with new ethernet driverJohn Crispin2015-12-17139-176/+190
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47900
* ralink: drop old ethernet driverJohn Crispin2015-12-1721-6842/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47899
* 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> SVN-Revision: 47898
* bcm53xx: print bcm47xxpart buf to debug R8000 UBI problemRafał Miłecki2015-12-161-0/+40
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47896
* generic/4.4: bump to -rc5Imre Kaloz2015-12-155-39/+5
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 47894
* 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> SVN-Revision: 47892
* 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> SVN-Revision: 47889
* ramips: add missing kernel symbolsJohn Crispin2015-12-126-0/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47884
* 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> SVN-Revision: 47882
* 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> SVN-Revision: 47881
* ramips: add support for Spansion S34ML0[24]G2 flashJohn Crispin2015-12-121-0/+43
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47880
* 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> SVN-Revision: 47878
* 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> SVN-Revision: 47877
* 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> SVN-Revision: 47876
* 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> SVN-Revision: 47875
* 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> SVN-Revision: 47874
* 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> SVN-Revision: 47873
* Revert "ramips: use gic timer as clocksource for mt7621"Felix Fietkau2015-12-113-101/+0
| | | | | | This reverts commit 270a2afcc544ca14e79198346e7e186033472ae7. SVN-Revision: 47872
* 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> SVN-Revision: 47871
* 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> SVN-Revision: 47867
* brcm47xx: migrate network config to board detection frameworkJo-Philipp Wich2015-12-113-241/+173
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47866
* 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> SVN-Revision: 47851
* 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> SVN-Revision: 47850
* 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> SVN-Revision: 47849
* 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> SVN-Revision: 47848
* 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> SVN-Revision: 47847