aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: image: fix DEVICE_TITLE for several devicesPiotr Dymacz2017-02-033-4/+4
| | | | | | Be consistent with form and format of the vendor names. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: fix indentation in Kconfig.openwrtPiotr Dymacz2017-02-031-38/+40
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: drop help sections from Kconfig.openwrtPiotr Dymacz2017-02-031-19/+0
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: fix up mikrotik subtarget kernel configPiotr Dymacz2017-02-031-0/+4
| | | | | | Disable all devices which do not belong to the mikrotik subtarget. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: fix up nand subtarget kernel configPiotr Dymacz2017-02-031-1/+103
| | | | | | Disable all devices which do not belong to the nand subtarget. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: select ATH79_NVRAM only by boards actually use itPiotr Dymacz2017-02-031-4/+5
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add missing DEVICE_TITLE for mikrotik devicesFelix Fietkau2017-01-291-0/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: prepare jffs2 partition properly in factory.bin for BHR-4GRV2FUKAUMI Naoki2017-01-281-1/+1
| | | | | | "pad-rootfs" is required just after "append-rootfs". Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
* kernel: bump to 4.4.45Koen Vandeputte2017-01-271-2/+2
| | | | | | | | Refreshed patches for all supported targets. Compiled & tested on cns3xxx & imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* Revert "ar71xx: fix Archer C7 LED colour names"Mathias Kresin2017-01-271-4/+4
| | | | | | | | | | | This reverts commit e79ecb4c26471526552d2473bb50d331c3dafb87. The commit was incomplete and the issue that should be fixed isn't that easy fixable. The Archer C7 mach file is used for the Archer C5, WDR4900 and WDR7500 as well. Where the WDRs in compare to the Archer do have blue LEDs. Signed-off-by: Mathias Kresin <dev@kresin.me>
* Kernel: bump to 4.4.44Stijn Segers2017-01-273-37/+25
| | | | | | | | Bump kernel to 4.4.44. Compile-tested on ar71xx, ramips/mt7621 and x86/64. .44 has been run-tested on the 17.01 branch here on ar71xx and mt7621. Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
* ar71xx: fix Archer C7 LED colour namesMathias Kresin2017-01-271-4/+4
| | | | | | | | All LEDs on this board are green. Fixes: FS#409 Signed-off-by: Mathias Kresin <dev@kresin.me>
* ar71xx: add support to TP-Link Archer C59v1 and C60v1Henryk Heisig2017-01-2615-0/+460
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: QCA956X: add missing registerHenryk Heisig2017-01-266-4/+66
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ar71xx: fix netgear wndr3700 v1/v2, wndr3800/wndr3800ch switch port mappingQian Zheng2017-01-261-2/+5
| | | | Signed-off-by: Qian Zheng <sotux82@gmail.com>
* ar71xx: fix netgear wnr2000 v3 switch port mappingQian Zheng2017-01-261-2/+2
| | | | | | Signed-off-by: Qian Zheng <sotux82@gmail.com> [Jo-Philipp Wich: fix alphabetical order after merging with gl-ar300 case] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: fix tl-wr841n-v7 switch port mappingQian Zheng2017-01-261-1/+5
| | | | | | Signed-off-by: Qian Zheng <sotux82@gmail.com> [Jo-Philipp Wich: fix alphabetical order] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: Fix mikrotik subtarget default profile for device profile selectionAlex Samorukov2017-01-251-0/+1
| | | | Signed-off-by: Alex Samorukov <samm@os2.kiev.ua>
* ar71xx: improve Mikrotik hAP Lite device supportAlex Samorukov2017-01-253-4/+5
| | | | | | | | - remove CONFIG_MTD_SPI_NOR_USE_4K_SECTORS - enable jffs2 support - fix sysupgrade Signed-off-by: Alex Samorukov <samm@os2.kiev.ua>
* uboot-ar71xx: switch to using u-boot.mkFelix Fietkau2017-01-241-8/+9
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove mips16 feature flag from target makefilesFelix Fietkau2017-01-241-1/+1
| | | | | | | It can be implicitly derived from the MIPS32 revision support in the kernel configuration Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "ar71xx: wrt400n: lift size limit on kernel and rootfs part"John Crispin2017-01-204-24/+26
| | | | | | | | This reverts commit 78c2ec0f477bab5b5c2622b5a18c14e51dea7249. The builders were failing with a segfault when generating the image Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: add support for PQI Air PenYuheiOKAWA2017-01-2010-0/+132
| | | | | | | | | | | SoC: AR9331 Ethernet x1, Wireless 2.4G, uSD card slot x1. USB Power, include Li-Po Battery. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> Changes in v2: alphabetical ordering, tabs fron spaces.
* ar71xx: wrt400n: lift size limit on kernel and rootfs partYousong Zhou2017-01-204-26/+24
| | | | | | While at it, convert to new build method Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: add Abicom SC1750 supportConor O'Gorman2017-01-2010-0/+175
| | | | | | | | | | | | | | | | Support Abicom International Scorpion SC1750 Board QCA9550 700MHz Extended Temperature Range 256MB DDR2 256MB Nand Flash 16MB Nor Flash 1x SFP, 1x PCIe 2x 10/100/1000 Ethernet 135x100 mm 802.11ng/g/b 802.11ac/an/a Signed-off-by: Conor O'Gorman <i@conorogorman.net>
* ar71xx: add Abicom SC450 supportConor O'Gorman2017-01-2010-0/+181
| | | | | | | | | | | | | | | | | | | Support Abicom International Scorpion SC450 Board QCA9550 700MHz Extended Temperature Range 256MB DDR2 256MB NAND Flash 16MB NOR Flash 10/100/1000 Ethernet 15W Max, 3x3 Mode, Full Power TX Power 802.3-at POE+ & DC Input options 100x 85mm USB PCIe SFP GPIO/LED Signed-off-by: Conor O'Gorman <i@conorogorman.net>
* ar71xx: add Abicom SC300M supportConor O'Gorman2017-01-2011-1/+164
| | | | | | | | | | | | | | | | | Support Abicom International Scorpion SC300M Module QCA9550 700MHz Extended Temperature Range 256MB DDR2 256MB Nand Flash 16MB SPI Flash 802.11a/na/b/g/ng GPIO x 22, USB x2, PCIe x2 10/100/1000 Ethernet 23dBm, Optional Onboard Antenna DC Input, 8-20V DC 85 x 55 mm Signed-off-by: Conor O'Gorman <i@conorogorman.net>
* ar71xx: Chipidea USB device supportSvetoslav Neykov2017-01-203-1/+180
| | | | | | | | | | | | Changes the platform to use the Chipidea driver instead of the generic USB host driver which has support for both host and device modes (selected on boot). The changes in 930-chipidea-pullup.patch are already in mainline. I'll upstream 920-usb-chipidea-AR933x-platform-support.patch once I can test the changes with a newer kernel. Signed-off-by: Svetoslav Neykov <svetoslav@neykov.name>
* ar71xx: mark soft_config mtd part as writeable for RB-941-2nDThibaut VARENE2017-01-181-1/+0
| | | | | | | | | The soft_config partition must be writeable for rbcfg to be able to enact changes to the routerboot configuration. The read-only flag was a mistake in the initial patch. Removing it brings mach-rb941.c in line with all other RB platforms. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* ar71xx: fix up the kernel config for the mikrotik subtargetFelix Fietkau2017-01-161-0/+64
| | | | | | Limit enabled devices to routerboards, disable all other devices Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix network config for Mikrotik RB411UCezary Jackiewicz2017-01-161-0/+1
| | | | | | | Mikrotik RB411U has only one ethernet port - eth0. This patch allows to create correct config with one lan section. Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ar71xx: add support for RB-941-2nDThibaut VARENE2017-01-1611-4/+243
| | | | | | | | | | | | | | | | Add full support for Mikrotik RB-941-2nD (hAP lite) Original patch by Sergey Sergeev <adron@yapic.net> and more information is available here: https://wiki.openwrt.org/toh/mikrotik/rb941_2nd I updated and adapted the patch to apply cleanly to LEDE trunk and added proper numbering for the switch ports (matching case labels). Tested working on actual hardware with the information provided in the above webpage. Sysupgrade works. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: convert mikrotik routerboard support to UBIFelix Fietkau2017-01-1613-114/+80
| | | | | | | | | | Remove the wget2nand script, drop the need for manual installation, use sysupgrade instead. There are now two different NAND images, one for 64 MiB flashes, the other for >= 128 MiB Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: create a proper default profile for the mikrotik subtarget, drop ↵Felix Fietkau2017-01-162-23/+6
| | | | | | other profiles Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: Detect USB port on Mikrotik RB750UPJoão Chaínho2017-01-151-0/+3
| | | | | | The USB port on Mikrotik RB750UP isn’t detected. This patch provides a fix. Tested and working. Signed-off-by: João Chaínho <joaochainho@gmail.com>
* kernel: backport MIPS changes introducing a separate IRQ stackFelix Fietkau2017-01-151-1/+1
| | | | | | | | Prevents crashes when IRQs arrive when the current kernel stack context already contains deeply nested function calls, e.g. when stacking lots of network devices on top of each other Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: default to external USB power on RB-912UAGFelix Fietkau2017-01-131-1/+1
| | | | | | | | | There's a GPIO that can switch between power to USB pins for the internal MiniPCIe slot or the external USB port. People are more likely to use the external one so enable it by default. Existing configurations should be unaffected Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: enable serial console on Mikrotik RB411/RB433David Varga2017-01-131-1/+3
| | | | | | | | | This patch adds support for serial console on Mikrotik RB411 and RB433 series devices. Signed-off-by: David Varga <duvi@duvinet.hu> [picked from FS#377] Signed-off-by: Mathias Kresin <dev@kresin.me>
* ar71xx: disable sub-page writes on routerboard nand driversFelix Fietkau2017-01-113-0/+3
| | | | | | They seem to fail in tests using UBI, and are not used by yaffs2 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix legacy image build errorFelix Fietkau2017-01-111-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix RB4xx CPLD SPI device mode setupFelix Fietkau2017-01-111-1/+1
| | | | | | | | Commit af79fdbe4af3 changed the code to use tx_nbits for dual SPI tx transfers, however the SPI stack only allows this when the device mode includes the relevant bit as well Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix RB4xx SPI driver mode bitsFelix Fietkau2017-01-111-1/+1
| | | | | | Accept SPI_TX_DUAL in device mode to fix the CPLD driver Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: drop references to madwifiStijn Tintel2017-01-101-3/+3
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add support for TP-Link WBS210/510Matthias Schiffer2017-01-058-8/+95
| | | | | | | The devices are mostly identical to the CPE210/510, but use external antennas. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: remove a non-upstream spi core patchFelix Fietkau2017-01-055-208/+8
| | | | | | | - use standard flags instead - remove dead code from the rb4xx spi drivers Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: RE450: enable building of TP-Link RE450Radek Dostál2016-12-221-0/+16
| | | | Signed-off-by: Radek Dostál <rd@radekdostal.com>
* ar71xx: add support for TP-Link RE450Tal Keren2016-12-2213-0/+220
| | | | | | | | | | | | | | | | | | | | | | | 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>
* firmware-utils: kernel image generator for TP-Link RE450Tal Keren2016-12-221-0/+10
| | | | | | | | | | | | | | | | | The firmware image that is used in TP-Link RE450 (and some more devices from the RE series) is tplink-safeloader. In the kernel partition, the kernel is compressed in a regular tp-link firmware that is just used for booting. Since it is only used for compressing and booting, only four fields are filled in the header: Vendor, version, kernel load address and kernel entry point. mktplinkfw-kernel is a simpler version of mktpolinkfw that generate such images. It also specifies the hardware id (as it is in the product info section), so when doing a sysupgrade - the existing code will check for hardware compatibility. Signed-off-by: Tal Keren <kooolk@gmail.com> [rd@radekdostal.com: add build target to .../image/tp-link.mk] Signed-off-by: Radek Dostál <rd@radekdostal.com>
* ar71xx: remove redundant -j from TL-WR1043ND v4 kernel build commandMatthias Schiffer2016-12-211-1/+1
| | | | | | | mktplinkfw ignores -j in combined mode, the EOF marker is added by tplink-safeloader. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>