Gabor Juhos
9b40fe6ffc
ar71xx: add support for the Ubiquiti UniFi AP-Outdoor device
...
[juhosg:
- rename and refresh 660-MIPS-ath79-ubnt-xm-add-unifi-outdoor patches
- wrap long lines in mach-ubnt-xm
- remove default network config, set it from uci-defaults/network
instead
- remove user-space, and image generation stuff]
Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-13 20:57:17 +00:00
Gabor Juhos
1a6d0dbc95
ar71xx: add profiles and build images for old PowerCloud System devices
...
[juhosg:
- use 'PowerCloud Systems' instead of 'PCS' in the profiles
- sort SingleProfile instances in image/Makefile]
Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-13 20:57:15 +00:00
Gabor Juhos
776d3f73f0
ar71xx: add profile and build image for the TL-WA7510N board
...
[juhosg: separated from the http://patchwork.openwrt.org/patch/2820/ patch]
Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-13 14:48:03 +00:00
Gabor Juhos
4c0d33f7dd
ar71xx: user space support for the TL-WA7510N
...
[juhosg: separated from the http://patchwork.openwrt.org/patch/2820/ patch]
Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-13 14:48:01 +00:00
Gabor Juhos
8077760419
ar71xx: add support for TP-Link TL-WA7510N
...
It is mostly the same as TL-WA901N. WLAN and LAN
are working. LAN LED is working. WLAN signal
strength LEDs are not working yet.
http://wiki.openwrt.org/toh/tp-link/tl-wa7510n?s[]=wa7510n
[juhosg:
- cleanup commit message
- move non kernel related stuff into separate changes
- rename and refresh 615-MIPS-ath79-TL-WA7510N-v1-support patch
- merge WA7510N support into the mach-tl-wa901nd.c file
- add 3.6 support]
Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-13 14:48:00 +00:00
Gabor Juhos
60091b17d1
ar71xx: refresh patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-13 14:47:58 +00:00
Gabor Juhos
ed27b638cd
ar71xx: nuke ath79_set_usb_power_gpio helper
...
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
2012-11-05 13:23:28 +00:00
Gabor Juhos
63a2533400
ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpio
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 13:23:27 +00:00
Gabor Juhos
90c05775ac
ar71xx: don't use the unknown LED on the ZCN-1523-5 board
...
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
2012-11-04 22:08:54 +00:00
Gabor Juhos
82f7bd78ce
ar71xx: include mtd layout in the command line for ZCN-1523H-* boards
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 21:12:20 +00:00
Gabor Juhos
dd77aab2d5
ar71xx: add missing Makefile entry for the ZCN-1523H-{2,5} boards
...
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
2012-11-04 20:15:18 +00:00
Gabor Juhos
d2c33eba70
ar71xx: fix link speed between AR7242 and AR8327 on the RB750GL/RB751G boards
...
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
2012-10-29 17:24:30 +00:00
Gabor Juhos
a8ec452c60
ar71xx: add initial support for 3.6
...
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
2012-10-28 19:52:02 +00:00
Gabor Juhos
1517cc75d2
ar71xx: remove NO_AUTOINCR flag from the NAND drivers
...
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
2012-10-28 12:21:15 +00:00
Gabor Juhos
4f3acd22a4
ar71xx: ag71xx: fix build_skb arguments for 3.6
...
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
2012-10-27 17:11:06 +00:00
Gabor Juhos
e737bdee77
ar71xx: enable sysupgrade for the CAP4200AG board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:42 +00:00
Gabor Juhos
0011f2872a
ar71xx: add profile and build image for the CAP4200AG
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:40 +00:00
Gabor Juhos
a08582ccd1
ar71xx: add user-space part for the CAP4200AG
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:39 +00:00
Gabor Juhos
b84f40ff4a
ar71xx: add support for the Senao CAP4200AG board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:38 +00:00
Gabor Juhos
7a1382cd1d
ar71xx: add ath79_wmac_disable_[25]ghz helpers
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:37 +00:00
Gabor Juhos
c2e77b8ab2
ar71xx: use mtd_read in wrt160nl_part
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 07:57:58 +00:00
Gabor Juhos
71b8bf1a54
ar71xx: use mtd_read in tplinkpart
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 07:57:57 +00:00
Gabor Juhos
68bb4e22cc
ar71xx: generate 4,8,16M images for the WPE72
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 07:57:55 +00:00
Gabor Juhos
a65df2f1ec
ar71xx: reject TP-Link images containing a bootloader
...
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
2012-10-26 18:58:13 +00:00
Gabor Juhos
20a0a23021
ar71xx: rw2458n - fix flash parts
...
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
2012-10-19 18:32:49 +00:00
Gabor Juhos
e815a0702a
ar71xx: merge machine support patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 18:27:50 +00:00
Gabor Juhos
4827530f6e
ar71xx: also use the ath79_set_ar934x_eth_cfg helper for DB120
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 18:27:48 +00:00
Gabor Juhos
991bc12eb0
ar71xx: use the ath79_set_ar934x_eth_cfg helper in machine setup routines
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 18:27:47 +00:00
Gabor Juhos
5e39bae8bd
ar71xx: add a helper function for setting up ETH_CFG register on AR934x
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 18:27:45 +00:00
Gabor Juhos
6b329c076f
ar71xx: OM2P-HS sysupgrade support
...
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
2012-10-17 08:26:05 +00:00
Gabor Juhos
868a0c9780
ar71xx: add support for the OpenMesh OM2P-HS board
...
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
2012-10-17 08:26:01 +00:00
Gabor Juhos
012639a111
ar71xx: fix sysupgrade for jjPlus JWAP003
...
[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
2012-10-14 16:24:26 +00:00
Gabor Juhos
284b606488
ar71xx: ew-dorin: added ethernet switch configuration
...
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
2012-10-14 16:24:25 +00:00
Gabor Juhos
93d22ab55b
ar71xx: unbreak building images for OpenMesh OM2P/OM2P-LC
...
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
2012-10-14 16:24:22 +00:00
Gabor Juhos
9eb5ed1482
ar71xx: build image for the TL-WR841N/ND v8
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 20:16:06 +00:00
Gabor Juhos
276b0a594d
ar71xx: user-space support for TL-WR841N/ND v8
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 20:16:05 +00:00
Gabor Juhos
4d225ea147
ar71xx: add support for the TL-WR841N/ND v8 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 20:16:03 +00:00
Gabor Juhos
f2c23625e1
ar71xx: avoid possible NULL pointer dereference in ath79_init_{,local}_mac
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 20:05:42 +00:00
Gabor Juhos
cd7d6a23f7
ar71xx: create 'fat' images for the DIR-825/TEW-673GRU boards
...
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
2012-09-25 12:57:41 +00:00
Gabor Juhos
40e58ce1c3
ar71xx: automatically find WLAN calibration data on TEW-673GRU
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 12:57:40 +00:00
Gabor Juhos
020a46d895
ar71xx: automatically find WLAN calibration data on DIR-825-B1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 12:57:38 +00:00
Gabor Juhos
685cfcf229
ar71xx: add missing backslash to uci-defaults/leds ( closes #12240 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 12:49:43 +00:00
Gabor Juhos
2fce460e3b
ar71xx: use different machtype and setup for the TL-MR3040
...
Should fix #12211 . Compile tested only.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-24 18:45:56 +00:00
Gabor Juhos
87b3f288c1
ar71xx: fix a typo in TEW-637GRU image names
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-18 14:32:25 +00:00
Gabor Juhos
2b11550938
ar71xx: revert DIR-825-B1 wholeflash image support.
...
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
2012-09-18 14:30:57 +00:00
Gabor Juhos
e3bad0e624
ar71xx: register the NAND flash controller device on DB120
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:57 +00:00
Gabor Juhos
d5c1c3c4f3
ar71xx: ar934x_nfc: remove unused oob parameter of ar934x_nfc_send_read
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:55 +00:00
Gabor Juhos
821819c0fd
ar71xx: ar934x_nfc: increase DMA retry count
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:54 +00:00
Gabor Juhos
9ffbc4ff02
ar71xx: ar934x_nfc: optimize READOOB operation on large page devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:53 +00:00
Gabor Juhos
375b85687f
ar71xx: ar934x_nfc: fix RNDOUT operation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:51 +00:00
Gabor Juhos
b31a6ffbb7
ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:50 +00:00
Daniel Dickinson
4ea95cae7d
[ar71xx] dir-825-b1: Fix wholeflash images: Attempting to flash a wholeflash (-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
2012-09-17 14:17:12 +00:00
Felix Fietkau
0611e73d53
ar71xx: add missing code for ar933x WMAC reset that was left out during the 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
2012-09-17 11:17:29 +00:00
Felix Fietkau
6826f8137a
ar71xx: fix WP543 image builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 10:21:21 +00:00
Gabor Juhos
dfae978f1f
ar71xx: merge machine support patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:28 +00:00
Gabor Juhos
76e3187aa2
ar71xx: register the NAND controller device on the RB2011
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:26 +00:00
Gabor Juhos
30da844351
ar71xx: add device registration code for the AR934x NAND flash controller
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:25 +00:00
Gabor Juhos
488c801a0a
ar71xx: package the AR934x NAND driver module
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:23 +00:00
Gabor Juhos
83d96d137b
ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:22 +00:00
Gabor Juhos
92cf14032d
ar71xx: define NAND controller base address and register size for AR934X/QCA955x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-12 19:06:38 +00:00
Gabor Juhos
888f24c4a4
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 14:38:01 +00:00
Gabor Juhos
9f2bbfb423
ar71xx: fix QCA955X_EHCI_SIZE
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 14:32:54 +00:00
Jo-Philipp Wich
11c0146a2b
[ar71xx] fix description of nand/Ath5k profile ( #12149 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 21:40:26 +00:00
Gabor Juhos
cb49889809
ar71xx: add initial support for RB2011UAS-2HnD
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:32 +00:00
Gabor Juhos
0ea5d33e08
ar71xx: use routerboot_find_tag to find wlan data offset on RB751
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:30 +00:00
Gabor Juhos
2a30d5c072
ar71xx: add RouterBoot related helper routines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:28 +00:00
Gabor Juhos
d90a416bf5
ar71xx: define MTD partitions for RB2011
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:24 +00:00
Gabor Juhos
9b0f8cd250
ar71xx: add preliminary support for Mikrotik RB2011L
...
This patch adds preliminary support for the Mikrotik RB2011L.
The NAND flash is not yet supported, so only the initramfs
kernel can be used for now.
[juhosg: remove unnecessary PCI/USB related stuff, the board
does not use that, update commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:22 +00:00
Gabor Juhos
26e1a6b953
ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:20 +00:00
Gabor Juhos
773fa9a77f
ar71xx: add dynamic MDIO clock calculation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:17 +00:00
Gabor Juhos
46d2e6a5b9
ar71xx: use the RLE library for RB751
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 17:51:56 +00:00
Gabor Juhos
eadecf68d8
ar71xx: add library code for RLE decoding
...
It will be used for the MikroTik boards.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 17:51:54 +00:00
Gabor Juhos
4bae61be20
ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 13:39:09 +00:00
Gabor Juhos
22d4d1fb84
ar71xx: refresh kernel patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 13:39:04 +00:00
Daniel Dickinson
acf052c5ce
[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first be flashed with the 'standard' image) and an image to revert the change to allow reversion to stock firmware.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-06 18:15:26 +00:00
Gabor Juhos
a74ed9bf17
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:26:50 +00:00
Gabor Juhos
34ed9e63e7
ar71xx: add rssileds to package set in profile for devices which got them.
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:22:51 +00:00
Gabor Juhos
22fef4fdc7
Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
...
That was based on assumptions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:55 +00:00
Gabor Juhos
bbf079b1d1
ar71xx: all0315n: fix ethernet according to vendor info
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:54 +00:00
Gabor Juhos
9a56a87ead
ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:53 +00:00
Gabor Juhos
34df781dc4
ar71xx: image: fix Profile name for TL-WA701 ( closes #12094 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:30 +00:00
Gabor Juhos
baf5f4c4c9
ar71xx: Buffalo WZR-HP-AG300H LED support
...
An improved LED support for Buffalo WZR-HP-AG300H.
There will be two new packages to go with this patch
(ar922x-led-fix-hotplug and ar922x-led-fix-init).
These packages essentially perform the same task of
disabling "JTAG over GPIO pins" function which is
currently required for LEDs on AR922x emac GPIO to work,
and are both considered a temporary fix that circumvent
this problem.
[juhosg: add the hotplug script from the proposed
ar922x-led-fix-hotplug package to ar71xx/base-files]
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:11:55 +00:00
Gabor Juhos
6a0998c459
ar71xx: add profile for Allnet devices
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:38 +00:00
Gabor Juhos
268ef7af33
ar71xx: generate image for ALL0315N
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:37 +00:00
Gabor Juhos
1c8d93e18a
ar71xx: sysupgrade for the ALL0315N
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:36 +00:00
Gabor Juhos
405863302d
ar71xx: rename all0258n.sh to allnet.sh
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:35 +00:00
Gabor Juhos
4c72895d51
ar71xx: detect ALL0315N board
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:32 +00:00
Gabor Juhos
eedcda6a27
ar71xx: add support for the Allnet ALL0315N board
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:31 +00:00
Gabor Juhos
f4fbd75f87
ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:26 +00:00
Gabor Juhos
f70db0dfef
ar71xx: unbreak building images for TL-WR1041N-v2, TL-WR2543N
...
Commit 48788063266ad99bdab03b53cbe7e1a564c2d9b3 (r33251) introduced a
regression with board= kernel command line parameter incorrectly
initialised.
The faulty builds propogated to the snapshots download area. This makes
the device unbootable and TP-Link users have to attach the serial to
recover.
Here is the q&d way i used to identify MIPS boards that didn't have a
corresponding entry in the image/Makefile:
for i in `find ../files/arch/mips/ath79/ -type f -exec cat {} \; \
| sed -n '/MIPS_MACHINE/ { s/^[^"]*"\([^"]*\)".*$/\1/; p; }'`; do
grep -q ,$i, Makefile || echo $i;
done > missing-boards.new
Reported-by: Casper on IRC
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-26 08:15:11 +00:00
Gabor Juhos
9ac554e5c1
ar71xx: image: fix TL-WR1043ND board id ( #12079 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-26 06:30:37 +00:00
Gabor Juhos
c6d673ffc0
ar71xx: image: group and sort {Single,Multi}Profiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:17:47 +00:00
Gabor Juhos
d79ba9fa20
ar71xx: image: group and sort mtdlayout definitions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:14:35 +00:00
Gabor Juhos
830413bd2e
ar71xx: image: use the MultiProfile helper for the Madwifi profile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:11:25 +00:00
Gabor Juhos
c0c61c0e85
ar71xx: image: automatically build a list of SingleProfiles
...
Use that for Default/Minimal profiles.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:08:15 +00:00
Gabor Juhos
e5e4cacd0a
ar71xx: image: use the new helpers for the ZyXEL images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:05:05 +00:00
Gabor Juhos
cd86a7714a
ar71xx: image: use the new helpers for the Zcomax images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:01:55 +00:00
Gabor Juhos
047efd5853
ar71xx: image: use the new helpers for the WRT400 images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:58:45 +00:00
Gabor Juhos
ea4d3fac82
ar71xx: image: use the new helpers for the WZRHPG30XNH images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:55:35 +00:00
Gabor Juhos
07649c8d9b
ar71xx: image: use the new helpers for the WHRHPG300N images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:52:25 +00:00
Gabor Juhos
ec065bb299
ar71xx: image: use the new helpers for the UBNTXM images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:49:15 +00:00
Gabor Juhos
0b8df57570
ar71xx: image: use the new helpers for the UBNT images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:46:06 +00:00
Gabor Juhos
346334f34b
ar71xx: image: use the new helpers for the TPLINKOLD images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:42:56 +00:00
Gabor Juhos
955c3b975c
ar71xx: image: use the new helpers for the TPLINK-LZMA images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:39:46 +00:00
Gabor Juhos
34588836ee
ar71xx: image: use the new helpers for the TPLINK images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:36:35 +00:00
Gabor Juhos
376a6c3ff0
ar71xx: image: use the new helpers for the Planex images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:33:25 +00:00
Gabor Juhos
ab782e4de9
ar71xx: image: use the new helpers for the PB4X images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:30:15 +00:00
Gabor Juhos
c0191dd387
ar71xx: image: use the new helpers for the OpenMesh images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:27:06 +00:00
Gabor Juhos
654466496a
ar71xx: image: use the new helpers for the Netgear images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:23:56 +00:00
Gabor Juhos
dcc440d1d9
ar71xx: image: use the new helpers for the MyLoader images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:20:46 +00:00
Gabor Juhos
a97a011e2c
ar71xx: image: use the new helpers for the DIR825B1 images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:17:36 +00:00
Gabor Juhos
2eb4b6c4ca
ar71xx: image: use the new helpers for the CyberTAN images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:14:26 +00:00
Gabor Juhos
fdcfc8c40a
ar71xx: image: use the new helpers for the Cameo933x images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:11:17 +00:00
Gabor Juhos
e707f02ed6
ar71xx: image: use the new helpers for the Cameo913x images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:08:07 +00:00
Gabor Juhos
d6190769d0
ar71xx: image: use the new helpers for the Cameo7240 images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:04:57 +00:00
Gabor Juhos
9b8d64254e
ar71xx: image: use the new helpers for the AthGzip images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:01:47 +00:00
Gabor Juhos
17901dd54f
ar71xx: image: use the new helpers for the AthLzma images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 11:58:37 +00:00
Gabor Juhos
2a968b40ad
ar71xx: image: use the new helpers for the ALFA images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 11:55:27 +00:00
Gabor Juhos
1fd8590c1f
ar71xx: image: add a few helper functions
...
These functions will be used to simplify the Makefile.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 11:52:18 +00:00
Gabor Juhos
3b1c7bfa88
ar71xx: image: pass mtdlayout as a separate parameter for the ALFA template
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 11:49:07 +00:00
Gabor Juhos
ac4a6f2be2
ar71xx: add profile and build image for the TEW-712BR
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 20:18:44 +00:00
Gabor Juhos
129e9c623f
ar71xx: TEW-712BR user space support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 20:12:24 +00:00
Gabor Juhos
8185640913
ar71xx: add support for the TRENDnet TEW-712BR board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 20:09:13 +00:00
Gabor Juhos
f6af8fc492
ar71xx: fix serial clock calculation on AR933x
...
Closes #12031 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 19:11:10 +00:00
Gabor Juhos
4a272ceaea
ar71xx: fix comment style in mach-tl-wr2543n.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 12:42:59 +00:00
Gabor Juhos
32a13b003b
ar71xx: fix mtd layout of the AP113
...
The 'mtdparts=' prefix and the name of the flash device is missing.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 12:39:46 +00:00
Gabor Juhos
b7fd6b817f
ar71xx: add ALL0305 board alias
...
For the pure convenience of having a correctly named
image and system name in /proc/cpuinfo , until we can
do that by having system names in DTS...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 12:33:22 +00:00
Gabor Juhos
0f8b30ebfb
ar71xx: add support for TP-Link TL-WDR3600
...
The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has
only two antennas.
[juhosg: remove the custom machine type, change the board name instead]
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:43:18 +00:00
John Crispin
38daca0070
add led defintion for the WR2543 5GHz WLAN LED
...
Signed-off-by: Andy Leiserson <andy@leiserson.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:10:24 +00:00
Gabor Juhos
59ff64dbf5
ar71xx: setup WLAN LED for the TL-WA901ND v2
...
Closes #11889 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-16 07:11:30 +00:00
Gabor Juhos
b61a375cfa
ar71xx: uci-defaults/leds for ALL0258N
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 14:01:38 +00:00
Gabor Juhos
3b76373f58
ar71xx: simplify misc IRQ handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 11:25:49 +00:00
Gabor Juhos
c095247b18
ar71xx: fix AR934X_EHCI_SIZE
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 11:25:46 +00:00
Gabor Juhos
e4c9a6778a
ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:41 +00:00
Gabor Juhos
7a6d8bdc0a
ar71xx: image: allow to use board specific code in the lzma-loader
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:33 +00:00
Gabor Juhos
18315094a0
ar71xx: init switch hw_reset on the TL-WR1043ND board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:28 +00:00
Gabor Juhos
4790652498
ar71xx: ew-dorin: added router firmware generation
...
[juhosg: remove dead code]
Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 12:24:57 +00:00
Gabor Juhos
f4c0dcd203
ar71xx: ew-dorin: added USB support
...
Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 12:24:56 +00:00
Gabor Juhos
47b8621773
ar71xx: Buffalo WLAE-AG300N wireless led patch
...
Here is the uci-defaults version of the led support for
the Buffalo WLAE-AG300N.
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 12:24:54 +00:00
Gabor Juhos
dce7a40da2
ar71xx: Buffalo WLAE-AG300N initial support
...
The patch set for Buffalo WLAE-AG300N initial support.
There is another patch for wireless led support that
is posted separately.
Note on serial console:
This unit has buffalo standard 4 pin console, but the unit may not power
on if some console apparatus is connected. This is probably due to some
electronic interaction between the unit's electronic power switch circuit
and the serial console apparatus. If this happens, it is required to power
on the unit without the console, then quickly (re-)attach it.
[juhosg: fix coding style]
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 12:24:52 +00:00
John Crispin
cbf3b3b510
[ar71xx] fix typo in modules.mk
...
This patch fixes a small typo in kmod-leds-wndr3700-usb description, where the board is for some reason made by NETGWR, not NETGEAR.
Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 19:52:30 +00:00
Florian Fainelli
9b33874a28
[ar71xx] move watchdog driver to target specific modules.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:10 +00:00
Florian Fainelli
82782abc1f
[ar71xx] move target specific spi modules
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:04 +00:00
Florian Fainelli
c7b3d1ed91
[ar71xx] move target specific leds modules to ar71xx modules.mk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:02 +00:00
Gabor Juhos
35fed0980c
ar71xx: enable I2C_GPIO, the PB44 board needs that
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 17:52:52 +00:00
Gabor Juhos
72b013b3d9
ar71xx: fix PB44 board detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 17:52:50 +00:00
Gabor Juhos
cc9e5f0e9b
ar71xx: use gpio_set_value_cansleep on sleeping GPIOs in ath79_spi
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 17:52:48 +00:00
Gabor Juhos
42ee0d2a0f
ar71xx: build firmware image for the TP-Link TL-WDR4310 v1.0
...
The hardware for TP-Link TL-WDR4300 v1.1 and TL-WDR4310 v1.0 is
identical, but requires different firmware headers:
TL-WDR4300:
00000040 43 00 00 01 00 00 00 01 00 00 00 00 76 fb 83 40 |C...........v..@|
TL-WDR4310:
00000040 43 10 00 01 00 00 00 01 00 00 00 00 38 2b 50 6c |C...........8+Pl|
[juhosg: change commit message, use a different model name]
Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 13:38:40 +00:00
Gabor Juhos
920c9f2577
ar71xx: select ATH79_DEV_M25P80 for the WRT400N board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 08:34:22 +00:00
Gabor Juhos
690472051f
ar71xx: airrouter power led support
...
This patch adds support for power led to Unifi Airrouter AP.
[juhosg:fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]
Signed-off-by: Rocco Folino <lordzen@autistici.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 08:34:21 +00:00
Gabor Juhos
acef82907f
ar71xx: unifi reset button support
...
This patch adds support for reset button to Ubiquiti UniFi AP.
[juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]
Signed-off-by: Rocco Folino <lordzen@autistici.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 08:34:20 +00:00
Gabor Juhos
43b88ffc17
ar71xx: airrouter reset button support
...
This patch adds support for reset button to Ubiquiti Airrouter AP.
[juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]
Signed-off-by: Rocco Folino <lordzen@autistici.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 08:34:18 +00:00
Gabor Juhos
6b1ecb3b19
ar71xx: swizzle address for PCI byte/word access on AR71xx
...
Closes #11683 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 16:33:12 +00:00
Gabor Juhos
2abcacf78c
ar71xx: select SOC_AR933X and ATH79_DEV_WMAC for the OM2P board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 11:12:02 +00:00
Gabor Juhos
e3713770f9
ar71xx: merge new board patches into the generic patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 11:12:01 +00:00
Gabor Juhos
882faabe62
ar71xx: OM2P LC sysupgrade patch
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 11:11:58 +00:00
Gabor Juhos
b45a6d878e
ar71xx: set firmware version for the TL-WR2543N
...
This ensures that the resulting firmware can
be flashed from the latest (v3.13.17) offical
firmware.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 16:25:31 +00:00
Gabor Juhos
cdd38c0a64
ar71xx: make 2.4GHz wlan LED work on the WR2543N
...
Because ath9k does not supports separate LEDs for
different bands yet, the 2.4GHz LED will show the
activity, even if the 5GHz band is selected.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 16:25:26 +00:00
Gabor Juhos
a9e60e6959
ar71xx: OM2P sysupgrade support
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:57 +00:00
Gabor Juhos
bb0fdf5209
ar71xx: add support for the OpenMesh OM2P-LC board
...
Patch-by: Marek Linder <marek@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:53 +00:00
Gabor Juhos
6bd692c4d6
ar71xx: add profile and build image for the Atheros AP136 reference board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:51 +00:00
Gabor Juhos
085697d0bd
ar71xx: AP136 user-space support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:50 +00:00
Gabor Juhos
c713180a79
ar71xx: add initial support for the Qualcomm Atheros AP136 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:48 +00:00
Gabor Juhos
85fc3d402c
ar71xx: add initial support for the QCA955X SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:47 +00:00
Gabor Juhos
d33dfd12ab
ar71xx: refactor PCI code to allow registering multiple PCI controllers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:45 +00:00
Felix Fietkau
e476f06414
ar71xx: update the EW Dorin MTD layout, increase kernel partition size (requested by EW)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-04 10:55:56 +00:00
Gabor Juhos
a2954f12fb
ar71xx: improve MDIO busy wait code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 15:24:02 +00:00
Gabor Juhos
7e8616d85a
ar71xx: remove the built-in MTD map of the ALL0258N
...
Pass the mtd_layout via the kernel command line instead.
Also increase the kernel partition size to 1024k, so current kernel can fit in.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 15:24:01 +00:00
Felix Fietkau
64be1d33e1
ar71xx: detect and enable MIPS DSP extensions, AR9344 supports them ( fixes #11762 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-28 16:05:08 +00:00
Gabor Juhos
208fa63215
ar71xx: create profile and build image for the TL-WDR4300 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 11:51:20 +00:00
Gabor Juhos
c9e25879a5
ar71xx: add user space support for the TL-WDR4300
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 11:51:18 +00:00
Gabor Juhos
b02b34668c
ar71xx: add support for the TL-WDR4300 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 11:51:17 +00:00
Gabor Juhos
a0528dce26
ar71xx: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 11:51:15 +00:00
Gabor Juhos
5745a7b08d
ar71xx: make AR8327 LEDs working on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:44:17 +00:00
Gabor Juhos
dd8a1c622f
ar71xx: remove superfluous include of asm/mach-ath79/pci.h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:13:43 +00:00
Gabor Juhos
224efc1850
ar71xx: add a common function to configure USB power GPIOs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:13:41 +00:00
Gabor Juhos
50527ff2b1
ar71xx: correctly detect NETGEAR WNDRMAC
...
This patch helps properly detect a WNDRMAC device. Before this
patch the model is detected as "NETGEAR ?????????N".
Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:13:38 +00:00
Gabor Juhos
fb2e357234
ar71xx: add USB LED support by default for WNDR3700/WNDR3800/WNDRMAC
...
This adds kmod-leds-wndr3700-usb package to a default build for
WNDR3700, WNDR3800 and WNDRMAC in order to support the green USB LED.
Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:13:37 +00:00
Felix Fietkau
dacb6839c0
ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 00:22:04 +00:00
Felix Fietkau
ec9f3a661f
ar71xx: add support for reading the MAC address from OTP ROM on AR933x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 00:21:58 +00:00
Felix Fietkau
df713331bf
ar71xx: swap the PHY address of the ethernet port of TL-MR3040/TL-MR11U similar to TL-MR3020 to fix ethernet link detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-13 12:54:22 +00:00
Felix Fietkau
95a748c5b8
ar71xx: fix LZMA loader build regression from r32090 (thx, juhosg)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 19:37:49 +00:00
Felix Fietkau
d591d58ff7
ar71xx: fix PHY setup on TL-MR3020 ( fixes #11572 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 17:24:12 +00:00
Felix Fietkau
02b7e81b78
ar71xx: add a helper function for setting up PHY4 swapping on ar933x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 17:24:09 +00:00
Felix Fietkau
bd86f88b0a
ar71xx: only build all loader images if the image builder is enabled - saves some time on make target/install
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 17:24:01 +00:00
John Crispin
266c70cdf4
[kernel] bump to 3.3.8
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 06:57:51 +00:00
Luka Perkov
1a03c75de1
uboot-envtools: update to 2012.04.01
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-04 21:55:49 +00:00
Gabor Juhos
c91ffa0c10
ar71xx: add default LED setup for the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:23 +00:00
Gabor Juhos
cceb4f9eb6
ar71xx: use the generic uci-default functions for initial LED setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:17 +00:00
Felix Fietkau
7bf6009fe6
ar71xx: do not override the mdio clock for ar9330. the override value (obtained from an atheros driver) seems to break ethernet functionality
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 20:39:50 +00:00
Felix Fietkau
55e7bd410c
ar71xx: improve rx performance of the ethernet driver by using build_skb to deliver a cache-hot skb to the network stack
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 02:55:59 +00:00
Felix Fietkau
026245749a
ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 21:02:41 +00:00
Gabor Juhos
4243897bf7
ar71xx: fix TL-WR1041 image size
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:21:47 +00:00
Gabor Juhos
e100214e23
kernel: update linux 3.3 to 3.3.7
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:32 +00:00
Gabor Juhos
0730d9fbb8
ar71xx: fix an insignificant typo
...
Patch from #11485 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:30 +00:00
Gabor Juhos
3412f35035
ar71xx: fix WLAN led for RB751U-2HnD and RB751G-2HnD
...
Patch by Kamil Trzciński <ayufan@osk-net.pl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:25 +00:00
Gabor Juhos
d9f7205aa4
ar71xx: add support for TP-Link TL-MR3040
...
Support for TP-Link TL-MR3040. Power LED not working - always on red, after
start should be green.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:24 +00:00
Gabor Juhos
cb4c118e50
linux: move certain disabled symbols to the generic configs
...
* CONFIG_ARCH_DMA_ADDR_T_64BIT
* CONFIG_ARCH_HAS_ILOG2_U32
* CONFIG_ARCH_HAS_ILOG2_U64
* CONFIG_ARCH_PHYS_ADDR_T_64BIT
* CONFIG_ARCH_SUPPORTS_MSI
* CONFIG_GENERIC_CPU_DEVICES
* CONFIG_HWMON_DEBUG_CHIP
* CONFIG_I2C_PXA_PCI
* CONFIG_LEDS_GPIO
* CONFIG_MINIX_FS_NATIVE_ENDIAN
* CONFIG_MLX4_CORE
* CONFIG_POWER_SUPPLY
* CONFIG_POWER_SUPPLY_DEBUG
* CONFIG_QUOTACTL
* CONFIG_SDIO_UART
* CONFIG_SENSORS_K10TEMP
* CONFIG_SENSORS_SCH56XX_COMMON
* CONFIG_SENSORS_VIA_CPUTEMP
* CONFIG_SERIO_AMBAKMI
* CONFIG_SERIO_I8042
* CONFIG_SERIO_LIBPS2
* CONFIG_SERIO_PCIPS2
* CONFIG_SERIO_RAW
* CONFIG_SERIO_SERPORT
* CONFIG_SPI_BITBANG
* CONFIG_SPI_GPIO
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 10:58:52 +00:00
Felix Fietkau
f47ed77684
ar71xx: remove AG71XX_RX_PKT_RESERVE, it is no longer necessary (found by Eric Dumazet)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 10:36:39 +00:00
Gabor Juhos
cc87185921
kernel: update linux 3.3 to 3.3.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 09:18:32 +00:00
Gabor Juhos
6f83a7bcb2
ar71xx: fix build error if PCI is disabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-07 21:16:22 +00:00
Gabor Juhos
3303e79b79
kernel: update linux 3.3 to 3.3.5
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-07 20:11:43 +00:00
Felix Fietkau
f20d1938b5
kernel: rewrite the phy packet hook, put it in the network stack to avoid having to keep non-upstream ethernet driver changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 21:19:14 +00:00
Gabor Juhos
5b7d0a95c8
ar71xx: add profile and build image for the TL-WR1041N v2 board
...
Patch-by: Vince Huang <axishero@foxmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:02:41 +00:00
Gabor Juhos
b373fefee9
ar71xx: add support for the TP-Link TL-WR1041N v2 board
...
Patch-by: Vince Huang <axishero@foxmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:02:35 +00:00
Gabor Juhos
9f2ec6e9f6
ar71xx: update 3.3 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 13:56:35 +00:00
Gabor Juhos
b56c425713
ar71xx: fix a typo in the db120 mach file
...
Reported-by: Sven Eckelmann <sven@narfation.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 13:56:30 +00:00
Gabor Juhos
465b2a024c
kernel: update linux 3.3 to 3.3.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 08:38:11 +00:00
Gabor Juhos
01bea635cb
ar71xx: allow to disable link polling on unused PHYs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 18:29:24 +00:00
Gabor Juhos
7a2e03f5e3
ar71xx: enable MIB counters in the built-in switch of the AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-25 13:02:11 +00:00
Gabor Juhos
5913da2e94
ar71xx: TL-WR741NDv4: add WLAN LED config
...
On TP-Link TL-WR741ND version 4, the WLAN LED must be configured to work.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 11:38:44 +00:00
Jonas Gorski
281a545b07
kernel: update linux 3.3 to 3.3.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 09:25:38 +00:00
Gabor Juhos
8b3c00c77f
ar71xx: remove duplicated AP121 Kconfig entry
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-20 16:50:16 +00:00
Gabor Juhos
d83124454a
ar71xx: nuke 3.2 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:32:05 +00:00
Gabor Juhos
f41d93b307
ar71xx: switch to 3.3.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:58 +00:00
Gabor Juhos
8f4fdc7ddd
ar71xx: sync 3.3 config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:53 +00:00
Gabor Juhos
8771edc108
ar71xx: merge/reorganize 3.3 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:50 +00:00
Gabor Juhos
fb5930b034
ar71xx: use ap91_pci_init for RB751{,G}
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:48 +00:00
Gabor Juhos
00d3105923
ar71xx: move USB device registration directly into rb751{,g}_setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:43 +00:00
Gabor Juhos
83531b059e
ar71xx: add ap9x_pci_get_wmac_data helper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:42 +00:00
Gabor Juhos
7ad3da40d6
ar71xx: add sanity checks to decode_rle
...
Also use -EINVAL instead of -1.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:40 +00:00
Jonas Gorski
7865291832
kernel: also update the targets to use 3.2.15
...
Thanks Gabor for spotting it.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 13:12:14 +00:00
Jonas Gorski
afbf3d994e
kernel: update linux 3.3 to 3.3.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 12:51:02 +00:00
Jonas Gorski
fe073513d5
kernel: update linux 3.2 to 3.2.14
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 14:48:51 +00:00
Gabor Juhos
571d6c4766
ar71xx: image: build initramfs images for the WHR boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-06 06:45:08 +00:00
Gabor Juhos
ff6417252a
ar71xx: initial support for Mikrotik RB751G-2HnD and RB751U-2HnD
...
Great collaboration on these two fantastic routers on the openwrt forum:
https://forum.openwrt.org/viewtopic.php?id=32320
Above all kudos to aryufan. Well done and thank you everyone else who
contributed.
To-Do: LED for wlan is not yet activated
To-Do: TxPower over 20dBm (RB751U) or 22dBm (RB751G) are not accepted by
the router
Signed-off-by: Hanno Schupp <hanno.schupp@gmail.com>
[juhosg: fix line wrapped patch, fix checkpatch errors, add missing
kernel patches]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-06 06:45:07 +00:00
Gabor Juhos
4442cefd05
ar71xx: add rb750 to diag.sh
...
Support status led in diag.sh for RB750
Patch from: Evangelos Arkalis <arkalis.e@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-06 06:45:04 +00:00
Jonas Gorski
d944e45d65
kernel: update linux 3.2 to 3.2.13 and refresh patches
...
Also remove a duplicate patch from lantiq (already in generic).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-01 07:56:55 +00:00
Gabor Juhos
25cb8f3f4f
ar71xx: boost SPI flash read performance
...
mtd_speedtest results:
page read speed
old new delta
DB120 929 KiB/s 2597 KiB/s +179.55%
TL-WR1043ND v1 754 KiB/s 2166 KiB/s +187.27%
TL-WR703N v1 745 KiB/s 2176 KiB/s +192.08%
TL-MR3220 v1 752 KiB/s 2154 KiB/s +186.44%
TL-WR2543ND v1 564 KiB/s 2130 KiB/s +277.66%
TL-WR741ND v2 525 KiB/s 1767 KiB/s +236.57%
ALFA-AP96 702 KiB/s 1977 KiB/s +181.62%
WNDR3700 697 KiB/s 1965 KiB/s +181.92%
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:17 +00:00
Gabor Juhos
7466fa47e4
ar71xx: improve SPI flash read/write performance
...
mtd_speedtest results:
page write speed
old new delta
DB120 209 KiB/s 226 KiB/s +8.13%
TL-WR1043ND v1 122 KiB/s 148 KiB/s +21.31%
TL-WR703N v1 153 KiB/s 194 KiB/s +26.80%
TL-MR3220 v1 130 KiB/s 156 KiB/s +20.00%
TL-WR2543ND v1 158 KiB/s 202 KiB/s +27.85%
TL-WR741ND v2 122 KiB/s 152 KiB/s +24.59%
ALFA AP96 229 KiB/s 260 KiB/s +13.54%
WNDR3700 202 KiB/s 223 KiB/s +10.40%
page read speed
old new delta
DB120 691 KiB/s 929 KiB/s +34.44%
TL-WR1043ND v1 372 KiB/s 754 KiB/s +102.69%
TL-WR703N v1 375 KiB/s 745 KiB/s +98.67%
TL-MR3220 v1 372 KiB/s 752 KiB/s +102.15%
TL-WR2543ND v1 307 KiB/s 564 KiB/s +83.71%
TL-WR741ND v2 315 KiB/s 525 KiB/s +66.67%
ALFA AP96 515 KiB/s 702 KiB/s +36.31%
WNDR3700 515 KiB/s 697 KiB/s +35.34%
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:15 +00:00
Gabor Juhos
2082a166ec
ar71xx: image: build initramfs images for more boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:13 +00:00
Gabor Juhos
4251611f6f
ar71xx: image: add MkuImage{Gzip,Lzma}/initramfs helpers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:11 +00:00
Gabor Juhos
2f5d4465f9
ar71xx: image: pass mtdlayout variables by value
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:10 +00:00
Gabor Juhos
a25b939eac
ar71xx: image: use MkuImageGzip in Image/Build/AthGzip/initramfs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:08 +00:00
Gabor Juhos
bc6cbb5644
ar71xx: remove the built-in MTD map of the AP96 board
...
Pass the mtd_layout via the kernel command line instead.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:07 +00:00
Gabor Juhos
35c72f864e
ar71xx: remove the built-in MTD map of the PB92 board
...
Pass the mtd_layout via the kernel command line instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:05 +00:00
Gabor Juhos
1f4578115c
ar71xx: remove the built-in MTD map of the Zcomax devices
...
Pass the mtd_layout via the kernel command line instead.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:04 +00:00
Gabor Juhos
8aca9f5db2
ar71xx: reclaim the 'user_property' partition on WHR-* boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:02 +00:00
Gabor Juhos
ba06bbe662
ar71xx: remove the built-in MTD maps of several boards
...
We are passing the MTD layout via the kernel command line, so
it makes no sense to duplicate it in mach-* files. The patch
removes the built-in MTD maps of the following boards:
* AP113
* ALFA N2/N5
* DIR-600
* DIR-615
* DIR-825
* TEW-6{3,5}2BRP
* TEW-673GRU
* WHR-G301N
* WHR-HP-GN
* WHR-HP-G300N
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:01 +00:00
Gabor Juhos
41b5fcad6d
ar71xx: use modules for LED triggers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:59 +00:00
Gabor Juhos
b5219fd99f
ar71xx: disable CONFIG_{I2C,SPI}_GPIO
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:53 +00:00
Gabor Juhos
db52ced806
ar71xx: sync 3.3 config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:52 +00:00
Gabor Juhos
c80db28b91
ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:51 +00:00
Gabor Juhos
3381cc597a
linux: refresh patches against 3.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-20 15:55:07 +00:00
Gabor Juhos
6c6f00cc24
ar71xx: fix IRQ number for the AR7240 OHCI controller
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-20 15:02:48 +00:00
Gabor Juhos
81de1500bc
kernel: update linux 3.2 to 3.2.12
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 18:23:31 +00:00
Gabor Juhos
adf7b3da44
ar71xx: disable unused file system drivers in the nand subtarget
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:07 +00:00
Gabor Juhos
9d7ffb3b5d
ar71xx: sync kernel configs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:06 +00:00
Gabor Juhos
935d0cf7fe
ar71xx: add initial support for RB750GL
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:04 +00:00
Gabor Juhos
fcb6507f7b
ar71xx: make rb750_latch_change 'static void'
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:03 +00:00
Gabor Juhos
dbf4111ad7
ar71xx: add latch_change field to rb750_led_platform_data
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:01 +00:00
Gabor Juhos
c0a33c12b0
ar71xx: add platform data for the RB750 NAND driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:56:59 +00:00
Gabor Juhos
75ef6719a4
ar71xx: use a different pll value on DB120
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 11:11:22 +00:00
Gabor Juhos
c6fb886b40
ar71xx: add AR934x specific interface speed setup for ge0
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 11:11:20 +00:00
Gabor Juhos
036f98bb27
ar71xx: remove static MTD maps from AP121/DB120 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 11:11:19 +00:00
Felix Fietkau
887c0ecd98
targets: replace madwifi in profiles with ath5k, madwifi is unmaintained
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 09:58:13 +00:00
Gabor Juhos
29ab3f288b
ar71xx: use AR8327 on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:58 +00:00
Gabor Juhos
902c08b7e6
ar71xx: add profile and generate image for the JA76PF2 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 18:00:40 +00:00
Gabor Juhos
b1fb73bd2f
ar71xx: add support for the jjPlus JA76PF2 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 18:00:34 +00:00
Gabor Juhos
a9e99d72ea
ar71xx: change LED name prefix on the jjplus boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 18:00:26 +00:00
Gabor Juhos
6189648864
ar71xx: move micrel PHY driver to the generic linux target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 09:25:53 +00:00
Gabor Juhos
8e0414c16a
ar71xx: ag71xx: fix ARP frame reception on AR934x switch ports
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:38 +00:00
Gabor Juhos
90579991ee
ar71xx: ag71xx: start aneg on switch PHYs after reset
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:37 +00:00
Gabor Juhos
16cf112d8c
ar71xx: ag71xx: poll PHY status of all available switch ports
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:36 +00:00
Gabor Juhos
4e4e7aeec4
ar71xx: ag71xx: allow to use port 5 of the AR934x built-in switch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:34 +00:00
Gabor Juhos
011e043746
ar71xx: reset the switch on AR934x before ethernet device registration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:33 +00:00
Gabor Juhos
14f91a5fd5
ar71xx: fix a typo in ar71xx_regs.h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:31 +00:00
Gabor Juhos
068199dde5
ar71xx: use a dummy callback for interfaces with fixed speed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 20:38:58 +00:00
Gabor Juhos
caae34337e
ar71xx: merge ar934x_bo_ddr_flush patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 20:38:57 +00:00
Gabor Juhos
b169293875
ar71xx: enable UART function for early_printk/console
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 17:32:39 +00:00
Gabor Juhos
7325c957ad
ar71xx: remove a 3.3 patch, it is already in 3.3-rc7
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:27:57 +00:00
Gabor Juhos
4d821bdfe2
ar71xx: fix Compex WPE72 detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:27:56 +00:00
Gabor Juhos
3cd6cb21cd
ar71xx: stop image building if a loader is missing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 14:03:28 +00:00
Gabor Juhos
14fed3c49b
ar71xx: add watchdog driver to the default package list
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 09:00:17 +00:00
Gabor Juhos
b8d4f21691
ar71xx: fix WPS button polarity on TL-WR2543N
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 19:50:53 +00:00
Gabor Juhos
b079387bc5
ar71xx: ag71xx: fix get_port_link callback
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:35 +00:00
Gabor Juhos
8040107a9c
ar71xx: ag71xx: use the generic get_port_link implementation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:34 +00:00
Gabor Juhos
1bb70a9a7d
ar71xx: refresh patches against 3.3-rc5
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-03 14:10:29 +00:00
Gabor Juhos
f265cbac9e
ar71xx: ag71xx: keep VLAN tags if VLAN is not enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:49:05 +00:00
Gabor Juhos
23c3f7941e
kernel: update linux 3.2 to 3.2.9
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:49:02 +00:00
Gabor Juhos
04b9bc61e1
ar71xx: use v6.0.0 in UBTN-XM firmwares ( closes #11038 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-24 20:41:38 +00:00
Felix Fietkau
31df1c58cb
ar71xx: switch to kmod-gpio-button-hotplug
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 10:51:48 +00:00
Gabor Juhos
390cbbcf32
ar71xx: fix image signature for UBNT-XM boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 14:45:52 +00:00
Gabor Juhos
39f5515e40
ar71xx: remove duplicated define from the D-Link profile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 09:03:27 +00:00
Daniel Dickinson
c1f7143622
[ar71xx] Add Ubiquiti UniFi Profile; It's an AP without USB so don't include USB drivers by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:45:28 +00:00
Daniel Dickinson
37d73823be
[ar71xx] d-link: Add DIR-601 Profile Definition; It needs different factory images than DIR-600
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:38:33 +00:00
Daniel Dickinson
3be148b333
[ar71xx] Fix partitions for Cameo-based boards; kernel 3.2 is bigger
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:29:26 +00:00
Daniel Dickinson
190f75f104
[ar71xx] image: For Cameo-based board fix adding mtd layout to kernel commandline)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:24:45 +00:00
Gabor Juhos
1c8bb38b68
ar71xx: add profile and build image for the TP-Link TL-WR842N/ND v1 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 17:11:58 +00:00
Gabor Juhos
87adb998bc
ar71xx: add model detection for TL-WR842N/ND
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 17:11:57 +00:00
Gabor Juhos
8686954917
ar71xx: zero partition parser data in m25p80
...
Ths fixes parsing of RedBoot partitions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 20:19:06 +00:00
Gabor Juhos
874b5f7d49
ar71xx: fix platform description
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 15:27:49 +00:00
Gabor Juhos
cca831fa63
ar71xx: ag71xx: add BQL support
...
It will be usable only from linux-3.3.
Based on a patch by Dave Taht <dave.taht@bufferbloat.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 14:56:47 +00:00
Gabor Juhos
afc636fee1
ar71xx: add dummy DQL helper functions for 3.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 14:56:44 +00:00
Gabor Juhos
1b97bcd3dc
ar71xx: add preliminary support for 3.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:53:56 +00:00
Felix Fietkau
6b23efb733
ar71xx: disable DDR flush for ethernet on AR934x, it is no longer necessary
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:46:37 +00:00
Felix Fietkau
e5e2e517f8
ar71xx: fix db120 board detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:46:31 +00:00
Gabor Juhos
ca440b44cf
ar71xx: allow to build ag71xx w/o PCI support enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:46:10 +00:00
Gabor Juhos
07c8ccf163
ar71xx: merge 3.2 fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:33 +00:00
Gabor Juhos
0b6aaa98af
ar71xx: merge files-3.2 to files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:31 +00:00
Gabor Juhos
86ef5faaee
ar71xx: nuke 2.6.39 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:28 +00:00
Gabor Juhos
5542aa3fa3
ar71xx: switch to 3.2.5
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:27 +00:00
Gabor Juhos
a41160e816
ar71xx: refresh 3.2 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:25 +00:00
Gabor Juhos
2397d9c42d
ar71xx: 3.2: remove stray semicolons from the PCI fixup patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 21:19:57 +00:00
Felix Fietkau
1765a981a7
ar71xx: fix ar934x usb reset handling on 3.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 20:39:41 +00:00
Gabor Juhos
84a643c9a7
ar71xx: 3.2: get rid of an unused variable in ath79_spi.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 20:47:58 +00:00
Gabor Juhos
29dea146ee
ar71xx: 3.2: fix AHB clock name in rb4xx_spi
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 20:47:56 +00:00
Gabor Juhos
c09040c80d
ar71xx: add profile and build image for the TEW-673GRU board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 16:26:27 +00:00
Gabor Juhos
daf3a5a8ff
ar71xx: add support for the TRENDNet TEW-673GRU board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 16:26:25 +00:00
Felix Fietkau
30a072afb0
ar71xx: add usb on the pb92 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-03 09:44:51 +00:00
Gabor Juhos
c7e717ce65
ar71xx: fix ethernet LEDs on the WHR-{G301N,HP-G300N,HP-GN} boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 20:49:34 +00:00
Gabor Juhos
fd7bd75c16
ar71xx: merge DIR-600 A1 and DIR-615 E4 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:29 +00:00
Gabor Juhos
129be88f0d
ar71xx: fix ethernet LEDs on the DIR-600-A1 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:24 +00:00
Gabor Juhos
4946900ecc
ar71xx: unify LED names on D-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:15 +00:00
Gabor Juhos
780aecc9ca
ar71xx: support for D-LINK DIR-615 rev. E4
...
This patch adds support for D-LINK DIR-615 E4 board. It's mostly based
on the existing support for DIR-600 A1, with some changes in the leds
configuration.
It's an updated version of the patch that reliably works on my hw for
about a year (it was built from trunk on Jan 2011). When I decided to
update the firmware and checked for the current support for that device,
I also found previously posted patches by Alexey Loukianov that
mentioned some stability issues. I'm not sure where could be the
difference, the patches are very similar except the wmac led pin number
- I was using 1, and those patches used 17.
[juhosg: add 3.2 support]
Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:09 +00:00
Gabor Juhos
0e45b3367c
ar71xx: add support for TP-Link TL-MR11U
...
Adds support for TL-MR11U, a portable router with very similar
hardware to the TL-WR703N and TL-MR3020, but with an onboard
2000mAh battery.
Tested, working:
All interfaces (Ethernet, 802.11n, USB)
WPS & Reset switches (Power appears to be a hardware slider)
Ethernet, Wifi, 3G LEDs (Power & charging LEDs hardware controlled)
Sysupgrade
[juhosg: fix indentations to use TABs instead of spaces, fix 3.2 patch
breakage]
Signed-off-by: Simon Taylor <simon.taylor.uk@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:01 +00:00
Gabor Juhos
f25655b13b
ar71xx: compress kernel binaries in Image/Prepare stage
...
The lzma compressed kernel is used by one of the loaders.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:36:54 +00:00
Gabor Juhos
f9e8748d57
ar71xx: use dynamically allocated partitions in wrt160nl_part
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:36:51 +00:00
Florian Fainelli
c003d83f1a
[ar71xx] add support for the Atheros AP113 reference board
...
This reference board is equipped with:
- AR7242 SoC
- AR9580 on-board Wi-Fi
- AR8316 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 13:19:49 +00:00
Florian Fainelli
906dfaac14
[ar71xx] refresh 3.2 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 13:19:43 +00:00
Gabor Juhos
c82034b4c9
ar71xx: use 64k block size for WZR-HP-AG300H
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-27 10:42:41 +00:00
Gabor Juhos
1727dca60a
ar71xx: fix sysupgrade image building of atheros boards after r29899
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-27 07:51:09 +00:00
Gabor Juhos
9ae562846f
ar71xx: create the temporary directory before building initramfs images
...
Thanks to Florian for reporting.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 21:28:34 +00:00
Gabor Juhos
d8bb980f47
ar71xx: create a profile and build images for Compex WPE72
...
[juhosg: remove ath9k from the the profile package list, build WPE72
image with the Default profile as well]
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:44 +00:00
Gabor Juhos
ede9030b02
ar71xx: add support for Compex WPE72/WPE72NX
...
This patch adds support for Compex WPE72 bare board and Compex WPE72NX
Indoor Access Point.
[juhosg: add support to 3.2 as well]
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:41 +00:00
Gabor Juhos
e55bf8c335
ar71xx: TL-MR3020: fix board detection, fix missing mandatory package and modify LED behaviour
...
This patch fixes the board detection of the TL-MR3020.
The LED behaviour has also been modified:
* The WPS LED is the diag LED now.
* A netdev trigger for the LAN LED has been added.
The profile of the TL-MR3020 has been updated because the needed package
"kmod-ledtrig-usbdev" was missing which resulted in a non-working usbdev
trigger for the 3G/USB LED.
[juhosg: the board name changes has been removed, and the kernel files
has been changed instead.]
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-25 07:44:45 +00:00
Gabor Juhos
47e45167d9
ar71xx: TL-MR3020: fix GPIO polarity for button and switch
...
This patch fixes the GPIO polarity for the button and the sliding
switch. The buttons are not active low. "Pressed" and "Released"
events are wrong without the patch.
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-25 07:44:43 +00:00
Gabor Juhos
cb51e6c0d7
ar71xx: use the lzma loader on the Planex boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 20:12:10 +00:00
Gabor Juhos
1c279ca34e
ar71xx: rename Sysupgrade/{KR,RK} to Sysupgrade/{KR,RK}uImage
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 20:12:08 +00:00
Gabor Juhos
2ca85663ea
ar71xx: fix the AP/Router LED definitons on MZK-W300NH
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:38 +00:00
Gabor Juhos
0353e85c26
ar71xx: preset WLAN LED config on MZK-W300NH
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:36 +00:00
Gabor Juhos
98cfb744db
ar71xx: remove hardcoded MTD layout from planex files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:34 +00:00
Gabor Juhos
bd7d55d8ed
ar71xx: pass mtdlayout to Planex boards via command line
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:33 +00:00
Gabor Juhos
352efddfa0
ar71xx: remove an unused header file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:31 +00:00
Gabor Juhos
6536036506
ar71xx: nuke fs_all variable in image/Makefile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:25 +00:00
Gabor Juhos
0ee87255f5
ar71xx: create interim kernel files in a separate dir
...
This reduces the size of the ImageBuilder tarball a lot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:23 +00:00
Gabor Juhos
cb618e5c95
ar71xx: prebuild all loaders in Image/Prepare stage
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:22 +00:00
Gabor Juhos
019a86ebc3
ar71xx: 3.2: fix build errors if PCI is not enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-23 08:52:21 +00:00
Gabor Juhos
0dc4edde27
ar71xx: fix compiler warning if PCI is not enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-23 08:52:18 +00:00
Gabor Juhos
fa34189a17
ar71xx: add initial support for 3.2
...
Tested on the following boards:
ALFA AP96
TL-MR3220 v1
TL-WR1043ND v1
TL-WR2543ND v1
TL-WR703N v1
TL-WR741ND v1
TL-WR741ND v4
WNDR3700 v1
WZR-HP-G300NH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:38:19 +00:00
Gabor Juhos
2899e54bd7
ar71xx: move arch specific files to files-2.6.39
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:38:11 +00:00
Gabor Juhos
31ac2df946
ar71xx: build ALFA AP96 images with default profile as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:33:15 +00:00
Gabor Juhos
5a804a0710
ar71xx: wrt160nl_part: include module.h and fix compiler warnings
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 17:55:38 +00:00
Gabor Juhos
77681dfda2
ar71xx: tplinkpart: include module.h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 17:55:36 +00:00
Gabor Juhos
69c5ec5805
ar71xx: rename vsc7385 spi driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:57 +00:00
Gabor Juhos
57182d0623
ar71xx: rename ap81 spi driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:56 +00:00
Gabor Juhos
9c5fd0809f
ar71xx: rename rb4xx spi drivers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:54 +00:00
Gabor Juhos
99e5d01717
ar71xx: rename the nxp_74hc153 driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:52 +00:00
Gabor Juhos
c72cb530b3
ar71xx: change board id of the UniFi board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:50 +00:00
Gabor Juhos
0ddf352708
ar71xx: include linux/module.h in the micrel phy driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:49 +00:00
Gabor Juhos
cb544f1fd3
ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 18:00:50 +00:00
Gabor Juhos
510237b282
ar71xx: disable ath79 in order to get rid of Kconfig warnings
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:19 +00:00
Gabor Juhos
c7cf50257f
ar71xx: pb44_spi: add shutdown handler
...
This allows to access the flash from a kexec'd kernel.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:18 +00:00
Gabor Juhos
d4f8c16d01
ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:17 +00:00
Gabor Juhos
a1de404466
ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:15 +00:00
Gabor Juhos
aeeb859e58
ar71xx: ar71xx_spi: add shutdown handler
...
This allows to access the flash from a kexec'd kernel.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:14 +00:00
Gabor Juhos
ad96a5a37b
ar71xx: ar71xx_spi: save and restore regs from probe/remove
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:13 +00:00
Gabor Juhos
55412d0e9e
ar71xx: ar71xx_wdt: add shutdown handler
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:11 +00:00
Gabor Juhos
06a14f561a
ar71xx: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:43 +00:00
Gabor Juhos
f9d78517ad
ar71xx: add a profile and build images for the TL-WR2543N/ND
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:42 +00:00
Gabor Juhos
8782a469c8
ar71xx: add initial support for the TL-WR2543N/ND board
...
The WLAN LEDs are not working yet.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:35 +00:00
Gabor Juhos
ce48dfe9f2
ar71xx: allow to specify max read size for m25p80
...
Reading from the flash chip on the TL-WR2543ND seems buggy.
If the SPI flash driver tries to read too much data in one
SPI transfer, the flash chip returns bogus values. This can
be caused by a buggy flash chip on my board, or it can
be a bug in our SPI driver.
Add a workaround to the m25p80 driver until I find out the
root cause of the problem. The patch allows to specify the
maximum numner of bytes which can be read safely withint
one SPI transfer.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:33 +00:00
Gabor Juhos
c64226d2ad
ar71xx: local mac support on the wndr3700
...
The wndr3700 at least has no eth0 mac address and usually leverages
the first wireless device's mac when in a bridged scenario. If,
however, you want to route, and not bridge the interfaces, you
need a unique mac address for it.
This patch sets the local bit on the mac address pulled from the
wireless chip and uses the resulting address for eth0.
Patch-by: Dave Taht <dave.taht@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 17:24:44 +00:00
Gabor Juhos
1f6caadd70
generic: improve MIPS kexec support
...
It is based on patches from the linux-longsoon-community git tree:
http://dev.lemote.com/cgit/linux-loongson-community.git/
Now the kernel can use the command line parameter from kexec-tools.
Runtime tested on ar71xx with 2.6.39.4 (the wathdog must be stopped
before executing the new kernel). Compile tested with lantiq (3.1.4)
and brcm47xx (3.0.12).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 16:29:16 +00:00
Gabor Juhos
363361428e
ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 15:54:59 +00:00
Gabor Juhos
a128548072
ar71xx: add support for Redwave RW2458N
...
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:59 +00:00
Gabor Juhos
4052a864ee
ar71xx: fix RB-750 network configuration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:54 +00:00
Gabor Juhos
881581493f
ar71xx: fix sections mismatch warnings in the nand drivers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-05 18:08:33 +00:00
Gabor Juhos
9bcaf204ee
ar71xx: fix LED configuration on the RB-750
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-05 18:08:28 +00:00
Gabor Juhos
df72f38897
ar71xx: create profile and build image for the ALFA AP96 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 21:13:57 +00:00
Gabor Juhos
2d696ce97e
ar71xx: add inital support for the ALFA Network AP96 board
...
The microSD slot and the Real Time Clock is not working yet.
The miniPCIe interface is not tested due to the lack of a
suitable card.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 21:13:54 +00:00
Gabor Juhos
5c8819fc34
ar71xx: specify console kernel parameter for the Compex boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:59 +00:00
Gabor Juhos
3eeb7b7a5b
ar71xx: allow to use the command line hack on compex devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:58 +00:00
Gabor Juhos
97682e0944
ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7
...
These models are based on the AP99 reference board,
and uses the AR7241 SoC.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:57 +00:00
Gabor Juhos
a53822baf4
ar71xx: show correct model name on TL-WA701N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:55 +00:00
Gabor Juhos
e1cde7e2f2
ar71xx: add profile and build image for the TL-WA701N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:54 +00:00
Gabor Juhos
d18016e1c8
ar71xx: fix network configuration for the TL-WA901N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:52 +00:00
Gabor Juhos
bf40a234de
ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:50 +00:00
Gabor Juhos
0baf809de3
ar71xx: add default LED configuration for the TL-MR3020
...
Also use the system LED for diagnostic.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:49 +00:00
Gabor Juhos
2526c08008
ar71xx: add support for TP-Link TL-MR3020
...
This patch adds support for the TP-Link device TL-MR3020 which is very
similiar to the TL-WR703N.
The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions.
Only four LEDs can be controlled via GPIO. The power LED is connected to
the power supply.
The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals
of the sliding switch have been mapped to BTN_0 and BTN_1.
I have also setup a wiki page with details here:
http://wiki.openwrt.org/toh/tp-link/tl-mr3020
USB is working and has been tested with USB mass storage and USB UMTS
stick.
Wifi also seems to work.
Ethernet is working too.
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:47 +00:00
Gabor Juhos
4be5cd66f3
ar71xx: use the new om-watchdog package for OM2P
...
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:41 +00:00
Gabor Juhos
70c438bb93
ar71xx: add profile and build factory image for the Hornet-UB board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:29 +00:00
Gabor Juhos
c3f617ef35
ar71xx: build images for the ALFA Network N2/N5 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:28 +00:00
Gabor Juhos
674aa34176
ar71xx: add support for the ALFA Network N2/N5 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:25 +00:00
Gabor Juhos
859e59397b
ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:46 +00:00
Gabor Juhos
118232a591
ar71xx: enable SWCONFIG_LEDS
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:40 +00:00
Gabor Juhos
9bf3904856
ar71xx: ag71xx: implement get_port_{link,stats} callbacks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:26 +00:00
Gabor Juhos
be7cbae844
ar71xx: fix LEDs on the WRT400N
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 13:54:11 +00:00
Gabor Juhos
8a4dd9c10f
ar71xx: enable sysupgrade support for airrouter
...
Works for me! ;-)
Patch-by: Russell Senior <russell@personaltelco.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-27 16:59:43 +00:00
Gabor Juhos
22e9d33e1c
ar71xx: fix sysupgrade on PB42/PB44 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-27 16:57:01 +00:00
Felix Fietkau
5f97cea3f0
ar71xx: set a reserved bit that resets to 1 when writing the address table control register on the ar7240 switch (should fix #10547 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-22 05:43:53 +00:00
Jonas Gorski
a5fdbc09b3
ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
...
Thanks netprince for reporting and testing.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-21 19:32:40 +00:00
Jo-Philipp Wich
26415b5f86
[ar71xx] the mach file of the WZR-HP-G300NH2 accidentally claimed the mach id of the WZR-HP-AG300H, correct the id ( #10649 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-21 01:27:48 +00:00
Felix Fietkau
7e96983fe1
ar71xx: add missing wireless led changes for wzr-hp-g300nh2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-19 09:04:15 +00:00
Felix Fietkau
b809bbc100
ar71xx: add support for the wzr-hp-g300nh2
...
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-18 22:20:17 +00:00
Gabor Juhos
3894ae522a
ar71xx: use 64kraw template on more TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-17 18:49:55 +00:00
Gabor Juhos
e5d5ffcbc2
ar71xx: connect GMAC0 to the internal switch on DB120
...
Because the external switch has no driver yet, connect GMAC0
to the PHY4 of the internal switch for now. This allows to
use the DB120 board as a router with 4LAN+1WAN ports.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:38 +00:00
Gabor Juhos
10a219ed66
ar71xx: add defines for the AR934X GMAC interface
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:36 +00:00
Gabor Juhos
2b1b2e492f
ar71xx: fix GMAC1 interface speed on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:35 +00:00
Gabor Juhos
56a02cffed
ar71xx: ag71xx: fix switch port setup for AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:32 +00:00
Gabor Juhos
5039a01b61
ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:30 +00:00
Gabor Juhos
59e650a276
ar71xx: ag71xx: setup switch interface mode on AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:29 +00:00
Gabor Juhos
3f45ffd8f2
ar71xx: ag71xx: detect the built-in switch of the AR934X SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:28 +00:00
Gabor Juhos
01036f2eae
ar71xx: allow to attach the internal switch for AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:22 +00:00
Gabor Juhos
691b20bcaf
ar71xx: introduce ar71xx_switch_data
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:11 +00:00
Gabor Juhos
1c234742d6
ar71xx: build images for TL-WR741N/ND v2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:48 +00:00
Gabor Juhos
ac0030116e
ar71x: use raw squashfs images for TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:46 +00:00
Gabor Juhos
178dfb1db9
ar71xx: create a template for using unpadded squashfs images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:45 +00:00
Gabor Juhos
3b391aa04c
ar71xx: put squash image right after the kernel on TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:44 +00:00
Gabor Juhos
c0f856759b
ar71xx: tplinkpart: allow to detect JFFS2 as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:40 +00:00
Gabor Juhos
bc40f1dc75
ar71xx: ag71xx: check PHY IDs before accessing the switch registers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:23 +00:00
Gabor Juhos
b480583892
ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:21 +00:00
Gabor Juhos
58bcc09552
ar71xx: ag71xx: nuke ar7240sw_init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:20 +00:00
Gabor Juhos
c1ff55ab84
ar71xx: fix mac addresses on jjPlus devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:18 +00:00
Gabor Juhos
97ebf387ba
ar71xx: build image for the Hornet-UB board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:54:11 +00:00
Gabor Juhos
1b89ef9b2c
ar71xx: add support for ALFA Network's Hornet-UB board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:54:10 +00:00
Gabor Juhos
9d5225b963
ar71xx: add GPIO function bit defines for AR933X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:54:07 +00:00
Felix Fietkau
df79552a2b
ar71xx: fix gpio count for ar7241/ar7242
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:47:24 +00:00
Felix Fietkau
f3906a190c
ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:21:42 +00:00
Gabor Juhos
74dbf6c823
ar71xx: get rid of squashfs-4k images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 20:41:24 +00:00
Felix Fietkau
af9ac63fda
kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 15:14:59 +00:00
Felix Fietkau
f5ed3d653f
ar71xx: fix wireless led on wzr-hp-g450h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 15:00:43 +00:00
Gabor Juhos
2329eaffac
ar71xx: enable AR9341 support at setup.c
...
Patch-by: dyq <729650915@qq.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 14:59:43 +00:00
Gabor Juhos
041a6265f8
ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
...
The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The
WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case.
The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or
switch ports 2-4. The stock firmware uses a single LED (in the 5GHz
position) to indicate the status of both radios, and a single LED (in the
switch port 1 position) to indicate the status of all LAN ports. The
"missing" LEDs are present on the board, and easily shine through the
case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs.
I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume
that this is sufficient to build a fully-functional image.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 14:59:40 +00:00
Felix Fietkau
9db5641019
ar71xx: add gpios and usb for wzr-hp-g450h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 13:33:44 +00:00
Gabor Juhos
c9fcfa6fba
ar71xx: use RedBoot parser on PB44
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-11 15:52:47 +00:00
Gabor Juhos
589a8dfc24
ar71xx: fix WNDR3x00 factory image generation
...
Factory images for WNDR3700v2 and WNDR3800 should contain these model IDs
for the device: field in their DNI tags, not WNDR3700.
This regressed in r29434, which redid WNDR3x00 model detection. The sixth
parameter to Image/Build/Netgear is only used as the -B argument to
mkdniimg, which is used to set the device: field. In r29434, this was
erroneously changed to be WNDR3700 for all models. The tools to flash
factory images (U-Boot's TFTP server and the factory software's upgrade
utility) may refuse to honor images with incorrect device: fields in their
DNI tags.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-07 06:55:50 +00:00
Gabor Juhos
dbdb71ce8b
ar71xx: fix WNDR3x00 model detection
...
Detect the model name for /tmp/sysinfo/model based on 10 bytes at offset
56 in the art (caldata) mtd partition.
r29434 redid WNDR3x00 model detection, attempting to distinguish between
WNDR3700v2 and WNDR3800 by checking MemTotal in /proc/meminfo. However, it
contained a bug: it put the awk inside a $(...), with the result that all
WNDR3700v2 and WNDR3800 models would be reported as WNDR3800. This patch
checks the model name stored in the art partition, as is done by U-Boot
shipping on the WNDR3800. It has the likely advantage of working with
future models based on the WNDR3700 board. It also will not mis-detect
units on which people install more memory.
I have tested this patch on WNDR3700 (v1), WNDR3700v2, and WNDR3800.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-07 06:55:39 +00:00
Gabor Juhos
4636ce7f8a
ar71xx: create firmware image for the TL-WR740N/ND v4 boards
...
Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 16:26:44 +00:00
Gabor Juhos
33322c055c
ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 16:26:43 +00:00
Gabor Juhos
8244420b66
ar71xx: fix TL-MR3x20 profile names in image/Makefile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 13:53:21 +00:00
Gabor Juhos
554d2c4504
ar71xx: cleanup TP-Link profiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 10:29:25 +00:00
Gabor Juhos
bdfd4b5e5f
ar71xx: add TP-Link board detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:11:01 +00:00
Gabor Juhos
10ebaf63a7
ar71xx: use correct mac on the lan interface on several TP-LINK devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:10:58 +00:00
Gabor Juhos
9501b2cf37
ar71xx: allow to pass negative offset values for ar71xx_init_mac
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:10:55 +00:00
Gabor Juhos
8caa31435f
ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 18:21:15 +00:00
Gabor Juhos
e8c0dabf9a
ar71xx: verify hardware id of firmware images on TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 18:11:51 +00:00
Gabor Juhos
6356c4e99d
ar71xx: reclaim some unused space on TP-Link boards
...
With the default OpenWrt configuration, this increases the size
of the rootfs_data partition by 384KB/128KB on the older/newer
TP-Link models.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:36 +00:00
Gabor Juhos
bb48c3c03e
ar71xx: check squashfs signature in TP-Link mtd parser
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:33 +00:00
Gabor Juhos
c9f52e0adc
ar71xx: use the lzma-loader on TP-Link boards w/o lzma support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:28 +00:00
Gabor Juhos
f59dd2dc3e
ar71xx: add lzma loader
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:25 +00:00
Felix Fietkau
037fc54211
ar71xx: add preliminary support for wzr-hp-g450h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:51 +00:00
Felix Fietkau
0eb86d9380
ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80.c, other buffalo routers use it as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:44 +00:00
Gabor Juhos
a86d2fb99b
ar71xx: rewrite WNDR3700/3800 handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 13:03:54 +00:00
Jo-Philipp Wich
40cbea9b54
[ar71xx] add some missing wndr3800 base-files definitions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:56:21 +00:00
Gabor Juhos
65d271e73a
ar71xx: change user-space board detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:56:20 +00:00
Gabor Juhos
32baf22378
ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too big
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:47:53 +00:00
Gabor Juhos
e4bdc2f753
ar71xx: use the tp-link parser on the tp-link boards
...
Also remove static partition maps.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:31 +00:00
Gabor Juhos
dc7ac75841
ar71xx: add mtd partition parser for the TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:27 +00:00
Gabor Juhos
f91daa7486
ar71xx: run the RedBoot parser only on the RedBoot based boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:25 +00:00
Gabor Juhos
c4126790b7
ar71xx: run the MyLoader parser only on the WP543 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:23 +00:00
Gabor Juhos
2216dd22b0
ar71xx: run the wrt160nl parser only on the WRT160NL board
...
Also remove static mtd partition definitions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:20 +00:00
Gabor Juhos
b6c404e141
ar71xx: allow to pass part_probe types to the m25p80 driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:18 +00:00
Gabor Juhos
c7c70fbb89
ar71xx: create initramfs images for the newer TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:57:23 +00:00
Gabor Juhos
f706282640
ar71xx: remove swconfig and wpad-mini from custom profiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:33:41 +00:00
Gabor Juhos
e008acff75
ar71xx: add uboot-envtools to the default package list
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:33:40 +00:00
Gabor Juhos
0f72e36a61
ar71xx: reclaim unused space in WNDR3700/3800 images
...
Patch by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:33:38 +00:00
Gabor Juhos
d55531f7b7
ar71xx: add a profile and build image for the OM2P board
...
[juhosg: the name of the final image has been changed to
'openwrt-ar71xx-generic-om2p-squashfs-factory.bin']
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:49:05 +00:00
Gabor Juhos
897691c597
ar71xx: add support for Ubiquiti AirRouter
...
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:49:02 +00:00
Gabor Juhos
64834fd3a6
ar71xx: configure default led behavior for the OM2P
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:59 +00:00
Gabor Juhos
c2898515e9
ar71xx: use /lib/functions/uci-defaults.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:47 +00:00
Gabor Juhos
dcab0017e4
ar71xx: modify phy mask of the WP543 board
...
This fixes ethernet on newer boards. Based on a patch from #9702 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:43 +00:00
Gabor Juhos
dc19d51869
ar71xx: fix wndr3800 machine name
...
This fixes the machine name in /proc/cpuinfo and luci status page machine name.
Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:38 +00:00
Gabor Juhos
1df32b6140
ar71xx: copy atheros initramfs images to the image directory
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:35 +00:00
Gabor Juhos
f738f055b7
ar71xx: specify mtd layout in command line for the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:32 +00:00
Gabor Juhos
4c134d64ea
ar71xx: set GE0 phy_mask for AR933x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-20 11:30:10 +00:00
Gabor Juhos
0ec8a8b387
ar71xx: fix USB LED on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:15 +00:00
Gabor Juhos
a8b9399527
ar71xx: add a function for selecting output signal on a given GPIO pin
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:14 +00:00
Gabor Juhos
cee3153f01
ar71xx: fix GPIO function handling on AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:13 +00:00
Gabor Juhos
2db6e74505
ar71xx: add AR71XX_ prefix to GPIO_REG_* defines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:11 +00:00
Gabor Juhos
de3ee69258
ar71xx: merge nand scan patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:10 +00:00
Gabor Juhos
1fdbb4fcbd
ar71xx: fix a compiler warning
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 13:07:47 +00:00
Gabor Juhos
33c5c80fa5
ar71xx: fix GPIO count for AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 13:07:45 +00:00
Gabor Juhos
54d08f41c9
ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:53 +00:00
Gabor Juhos
546895e938
ar71xx: use a dummy irq chip for WMAC and PCIe irq hadling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:51 +00:00
Gabor Juhos
a921ab0827
ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:49 +00:00
Gabor Juhos
ed73833a62
ar71xx: add an irq parameter for ar724x_pcibios_init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:47 +00:00
Gabor Juhos
6e87fe5dc5
ar71xx: remove hardwired interface parameters from mach-* files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 07:38:09 +00:00
Gabor Juhos
6f6b552473
ar71xx: force hardwired interface parameters in ar71xx_add_device_eth
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 07:38:07 +00:00
Gabor Juhos
75a8898840
ar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 07:38:05 +00:00
Gabor Juhos
562bd7628c
ar71xx: enable has_gbit flag on AR724{0,1}
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 17:36:36 +00:00
Gabor Juhos
81359fd675
ar71xx: fixup onboard PCIe chip registration on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 12:48:03 +00:00
Gabor Juhos
23823d7a65
ar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 12:48:01 +00:00
Gabor Juhos
8e7450e3c2
ar71xx: ag71xx: add support for getting switch port link status
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:04 +00:00
Gabor Juhos
25722074a3
ar71xx: remove mii_ctrl resources of the ethernet devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:03 +00:00
Gabor Juhos
0e2b6d0d25
ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:01 +00:00
Gabor Juhos
f0a3d94dff
ar71xx: ag71xx: remove unused mii_cfg related functions and defines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:00 +00:00
Gabor Juhos
51b1d36e03
ar71xx: set MII interface speed from the set_speed callbacks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:59 +00:00
Gabor Juhos
0839b18e6f
ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
...
Also rename the corresponding callback functions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:57 +00:00
Gabor Juhos
7e0c585208
ar71xx: ag71xx: remove MII interface setup code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:56 +00:00
Gabor Juhos
b28f1d9516
ar71xx: configure MII interface type from ar71xx_setup_phy_if_mode
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:54 +00:00
Gabor Juhos
819f6df245
ar71xx: fix occasional kernel hangs during boot on AR934x
...
The patch taken from the linux-mips mailing list.
The Kernel hangs occasionally during boot after
"Calibrating delay loop..". This is caused by the
c0_compare_int_usable() routine in cevt-r4k.c
returning false which causes the system to disable
the timer and hang later. The false return happens
because the routine is using a series of four calls
to irq_disable_hazard() as a delay while it waits
for the timer changes to propagate to the cp0 cause
register. On newer MIPS cores, like the 74K, the
series of irq_disable_hazard() calls turn into ehb
instructions and can take as little as a few clock
ticks for all 4 instructions. This is not enough of
a delay, so the routine thinks the timer is not
working.
This fix uses up to a max number of cycle counter
ticks for the delay and uses back_to_back_c0_hazard()
instead of irq_disable_hazard() to handle the hazard
condition between cp0 writes and cp0 reads.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:52 +00:00
Gabor Juhos
003cbe35e2
ar71xx: refresh kernel patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:51 +00:00
Gabor Juhos
96e3c5d0b8
ar71xx: use the button for WPS control on the DB120
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:20 +00:00
Gabor Juhos
0b8f0e8e22
ar71xx: register the second ethernet interface on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:19 +00:00
Gabor Juhos
547b567ada
ar71xx: implement SoC specific phy interface setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:18 +00:00
Gabor Juhos
2d684997e3
ar71xx: move phy interface setup into a separate function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:16 +00:00
Gabor Juhos
a680542669
ar71xx: register both MDIO bus on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:59 +00:00
Gabor Juhos
aee435407b
ar71xx: add AR934X specific MDIO registration code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:56 +00:00
Gabor Juhos
61471eaa03
ar71xx: add a secondary mdio bus
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:54 +00:00
Gabor Juhos
008f0239fb
ar71xx: rename ar71xx_mdio_* structures to ar71xx_mdio0_*
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:50 +00:00
Gabor Juhos
cf263134a7
ar71xx: add an id argument to ar71xx_add_device_mdio
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:48 +00:00
Gabor Juhos
ff698943a3
ar71xx: pass netdev and miidev pointer to ar71xx_add_device_dsa
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:42 +00:00
Gabor Juhos
c3d1b40766
ar71xx: add AR934x specific USB setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:20 +00:00
Gabor Juhos
86beed68ca
ar71xx: register the first ethernet interface on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:18 +00:00
Gabor Juhos
aa72cd1c08
ar71xx: allow to register ethernet interfaces for AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:17 +00:00
Gabor Juhos
44a0cc9d1b
ar71xx: ag71xx: use fixed link parameters if the mii bus is not registered
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:16 +00:00
Gabor Juhos
4faf62a121
ar71xx: add AR934X specific bootstrap and reset register bits
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:15 +00:00
Gabor Juhos
ab5f1bf090
ar71xx: add diag support for the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:10 +00:00
Gabor Juhos
856b67cb13
ar71xx: fix GPIO direction setup for AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:09 +00:00
Gabor Juhos
4bafa258d8
ar71xx: fix AR934X clock frequency calculation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:08 +00:00
Gabor Juhos
3e6d0203d3
ar71xx: generate ubootenv from uci-defaults instead of providing defconfig
...
I noticed most of /etc/defconfig was replaced by /etc/uci-defaults, which is
indeed much nicer. So I moved over ubootenv from having a defconfig-entry to
also be generated from uci-defaults.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:04 +00:00
Felix Fietkau
a31e4087d1
ar71xx: remove dead code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 00:33:20 +00:00
Felix Fietkau
ebb2f0d93b
ar71xx: on ar7240, exclude ports from their own port vlan destination mask
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 00:33:15 +00:00
Gabor Juhos
f324cde661
ar71xx: create TL-WA901ND network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:24 +00:00
Gabor Juhos
7fa7bf413a
ar71xx: create ALL0258N network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:23 +00:00
Gabor Juhos
ce845599cf
ar71xx: create NBG{460N,550N,550NH} network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:20 +00:00
Gabor Juhos
0282878582
ar71xx: create WZR-HP-G300NH network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:17 +00:00
Gabor Juhos
c5759b1fb1
ar71xx: create RB-493G network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:12 +00:00
Gabor Juhos
e9214fa4f2
ar71xx: create TL-WR1043ND network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:11 +00:00
Gabor Juhos
ffab58baa6
ar71xx: create WRT160NL network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:09 +00:00
Gabor Juhos
0a1c3b4bb1
ar71xx: create PB92 network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:08 +00:00
Gabor Juhos
bcb5dba8ba
ar71xx: create DIR-825-B1 network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:07 +00:00
Gabor Juhos
cf735fe893
ar71xx: create TL-WR{841N-v1,941ND} network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:03 +00:00
Gabor Juhos
71d946496e
ar71xx: create RB-450 network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:02 +00:00
Gabor Juhos
d72b269a99
ar71xx: create RB-450G, RouterStation Pro network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:01 +00:00
Gabor Juhos
986666a07d
ar71xx: create RB-433{,U} network config from uci defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:43:58 +00:00
Gabor Juhos
3b52c3653c
ar71xx: create even more network configs from the uci-defaults script
...
Create the default network configuration dynamically for the
AR724x/AR9331 boards. Some other boards are using the same
configuration, so convert those as well.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:43:56 +00:00
Gabor Juhos
5f5bb28ad3
ar71xx: create more network configs from the uci-defaults script
...
Create the default network configuration dynamically for the boards with
swapped eth0, eth1 interfaces.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:43:54 +00:00
Gabor Juhos
2037793081
ar71xx: create a bunch of network configs from the uci-defaults script
...
Create the default network configuration dynamically for the boards with
a single ethernet interface.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:43:52 +00:00
Gabor Juhos
23e7014185
ar71xx: create generic network config from an uci-defaults script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:43:51 +00:00
Gabor Juhos
1c203e5ff8
ar71xx: remove AP81 defconfig, it is the same as the generic config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:34:33 +00:00
Gabor Juhos
c20327d5ff
ar71xx: change generated Buffalo firmware versions
...
With version 1.76 the upgrade may fail with newer Buffalo firmwares with
a message like this:
"You can not update the firmware because the firmware version is earlier
than 1.82. Please use 1.82 or later version for firmware update."
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:34:32 +00:00
Gabor Juhos
b949f4133d
ar71xx: enable sysupgrade on the WHR-G301N and WHR-HP-GN boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 20:25:00 +00:00
Gabor Juhos
d2593ad142
ar71xx: wrap long lines in the upgrade script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 20:24:59 +00:00
Gabor Juhos
5290614fac
ar71xx: fix WHR-HP-G300N firmware partition offset
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 20:24:57 +00:00
Gabor Juhos
1517713d89
ar71xx: add default network configuration for the WHR-HP-GN
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 13:32:43 +00:00
Gabor Juhos
f56da26294
ar71xx: build image for the Buffalo WHR-HP-GN
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:11 +00:00
Gabor Juhos
10c12741af
ar71xx: add support for the Buffalo WHR-HP-GN board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:10 +00:00
Gabor Juhos
ca96dda8d8
ar71xx: build image for the Buffalo WHR-G301N
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:08 +00:00
Gabor Juhos
affce809d6
ar71xx: add support for the Buffalo WHR-G301N board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:07 +00:00
Gabor Juhos
c94b4af3dc
ar71xx: fix WHR-HP-G300N image generation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:05 +00:00
Gabor Juhos
d1bc81ae49
ar71xx: enable WHR-HP-G300N support in kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:04 +00:00
Gabor Juhos
9e10ecd5d2
ar71xx: fix WHR-HP-G300N MTD partitions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:03 +00:00
Gabor Juhos
8aedee89d2
ar71xx: add missing AR71XX_MACH_TL_WR741ND_V4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 14:38:12 +00:00
Gabor Juhos
561175c967
ar71xx: build image for the TL-WR741ND v4 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:55 +00:00
Gabor Juhos
18d762e403
ar71xx: add initial support for the TL-WR741ND v4 board
...
The ethernet port LEDs are not working yet.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:52 +00:00
Gabor Juhos
a8f9979c55
ar71xx: add AR933X GMAC register defines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:50 +00:00
Gabor Juhos
0ed6243ba7
ar71xx: combine LEDs setup in one file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:49 +00:00
Gabor Juhos
2fdf9ce8cb
ar71xx: unify LED names on Planex boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:47 +00:00
Gabor Juhos
2c27f3365b
ar71xx: unify LED names on Buffalo boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:46 +00:00
Gabor Juhos
f17abe1ff3
ar71xx: unify LED names on TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:44 +00:00
Gabor Juhos
bb4cf4ec13
ar71xx/all0258n: sysupgrade support
...
U-Boot on the ALL0258N needs offset, size and md5 for kernel and rootfs to be
stored in the U-Boot environment.
If the checksums don't match during boot, a failsafe-system is booted instead.
This patch adds a board-specific sysupgrade hack for the all0258n which
calculates and updates the checksums for the U-Boot environment.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 09:23:32 +00:00
Gabor Juhos
4a1af8218a
ar71xx/all0258n: add default config
...
This adds default network and uboot-env settings for the ALL0258N.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 09:23:31 +00:00
Gabor Juhos
28d91da06e
ar71xx: remove default network config of the mzk-w04nu board as well
...
It works with the generic config.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 09:23:25 +00:00
Gabor Juhos
3ef0b9c188
ar71xx: remove LED setup of nonexistent interfaces on RB750
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-31 14:26:56 +00:00
Gabor Juhos
7515085565
ar71xx: remove default network config of the wnr2000 board
...
It is the same as the generic configuration.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-31 14:26:51 +00:00
Gabor Juhos
0cd7c7c114
ar71xx/sysupgrade: use $magic_long instead of $magic when comparing with a 32-bit value
...
Aparently $magic_long was meant here instead of $magic when comparing with
32-bit values.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-30 13:06:30 +00:00
Gabor Juhos
deb302d092
ar71xx: fix typos in image/Makefile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 07:54:52 +00:00
Gabor Juhos
ddc9918fc1
ar71xx: add initial support for the OpenMesh OM2P board
...
Based on a patch by Marek Lindner <marek@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 07:54:51 +00:00
Gabor Juhos
8750c52ceb
ar71xx/all0258n: fix partition layout
...
A miscalculation in the original patch makes OpenWrt destroy the failsafe image.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 07:54:47 +00:00
Gabor Juhos
dbebe488f6
ar71xx: create image for the WNDR3800
...
This adds support for the Netgear WNDR3800, it is almost the same as
the WNDR3700v2. It just has more RAM so the hd_id had to be adjusted.
Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 06:12:47 +00:00
Gabor Juhos
249da9f193
ar71xx: build image for the Buffalo WHR-HP-G300N
...
Based on a patch by Yoichi Shinoda <shinoda@jaist.ac.jp>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:29 +00:00
Gabor Juhos
7344100219
ar71xx: Buffalo WHR-HP-G300N kernel support
...
The initial support for the Buffalo WHR-HP-G300N box.
The code was confirmed to boot and run, but not tested in depth.
Known problem: iw phy phy0 info shows:
Coverage class: 0 (up to 0m)
Available Antennas: TX 0 RX 0
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:26 +00:00
Gabor Juhos
4ac887fba4
ar71xx: build image for the Allnet ALL0258N board
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:23 +00:00
Gabor Juhos
5333794b36
ar71xx: add kernel support for the Allnet ALL0258N board
...
This patchs adds support for the Allnet ALL0258N outdoor AP/bridge.
The ALL0258N is based on the AR7240 SoC paired with an AR9285 radio,
it got 8MB of NOR and 32MB SDRAM.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:21 +00:00
Gabor Juhos
ab0f50a421
ar71xx: don't override CONFIG_FSNOTIFY
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:18 +00:00
Jo-Philipp Wich
704be5a0f9
[ar71xx] base-files: make sure inittab-console-fixup returns with success ( #10275 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:35:43 +00:00
Jonas Gorski
b987bdd364
linux: ar71xx: add support for Mikrotik Routerboard RB493G
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-11 23:05:16 +00:00
Jonas Gorski
2b7dfdc5ef
ar71xx: add a workaround for ar8316 not always driving the TA bit to low
...
AR8316 behind a GPIO bitbanged MDIO bus fails to drive the turnaround bit
to low despite returning a valid value. Ignore it and just use the
returned value anyway.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-11 23:05:13 +00:00
Jonas Gorski
bf2012d91a
ag71xx: close a race between the phy state machine and link state
...
A fast stop/start cycle could leave the ag71xx interrupts and tx engine
disabled when using a phy driver with a fixed link and the start/stop
happens between two phy state machine polls.
Prevent this by always forcing the link down on stop regardless of phy
state and having a phy connected.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-08 11:37:14 +00:00
Gabor Juhos
dd728ca937
ar71xx: fix MAC addresses on the DIR-825-B1 board
...
Patch-by: Lukas Kuna
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-23 19:56:39 +00:00
Gabor Juhos
df6ad73e38
ar71xx: enable login only on the system console by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-23 19:56:38 +00:00
Gabor Juhos
d72bf73228
ar71xx: build images for the TP-Link TL-WR703N v1 board
...
Based on a patch by dongyuqi <729650915@qq.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:56 +00:00
Gabor Juhos
3e6c09cc01
ar71xx: add support for the TP-Link TL-WR703N v1 board
...
Based on a patch by dongyuqi <729650915@qq.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:53 +00:00
Gabor Juhos
6cc6fb3124
ar71xx: add AR933x specific USB setup function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:51 +00:00
Gabor Juhos
8c46da4f79
ar71xx: add ar71xx_device_reset_rmw helper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:50 +00:00
Gabor Juhos
bf499e2ee8
ar71xx: fix copy&paste bug in WZRHPAG300H profile description
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:48 +00:00
Gabor Juhos
9b9085c0e3
ar71xx: remove 'default [yn]' from machine Kconfig entries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:47 +00:00
Gabor Juhos
bc30c97cd9
ar71xx: sort AR71XX_MACH_* entries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:45 +00:00
Gabor Juhos
1d3825973d
ar71xx: create image for the TP-Link TL-WR743ND v1
...
Same hardware as WR741ND but with PoE support.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:44 +00:00
Gabor Juhos
a3baa507eb
ar71xx: create image for the TP-Link TL-WR740N v3
...
Signed-off-by: Martin Raykov <martin.raykov@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:40 +00:00
Felix Fietkau
8d0d9487dc
ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-11 17:44:12 +00:00
Felix Fietkau
70b83bb1ef
ar71xx: do not count normal interrupts as spurious ( fixes #10037 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-06 05:38:23 +00:00
Felix Fietkau
8ef41e92fc
ar71xx: clean up profiles, put in kmod-ath9k and wpad-mini by default ( fixes #9954 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-05 18:37:48 +00:00
Felix Fietkau
952ae86062
ar71xx: fix ethernet PLL setting on ar7242
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-29 21:23:46 +00:00
Hauke Mehrtens
ff1d70f47d
kernel: update kernel to version 2.6.39.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-16 22:04:10 +00:00
Felix Fietkau
56093f4fdb
ar71xx: add some code to detect DMA stuck conditions on ar7240
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-13 22:30:14 +00:00
Felix Fietkau
02c8410ffd
ar71xx: on ar724x only reset the link status in the restart handler, the fast reset takes care of DMA stuck issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-13 21:49:46 +00:00
Felix Fietkau
c300dae78b
ar71xx: adjust the mtd layout of tew-632brp and dir-615c to match the image layout ( fixes #9922 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-11 13:52:40 +00:00
Jonas Gorski
35878d9224
ar71xx: make ehci patch apply again
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-10 23:02:56 +00:00
Felix Fietkau
e2789440a6
ar71xx: fix a copy&paste bug that broke wzr-hp-g300nh and wzr-hp-ag300h images ( #9918 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-10 22:24:56 +00:00
Gabor Juhos
98b954f508
ar71xx: fix image generation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-05 10:31:52 +00:00
Gabor Juhos
c56fd84056
ar71xx: enable sysupgrade on the AP96 and DB120 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 19:41:18 +00:00
Gabor Juhos
58c241ce9a
ar71xx: use the same test for AP121 and Zcomax sysupgrade images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 19:41:17 +00:00
Gabor Juhos
084a24d146
ar71xx: cleanup image generation Makefile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 19:41:16 +00:00
Felix Fietkau
d715b0851d
ar71xx: fix ethernet FIFO state corruption on ar7240
...
When starting/stopping DMA sometimes the FIFO state gets corrupted,
leading to wildly fluctuating latencies or packet data corruption.
Fix this by issuing a fast MAC reset as soon as the link is detected
as up. Fixes #9689 , #9405
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 17:36:31 +00:00
Felix Fietkau
8268bc95d1
ag71xx: fix memory corruption issues on ar7240 on ethernet start/stop
...
When the DMA engine state gets corrupted due to a hardware issues, it
often won't stop rx until a full reset is issued. In that case the hardware
must keep a valid descriptor, otherwise it will write to random places in
system RAM, triggering random crashes. To fix this, keep a dummy descriptor
without a buffer that keeps the DMA engine in a sane state until the reset
is done
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 17:36:27 +00:00
Felix Fietkau
d04b90839d
ar71xx: fix MAC/MDIO reset mask handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 17:36:23 +00:00
Felix Fietkau
fb29c206c8
ar71xx: add some hacks to work around the misalignment in IP packets received on AR71xx and AR91xx ethernet MACs
...
decreases CPU load with the default firewall for routing 95 mbit/s from 78% to 55%
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-02 15:12:08 +00:00