aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: clean up ethernet tx queue after reset, wake queues when done - ↵Felix Fietkau2015-12-141-3/+8
| | | | | | | | fixes hangs reported in #18922 Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47892
* ar71xx: Update merakinand.sh to fix sysupgradeFelix Fietkau2015-12-131-1/+0
| | | | | | | | | | Remove reliance on /lib/upgrade/nand.sh as this is called by sysupgrade, based on felix's comments at https://lists.openwrt.org/pipermail/openwrt-devel/2015-December/037963.html Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> SVN-Revision: 47889
* ar71xx: add rx/tx delay definitons for qca955x's MACFelix Fietkau2015-12-121-0/+14
| | | | | | | | This patch adds the rx/tx register offsets for the qca955x SoC. Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> SVN-Revision: 47882
* ar71xx: add support for Cisco's MR18John Crispin2015-12-1216-0/+541
| | | | | | | | | | | 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: reorganize target patches/files to make it possible to add boards ↵Felix Fietkau2015-12-1123-2314/+1843
| | | | | | | | without adding patch files Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47874
* ar71xx: on wnr2200, revert the mac0/mac1, the ethernet interfaces are ↵Felix Fietkau2015-12-111-3/+3
| | | | | | | | swapped. use MAC1 for wlan Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47873
* ar71xx: fix MAC address swapping on WNR2200 and fix the WLAN MAC addressFelix Fietkau2015-12-111-3/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47871
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-113-3/+3
| | | | | | | | | Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one and update all users accordingly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47867
* ar71xx: build image for TL-WR710N v2.1John Crispin2015-12-111-1/+10
| | | | | | | | | | This patch just extends target/linux/ar71xx/image/Makefile to build images also for version 2.1 of TL-WR710N patch against the latest git Signed off by: Norbert Wegener <nw@wegener-net.de> SVN-Revision: 47849
* ar71xx: add LED driver NU801John Crispin2015-12-114-0/+476
| | | | | | | | | The MR18 uses a 3-channel 16-bit PWM Constant Current Driver for its status LED. Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> SVN-Revision: 47848
* ar71xx: Add support for Wallys DR344John Crispin2015-12-119-0/+254
| | | | | | | | This patch is for Wallys DR344 support under OpenWRT Signed-off-by: Philippe Duchein <wireless-dev@duchein.net> SVN-Revision: 47847
* ar71xx: image for AP121/16MJohn Crispin2015-12-111-1/+3
| | | | | | | | Build image for the AP121 reference board with 16MB flash. Signed-off-by: Norbert Wegener <nw@wegener-net.de> SVN-Revision: 47846
* ar71xx: fix switch port mapping for tl-wdr4300/3600Felix Fietkau2015-12-061-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47799
* ar71xx: convert gpio switch config to board.dJo-Philipp Wich2015-12-042-25/+27
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47763
* all: remove redundant board.d/00_model filesJo-Philipp Wich2015-12-041-13/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47753
* all: remove dummy ucidef_set_interface_loopback() from board.dJo-Philipp Wich2015-12-031-2/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47744
* ar71xx: board.d: add missing include (#21296)Jo-Philipp Wich2015-12-031-0/+1
| | | | | | | | | Include /lib/functions/system.sh in 02_network to define missing mtd_get_mac_binary() procedure. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47723
* board.d: remove redundant ucidef_set_interfaces_lan_wan() callsJo-Philipp Wich2015-12-031-21/+0
| | | | | | | | | | This removes calls to ucidef_set_interfaces_lan_wan() and ucidef_set_interfaces_lan() on boards where all relevant info can be inferred from the switch definition. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47722
* board.d: merge ucidef_add_switch() and ucidef_add_switch_ports()Jo-Philipp Wich2015-12-031-87/+44
| | | | | | | | | | | | This changes uci-defaults-new.sh, config_generate and all relevant board.d files in order combine ucidef_add_switch() and ucidef_add_switch_ports() into a single function. Also removes now superfluous enable and reset arguments. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47721
* base-files: uci-defaults-new: remove reset/enable args of ucidef_add_switch()Jo-Philipp Wich2015-12-031-1/+2
| | | | | | | | | | | | | | | Out of 69 switch definitions, only 3 pass something different than "1" as values for reset and enable, with one of those three being invalid. This change ... * removes the reset and enable arguments from ucidef_add_switch() * unconditionally writes reset:1 and enable:1 to JSON * converts the three users of nonstandard values to ucidef_add_switch_attr() Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47720
* kernel: update 4.1 to 4.1.13Hauke Mehrtens2015-12-023-9/+9
| | | | | | | | | | | - two upstreamed patches removed - compile tested all targets using 4.1 - run tested ar71xx Signed-off-by: Roman Yeryomin <roman@advem.lv> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47694
* ar71xx: record board id and model name in /etc/board.jsonJo-Philipp Wich2015-11-301-0/+13
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47672
* ar71xx: switch network and led defaults to board detection frameworkJo-Philipp Wich2015-11-262-102/+117
| | | | | | | | | Also translate ucidef_add_switch_vlan() to ucidef_add_switch_ports() for better switch topology mapping and improved default config generation. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47663
* Revert "ar71xx: migrate led and network setup to board detection framework"Jo-Philipp Wich2015-11-252-11/+10
| | | | | | | | The board detect code needs more fixes in order to work properly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47641
* kernel: update m25p80 in 4.1 to the latest version from 4.4-rc1Felix Fietkau2015-11-249-20/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47624
* ar71xx: add GL-Domino Pi support V3John Crispin2015-11-249-0/+204
| | | | | | | | This is the patch for GL-Domino Pi V3. Updated against the latest trunk. Signed-off-by: alzhao<alzhao@gmail.com> SVN-Revision: 47622
* ar71xx: add GL-AR300 support V3John Crispin2015-11-249-0/+177
| | | | | | | | This is the patch for GL-AR300 V3, tested against the latest trunk. Signed-off-by: alzhao<alzhao@gmail.com> SVN-Revision: 47621
* ar71xx: add GL-AR150 support V3John Crispin2015-11-249-3/+195
| | | | | | | | This is the 3rd version. Modified against the latest trunk. Signed-off-by: alzhao<alzhao@gmail.com> SVN-Revision: 47620
* ar71xx: Build initramfs by default for Mikrotik devicesJohn Crispin2015-11-241-1/+1
| | | | | | Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org> SVN-Revision: 47612
* ar71xx: fix network default config of the TEW-732BRJo-Philipp Wich2015-11-221-0/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47595
* ar71xx: fix the SingleProfile kernel size limit for dLAN devicesJohn Crispin2015-11-211-2/+2
| | | | | | | | it ends up as $(2) of CatFiles and must be a plain decimal value. Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> SVN-Revision: 47555
* ar71xx: add support for the devolo dLAN HotspotJohn Crispin2015-11-2110-6/+162
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> SVN-Revision: 47554
* ar71xx: fix AR71XX_MODEL on TP-Link TL-WR703NJohn Crispin2015-11-211-1/+1
| | | | | | | | | The hwid check was wrong, causing the AR71XX_MODEL value to end with a space (as $hwver was unset). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 47553
* ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2 (again)Jo-Philipp Wich2015-11-201-5/+6
| | | | | | | | | | | | | | When fixing the model string for WNDR3700v2 which contain a model string followed by 0xff in r46455, the match for other versions of the WNDR3700v2 which just contain lots of 0xff broke (as the 0xff $model is checked for is stripped off). Fix by stripping off non-printable characters only for the actual output string, but not for the internal matching. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 47538
* ar71xx: migrate led and network setup to board detection frameworkJo-Philipp Wich2015-11-202-10/+11
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47534
* ar71xx: add Arduino YunHauke Mehrtens2015-11-109-1/+217
| | | | | | | | | | | | | | | | | | | This is based on patches from Federico Fissore <f.fissore@arduino.cc> especially this one: https://github.com/arduino/openwrt-yun/commit/7e2976fa83fb0d72a955574499178c387a1b3c92 The console is running with 250000 baud which is a non standard baud rate and needs an extra patch to be applied, I will try to get this patch upstream or something else which accomplish the same. Some upstream code looks like there are many different versions of this SoC, are these only internal versions and all versions on the consumer market are the same? I saw different GPIO configuration and flash sizes of 8MB and 16MB? Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47451
* ar71xx: serial: core: add support for boot console with arbitrary baud ratesHauke Mehrtens2015-11-101-0/+76
| | | | | | | | | | | | | The Arduino Yun uses a baud rate of 250000 by default. The serial is going over the Atmel ATmega and is used to connect to this chip. Without this patch Linux wants to switch the console to 230400 Baud. With this patch Linux will use the configured baud rate and not some standard one which is near by. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47450
* 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> SVN-Revision: 47449
* 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> SVN-Revision: 47420
* 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