aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
...
* tools/tplink-safeloader: split CPE210 from CPE510 profileAlexander Couzens2016-05-271-0/+1
| | | | | | | | | The CPE210 was still described for the OEM upgrade as compatible, even the wireless configuration isn't compatible anymore between both series (2ghz and 5ghz). Update the CPE210 image profile to use the new profile. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ar71xx: switch ordering and template to improve readabilityAlexander Couzens2016-05-271-5/+5
| | | | | | | The CPE210's ancestor is the CPE510 not the other way around. The device profile is also named after the CPE510. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* include/image.mk: move build step tplink-safeloader to image.mkAsh Benz2016-05-271-12/+0
| | | | | | Move tplink-safeloader from target/linux/ar71xx/image/tp-link.mk to include/image.mk Signed-off-by: Ash Benz <ash.benz@bk.ru>
* ar71xx: add GPIO pin for usb power switch for RouterBOARD 912Cezary Jackiewicz2016-05-271-0/+4
| | | | | | | RB912 has one usb shared between external USB and miniPCIe slot. GPIO52 can reroute power to external USB (=1) or internal miniPCIe slot (=0) Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ar71xx/cpe510: use second wifi calibration tableAlexander Couzens2016-05-231-1/+1
| | | | | | | The cpe510 has two calibration tables. The first calibration table requires to modify ath9k driver to work (patched tx gain table). Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ar71xx/cpe510: split profile into 2 profiles cpe210 and cpe510Alexander Couzens2016-05-238-10/+43
| | | | | | | Split profile into 2GHz and 5GHz. The 5GHz devices are quite "special". The 2 GHz works perfect. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ar71xx: add MR1750v2 to the MR1750 profileSven Eckelmann2016-05-231-2/+2
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750v2 boardSven Eckelmann2016-05-231-0/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: enable sysupgrade for the OpenMesh MR1750v2Sven Eckelmann2016-05-231-0/+2
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add user-space support for the OpenMesh MR1750v2Sven Eckelmann2016-05-235-2/+9
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add kernel support for the OpenMesh MR1750v2Sven Eckelmann2016-05-232-0/+2
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add OM2P-HSv3 to the OM2P profileSven Eckelmann2016-05-231-2/+2
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3Sven Eckelmann2016-05-232-0/+3
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add user-space support for the OpenMesh OM2P-HSv3Sven Eckelmann2016-05-233-0/+5
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add kernel support for the OpenMesh OM2P-HSv3Sven Eckelmann2016-05-232-0/+2
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: Allow OpenMesh CE images with more than 3 filesSven Eckelmann2016-05-231-1/+1
| | | | | | | | | | The CE image format used by OpenMesh can contain extra blocks which are not used for flashing. Only the first three embedded images (fwupgrade.cfg, kernel, rootfs) are required in this order to successfully flash an image via sysupgrade. All extra embedded images should be ignored for the available devices. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: Move OpenMesh image target validation into subfunctionSven Eckelmann2016-05-231-32/+39
| | | | | | | | | | | | | The platform_check_image_openmesh function used break statements to signal that the board name matched the image target. This worked because the sysupgrade binary checked the image inside a loop. The break statement stopped the loop and skipped any additional check. Instead the check should be done without such sideeffects by simply combining the board names and image targets. Only a mismatch should cause a negative result for the caller and skipping of the additional checks. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: Generate sysupgrade images for OpenMesh devicesSven Eckelmann2016-05-231-0/+3
| | | | | | | | | | | | Some OpenWrt based firmwares like Gluon expect that a sysupgrade image exists when a device firmware can be updated via sysupgrade. This image wasn't created until now because OpenMesh devices use the same image for factory and sysupgrade flash. Copying the image from *factory.bin to *sysupgrade.bin is therefore enough to make the sysupgrade functionality visible. Reported-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: Add support for initramfs images for OpenMesh devicesSven Eckelmann2016-05-231-0/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: move nand device image definitions to a separate fileFelix Fietkau2016-05-232-24/+22
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: move generic device image definitions to a separate fileFelix Fietkau2016-05-232-339/+338
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: split ubnt image building code into a separate fileFelix Fietkau2016-05-232-247/+248
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: split legacy image building code into a separate fileFelix Fietkau2016-05-232-1212/+1219
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: split tp-link image building code into a separate fileFelix Fietkau2016-05-232-746/+748
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove linux 4.1 supportFelix Fietkau2016-05-2195-10035/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx/cpe510: enable LNA for CPE210/220/510/520Alexander Couzens2016-05-201-0/+6
| | | | | | | The LNA improves the rx path. Within a simple test setup it improved the signal from -60dbm to -40dbm. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* kernel: update kernel 4.4 to version 4.4.11Álvaro Fernández Rojas2016-05-194-14/+14
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ar71xx: fix a remaining unaligned access issueFelix Fietkau2016-05-191-0/+19
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix register address calculation for DDR flushingFelix Fietkau2016-05-181-0/+23
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix typo in pci memory window initialization fixFelix Fietkau2016-05-161-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: typo in jjplus profileCezary Jackiewicz2016-05-161-1/+1
| | | | Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ar71xx: update to linux 4.4Felix Fietkau2016-05-151-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: register the gpio driver earlierFelix Fietkau2016-05-151-0/+15
| | | | | | This allows gpio requests from mach files to succeed. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix a PCI initialization issue in Linux 4.4Felix Fietkau2016-05-151-0/+37
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix DDR write buffer flushing issues with 4.4Felix Fietkau2016-05-1513-97/+1386
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add support for TP-LINK TL-WR842N/ND v3Cezary Jackiewicz2016-05-149-9/+129
| | | | | | | | | | | - CPU QCA9531-BL3A - RAM: 64MB - flash: 16MB - USB AP143 platform, similar to tl-wr841n v10/v11, but with USB Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ar71xx: add proper support for Archer-C7 V2John Crispin2016-05-143-5/+42
| | | | | | This has minor differences to the V1 Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: Fix TP-LINK Archer-C5/C7 v2 rfkillJohn Crispin2016-05-121-1/+1
| | | | | | Fix ARCHER_C7_GPIO_BTN_RFKILL, which is attached to GPIO23 Signed-off-by: Lars Buerding <lb.wrt@metatux.net>
* ar71xx: Add support for Ubiquiti UniFi AP AC PROP.Wassi2016-05-1210-4/+103
| | | | | Add support for the Ubiquiti UniFi AP AC PRO Signed-off-by: P.Wassi <p.wassi at gmx.at>
* ar71xx: Rename unifiac to unifiac-liteP.Wassi2016-05-1210-28/+33
| | | | | | | To avoid confusion with different unifiac devices, rename existing target "unifiac" to "unifiac-lite", before "unifiac-pro" is introduced. Signed-off-by: P.Wassi <p.wassi at gmx.at>
* ar71xx: add TP-Link TL-WR810N supportblogic2016-05-1012-0/+174
| | | | | | | | | This patch adds support for the TP-Link TL-WR810N. https://wiki.openwrt.org/toh/tp-link/tl-wr810n Signed-off-by: Jens Steinhauser <jens.steinhauser@gmail.com> SVN-Revision: 49286
* ar71xx: Fix eth0 support for Ubiquiti UniFi AP ACblogic2016-05-101-0/+1
| | | | | | | Fix eth0 support for the Ubiquiti UniFi AP AC Signed-off-by: Paul Wassi <p.wassi at gmx.at> SVN-Revision: 49277
* kernel: update kernel 4.4 to version 4.4.8Álvaro Fernández Rojas2016-04-241-3/+3
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* image / basefiles: make console password configurableJohn Crispin2016-04-181-1/+1
| | | | | Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: Add support for the OMYlink OMY-G1rebootJohn Crispin2016-04-2613-1/+172
| | | | | | | | | | https://wiki.openwrt.org/toh/omylink/omy-g1 http://www.omylink.com/ Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 49258
* ar71xx: Add TP-Link TL-WR740N v6 support to trunkJohn Crispin2016-04-261-1/+8
| | | | | | | | | | | | This patch adds support for the TP-Link TL-WR740N v6 into OpenWrt trunk. Hardware wise, it's very similar to the TL-WR841N v10. See the forum thread [1]. Credit goes to the user 'traveler' who did the legwork and tested builds. Also thanks to Matthias Schiffer for clarifying the DEVICE_PROFILE settings. Signed-off by: Stijn Segers <francesco.borromini@inventati.org> [1]: https://forum.openwrt.org/viewtopic.php?pid=318704 SVN-Revision: 49245
* ar71xx: simplify patch 613 and add missing error handlingJohn Crispin2016-04-262-6/+6
| | | | | | | | | Dynamic allocation of label can be simplified. Also add error handling to deal with failed memory allocation. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 49244
* ar71xx: build TP-LINK Archer C7 images with US region codeJohn Crispin2016-04-211-0/+1
| | | | | | | | | | | | | | | Since December 2015, the Archer C7 comes with an US-specific firmware. This firmware will only allow upgrades with images that contain the US region code in the firmware header. The "universal" firmware distributed in the rest of the world doesn't care about the region code, so we can just unconditionally set the region to US for now. When other region-specific firmwares appear, we'll need to create a factory image for each of them. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 49217
* ar71xx: fix giving extra arguments to Build/mktplinkfwJohn Crispin2016-04-211-13/+14
| | | | | | | | | | | | | | The build command will always get the whole argument string in $(1), regardless of whitespace. We need to use word/wordlist to split the string after the first word. Whitespace and quotation will be given to the command verbatim (make will ignore it), so to give multiple arguments, no quotation marks may be used. Fixes: r47174 ("ar71xx/image: add options argument to mktplinkfw step") Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 49216
* ar71xx: add config ATH79_MACH_TL_WA901ND_V4 for kernel 4.4Hauke Mehrtens2016-04-171-0/+1
| | | | | | | | This config option was not added in commit r49158. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49195