summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: nuke ath79_set_usb_power_gpio helperjuhosg2012-11-052-94/+0
| | | | | | | | It is no longer used. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpiojuhosg2012-11-059-19/+30
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: don't use the unknown LED on the ZCN-1523-5 boardjuhosg2012-11-041-4/+1
| | | | | | | | | | | | | | According to #12421, GPIO 1 controls the power output on the unused lines of the LAN2 port. Remove the LED definition in order to prevent possible permanent hardware damage. If someone needs that, the power-out feature can be controlled via the GPIO sysfs interface. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: include mtd layout in the command line for ZCN-1523H-* boardsjuhosg2012-11-041-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34074 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add missing Makefile entry for the ZCN-1523H-{2,5} boardsjuhosg2012-11-042-4/+10
| | | | | | | | Also add the missing ATH79_MACH_ZCN_1523H_5 symbol. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34072 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix link speed between AR7242 and AR8327 on the RB750GL/RB751G boardsjuhosg2012-10-291-1/+2
| | | | | | | | | The default pll_1000 value had to be changed in order to make it working. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add initial support for 3.6juhosg2012-10-28100-0/+8858
| | | | | | | | The nand subtarget is not working yet. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove NO_AUTOINCR flag from the NAND driversjuhosg2012-10-286-3/+33
| | | | | | | | | The flag is not present in 3.6. Also add compatibility patches for 3.3. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: fix build_skb arguments for 3.6juhosg2012-10-272-1/+13
| | | | | | | | Also add a compatibility patch for 3.3 Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable sysupgrade for the CAP4200AG boardjuhosg2012-10-271-1/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add profile and build image for the CAP4200AGjuhosg2012-10-272-0/+19
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33958 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space part for the CAP4200AGjuhosg2012-10-274-0/+13
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the Senao CAP4200AG boardjuhosg2012-10-273-0/+171
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add ath79_wmac_disable_[25]ghz helpersjuhosg2012-10-271-0/+31
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33955 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use mtd_read in wrt160nl_partjuhosg2012-10-271-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use mtd_read in tplinkpartjuhosg2012-10-271-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33950 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: generate 4,8,16M images for the WPE72juhosg2012-10-271-1/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33949 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reject TP-Link images containing a bootloaderjuhosg2012-10-261-0/+12
| | | | | | | | | | | | The original TP-Link firmware images can be flashed via the sysupgrade command, however those may contain a bootloader. Flashing such an image via sysupgrade bricks the board, and it can't be recovered without a serial console. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33944 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rw2458n - fix flash partsjuhosg2012-10-191-10/+1
| | | | | | | | | See #12338. Redwave rw2458 has uboot, not redboot. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge machine support patchesjuhosg2012-10-174-77/+21
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33820 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: also use the ath79_set_ar934x_eth_cfg helper for DB120juhosg2012-10-171-26/+16
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33819 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the ath79_set_ar934x_eth_cfg helper in machine setup routinesjuhosg2012-10-175-97/+7
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33818 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a helper function for setting up ETH_CFG register on AR934xjuhosg2012-10-172-0/+25
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33817 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: OM2P-HS sysupgrade supportjuhosg2012-10-171-0/+2
| | | | | | | Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33803 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the OpenMesh OM2P-HS boardjuhosg2012-10-176-2/+85
| | | | | | | Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix sysupgrade for jjPlus JWAP003juhosg2012-10-141-4/+6
| | | | | | | | | [juhosg: change commit message] Signed-off-by: Artur Wronowski <arteqw@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33769 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ew-dorin: added ethernet switch configurationjuhosg2012-10-141-1/+6
| | | | | | | Signed-off-by: embedded wireless GmbH <info at embeddedwireless.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33768 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: unbreak building images for OpenMesh OM2P/OM2P-LCjuhosg2012-10-141-2/+2
| | | | | | | | | | | | | Commit r33248 introduced a regression by passing the board name plus 'board=' in the third argument. The board name string has to be put into the image as identifier of the image type. [juhosg: fix OpenMesh template instead of use of string substitution] Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33767 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: build image for the TL-WR841N/ND v8juhosg2012-10-041-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33623 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: user-space support for TL-WR841N/ND v8juhosg2012-10-045-0/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33622 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TL-WR841N/ND v8 boardjuhosg2012-10-043-0/+198
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: avoid possible NULL pointer dereference in ath79_init_{,local}_macjuhosg2012-09-271-2/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create 'fat' images for the DIR-825/TEW-673GRU boardsjuhosg2012-09-253-3/+198
| | | | | | | | | | | | | With these images, it is possible to use the 'unused' partition of the flash. The 'fat' images can be installed with the sysupgrade command. When a 'fat' image is installed from a regular one, the platform specific sysupgrade script copies the calibration data to the end of the flash. Likewise, when a regular image is installed from the 'fat' version the sysupgrade script copies the calibration data back to the original location. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: automatically find WLAN calibration data on TEW-673GRUjuhosg2012-09-251-18/+46
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33539 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: automatically find WLAN calibration data on DIR-825-B1juhosg2012-09-251-17/+44
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33538 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add missing backslash to uci-defaults/leds (closes #12240)juhosg2012-09-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33537 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use different machtype and setup for the TL-MR3040juhosg2012-09-247-16/+63
| | | | | | Should fix #12211. Compile tested only. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix a typo in TEW-637GRU image namesjuhosg2012-09-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: revert DIR-825-B1 wholeflash image support.juhosg2012-09-189-262/+2
| | | | | | | | | | It should be implemmented in a cleaner way. This reverts the following commits: [ar71xx] dir-825-b1: Fix wholeflash images [ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33459 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: register the NAND flash controller device on DB120juhosg2012-09-176-14/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x_nfc: remove unused oob parameter of ar934x_nfc_send_readjuhosg2012-09-171-12/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x_nfc: increase DMA retry countjuhosg2012-09-171-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x_nfc: optimize READOOB operation on large page devicesjuhosg2012-09-171-6/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x_nfc: fix RNDOUT operationjuhosg2012-09-171-2/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devicesjuhosg2012-09-171-6/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] dir-825-b1: Fix wholeflash images: Attempting to flash a wholeflash ↵cshore2012-09-179-33/+87
| | | | | | (-openwrt) image from the normal image would brick (but recoverable via emergency flash) the router if the wholeflash image was larger than the maximum size for a normal image. First we rename the -openwrt images to -wholeflash since -openwrt is really too generic. We also revert the changes to the regular dir-825-b1 image, which now is the same as before, but add a -towholeflash image which is almost the same as the regular dir-825-b1 image, but copies caldata to new location and allows flashing of images that use the full flash (except u-boot, u-boot-env, and caldata paritition space) (these are the -wholeflash images). git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add missing code for ar933x WMAC reset that was left out during the ↵nbd2012-09-171-0/+31
| | | | | | ar71xx->ath79 migration, should fix wifi stability issues on ar933x git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix WP543 image buildsnbd2012-09-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33413 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge machine support patchesjuhosg2012-09-135-157/+47
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33389 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: register the NAND controller device on the RB2011juhosg2012-09-134-3/+83
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33388 3c298f89-4303-0410-b956-a3cf2f4a3e73