summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add dummy rle_decode function if CONFIG_RLE_DECOMPRESS is not setGabor Juhos2013-12-161-1/+11
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39079
* ar71xx: add userspace support for WD My Net N750Gabor Juhos2013-12-165-3/+19
| | | | | | | | | Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> [juhosg: remove the image generation part until the ethernet switch issue is resolved] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39078
* ar71xx: add kernel support for WD My Net N750Gabor Juhos2013-12-163-0/+236
| | | | | | | | Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> [juhosg: use a separate patch for kernel changes] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39077
* ar71xx: build image for the TP-Link TL-WA901ND v3 boardGabor Juhos2013-12-151-1/+2
| | | | | | | | Based-on: http://patchwork.openwrt.org/patch/4507/ Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39075
* ar71xx: add user-space support for the TP-Link TL-WA901ND v3 boardGabor Juhos2013-12-155-1/+8
| | | | | | | | Based-on: http://patchwork.openwrt.org/patch/4508/ Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39074
* ar71xx: add kernel support for the TL-WA901ND v3 boardGabor Juhos2013-12-152-1/+26
| | | | | | | | Based-on: http://patchwork.openwrt.org/patch/4506/ Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39073
* ar71xx: move TL-WA801ND v2 setup codeGabor Juhos2013-12-152-47/+47
| | | | | | | | | | | | The TL-WA801ND v2 board has only one LAN port which makes it more similar to the TL-WR[78]50RE devices. Move the board setup code into the mach-tl-wax50re.c file. Based-on: http://patchwork.openwrt.org/patch/4506/ Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39072
* ar71xx: refactor TL-WAx50RE setup codeGabor Juhos2013-12-151-4/+8
| | | | | | | | | | | This way it is a bit easier to add other TP-LINK devices based on the Atheros AP123 reference board with one LAN port. Based-on: http://patchwork.openwrt.org/patch/4506/ Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39071
* ar71xx: build firmware image for the TL-WA801ND v2Gabor Juhos2013-12-151-1/+2
| | | | | | | | | | | Patch to add the profile for the TP-LINK WA801ND v2 Signed-off-by: Jiri Pirko <jiri@resnulli.us> Patchwork: http://patchwork.openwrt.org/patch/4502/ [juhosg: change subject] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39065
* ar71xx: add user space support for the TL-WA801ND v2Gabor Juhos2013-12-155-0/+11
| | | | | | | | | | Patch to add the user space support for the TL-WA801ND v2 Signed-off-by: Jiri Pirko <jiri@resnulli.us> Patchwork: http://patchwork.openwrt.org/patch/4501/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39064
* ar71xx: add kernel support for the TL-WA801ND v2 boardGabor Juhos2013-12-152-8/+56
| | | | | | | | | | | | | | Patch to add kernel support for the TP-LINK WA801ND v2 Signed-off-by: Jiri Pirko <jiri@resnulli.us> Patchwork: http://patchwork.openwrt.org/patch/4500/ [juhosg: - the TL-WA801ND v2 does not have a sliding switch, it uses a push button for WPS instead. Use the tl_mr3420v2_gpio_keys array to reflect that, - rename kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39063
* kernel: update kernel 3.10 to 3.10.24Hauke Mehrtens2013-12-152-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39059
* ath9k: merge initval and tx gain table updates, calibration fixesFelix Fietkau2013-12-081-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39001
* kernel: update 3.10 to 3.10.21Gabor Juhos2013-12-011-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38972
* ar71xx: merge board specific patches into oneLuka Perkov2013-11-3017-539/+165
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38971
* kernel: refresh kernel configs with kconfig.plGabor Juhos2013-11-301-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38970
* ar71xx: update Userspace support for the WA850/WA750Gabor Juhos2013-11-301-0/+12
| | | | | | | Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38969
* ar71xx: Update profile for the wa750/wa850 to include rssileds by defaultGabor Juhos2013-11-301-2/+2
| | | | | | | Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38968
* ar71xx: use cybertan_check_image for image verification on the WRT160NLGabor Juhos2013-11-301-8/+2
| | | | | | | | | That function provides a slightly improved sanity check than the currently used solution. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38967
* ar71xx: sysupgrade for My Net Wi-Fi Range ExtenderGabor Juhos2013-11-302-0/+30
| | | | | | | | | | | | | | | | | | | | This patch enables the convenient sysupgrade feature for WD's Wi-Fi Range Extender. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4341/ [juhosg: - rename 'mynet_rext_check_image' function to 'cybertan_check_image' and move that into platform.sh, - remove the the model specific 'platform_do_upgrade_mynet_rext' function, - drop the mynet-rext.sh script, - remove the image/Makefile change, - update commit message] [christian: - check all 8 bytes of the firmware/device magic] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38966
* ar71xx: image: unify CyberTAN macrosGabor Juhos2013-11-301-13/+8
| | | | | | | | | | | | Make the Image/Build/CyberTAN macro more generic, and use simple wrappers for the GZIP/LZMA variants. This simplifies the Makefile a bit, and allows to build sysupgrade images for the devices which are using LZMA compressed uImages. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38965
* ar71xx: image: fix CyberTAN sysupgrade imagesGabor Juhos2013-11-301-1/+5
| | | | | | | | | | | | | | | | | In the current sysupgrade images, the CRC32 value of the TRX header covers the whole rootfs data. Due to this, the CRC value should be changed during sysupgrade otherwise the bootloader refuses to load the image on the next boot. Change the image generation to create sysupgrade images where the CRC32 value covers the kernel data only. This allows to skip the 'fixtrx' step during sysupgrade on the target. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38964
* ar71xx: build image for the TL-WR1043ND v2 boardGabor Juhos2013-11-291-1/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38958
* ar71xx: add user-space support for the TL-WR1043ND v2 boardGabor Juhos2013-11-295-2/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38956
* ar71xx: add kernel support for the TL-WR1043ND v2 boardGabor Juhos2013-11-293-0/+264
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38955
* ar71xx: add profile and build image for the Sitecom WLR-8100Gabor Juhos2013-11-292-0/+18
| | | | | | | | | | | | | - partitions on factory fw are a bit strange - unknown contained some strings in factory - unknown2 contains some atheros (2nd art ?) Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4149/ [juhosg: edit commit message] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38954
* ar71xx: fix switch port map for the Sitecom WLR-8100Gabor Juhos2013-11-291-3/+3
| | | | | | | | | | | There was no way to determine a working config, because the switch (ar8337) was not working previously. Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4470/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38953
* ar71xx: rssi leds for My Net WiFi Range ExtenderGabor Juhos2013-11-291-0/+1
| | | | | | | | | | | | The device has three extra LEDs which indicate the quality of the wireless link. Thanks to rssileds, this feature now works out of the box. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4462/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38950
* ar71xx: improve support for the My Net Wi-Fi Range Extender deviceGabor Juhos2013-11-292-5/+9
| | | | | | | | | | | | | | | | | | | | This patch improves support for the device considerably. 1. The wifi didn't work in the initial release. This was because the WMAC of the AR9340 is not connected to the antennas. (However, it can pick up wifi signals, if they are strong enough!) Instead there's a dedicated AR9300 chip on the same board, which works. 2. Ethernet throughput is improved. iperf shows that the hardware can sustain more than 200Mbit/s and no longer drops any packages when the link is under load. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4461/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38949
* ag71xx: add F1E specific feature bit definitions to AR934X register fileGabor Juhos2013-11-291-1/+3
| | | | | | | | | | | | | | | | The F1E Phy (AR8035?) requires additional bits to be set in order to provide a fast and reliable connection over gigabit links. When enabled, the link doesn't suffer anymore from a small package loss under load and the performance is improved quite a bit as well. (203 mbit/s vs 112 mbit/s, iperf tcp). Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4460/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38948
* ar71xx: user space support update tl-wr842n_v2 add default led supportGabor Juhos2013-11-291-1/+10
| | | | | | | | | | Small update to uci_defaults/01_leds, to support the usb led Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4426/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38947
* ar71xx: Kernel support update tl-wr842n_v2 added missing usb ledGabor Juhos2013-11-291-1/+1
| | | | | | | | | | | Just a small oversight my part, added the support for the USB led Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4425/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38946
* ar71xx: add profile for the WR842N/ND v2Gabor Juhos2013-11-151-1/+3
| | | | | | | | | | | Patch to add the profile for the TP-LINK WR842N/ND v2 Small update, because of a change in the Makefile. Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4382/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38815
* ar71xx: add user space support for the TL-WR842N/ND v2Gabor Juhos2013-11-155-1/+8
| | | | | | | | | | Patch to add the user space support for the TL-WR842N/ND v2 Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4354/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38814
* ar71xx: Add kernel support for the WR842N/ND v2Gabor Juhos2013-11-152-0/+32
| | | | | | | | | | | Patch to add kernel support for the TP-LINK WR842N/ND v2 Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4352/ [juhosg: refresh kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38813
* ar71xx: wndr4300: set official mac addressesGabor Juhos2013-11-152-2/+15
| | | | | | | | | | | | | | | | | | 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: Unifi AP Pro sysupgrade patchFelix Fietkau2013-11-141-0/+4
| | | | | | | | | | | | | | | | | | The current implementation of mtd will not append the backup file created by sysupgrade to the correct partition, as mtd will append the data to first jffs2 partition it finds. As the kernel is also stored on a jffs2 partition (which resides before the overlay partition), the data will be appended to this partition. To fix this problem, a new option -s <number> skip the first n bytes when appending data to the jffs2 partiton, defaults to "0" is added to mtd. Signed-off-by: Peter Wagner <tripolar@gmx.at> SVN-Revision: 38807
* ar71xx: use the new padjffs2 padding on Ubiquiti UAP-PRO to make the boot ↵Felix Fietkau2013-11-141-1/+1
| | | | | | | | loader stop searching after the kernel partition Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38805
* ar71xx: Use KEY_RESTART key code for the reset button on WD My Net N600 boardsGabor Juhos2013-11-111-1/+1
| | | | | | | Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38720
* ar71xx: add profile and build image for the TL-WA750RE TL-WA850RE range extenderGabor Juhos2013-11-112-0/+25
| | | | | | | | | Patch to add profile and build image for the tplink TL-WA750RE/WA850RE board Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38719
* ar71xx: add user space support for the TL-WA750RE/WA850RE Range extenderGabor Juhos2013-11-115-0/+32
| | | | | | | | | Patch to add user space support for the TL-WA750RE/WA850RE range extender Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38718
* ar71xx: Add kernel support for the TP-Link WA750RE / WA850RE range extenderGabor Juhos2013-11-113-0/+224
| | | | | | | | | | | Patch to add kernel support for the TP-LINK WA750RE and the WA850RE range extender Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> [juhosg: rename and refresh kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38717
* ar71xx: ag71xx: fix ag71xx_probe error pathGabor Juhos2013-11-111-1/+3
| | | | | | | Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38716
* ar71xx: ag71xx: fix a race involving netdev registrationGabor Juhos2013-11-082-23/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, phy_connect before register_netdev. This is because register_netdev runs the netdev notifiers, which can race with the rest of the initialization in ag71xx_probe. In my case this manifested in two ways: 1) If ag71xx is compiled as a module and inserted after netifd has started, netifd is notified by register_netdev before the call to ag71xx_phy_connect. netifd tries to bring the interface up, which calls ag71xx_open, which in turn enters ag71xx_phy_start. This keys off ag->phy_dev (which is still NULL) and thinks this is a fixed-link board, and enters ag71xx_link_adjust. This looks at ag->speed which is not yet initialized and hits the BUG() in the switch (ag->speed) in ag71xx_link_adjust. This is the wrong code path for ag71xx_phy_start - my board has PHYs that need to be brought up with phy_start. Doing ag71xx_phy_connect before register_netdev ensures that ag->phy_dev is non-NULL before ag71xx_phy_start is ever called. 2) When ag71xx is built into the kernel, and netconsole is enabled, there is a gap in the initial burst of replayed printks right after the netdev comes up. My assumption is that netconsole is also triggered by a netdev notifier, and part of this printk burst happens before the call into ag71xx_phy_connect, so part of the burst is lost while the PHY comes up. This patch fixes the gap - all the printks before eth0 comes up are bursted in full when netconsole initializes. ag71xx_phy_connect_xxx no longer runs with a registered netdev, so the logging has been adjusted accordingly to avoid "unregistered net_device" or "eth%d" messages in dmesg. Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38689
* ar71xx: build image for the WD My Net Wi-Fi Range ExtenderGabor Juhos2013-11-072-1/+24
| | | | | | | | | | | Patchwork: http://patchwork.openwrt.org/patch/4281/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> [juhosg: - remove the Image/Build/CyberTANLZMA/loader macro, it is not used - move the MYNETREXT SingleProfile definition to the correct place] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38688
* ar71xx: add user-space support for the WD My Net Wi-Fi Range ExtenderGabor Juhos2013-11-075-4/+23
| | | | | | | | Patchwork: http://patchwork.openwrt.org/patch/4281/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38687
* ar71xx: add kernel support for the My Net Wi-Fi Range Extender deviceGabor Juhos2013-11-073-0/+215
| | | | | | | | | | | | | This patch adds a new device definition for a Western Digital device. The hardware seems to be based on Qualcomm Atheros DB120 design. Patchwork: http://patchwork.openwrt.org/patch/4281/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> [juhosg: refresh kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38686
* ar71xx: image: add EOF marker to the WNDR4300 UBI imageGabor Juhos2013-11-071-9/+6
| | | | | | | | | | | | | | | Append EOF markers to the END of the UBI image file. This forces the kernel to erase all blocks after the marker even if those blocks are not empty. Additionally, the resulting image can be flashed from the original web UI now, so use '-factory' suffix for that. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38683
* ar71x: image: don't use the wndr3700 utilityGabor Juhos2013-11-061-28/+14
| | | | | | | | Pass the uImage magic value directly to mkimage instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38662
* ar71xx: image: fix WNDR4300 initramfs image generationGabor Juhos2013-11-051-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38659