aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/hotplug.d
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: extract ath10k wifi board.bin for the OpenMesh A40 boardSven Eckelmann2017-02-141-0/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: extract ath10k wifi board.bin for the OpenMesh A60 boardSven Eckelmann2017-02-141-0/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add support to TP-Link Archer C59v1 and C60v1Henryk Heisig2017-01-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TP-Link Archer C59v1 is a dual-band AC1350 router, based on Qualcomm/Atheros QCA9561+QCA9886. Specification: - 775/650/258 MHz (CPU/DDR/AHB) - 128 MB of RAM (DDR2) - 16 MB of FLASH (SPI NOR) - 3T3R 2.4 GHz - 2T2R 5 GHz - 5x 10/100 Mbps Ethernet - USB 2.0 port - 8x LED (controled by 74HC595), 3x button - UART header on PCB TP-Link Archer C60v1 is a dual-band AC1350 router, based on Qualcomm/Atheros QCA9561+QCA9886. Specification: - 775/650/258 MHz (CPU/DDR/AHB) - 64 MB of RAM (DDR2) - 8 MB of FLASH (SPI NOR) - 3T3R 2.4 GHz - 2T2R 5 GHz - 5x 10/100 Mbps Ethernet - 7x LED, 2x button - UART header on PCB Currently not working: - Port LAN1 on C59, LAN4 on C60 - WiFi 5GHz (missing ath10k firmware for QCA9886 chip) - Update from oficial web interface ( tplink-saveloader not support "product-info") Flash instruction: 1. Set PC to fixed ip address 192.168.0.66 2. Download lede-ar71xx-generic-archer-cXX-v1-squashfs-factory.bin and rename it to tp_recovery.bin 3. Start a tftp server with the file tp_recovery.bin in its root directory 4. Turn off the router 5. Press and hold Reset button 6. Turn on router with the reset button pressed and wait ~15 seconds 7. Release the reset button and after a short time the firmware should be transferred from the tftp server 8. Wait ~30 second to complete recovery. Flash instruction under U-Boot, using UART: 1. tftp 0x81000000 lede-ar71xx-...-sysupgrade.bin 2. erase 0x9f020000 +$filesize 3. cp.b $fileaddr 0x9f020000 $filesize 4. reset Signed-off-by: Henryk Heisig <hyniu@o2.pl> [Jo-Philipp Wich: remove duplicate ATH79_MACH_ARCHER_C59/C60_V1 entries] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: add support for TP-Link RE450Tal Keren2016-12-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | Add full support for TP-Link RE450. The wireless SoC is similiar to Archer C7: QCA9558 + QCA9880 (pci). The ethernet interface is AR8035, but the mdio is connected to the gpio and the chipset builtin mdio bus isn't used, which is unique (and weird), so the kernel gpio mdio module is used. The two ethernet leds are connected to the GPIO, so they are both configured, one to indicate link status and the other to indicate data transfer. The generation of the image was added to the image Makefile. The return value of tplink-safeloader is not ignored anymore (to fail on error) The result factory image is flashable from the stock web ui. Signed-off-by: Tal Keren <kooolk@gmail.com> [rd@radekdostal.com: ar71xx: RE450: do not build RE450 for nand] Signed-off-by: Radek Dostál <rd@radekdostal.com> [hyniu@o2.pl: ar71xx: RE450: Renaming LED accordance with the standard] Signed-off-by: Henryk Heisig <hyniu@o2.pl> [jo@mein.io: squash fixes from Radek and Henryk into original commit] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: sort items in 11-ath10k-caldata alphabeticallyRadek Dostál2016-12-221-21/+21
| | | | | Requested-by: Mathias Kresin <dev@kresin.me> Signed-off-by: Radek Dostál <rd@radekdostal.com>
* ar71xx: add support for YunCore SR3200 and XD3200Piotr Dymacz2016-12-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | YunCore SR3200 is a dual-band AC1200 router, based on Qualcomm/Atheros QCA9563+QCA9882+QCA8337N. YunCore XD3200 (FCC ID: 2ADUG-XD3200) is a dual-band AC1200 ceiling mount AP with PoE support, based on Qualcomm/Atheros QCA9563+QCA9882+QCA8334. Common specification: - 775/650/258 MHz (CPU/DDR/AHB) - 128 MB or RAM (DDR2) - 16 MB of FLASH (SPI NOR) - 2T2R 2.4 GHz, with ext. PA (SKY65174-21), up to 30 dBm - 2T2R 5 GHz, with ext. PA (SKY85405-11) and LNA (SKY85601-11), up to 30 dBm SR3200 specification: - 5x 10/100/1000 Mbps Ethernet - 6x ext. RP-SMA antennas (actually, only 4 are connected with radio chips) - 3x LED (+ 5x LED in RJ45 sockets), 1x button - UART header on PCB XD3200 specification: - 2x 10/100/1000 Mbps Ethernet, with 802.3at PoE support (WAN port) - 4x internal antennas - 3 sets of LEDs on external PCB (+ 2x LED near RJ45 sockets), 1x button - UART and JTAG (custom 6-pin, 2 mm pitch) headers on PCB LED for 5 GHz WLAN is currently not supported on both devices as it is connected directly to the QCA9882 radio chip. Flash instruction under vendor firmware, using telnet/SSH: 1. If your firmware does not have root password, go to point 5 2. Connect PC with 192.168.1.x address to LAN or WAN port 3. Power up device, enter failsafe mode with button (no LED indicator!) 4. Change root password and reboot (mount_root, passwd ..., reboot -f) 5. Upload lede-ar71xx-...-sysupgrade.bin to /tmp using SCP 6. Connect PC with 192.168.188.x address to LAN port, SSH to 192.168.188.253 7. Invoke: - cd /tmp - fw_setenv bootcmd "bootm 0x9fe80000 || bootm 0x9f050000" - mtd -e firmware -r write lede-ar71xx-...-sysupgrade.bin firmware Flash instruction under U-Boot, using UART: 1. tftp 0x80060000 lede-ar71xx-...-sysupgrade.bin 2. erase 0x9f050000 +$filesize 3. cp.b $fileaddr 0x9f050000 $filesize 4. setenv bootcmd "bootm 0x9fe80000 || bootm 0x9f050000" 5. saveenv && reset Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for COMFAST CF-E380AC v1 and v2Piotr Dymacz2016-11-211-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | COMFAST CF-E380AC v1/v2 is a ceiling mount AP with PoE support, based on Qualcomm/Atheros QCA9558+QCA9880+AR8035. There are two versions of this model, with different RAM and U-Boot mtd partition sizes: - v1: 128 MB of RAM, 128 KB U-Boot image size - v2: 256 MB of RAM, 256 KB U-Boot image size Version number is available only inside vendor GUI, hardware and markings are the same. Short specification: - 720/600/200 MHz (CPU/DDR/AHB) - 1x 10/100/1000 Mbps Ethernet, with PoE support - 128 or 256 MB of RAM (DDR2) - 16 MB of FLASH - 3T3R 2.4 GHz, with external PA (SE2576L), up to 28 dBm - 3T3R 5 GHz, with external PA (SE5003L1), up to 30 dBm - 6x internal antennas - 1x RGB LED, 1x button - UART (T11), LEDs/GPIO (J7) and USB (T12) headers on PCB - external watchdog (Pericon Technology PT7A7514) Flash instruction: Original firmware is based on OpenWrt. Use sysupgrade image directly in vendor GUI. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: tl-wpa8630: Use dynamic parsing of the firmware partitionHenryk Heisig2016-11-161-1/+1
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ar71xx: wpa8630: change board name to tl-wpa8630Henryk Heisig2016-11-081-4/+4
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ar71xx: Add support to Powerline ac TP-Link WPA8630Henryk Heisig2016-10-311-0/+4
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ar71xx: add support for D-Link DAP-2695 rev. A1Stijn Tintel2016-10-271-0/+4
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* ar71xx: Add support to DomyWifi DW33DJing Lin2016-10-251-0/+4
| | | | Signed-off-by: Jing Lin <mumuqz@163.com>
* ar71xx: add support for the Airtight C-60Christian Lamparter2016-10-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the Airtight C-60. SOC: Atheros AR9344 rev 2 (CPU:560.000MHz) RAM: 128 MiB NOR: MX25L3205D 4MiB NAND: ST Micro NAND 32MiB 3,3V 8-bit SW-NET: AR8327N (2 Ports) WLAN1: Dual-Band AR9340 Rev:2 (built-in SoC) WLAN2: Dual-Band AR9300 Rev:4 PCIe Chip The switch is setup for an accesspoint: LAN1: (gigabit) is the wan-port. LAN2: (fast ethernet) is bridged with the br-lan. Flashing Guide (via initramfs): 1. Connect a PC to the serial port of the C-60. power up the C-60. Enter u-boot command prompt: #> nand erase #> setenv bootcmd "bootm 0x9f060000" #> saveenv #> setenv ipaddr 192.168.1.1 #> setenv netmask 255.255.255.0 #> setenv serverip 192.168.1.100 #> setenv bootfile lede-ar71xx-nand-c-60-initramfs-kernel.bin #> tftpboot #> bootm 2. Wait for the C-60 to boot LEDE. On the root prompt. Enter: # ubiformat /dev/mtd4 # ubiattach -p /dev/mtd4 3. After that copy the sysupgrade.tar onto the router and run: # sysupgrade sysupgrade.tar to flash the image. Special thanks to Chris Blake <chrisrblake93@gmail.com>. He provided a C-60 unit and he helped with debugging the switch, LEDs and platfrom support. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* ar71xx: add userspace support for D-Link DIR-869 A1, generate imagesFlorian Beier2016-10-111-0/+1
| | | | | | Signed-off-by: Florian Beier <beier.florian@gmail.com> [Matthias Schiffer: fix factory image, improve commit message] Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: add support for Cisco Meraki Z1 Cloud Managed Teleworker GatewayChris Blake2016-09-271-0/+20
| | | | | | | | | This patch adds support for Cisco's Z1. Detailed instructions for the flashing the device can be found in the OpenWrt wiki: <https://wiki.openwrt.org/toh/meraki/z1> Signed-off-by: Chris Blake <chrisrblake93@gmail.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: Add support for Ubiquiti UniFi AP AC PROP.Wassi2016-05-121-1/+2
| | | | | 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-121-1/+1
| | | | | | | 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: extract ath10k wifi board.bin for the OpenMesh OM5P-ACv2 boardJohn Crispin2016-04-091-1/+2
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49154
* ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-AC boardJohn Crispin2016-04-091-0/+4
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49147
* ar71xx: Support for Ubiquiti UniFi AP AC LITEJohn Crispin2016-02-121-0/+3
| | | | | | | Add support for the Ubiquiti UniFi AP AC LITE Signed-off-by: P.Wassi <p.wassi at gmx.at> SVN-Revision: 48711
* ar71xx: Add support for AirTight Networks C-55John Crispin2015-12-231-0/+8
| | | | | | | | This patch is to add support for the AirTight Networks C-55 Access Point Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> SVN-Revision: 47973
* 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: add support for Cisco's MR18John Crispin2015-12-121-0/+32
| | | | | | | | | | | 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
* ar71xx: Add support for ZyXEL NBG6616.Felix Fietkau2015-11-071-0/+2
| | | | | | Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> SVN-Revision: 47405
* 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: add support for TP-Link TL-WDR6500 v2John Crispin2015-08-171-0/+4
| | | | | | | | | | | Signed-off-by: Weijie Gao <hackpascal@gmail.com> This patch adds support for TP-Link TL-WDR6500 v2. The firmware has a U-Boot header for kernel, and a TP-LINK v2 header for the whole firmware, so I have to create a new firmware creation method. SVN-Revision: 46663
* ar71xx: Enable ath10k calibration data loading for EnGenius ESR1750 and EPG500.John Crispin2015-07-181-0/+5
| | | | | | | | | | As r46245 disabled the board.bin template workaround, 5GHz wifi stopped working on these devices. This adds them to the calibration data loading introduced in r46244 and thus makes 5GHz work again for these devices. Signed-off-by: Christian Beier <cb@shoutrlabs.com> SVN-Revision: 46415
* ar71xx: add support for the devolo dLAN pro 1200+ WiFi acJohn Crispin2015-07-141-0/+3
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> SVN-Revision: 46342
* ar71xx: Unify ath10k calibration data loadingJohn Crispin2015-07-071-12/+49
| | | | | | | | | | | | | Currently one board uses the "proper" way of providing firmware with the name ath10k/cal-pci-<pci address>.bin, whereas other boards patch board.bin template in preinit and rely on a custom ath10k patch to use calibration data from the template. This patch makes all boards use the first method. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 46244
* ar71xx: add user-space support for RB911G-5HPacDGabor Juhos2015-04-071-0/+45
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45300
* Netgear R6100 supportImre Kaloz2014-11-261-0/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43382
* ar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machinesJohn Crispin2014-07-211-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41788
* /lib/functions.sh: move rarely used mtd and macaddr related functions to ↵Felix Fietkau2014-04-071-0/+1
| | | | | | | | /lib/functions/system.sh Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40411
* ar71xx: wndr4300: set official mac addressesGabor Juhos2013-11-151-2/+11
| | | | | | | | | | | | | | | | | | Get the factory assigned mac addresses stored in the caldata partition and asign them to lan and wan interfaces. Also put the correct mac addresses into the WiFi eeprom files to ensure that the ath9k driver will use the correct ones. Signed-off-by: Stefan Agner <stefan@agner.ch> Patchwork: http://patchwork.openwrt.org/patch/4350/ [juhosg: - move WiFi MAC address setup to the firmware hotplug file, - use the official MAC address for the 2.4GHz as well, - remove uci-defaults.sh modifications, - update commit message] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38812
* ar71xx: rework changes from r35840Luka Perkov2013-03-031-2/+1
| | | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35865
* ar71xx: add support for Buffalo WZR 600DHPLuka Perkov2013-03-011-1/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 35840
* Do not use deprecated path to functions.sh (/etc/functions.sh -> ↵Mirko Vogt2012-12-191-1/+1
| | | | | | /lib/functions.sh) SVN-Revision: 34793
* ar71xx: add user-space support for the NETGEAR WNDR4300Gabor Juhos2012-12-121-0/+52
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34649
* ar71xx: Buffalo WZR-HP-AG300H LED supportGabor Juhos2012-08-291-0/+51
An improved LED support for Buffalo WZR-HP-AG300H. There will be two new packages to go with this patch (ar922x-led-fix-hotplug and ar922x-led-fix-init). These packages essentially perform the same task of disabling "JTAG over GPIO pins" function which is currently required for LEDs on AR922x emac GPIO to work, and are both considered a temporary fix that circumvent this problem. [juhosg: add the hotplug script from the proposed ar922x-led-fix-hotplug package to ar71xx/base-files] Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> SVN-Revision: 33294