summaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: scan nand ubi partition for ath9k eeprom filesFelix Fietkau2015-12-191-0/+21
| | | | | | | | | | The MR18 stores the ath9k eeprom values on the NAND. This patch makes it possible to retrieve the images from there. Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> SVN-Revision: 47948
* ar71xx: refactor 10-ath9k-eepromFelix Fietkau2015-12-191-6/+6
| | | | | | | | | move all library includes and 'firmware already exists' check to the top of the script. Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> SVN-Revision: 47947
* ar71xx: PowerCloud CR5000 openwrt configurationFelix Fietkau2015-12-195-1/+18
| | | | | | | | | | | | OpenWrt configuration part of support for the PowerCloud Systems CR5000. The CR5000 is a dual-band 802.11n wireless router with 8MB flash, 64MB RAM, (unused on stock firmware) USB 2.0 port and five port gigabit ethernet switch. The CR5000 was sold as hardware for the Skydog cloud-managed router service. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 47946
* ar71xx: PowerCloud CR3000 OpenWrt configurationFelix Fietkau2015-12-195-1/+23
| | | | | | | | | | | | OpenWRt configuration part of support for the PowerCloud Systems CR3000. The CR3000 is a 802.11n 2.4 GHz wireless router with 8MB flash, 64MB RAM, a four port gigabit ethernet switch, and a fast ethernet wan port that was sold by PowerCloud Systems as hardware for the Skydog cloud-managed router service. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 47945
* ar71xx: PowerCloud CAP324 OpenWrt configurationFelix Fietkau2015-12-195-0/+17
| | | | | | | | | | | | | | | Openwrt configuration part of support for PowerCloud CAP324 Cloud AP. The CAP324 Cloud AP is a device sold by PowerCloud Systems who's stock firmware (CloudCommand) provides 'cloud' based managment of large numbers access points. The CAP324 is a dual-band 802.11n wireless access point with 16MB flash and 128MB RAM and single gigabit ethernet port. It can be powered via PoE or a wall wart. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 47944
* ar71xx: Image generation for PowerCloud CR5000 Cloud RouterFelix Fietkau2015-12-192-0/+36
| | | | | | | | | | | | Kernel part of support for the PowerCloud Systems CR5000. The CR5000 is a dual-band 802.11n wireless router with 8MB flash, 64 MB RAM, (unused in stock firmware) USB 2.0 port, and five port gigabit ethernet switch. The CR5000 was sold as hardware for the Skydog cloud-managed router service. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 47943
* ar71xx: Image generation for PowerCloud CR3000 Cloud RouterFelix Fietkau2015-12-192-2/+36
| | | | | | | | | | | | Image generation part of support for PowerCloud CR3000. The CR3000 is a 802.11n 2.4 GHz wireless router with 8MB flash, 64MB RAM, a four port fast ethernet switch, and a fast ethernet wan port which was sold by PowerCloud Systems as hardware for the Skydog cloud-managed router service. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 47942
* ar71xx: PowerCloud CAP324 image generationFelix Fietkau2015-12-192-0/+38
| | | | | | | | | | | | | | | Image generation (and mtd partition) part of support for PowerCloud CAP324 Cloud AP. The CAP324 Cloud AP is a device sold by PowerCloud Systems who's stock firmware (CloudCommand) provides 'cloud' based managment of large numbers of access points. The CAP324 is a dual-band 802.11n wireless access point with 16MB flash and 128MB RAM and single gigabit ethernet port. It can be powered via PoE or a power adaptor. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 47941
* ar71xx: Kernel board definition for PowerCloud CR5000Felix Fietkau2015-12-197-0/+192
| | | | | | | | | | | | Kernel part of support for the PowerCloud Systems CR5000. The CR5000 is a dual-band 802.11n wireless router with 8MB flash, 64 MB RAM, (unused in stock firmware) USB 2.0 port, and five port gigabit ethernet switch. The CR5000 was sold as hardware for the Skydog cloud-managed router service. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 47940
* ar71xx: Kernel board definition for PowerCloud CR3000Felix Fietkau2015-12-197-0/+176
| | | | | | | | | | | | Kernel part of support for PowerCloud CR3000. The CR3000 is a 802.11n 2.4 GHz wireless router with 8MB flash, 64MB RAM, a four port fast ethernet switch, and a fast ethernet wan port which was sold by PowerCloud Systems as hardware for the Skydog cloud-managed router service. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 47939
* ar71xx: Kernel board definition for PowerCloud CAP324Felix Fietkau2015-12-197-0/+148
| | | | | | | | | | | | | | | Kernel part of support for PowerCloud CAP324 Cloud AP. The CAP324 Cloud AP was a device sold by PowerCloud Systems as hardware for the CloudCommand service for 'cloud' based managment of large numbers access points. The CAP324 is a dual-band 802.11n wireless access point with 16MB flash and 128MB RAM and single gigabit ethernet port. It can be powered via PoE or a power adaptor. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 47938
* ramips: disable NAND device in mt7621.dtsi to fix boot errors on many devicesFelix Fietkau2015-12-193-12/+4
| | | | | | | | Enable it from .dts files that need it, also remove redundant properties Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47936
* ramips: update DTS files to use jedec,spi-nor compatible string for m25p80 ↵Felix Fietkau2015-12-1894-94/+94
| | | | | | | | to fix probe issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47935
* 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