summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: fix typo in r47416Felix Fietkau2015-11-071-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47417
* ar71xx: fix alignment of struct arpt_arp (fixes #14577)Felix Fietkau2015-11-071-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47416
* 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> SVN-Revision: 47406
* ar71xx: Add support for ZyXEL NBG6616.Felix Fietkau2015-11-0710-26/+194
| | | | | | Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> SVN-Revision: 47405
* 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> SVN-Revision: 47404
* 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> SVN-Revision: 47363
* 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> SVN-Revision: 47344
* ar71xx: fix regression in building TL-WDR6500-v2 imagesFelix Fietkau2015-11-011-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47333
* ar71xx/image: remove old unused build code for TPLINKFelix Fietkau2015-10-311-33/+0
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 47321
* ar71xx/image: remove old unused build code for TPLINKOLDFelix Fietkau2015-10-311-32/+0
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 47320
* 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> SVN-Revision: 47319
* ar71xx/image: remove old unused build step TPLINK-64KFelix Fietkau2015-10-311-33/+0
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 47318
* ar71xx/image: migrate tl-wdr6500-v2 to new image build stepsFelix Fietkau2015-10-311-2/+9
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 47317
* ar71xx/image: refactor templates tplink-chn-v2Felix Fietkau2015-10-311-14/+2
| | | | SVN-Revision: 47316
* ar71xx/image: introduce TPLINK_HEADER_VERSION variable for tplink imageFelix Fietkau2015-10-311-3/+7
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 47315
* 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> SVN-Revision: 47270
* 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> SVN-Revision: 47263
* 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> SVN-Revision: 47262
* 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> SVN-Revision: 47261
* 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> SVN-Revision: 47252
* 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> SVN-Revision: 47236
* 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> SVN-Revision: 47234
* 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> SVN-Revision: 47221
* 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> SVN-Revision: 47179
* 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 SVN-Revision: 47178
* 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> SVN-Revision: 47177
* 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> SVN-Revision: 47176
* 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> SVN-Revision: 47175
* 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> SVN-Revision: 47174
* 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> SVN-Revision: 47173
* 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> SVN-Revision: 47110
* 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> SVN-Revision: 47107
* 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> SVN-Revision: 47104
* 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] SVN-Revision: 47036
* 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> SVN-Revision: 47034
* ar71xx: add support for ap152 reference boardJohn Crispin2015-09-166-0/+202
| | | | | | Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> SVN-Revision: 46972
* 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> SVN-Revision: 46971
* ar71xx: uci-defaults: fix ap143 to appropriate groupJohn Crispin2015-09-161-1/+1
| | | | | | Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> SVN-Revision: 46970
* 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> SVN-Revision: 46961
* 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> SVN-Revision: 46934
* 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> SVN-Revision: 46933
* 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> SVN-Revision: 46932
* ar71xx: enable sysupgrade for the OpenMesh MR1750John Crispin2015-09-142-1/+8
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46929
* ar71xx: add user-space support for the OpenMesh MR1750 boardJohn Crispin2015-09-144-0/+13
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46927
* ar71xx: add kernel support for the OpenMesh MR1750 boardJohn Crispin2015-09-143-0/+169
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46926
* 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> SVN-Revision: 46922
* 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> SVN-Revision: 46893
* 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> SVN-Revision: 46881
* ar71xx: Restore buildability of the AP121 targetFelix Fietkau2015-09-111-2/+4
| | | | | | | | | Increase space for kernel and also introduce a 8M flash target into the Makefile. Signed-off-by: Attila Lendvai <attila@lendvai.name> SVN-Revision: 46862
* ar71xx: fix ar724x clock calculationFelix Fietkau2015-09-111-0/+22
| | | | | | | | | | | | | | | | | According to the AR7242 datasheet section 2.8, AR724X CPUs use a 40MHz input clock as the REF_CLK instead of 5MHz. The correct CPU PLL calculation procedure is as follows: CPU_PLL = (DIV * REF_CLK) / REF_DIV / 2. This patch is compatible with the current calculation procedure with default DIV and REF_DIV values. Test on both AR7240, AR7241 and AR7242. Signed-off-by: Weijie Gao <hackpascal@gmail.com> SVN-Revision: 46856