aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx/image: remove duplicated rootfs in new tplink initramfs imagesJohn Crispin2015-04-181-4/+14
| | | | | | | | | | The new building code included the rootfs twice when building tplink initramfs images. To make it more readable move initramfs into an own build step Build/mktplinkfw-initramfs. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45491
* ar71xx/image: move TPLINK-LZMA image to new build codeJohn Crispin2015-04-181-45/+325
| | | | | | | | There are 2 images missing: TLWR2543 TLWR1043V2 which have special properties Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45490
* ar71xx/image: add template tplink-16mlzmaJohn Crispin2015-04-181-0/+6
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45489
* ar71xx/image: fix imagesize of template tplink-8mlzmaJohn Crispin2015-04-181-1/+1
| | | | | | | | | The new image size is verified by a running tplink device and checked against mktplinkfw source code. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45488
* ar71xx: Enable AT803X_PHY to set special flagsJohn Crispin2015-04-141-0/+1
| | | | | | | | | | | Open-Mesh OM5P-AN use a AT8035 (F1E) behind one of the ethernet ports. This PHY requires special flags to work correctly. Otherwise massive packet loss happens with active POE or when switching the link speed from gigabit ethernet to fast ethernet. The generic PHY doesn't have support to change these settings. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 45439
* ar71xx: fix ethernet packet loss issues on OM5P-ANJohn Crispin2015-04-141-1/+21
| | | | | | | | | | | | | | | The OM5P-AN boards are suffering from ethernet packet loss when booting with some active POE setups or when switching to Fast Ethernet when previously booted with Gigabit ethernet attached. The cause of the problem is that the AR8035 PHYs requires special register settings to work reliably on these boards. Enable the RGMII TX, RX delays and disable SmartEE functionality of the AR8035 PHYs. Also enable the RXD and RDV delay in the ETH_CFG register to fix the issue. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 45438
* ar71xx: enable LEDs on Hornet-UB X2John Crispin2015-04-092-2/+4
| | | | | | | | | | | None of the LEDs are enabled by default on the Hornet-UB X2 board (the 16/64MB version of the Hornet-UB), because it uses a different board-name ("hornet-ub-x2"); but hornet-ub and hornet-ub-x2 boards are equivalent WRT their LEDs. SIgned-off-by: Joshua Judson Rosen <jrosen@harvestai.com> SVN-Revision: 45328
* kernel: remove ATHEROS_AR{231X,71XX} config symbols from the patchesGabor Juhos2015-04-081-1/+1
| | | | | | | | Those don't exist anymore. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45314
* ar71xx: add user-space support for RB911G-5HPacDGabor Juhos2015-04-074-0/+50
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45300
* ar71xx: add initial support for RB911G-5HPacDGabor Juhos2015-04-074-0/+289
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45299
* ar71xx: routerboot: export extended wlan data via sysfsGabor Juhos2015-04-071-0/+58
| | | | | | | | Export the data to make it accessible from user-space. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45298
* ar71xx: routerboot: add support for extended radio dataGabor Juhos2015-04-074-8/+67
| | | | | | | | | | | | | On newer Mikrotik boards, the radio calibration data is stored differently and uses LZO compression instead of RLE. Update the RouterBOOT helper code to support the new format. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45297
* ar71xx: select RLE_DECOMPRESS directly by the RouterBOOT helper codeGabor Juhos2015-04-074-15/+14
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45296
* ar71xx: fix new mktplinkfw image code - flags for sysupgrade vs factory were ↵Felix Fietkau2015-04-061-2/+2
| | | | | | | | swapped (fixes #19400) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45281
* ar71xx: fix platform device support in the gpio-74x164 driverGabor Juhos2015-03-311-2/+43
| | | | | | | | | Platform device support has been removed from the gpio-74x164 driver in 3.14. Restore that. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45203
* ar71xx/mikrotik: disable atnoher two non MikroTik boardsGabor Juhos2015-03-311-0/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45177
* ar71xx/mikrotik: disable non MikroTik boardsGabor Juhos2015-03-311-0/+32
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45176
* ar71xx/mikrotik: use correct symbol to disable overlayfsGabor Juhos2015-03-311-1/+1
| | | | | | | | The Kconfig symbol has been changed in 3.18. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45175
* ar71xx/mikrotik: re-enable 4KiB flash sector eraseGabor Juhos2015-03-301-1/+1
| | | | | | | | | | | The setting has been lost during the transition to 3.18. The CONFIG_M25PXX_PREFER_SMALL_SECTOR_ERASE option is not available anymore, so use CONFIG_MTD_SPI_NOR_USE_4K_SECTORS instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45161
* ar71xx: re-enable AR8216_PHY_LEDSGabor Juhos2015-03-301-0/+1
| | | | | | | | The setting has been lost during the transition to 3.18. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45160
* ar71xx: sync kernel configGabor Juhos2015-03-301-5/+11
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 45159
* ar71xx: fix model string detection on NETGEAR WNDR3700/3800/WNDRMACJohn Crispin2015-03-291-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | There were a few issues with the existing code to detect the model string: * Always using the string starting with byte 56 would cut off the W of WNDR when the ID starts with 29763654+16+64 instead of 29763654+16+128 * The string contained garbage after the zero byte instead of cutting it off after the zero (which wasn't always visible using busybox tools, but could confuse other scripts) Tested on a WNDR3700v1 and a WNDR3700v2 using the new 29763654+16+64 ID in the ART. Furthermore, tested against ART dumps of a WNDR3700v2 using the old $'\xff...' value and a WNDR3800. The [ -z "$model" ] check was dropped as there is no way to actually hit this unless no ART partition is found at all. The awk command was carefully crafted to work both with gawk and the (horribly broken) busybox awk. Fixes #18992. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 45140
* ar71xx: add missing id for WNR2000v3 image (fixes #18959)Felix Fietkau2015-03-271-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45054
* ar71xx: fix image size checks for WNDR3700Felix Fietkau2015-03-261-4/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45030
* ar71xx/image: move wdr3500/wdr3600/wdr4300 to new building codeFelix Fietkau2015-03-251-6/+33
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45000
* ar71xx/image: add tplink device template for new building codeFelix Fietkau2015-03-251-0/+22
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 44999
* ar71xx/image: add Build/mktplinkfw as buildstep for new build codeFelix Fietkau2015-03-251-0/+20
| | | | | | | | | Use `mktplinkfw sysupgrade` or `mktplinkfw factory` or `mktplinkfw image` Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 44998
* ar71xx: fix a double dereference in the unaligned access patchFelix Fietkau2015-03-191-5/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44885
* ar71xx: adjust OM5P profile for the OpenMesh OM5P-AN boardJohn Crispin2015-03-171-2/+2
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 44866
* ar71xx: enable sysupgrade for the OpenMesh OM5P-ANJohn Crispin2015-03-172-2/+5
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 44863
* ar71xx: add user-space support for the OpenMesh OM5P-ANJohn Crispin2015-03-173-2/+7
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 44862
* ar71xx: add kernel support for the OpenMesh OM5P-AN boardJohn Crispin2015-03-172-0/+97
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 44861
* ar71xx: detect GL.iNet modelJohn Crispin2015-03-171-0/+14
| | | | | | | | | There are two versions of the GL.iNet, the 6408A and the 6416A. The only difference is the flash size. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44860
* ar71xx: drop 3.14 supportJohn Crispin2015-03-1684-9375/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44815
* ar71xx: fix TP-LINK TL-WDR3600/4300 RFKILL switch positionsJohn Crispin2015-03-151-0/+1
| | | | | | | | | | While the switch positions aren't explicitly labeled as on and off, we've heard complaints about them being wrong. This patch changes the handling to match the stock firmware. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44795
* Fix (invert/revert) Hornet-UB WPS LED stateJohn Crispin2015-03-151-1/+1
| | | | | | | | | | | | | | | My previous patch regarding the Hornet-UB board (commit: beed4d82d6a0154b0cd5f7b84e2180215ace6718) actually causes the WPS led state to be inverted. Practically this meant that value 0 in /sys/class/led/alfa:blue:wps/brightness would turn the LED on and any positive value (1-255) would turn it off. The above of course is confusing and hence reverting this value back to the way it was before beed4d82d6a0154b0cd5f7b84e2180215ace6718. Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com> SVN-Revision: 44791
* atheros: v3.18: rename ATHEROS_AR231X symbol to ATH25Felix Fietkau2015-03-131-1/+1
| | | | | | | | | | This patch starts upsteam ath25 code backporting. No functional changes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44706
* ar71xx: Ext LNA patch for TUBE2H and HORNET-UB targetsJohn Crispin2015-03-122-0/+10
| | | | | | Signed-off-by: Christophe Prévotaux <c.prevotaux@rural-networks.com> SVN-Revision: 44693
* ar71xx: Hornet UB GPIO WPS/ResetJohn Crispin2015-03-121-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This problem has existed at least since Attitude Adjustment and is also present in trunk. Basically on the Hornet-UB board the functionality of RESET and WPS have "switched places". There are two tickets about the issue at dev.openwrt.org, The solution suggested on them both is incomplete though and introduces the following proglem: Patching as suggested on #14136/#15282 will result in a situation where simply pressing the RESET button on the bottom will cause FACTORY RESET to be run. This is due to GPIO high/low state being incorrect as a result of the above change and virtually the RESET button is in the pressed-down state the entire time. When it is then physically pressed, that causes the opposite, release, to be triggered and since to the board it seemed that the button was pressed long before it was released, the FACTORY RESET results. The attached patch works as expected. I have verified both the incorrect functionality as well as after fixing the issue as described in the patch and flashing the resulting firmware to a Hornet-UB board. Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com> SVN-Revision: 44692
* ar71xx: improve WD's My Net Wi-fi Range Extender image creationJohn Crispin2015-03-112-3/+13
| | | | | | | | | | | | | Previously, the generated images for the My Net Wi-fi Range Extender wouldn't always work (and panic) due to the fixed mtd offsets and sizes for the kernel and rootfs. This patch fixes the problem by utilizing the shared Cybertan's partition parser to recalculate the mtd partitions for every image dynamically everytime. Reported-by: Pascal Paradis <peparadis@yahoo.com> Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> SVN-Revision: 44665
* ar71xx: generalize cybertan partition parserJohn Crispin2015-03-111-6/+0
| | | | | | | | | | By removing the NL16 signature check, the parser can be utilized by other devices like the WD My Net Wi-fi Range Extender. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> SVN-Revision: 44664
* ar71xx: rename wrt160nl's trx partition parserJohn Crispin2015-03-118-33/+33
| | | | | | | | | This patch renames the partition parser from wrt160nl to more generic cybertan. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> SVN-Revision: 44663
* ar71xx: fix WRT160NL and TP-Link partition parser patchesJohn Crispin2015-03-114-20/+2
| | | | | | | | | | | 405-mtd-tp-link-partition-parser.patch was updating the WRT160NL's partition parser Kconfig. This patch moves the relevant change into the right file: 404-mtd-wrt160nl-trx-parser.patch Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> SVN-Revision: 44662
* ar71xx: fix switched WLAN LEDs on TP-LINK Archer C5/C7John Crispin2015-03-111-2/+8
| | | | | | | | ath10k is loaded before ath9k, so the 5GHz adapter becomes phy0. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44659
* ar71xx: fix gpio-latch driverJohn Crispin2015-03-101-1/+2
| | | | | | | | gpio api has changed. the remove call no longer returns a value. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44650
* ar71xx: refresh patchesLuka Perkov2015-03-105-9/+9
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44649
* ar71xx: wpj588: add missing usb supportLuka Perkov2015-03-102-4/+8
| | | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> Tested-By: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 44648
* ar71xx: Fix LED polarity for the TP-LINK TL-MR13U.John Crispin2015-03-101-1/+1
| | | | | | | | Please also backport to Barrier Breaker (this same patch applies there too). Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 44647
* ar71xx: Fix board detection for the TP-LINK TL-MR13U.John Crispin2015-03-101-1/+1
| | | | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 44646
* ar71xx: add support for compex wpj558Luka Perkov2015-03-069-4/+217
| | | | | | | | | | | | OpenWrt can be flashed with following uboot commands: tftpboot 0x80500000 openwrt-ar71xx-generic-wpj558-16M-squashfs-sysupgrade.bin erase 0x9f030000 +$filesize cp.b $fileaddr 0x9f030000 $filesize Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44620