aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add function to access the GPIO function2 registerHauke Mehrtens2015-11-101-0/+72
| | | | | | | | | | | Add access to the function2 gpio register. This probably has to be converted into a pimux driver later on. This is needed for some setup functions on the Arduino Yun. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47449 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-LINK TL-WR941ND v6 (international version)Felix Fietkau2015-11-0810-80/+265
| | | | | | | | | | | | | | | The international version is completely different from the already supported Chinese version. The WLAN of the QCA956x SoC used by this router has been fixed in r46948. This patch looks like it changes a lot in 700-MIPS-ath79-openwrt-machines.patch; that is not the case. Unfortunately, quilt decided to completely reorganize the Kconfig patch even though only a single section has been added. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47420 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix typo in r47416Felix Fietkau2015-11-071-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47417 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix alignment of struct arpt_arp (fixes #14577)Felix Fietkau2015-11-071-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47416 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TP-LINK TL-WR1043ND v3Felix Fietkau2015-11-071-1/+8
| | | | | | | | | The hardware of the v3 is identical to the v2. Based-on-patch-by: Andreas Ziegler <github@andreas-ziegler.de> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for ZyXEL NBG6616.Felix Fietkau2015-11-0710-26/+194
| | | | | | Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47405 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/image.mk: Introduce generic option to wrap kernel into JFFS2Felix Fietkau2015-11-071-16/+3
| | | | | | | | | Some devices require the kernel to be in a JFFS2 file system. Make the support for this more generic so that it can be used by other devices. Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47404 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use correct PLL configuration register bitmask for QCA956x SoC.Felix Fietkau2015-11-021-2/+2
| | | | | | | | | Incorrect value causes clock inaccuracy as huge as 1/60. Signed-off-by: Dmitry Ivanov <dima@ubnt.com> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47363 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for wdr7500v3John Crispin2015-11-021-1/+8
| | | | | | | | | | The device is similar to Archer C7 v2, but with 8M of flash, and 6 external antennas. Reason for breaking the naming pattern is that sticker on the back mentions "WDR7500" and has no mention of "Archer". Signed-off-by: Srdjan Rosic <rosic@google.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix regression in building TL-WDR6500-v2 imagesFelix Fietkau2015-11-011-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47333 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: remove old unused build code for TPLINKFelix Fietkau2015-10-311-33/+0
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47321 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: remove old unused build code for TPLINKOLDFelix Fietkau2015-10-311-32/+0
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47320 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: migrate tl-wr841nd-v1.5 to new build step using squashfs+jffs2 ↵Felix Fietkau2015-10-311-4/+9
| | | | | | | | | | | instead of squashfs-only All other tplink images use squashfs+jffs2. I don't see any reason why this board should use squashfs-only Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: remove old unused build step TPLINK-64KFelix Fietkau2015-10-311-33/+0
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47318 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: migrate tl-wdr6500-v2 to new image build stepsFelix Fietkau2015-10-311-2/+9
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: refactor templates tplink-chn-v2Felix Fietkau2015-10-311-14/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: introduce TPLINK_HEADER_VERSION variable for tplink imageFelix Fietkau2015-10-311-3/+7
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Fix environment pointer setup in ar71xx/ath79John Crispin2015-10-261-3/+19
| | | | | | | | | | | | | | | Observed on ar71xx/ath79 platforms such as Ubiquiti RouterStations.Reported in #20642.: (https://dev.openwrt.org/ticket/20642). If embedded command-line text exists with CONFIG_IMAGE_CMDLINE_HACK=y,firmware init doesn't initialize environment pointer (fw_init_cmdline not called). arcs_cmdline is not initialized before calling strlcat. Signed-off-by: Ted Hess <thess@kitschensync.net> Tested-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-LINK TL-WR841N/ND v10John Crispin2015-10-261-1/+8
| | | | | | | | | | The TL-WR841N/ND v10 is mostly identical to the v9. Apart from some minor changes, it contains a newer revision of the QCA9533 SoC and the CPU clock is significantly higher. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47263 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2John Crispin2015-10-262-12/+22
| | | | | | | | | | | | | | ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This fixes the very low TX power on some devices like the TP-LINK TL-WR841ND v10. As ath79_soc_rev is only used to get the revision number to ath9k on the QCA9533, just set it to the expected value on the ver. 2. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Tested-by: Felix Kaechele <felix@kaechele.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Bitmain Antminer S1/S3 set GPIO for USB PowerJohn Crispin2015-10-262-1/+6
| | | | | | | | | Antminers using the stock bootloader will not hash without this GPIO set. Applies to DD and CC Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47261 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.1 to version 4.1.11Hauke Mehrtens2015-10-255-24/+24
| | | | | | | | | https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Send power to USB port on WNR2200John Crispin2015-10-191-4/+4
| | | | | | | | | | | | | This patch fixes ticket #15267 by enabling power on the WNR2200's USB port. At present, the USB port on the WNR2200 is non-functional due to it not receiving power. This patch defines an additional GPIO pin, but none of the current GPIO definitions have been modified. Signed-off-by: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX@bitmessage.ch> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add Gainstrong MiniBox v1.0 support to trunkJohn Crispin2015-10-199-0/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch supersedes the v1 from September 17th. Bumping the patch version - the MiniBox profile showed up under M, but since it's called 'Gainstrong MiniBox v1.0' now it looks out of place. Renamed the profile to gs-minibox-v1.mk to fix that. The following patch adds support for the Gainstrong MiniBox into trunk (or 'Designated Driver' :D ). Fixed items: - Inverted LED polarity (OOLITE seems to suffer from the same problem). - Changed uppercase MINIBOX_V1_ prefix as requested. - Prefixes are now gs_minibox_ similar to gs_oolite_ (same vendor). - Mention the vendor (Gainstrong) in code headers. Compiles fine, has been confirmed working by owners on 15.05. Question: I've seen some boards use tools/firmware-utils/src/mktplinkfw.c, the MiniBox images build fine without, so I'm wondering: do I need to add it in there as well? Any added benefit? Thank you Signed-off by: Stijn Segers <francesco.borromini@inventati.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47234 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Bitmain Antminer S1 & S3 cleanupJohn Crispin2015-10-199-40/+48
| | | | | | | | | | | | Sets the LEDs to boardname:color:led-name Sets the LAN to eth0 Other corrections such as the Machine Name and HWIDs v2 corrects the profile names in the Makefile and changes tabs to spaces in the Makefile 'define Device/' like the other devices. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47221 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: TP-LINK Archer C5 image nameJohn Crispin2015-10-111-2/+2
| | | | | | | | There are more version on market, add version number to the name. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: migrate all images based on macro TPLINKJohn Crispin2015-10-111-44/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | Includes images for rnx-n360rt tl-mr3220-v1 tl-mr3420-v1 tl-wa701n-v1 tl-wa730rev1 tl-wa7510n tl-wa801nd-v1 tl-wa830re-v1 tl-wa901nd-v1 tl-wa901nd-v2 tl-wr740n-v1 tl-wr740n-v3 tl-wr743nd-v1 tl-wr841nd-v3 tl-wr841nd-v5 tl-wr841nd-v7 tl-wr842n-v1 tl-wr941nd-v2 tl-wr941nd-v3 tl-wr941nd-v4 tl-wr1043nd-v1 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47178 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: remove old build step TPLINK-LZMAJohn Crispin2015-10-111-28/+1
| | | | | | | | all boards has been migrated to the new build step Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47177 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: migrate last TPLINK-LZMA images to new build systemJohn Crispin2015-10-111-4/+19
| | | | | | | | Migrate TLWR1043V2 TLWR2543 Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47176 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: refactor tplink-chn-v2 devicesJohn Crispin2015-10-111-29/+5
| | | | | | | | | | * use build step mktplinkfw with extra arguments * remove now unused mktplinkfw-chn-v2 * use Device/tplink Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47175 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: add options argument to mktplinkfw stepJohn Crispin2015-10-111-2/+7
| | | | | | | | | Allow to pass extra arguments to mktplinkfw step. Some board requires an extra argument to create a valid image. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47174 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: remove unused multiprofile definitonsJohn Crispin2015-10-111-2/+0
| | | | | | | | | These profiles covered by new image/Makefile descriptions. Only the old format uses MultiProfile macro Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47173 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Correct WeIO board nameJohn Crispin2015-10-051-1/+1
| | | | | | | | Trivial parch to correct WeIO board name in the system. Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename firmware for Chinese version of TL-WR941ND v6Rafał Miłecki2015-10-051-2/+3
| | | | | | | | | | | | | It seems there are two *different* versions on TL-WR941ND v6: Chinese and European one. Currently supported by OpenWrt is Chinese one. Rename firmware to make it clear. For details see: http://wiki.openwrt.org/toh/tp-link/tl-wr941nd https://forum.openwrt.org/viewtopic.php?id=59295 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47107 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 4.1 to 4.1.10Hauke Mehrtens2015-10-048-18/+18
| | | | | | | | | | | | | | | | | | | | Fixes a regression on spi flash devices (upstream commit 1583eaece6fa). Changelogs: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.10 096-ipv4-off-by-one-in-continuation-handling-in-proc-net.patch was applied upstream and dropped. Signed-off-by: Mathias Kresin <openwrt@kresin.me> [update from 4.1.9 to 4.1.10] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47104 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add WeIO Board SupportFelix Fietkau2015-09-247-6/+187
| | | | | | | | | | Add support for WeIO board (http://we-io.net). This board is based on Carambola2 board form 8Devices. Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com> Signed-off-by: Felix Fietkau <nbd@openwrt.org> [some cleanups] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47036 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix bogus hardcoded kernel image size for Seama images (fixes #20585)Felix Fietkau2015-09-241-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47034 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for ap152 reference boardJohn Crispin2015-09-166-0/+202
| | | | | | Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath79: dev-eth: fix QCA9561 set phy interface mode and maskJohn Crispin2015-09-161-2/+7
| | | | | | | | | | QCA9563 and QCA9561 are two series of Qualcomm SoC Dragonfly. The only different is QCA9563 w/o internal switch. It has one GMAC with SGMII interface. But they have the same device ID(0x1150). So they share the same codes. Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: uci-defaults: fix ap143 to appropriate groupJohn Crispin2015-09-161-1/+1
| | | | | | Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add UBNT airGateway Pro supportJohn Crispin2015-09-168-3/+88
| | | | | | | | This patch adds kernel and userspace support for the Ubiquiti Networks airGateway Pro. Signed-off-by: Matthew Reeve <mreeve at tenxnetworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add TP-LINK TL-WDR3320 v2 supportJohn Crispin2015-09-1410-1/+256
| | | | | | | | | | This patch adds support for TP-LINK TL-WDR3320 v2. This router uses a chinese version 2 firmware header,. Signed-off-by: Weijie Gao <hackpascal@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750 boardJohn Crispin2015-09-141-0/+4
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create profile and build image for the OpenMesh MR1750 boardJohn Crispin2015-09-142-2/+14
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46932 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable sysupgrade for the OpenMesh MR1750John Crispin2015-09-142-1/+8
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46929 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for the OpenMesh MR1750 boardJohn Crispin2015-09-144-0/+13
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the OpenMesh MR1750 boardJohn Crispin2015-09-143-0/+169
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46926 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: assign proper GPIO pin for Ubiquiti Nanostation modelsJohn Crispin2015-09-141-2/+2
| | | | | | | | | | | | | The GPIO pins for "POE passthrough" of Ubiquiti Nanostation models are the following: * Ubiquiti Nanostation M XM: Pin 8 * Ubiquiti Nanostation M XW: Pin 2 The previous definition of the pins was mixed up between XM and XW model. Signed-off-by: Lars Kruse <lists@sumpfralle.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix build of lzma-loader with binutils 2.25.1Hauke Mehrtens2015-09-121-1/+2
| | | | | | | | | | | | | | | | | To make the lzma-loader build with binutils 2.25.1 it is needed to remove the .MIPS.abiflags section otherwise I get the following compile error: mips-openwrt-linux-musl-objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S loader loader.bin mips-openwrt-linux-musl-objcopy: Warning: Writing section `.text' to huge (ie negative) file offset 0xffffffff80a00000. mips-openwrt-linux-musl-objcopy:loader.bin[.text]: File truncated This should close #20487. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46893 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add CONFIG_MIPS_CDMM config optionHauke Mehrtens2015-09-111-1/+0
| | | | | | | | | This driver was added in kernel 4.1. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46881 3c298f89-4303-0410-b956-a3cf2f4a3e73