Gabor Juhos
6380301d01
ar71xx: rename om2p.sh upgrade script to openmesh.sh
...
It will be used on other boards as well.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34234
2012-11-18 09:32:37 +00:00
Gabor Juhos
d325e622d2
scripts/om-fwupgradecfg-gen.sh: add support for the MR600
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34233
2012-11-18 09:32:36 +00:00
Gabor Juhos
c3174179b7
ar71xx: add user-space support for the OpenMesh MR600 board
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34232
2012-11-18 09:32:35 +00:00
Gabor Juhos
8d4857d677
ar71xx: add kernel support for the OpenMesh MR600 board
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34231
2012-11-18 09:32:33 +00:00
Gabor Juhos
7da001d068
scripts: rename om2p-fwupgradecfg-gen.sh to more generic om-fwupgradecfg-gen.sh
...
It will be used for non OM2P boards as well.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34200
2012-11-14 14:18:33 +00:00
Gabor Juhos
ee94ed4597
ar71xx: add profile and build image for the Ubiquiti UniFi AP-Outdoor board
...
Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34198
2012-11-13 20:57:19 +00:00
Gabor Juhos
9c5c079329
ar71xx: add user-space support for the Ubiquiti UniFi AP-Outdoor board
...
Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34197
2012-11-13 20:57:18 +00:00
Gabor Juhos
75c1d3ccc2
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>
SVN-Revision: 34196
2012-11-13 20:57:17 +00:00
Gabor Juhos
7ab0e1566f
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>
SVN-Revision: 34195
2012-11-13 20:57:15 +00:00
Gabor Juhos
62c8ff19ad
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>
SVN-Revision: 34190
2012-11-13 14:48:03 +00:00
Gabor Juhos
165b7d2173
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>
SVN-Revision: 34188
2012-11-13 14:48:01 +00:00
Gabor Juhos
91bab828aa
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>
SVN-Revision: 34187
2012-11-13 14:48:00 +00:00
Gabor Juhos
ce9d4fadfa
ar71xx: refresh patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34186
2012-11-13 14:47:58 +00:00
Gabor Juhos
e92da5e7ae
ar71xx: nuke ath79_set_usb_power_gpio helper
...
It is no longer used.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34088
2012-11-05 13:23:28 +00:00
Gabor Juhos
f2528b1792
ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpio
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34087
2012-11-05 13:23:27 +00:00
Gabor Juhos
ed35253f4c
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>
SVN-Revision: 34076
2012-11-04 22:08:54 +00:00
Gabor Juhos
1b744e1ca5
ar71xx: include mtd layout in the command line for ZCN-1523H-* boards
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34074
2012-11-04 21:12:20 +00:00
Gabor Juhos
b78a736dc2
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>
SVN-Revision: 34072
2012-11-04 20:15:18 +00:00
Gabor Juhos
7228a91a3b
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>
SVN-Revision: 33993
2012-10-29 17:24:30 +00:00
Gabor Juhos
e4db63fd64
ar71xx: add initial support for 3.6
...
The nand subtarget is not working yet.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33983
2012-10-28 19:52:02 +00:00
Gabor Juhos
a6549ac1cb
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>
SVN-Revision: 33971
2012-10-28 12:21:15 +00:00
Gabor Juhos
e2ec99889e
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>
SVN-Revision: 33969
2012-10-27 17:11:06 +00:00
Gabor Juhos
3a86affcdd
ar71xx: enable sysupgrade for the CAP4200AG board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33960
2012-10-27 08:55:42 +00:00
Gabor Juhos
e99d557c08
ar71xx: add profile and build image for the CAP4200AG
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33958
2012-10-27 08:55:40 +00:00
Gabor Juhos
9287e0c863
ar71xx: add user-space part for the CAP4200AG
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33957
2012-10-27 08:55:39 +00:00
Gabor Juhos
d54c9653e9
ar71xx: add support for the Senao CAP4200AG board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33956
2012-10-27 08:55:38 +00:00
Gabor Juhos
3b7cb4eb4a
ar71xx: add ath79_wmac_disable_[25]ghz helpers
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33955
2012-10-27 08:55:37 +00:00
Gabor Juhos
269872fe1e
ar71xx: use mtd_read in wrt160nl_part
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33951
2012-10-27 07:57:58 +00:00
Gabor Juhos
973eda6077
ar71xx: use mtd_read in tplinkpart
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33950
2012-10-27 07:57:57 +00:00
Gabor Juhos
28f3adc2ed
ar71xx: generate 4,8,16M images for the WPE72
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33949
2012-10-27 07:57:55 +00:00
Gabor Juhos
ff481a5518
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>
SVN-Revision: 33944
2012-10-26 18:58:13 +00:00
Gabor Juhos
f1f388d527
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>
SVN-Revision: 33867
2012-10-19 18:32:49 +00:00
Gabor Juhos
7a72f01a72
ar71xx: merge machine support patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33820
2012-10-17 18:27:50 +00:00
Gabor Juhos
2e1bc1e15b
ar71xx: also use the ath79_set_ar934x_eth_cfg helper for DB120
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33819
2012-10-17 18:27:48 +00:00
Gabor Juhos
31387947c8
ar71xx: use the ath79_set_ar934x_eth_cfg helper in machine setup routines
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33818
2012-10-17 18:27:47 +00:00
Gabor Juhos
5ffc08e3dc
ar71xx: add a helper function for setting up ETH_CFG register on AR934x
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33817
2012-10-17 18:27:45 +00:00
Gabor Juhos
35a91a4fe8
ar71xx: OM2P-HS sysupgrade support
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33803
2012-10-17 08:26:05 +00:00
Gabor Juhos
c5a32cfc92
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>
SVN-Revision: 33800
2012-10-17 08:26:01 +00:00
Gabor Juhos
f1283d8583
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>
SVN-Revision: 33769
2012-10-14 16:24:26 +00:00
Gabor Juhos
1944f7b916
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>
SVN-Revision: 33768
2012-10-14 16:24:25 +00:00
Gabor Juhos
62ab2b0da6
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>
SVN-Revision: 33767
2012-10-14 16:24:22 +00:00
Gabor Juhos
befb648642
ar71xx: build image for the TL-WR841N/ND v8
...
SVN-Revision: 33623
2012-10-04 20:16:06 +00:00
Gabor Juhos
02a85dfd85
ar71xx: user-space support for TL-WR841N/ND v8
...
SVN-Revision: 33622
2012-10-04 20:16:05 +00:00
Gabor Juhos
196c6c5b45
ar71xx: add support for the TL-WR841N/ND v8 board
...
SVN-Revision: 33621
2012-10-04 20:16:03 +00:00
Gabor Juhos
170cd7a19a
ar71xx: avoid possible NULL pointer dereference in ath79_init_{,local}_mac
...
SVN-Revision: 33575
2012-09-27 20:05:42 +00:00
Gabor Juhos
ffc0ea6c5d
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.
SVN-Revision: 33540
2012-09-25 12:57:41 +00:00
Gabor Juhos
e7b1949d87
ar71xx: automatically find WLAN calibration data on TEW-673GRU
...
SVN-Revision: 33539
2012-09-25 12:57:40 +00:00
Gabor Juhos
8ed8e51e74
ar71xx: automatically find WLAN calibration data on DIR-825-B1
...
SVN-Revision: 33538
2012-09-25 12:57:38 +00:00
Gabor Juhos
e2504a977a
ar71xx: add missing backslash to uci-defaults/leds ( closes #12240 )
...
SVN-Revision: 33537
2012-09-25 12:49:43 +00:00
Gabor Juhos
e70ad61e44
ar71xx: use different machtype and setup for the TL-MR3040
...
Should fix #12211 . Compile tested only.
SVN-Revision: 33535
2012-09-24 18:45:56 +00:00
Gabor Juhos
79ffd1032a
ar71xx: fix a typo in TEW-637GRU image names
...
SVN-Revision: 33460
2012-09-18 14:32:25 +00:00
Gabor Juhos
9a11f882d7
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"
SVN-Revision: 33459
2012-09-18 14:30:57 +00:00
Gabor Juhos
a7c5c4390a
ar71xx: register the NAND flash controller device on DB120
...
SVN-Revision: 33455
2012-09-17 20:30:57 +00:00
Gabor Juhos
7c85646176
ar71xx: ar934x_nfc: remove unused oob parameter of ar934x_nfc_send_read
...
SVN-Revision: 33454
2012-09-17 20:30:55 +00:00
Gabor Juhos
3bdf0bc36f
ar71xx: ar934x_nfc: increase DMA retry count
...
SVN-Revision: 33453
2012-09-17 20:30:54 +00:00
Gabor Juhos
b7cb43f6a6
ar71xx: ar934x_nfc: optimize READOOB operation on large page devices
...
SVN-Revision: 33452
2012-09-17 20:30:53 +00:00
Gabor Juhos
96dde2e591
ar71xx: ar934x_nfc: fix RNDOUT operation
...
SVN-Revision: 33451
2012-09-17 20:30:51 +00:00
Gabor Juhos
338b698fb6
ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devices
...
SVN-Revision: 33450
2012-09-17 20:30:50 +00:00
Daniel Dickinson
0f254b4b67
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).
...
SVN-Revision: 33447
2012-09-17 14:17:12 +00:00
Felix Fietkau
e8893fdf7a
ar71xx: add missing code for ar933x WMAC reset that was left out during the ar71xx->ath79 migration, should fix wifi stability issues on ar933x
...
SVN-Revision: 33446
2012-09-17 11:17:29 +00:00
Felix Fietkau
ed14ffc7da
ar71xx: fix WP543 image builds
...
SVN-Revision: 33413
2012-09-15 10:21:21 +00:00
Gabor Juhos
61dc6e65c0
ar71xx: merge machine support patches
...
SVN-Revision: 33389
2012-09-13 07:26:28 +00:00
Gabor Juhos
5804b9d1b7
ar71xx: register the NAND controller device on the RB2011
...
SVN-Revision: 33388
2012-09-13 07:26:26 +00:00
Gabor Juhos
4fd67c3cd4
ar71xx: add device registration code for the AR934x NAND flash controller
...
SVN-Revision: 33387
2012-09-13 07:26:25 +00:00
Gabor Juhos
10cd35c0e7
ar71xx: package the AR934x NAND driver module
...
SVN-Revision: 33386
2012-09-13 07:26:23 +00:00
Gabor Juhos
1e5fdbeae5
ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
...
SVN-Revision: 33385
2012-09-13 07:26:22 +00:00
Gabor Juhos
40a5f5c16e
ar71xx: define NAND controller base address and register size for AR934X/QCA955x
...
SVN-Revision: 33382
2012-09-12 19:06:38 +00:00
Gabor Juhos
4ee5b528de
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x
...
SVN-Revision: 33362
2012-09-10 14:38:01 +00:00
Gabor Juhos
2e0e38ad69
ar71xx: fix QCA955X_EHCI_SIZE
...
SVN-Revision: 33360
2012-09-10 14:32:54 +00:00
Jo-Philipp Wich
caa66bd150
fix description of nand/Ath5k profile ( #12149 )
...
SVN-Revision: 33352
2012-09-09 21:40:26 +00:00
Gabor Juhos
aa2f4d4c8d
ar71xx: add initial support for RB2011UAS-2HnD
...
SVN-Revision: 33349
2012-09-09 14:05:32 +00:00
Gabor Juhos
3686e18727
ar71xx: use routerboot_find_tag to find wlan data offset on RB751
...
SVN-Revision: 33348
2012-09-09 14:05:30 +00:00
Gabor Juhos
ccabe4a1b4
ar71xx: add RouterBoot related helper routines
...
SVN-Revision: 33347
2012-09-09 14:05:28 +00:00
Gabor Juhos
44bf7c7cc1
ar71xx: define MTD partitions for RB2011
...
SVN-Revision: 33345
2012-09-09 14:05:24 +00:00
Gabor Juhos
6ae5ec16e0
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>
SVN-Revision: 33344
2012-09-09 14:05:22 +00:00
Gabor Juhos
94bac7366c
ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
...
SVN-Revision: 33343
2012-09-09 14:05:20 +00:00
Gabor Juhos
7592057774
ar71xx: add dynamic MDIO clock calculation
...
SVN-Revision: 33342
2012-09-09 14:05:17 +00:00
Gabor Juhos
88a5478781
ar71xx: use the RLE library for RB751
...
SVN-Revision: 33338
2012-09-08 17:51:56 +00:00
Gabor Juhos
73df240bb3
ar71xx: add library code for RLE decoding
...
It will be used for the MikroTik boards.
SVN-Revision: 33337
2012-09-08 17:51:54 +00:00
Gabor Juhos
f4be8a76de
ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
...
SVN-Revision: 33335
2012-09-08 13:39:09 +00:00
Gabor Juhos
70d00ac64e
ar71xx: refresh kernel patches
...
SVN-Revision: 33334
2012-09-08 13:39:04 +00:00
Daniel Dickinson
c3b7139ab2
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.
...
SVN-Revision: 33326
2012-09-06 18:15:26 +00:00
Gabor Juhos
069f544d2b
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
...
SVN-Revision: 33318
2012-09-05 19:26:50 +00:00
Gabor Juhos
81bb246a8d
ar71xx: add rssileds to package set in profile for devices which got them.
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33317
2012-09-05 19:22:51 +00:00
Gabor Juhos
11c3392b7f
Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
...
That was based on assumptions.
SVN-Revision: 33310
2012-08-29 10:37:55 +00:00
Gabor Juhos
eb9a97a360
ar71xx: all0315n: fix ethernet according to vendor info
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33309
2012-08-29 10:37:54 +00:00
Gabor Juhos
02cb5f9dcd
ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
...
SVN-Revision: 33308
2012-08-29 10:37:53 +00:00
Gabor Juhos
0c5688cc38
ar71xx: image: fix Profile name for TL-WA701 ( closes #12094 )
...
SVN-Revision: 33295
2012-08-29 10:37:30 +00:00
Gabor Juhos
5fdbb33db4
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>
SVN-Revision: 33294
2012-08-29 10:11:55 +00:00
Gabor Juhos
f2030c3113
ar71xx: add profile for Allnet devices
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33287
2012-08-27 14:55:38 +00:00
Gabor Juhos
d65c06c15c
ar71xx: generate image for ALL0315N
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33286
2012-08-27 14:55:37 +00:00
Gabor Juhos
4079f3163f
ar71xx: sysupgrade for the ALL0315N
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33285
2012-08-27 14:55:36 +00:00
Gabor Juhos
abffa4ecfb
ar71xx: rename all0258n.sh to allnet.sh
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33284
2012-08-27 14:55:35 +00:00
Gabor Juhos
1d96b0275c
ar71xx: detect ALL0315N board
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33282
2012-08-27 14:55:32 +00:00
Gabor Juhos
eebdd633e4
ar71xx: add support for the Allnet ALL0315N board
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33281
2012-08-27 14:55:31 +00:00
Gabor Juhos
cca873e8e0
ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33280
2012-08-27 14:55:26 +00:00
Gabor Juhos
5a9c7fda3e
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>
SVN-Revision: 33274
2012-08-26 08:15:11 +00:00
Gabor Juhos
f3d5edffdc
ar71xx: image: fix TL-WR1043ND board id ( #12079 )
...
SVN-Revision: 33272
2012-08-26 06:30:37 +00:00
Gabor Juhos
773b33d7d2
ar71xx: image: group and sort {Single,Multi}Profiles
...
SVN-Revision: 33264
2012-08-23 13:17:47 +00:00
Gabor Juhos
a5e0eb0d95
ar71xx: image: group and sort mtdlayout definitions
...
SVN-Revision: 33263
2012-08-23 13:14:35 +00:00
Gabor Juhos
f0ad972aba
ar71xx: image: use the MultiProfile helper for the Madwifi profile
...
SVN-Revision: 33262
2012-08-23 13:11:25 +00:00
Gabor Juhos
333f030b79
ar71xx: image: automatically build a list of SingleProfiles
...
Use that for Default/Minimal profiles.
SVN-Revision: 33261
2012-08-23 13:08:15 +00:00
Gabor Juhos
5dce77837f
ar71xx: image: use the new helpers for the ZyXEL images
...
SVN-Revision: 33260
2012-08-23 13:05:05 +00:00
Gabor Juhos
be4be2d82a
ar71xx: image: use the new helpers for the Zcomax images
...
SVN-Revision: 33259
2012-08-23 13:01:55 +00:00
Gabor Juhos
74bdb68ea4
ar71xx: image: use the new helpers for the WRT400 images
...
SVN-Revision: 33258
2012-08-23 12:58:45 +00:00
Gabor Juhos
8cf9a7b1c7
ar71xx: image: use the new helpers for the WZRHPG30XNH images
...
SVN-Revision: 33257
2012-08-23 12:55:35 +00:00
Gabor Juhos
c965d8ead8
ar71xx: image: use the new helpers for the WHRHPG300N images
...
SVN-Revision: 33256
2012-08-23 12:52:25 +00:00
Gabor Juhos
71af43a7c7
ar71xx: image: use the new helpers for the UBNTXM images
...
SVN-Revision: 33255
2012-08-23 12:49:15 +00:00
Gabor Juhos
097e9938b4
ar71xx: image: use the new helpers for the UBNT images
...
SVN-Revision: 33254
2012-08-23 12:46:06 +00:00
Gabor Juhos
216e9b7a92
ar71xx: image: use the new helpers for the TPLINKOLD images
...
SVN-Revision: 33253
2012-08-23 12:42:56 +00:00
Gabor Juhos
48d6081fa5
ar71xx: image: use the new helpers for the TPLINK-LZMA images
...
SVN-Revision: 33252
2012-08-23 12:39:46 +00:00
Gabor Juhos
8546e00157
ar71xx: image: use the new helpers for the TPLINK images
...
SVN-Revision: 33251
2012-08-23 12:36:35 +00:00
Gabor Juhos
27feea1070
ar71xx: image: use the new helpers for the Planex images
...
SVN-Revision: 33250
2012-08-23 12:33:25 +00:00
Gabor Juhos
4dbabe5c21
ar71xx: image: use the new helpers for the PB4X images
...
SVN-Revision: 33249
2012-08-23 12:30:15 +00:00
Gabor Juhos
bbaa0b9200
ar71xx: image: use the new helpers for the OpenMesh images
...
SVN-Revision: 33248
2012-08-23 12:27:06 +00:00
Gabor Juhos
4edc55f475
ar71xx: image: use the new helpers for the Netgear images
...
SVN-Revision: 33247
2012-08-23 12:23:56 +00:00
Gabor Juhos
d9f933b8b8
ar71xx: image: use the new helpers for the MyLoader images
...
SVN-Revision: 33246
2012-08-23 12:20:46 +00:00
Gabor Juhos
a409d0cf46
ar71xx: image: use the new helpers for the DIR825B1 images
...
SVN-Revision: 33245
2012-08-23 12:17:36 +00:00
Gabor Juhos
b7e05e3a59
ar71xx: image: use the new helpers for the CyberTAN images
...
SVN-Revision: 33244
2012-08-23 12:14:26 +00:00
Gabor Juhos
292f074ad7
ar71xx: image: use the new helpers for the Cameo933x images
...
SVN-Revision: 33243
2012-08-23 12:11:17 +00:00
Gabor Juhos
4c9a428614
ar71xx: image: use the new helpers for the Cameo913x images
...
SVN-Revision: 33242
2012-08-23 12:08:07 +00:00
Gabor Juhos
19d840980f
ar71xx: image: use the new helpers for the Cameo7240 images
...
SVN-Revision: 33241
2012-08-23 12:04:57 +00:00
Gabor Juhos
ce91228e2b
ar71xx: image: use the new helpers for the AthGzip images
...
SVN-Revision: 33240
2012-08-23 12:01:47 +00:00
Gabor Juhos
70e3dda99c
ar71xx: image: use the new helpers for the AthLzma images
...
SVN-Revision: 33239
2012-08-23 11:58:37 +00:00
Gabor Juhos
31a88650d7
ar71xx: image: use the new helpers for the ALFA images
...
SVN-Revision: 33238
2012-08-23 11:55:27 +00:00
Gabor Juhos
2379e6f2a3
ar71xx: image: add a few helper functions
...
These functions will be used to simplify the Makefile.
SVN-Revision: 33237
2012-08-23 11:52:18 +00:00
Gabor Juhos
6ebc77af73
ar71xx: image: pass mtdlayout as a separate parameter for the ALFA template
...
SVN-Revision: 33236
2012-08-23 11:49:07 +00:00
Gabor Juhos
a2f82cf7ec
ar71xx: add profile and build image for the TEW-712BR
...
SVN-Revision: 33234
2012-08-22 20:18:44 +00:00
Gabor Juhos
8744f8d183
ar71xx: TEW-712BR user space support
...
SVN-Revision: 33232
2012-08-22 20:12:24 +00:00
Gabor Juhos
8b3d95bba9
ar71xx: add support for the TRENDnet TEW-712BR board
...
SVN-Revision: 33231
2012-08-22 20:09:13 +00:00
Gabor Juhos
4073317695
ar71xx: fix serial clock calculation on AR933x
...
Closes #12031 .
SVN-Revision: 33230
2012-08-22 19:11:10 +00:00
Gabor Juhos
2811d6c183
ar71xx: fix comment style in mach-tl-wr2543n.c
...
SVN-Revision: 33227
2012-08-22 12:42:59 +00:00
Gabor Juhos
dc13dc1d54
ar71xx: fix mtd layout of the AP113
...
The 'mtdparts=' prefix and the name of the flash device is missing.
SVN-Revision: 33226
2012-08-22 12:39:46 +00:00
Gabor Juhos
5a694e09c8
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>
SVN-Revision: 33224
2012-08-22 12:33:22 +00:00
Gabor Juhos
0517183b9c
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>
SVN-Revision: 33219
2012-08-22 09:43:18 +00:00
John Crispin
968ac3fd03
add led defintion for the WR2543 5GHz WLAN LED
...
Signed-off-by: Andy Leiserson <andy@leiserson.org>
SVN-Revision: 33215
2012-08-22 09:10:24 +00:00
Gabor Juhos
182a18a369
ar71xx: setup WLAN LED for the TL-WA901ND v2
...
Closes #11889 .
SVN-Revision: 33202
2012-08-16 07:11:30 +00:00
Gabor Juhos
5fc4b7f5fd
ar71xx: uci-defaults/leds for ALL0258N
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33165
2012-08-13 14:01:38 +00:00
Gabor Juhos
e320a7e649
ar71xx: simplify misc IRQ handling
...
SVN-Revision: 32948
2012-08-02 11:25:49 +00:00
Gabor Juhos
3e1e52a524
ar71xx: fix AR934X_EHCI_SIZE
...
SVN-Revision: 32947
2012-08-02 11:25:46 +00:00
Gabor Juhos
b873051706
ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND
...
SVN-Revision: 32946
2012-08-02 09:54:41 +00:00
Gabor Juhos
e29d6bec6f
ar71xx: image: allow to use board specific code in the lzma-loader
...
SVN-Revision: 32945
2012-08-02 09:54:33 +00:00
Gabor Juhos
79a8660d67
ar71xx: init switch hw_reset on the TL-WR1043ND board
...
SVN-Revision: 32944
2012-08-02 09:54:28 +00:00
Gabor Juhos
563400ef10
ar71xx: ew-dorin: added router firmware generation
...
[juhosg: remove dead code]
Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>
SVN-Revision: 32934
2012-08-01 12:24:57 +00:00
Gabor Juhos
8eabe64e6b
ar71xx: ew-dorin: added USB support
...
Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>
SVN-Revision: 32933
2012-08-01 12:24:56 +00:00
Gabor Juhos
1af4fd7660
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>
SVN-Revision: 32932
2012-08-01 12:24:54 +00:00
Gabor Juhos
010aec0619
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>
SVN-Revision: 32931
2012-08-01 12:24:52 +00:00
John Crispin
87a72d68f1
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>
SVN-Revision: 32870
2012-07-25 19:52:30 +00:00
Florian Fainelli
accbc20045
move watchdog driver to target specific modules.mk
...
SVN-Revision: 32854
2012-07-25 15:50:10 +00:00
Florian Fainelli
23ffbad602
move target specific spi modules
...
SVN-Revision: 32853
2012-07-25 15:50:04 +00:00
Florian Fainelli
1859500829
move target specific leds modules to ar71xx modules.mk
...
SVN-Revision: 32852
2012-07-25 15:50:02 +00:00
Gabor Juhos
21de1b9d85
ar71xx: enable I2C_GPIO, the PB44 board needs that
...
SVN-Revision: 32738
2012-07-15 17:52:52 +00:00
Gabor Juhos
7daf851adf
ar71xx: fix PB44 board detection
...
SVN-Revision: 32737
2012-07-15 17:52:50 +00:00
Gabor Juhos
c7fa38484c
ar71xx: use gpio_set_value_cansleep on sleeping GPIOs in ath79_spi
...
SVN-Revision: 32736
2012-07-15 17:52:48 +00:00
Gabor Juhos
33220828dc
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>
SVN-Revision: 32683
2012-07-12 13:38:40 +00:00
Gabor Juhos
d3c8852fd1
ar71xx: select ATH79_DEV_M25P80 for the WRT400N board
...
SVN-Revision: 32679
2012-07-12 08:34:22 +00:00
Gabor Juhos
c75c895d24
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>
SVN-Revision: 32678
2012-07-12 08:34:21 +00:00
Gabor Juhos
466f010303
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>
SVN-Revision: 32677
2012-07-12 08:34:20 +00:00
Gabor Juhos
5ce9c90ca8
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>
SVN-Revision: 32676
2012-07-12 08:34:18 +00:00
Gabor Juhos
fe015f399f
ar71xx: swizzle address for PCI byte/word access on AR71xx
...
Closes #11683 .
SVN-Revision: 32639
2012-07-06 16:33:12 +00:00
Gabor Juhos
b39df5bb81
ar71xx: select SOC_AR933X and ATH79_DEV_WMAC for the OM2P board
...
SVN-Revision: 32638
2012-07-06 11:12:02 +00:00
Gabor Juhos
e258367c19
ar71xx: merge new board patches into the generic patch
...
SVN-Revision: 32637
2012-07-06 11:12:01 +00:00
Gabor Juhos
b020a7e7c3
ar71xx: OM2P LC sysupgrade patch
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
SVN-Revision: 32635
2012-07-06 11:11:58 +00:00
Gabor Juhos
eabf96dc22
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.
SVN-Revision: 32617
2012-07-05 16:25:31 +00:00
Gabor Juhos
7c932579fa
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.
SVN-Revision: 32615
2012-07-05 16:25:26 +00:00
Gabor Juhos
b2f0476871
ar71xx: OM2P sysupgrade support
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
SVN-Revision: 32613
2012-07-05 08:26:57 +00:00
Gabor Juhos
797944d3f1
ar71xx: add support for the OpenMesh OM2P-LC board
...
Patch-by: Marek Linder <marek@open-mesh.com>
SVN-Revision: 32611
2012-07-05 08:26:53 +00:00
Gabor Juhos
1ea2a3cfd8
ar71xx: add profile and build image for the Atheros AP136 reference board
...
SVN-Revision: 32609
2012-07-05 08:26:51 +00:00
Gabor Juhos
b219848bfc
ar71xx: AP136 user-space support
...
SVN-Revision: 32608
2012-07-05 08:26:50 +00:00
Gabor Juhos
f0cda65bb6
ar71xx: add initial support for the Qualcomm Atheros AP136 board
...
SVN-Revision: 32607
2012-07-05 08:26:48 +00:00
Gabor Juhos
d1b237b335
ar71xx: add initial support for the QCA955X SoCs
...
SVN-Revision: 32606
2012-07-05 08:26:47 +00:00
Gabor Juhos
7284cf73d6
ar71xx: refactor PCI code to allow registering multiple PCI controllers
...
SVN-Revision: 32605
2012-07-05 08:26:45 +00:00
Felix Fietkau
bfef2d17eb
ar71xx: update the EW Dorin MTD layout, increase kernel partition size (requested by EW)
...
SVN-Revision: 32599
2012-07-04 10:55:56 +00:00
Gabor Juhos
b8618fd3f2
ar71xx: improve MDIO busy wait code
...
SVN-Revision: 32586
2012-07-03 15:24:02 +00:00
Gabor Juhos
86013d40d5
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>
SVN-Revision: 32585
2012-07-03 15:24:01 +00:00
Felix Fietkau
5570b76642
ar71xx: detect and enable MIPS DSP extensions, AR9344 supports them ( fixes #11762 )
...
SVN-Revision: 32520
2012-06-28 16:05:08 +00:00
Gabor Juhos
7c87391c55
ar71xx: create profile and build image for the TL-WDR4300 board
...
SVN-Revision: 32461
2012-06-19 11:51:20 +00:00
Gabor Juhos
2d97a52045
ar71xx: add user space support for the TL-WDR4300
...
SVN-Revision: 32460
2012-06-19 11:51:18 +00:00
Gabor Juhos
8b9931fd27
ar71xx: add support for the TL-WDR4300 board
...
SVN-Revision: 32459
2012-06-19 11:51:17 +00:00
Gabor Juhos
e6a10d5cdd
ar71xx: refresh patches
...
SVN-Revision: 32458
2012-06-19 11:51:15 +00:00
Gabor Juhos
86c6543259
ar71xx: make AR8327 LEDs working on the DB120 board
...
SVN-Revision: 32457
2012-06-19 10:44:17 +00:00
Gabor Juhos
f509a87f2d
ar71xx: remove superfluous include of asm/mach-ath79/pci.h
...
SVN-Revision: 32455
2012-06-19 10:13:43 +00:00
Gabor Juhos
1a1121158f
ar71xx: add a common function to configure USB power GPIOs
...
SVN-Revision: 32454
2012-06-19 10:13:41 +00:00
Gabor Juhos
27fea0b6d7
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>
SVN-Revision: 32453
2012-06-19 10:13:38 +00:00
Gabor Juhos
ee9bc123fb
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>
SVN-Revision: 32452
2012-06-19 10:13:37 +00:00
Felix Fietkau
26cf21df02
ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)
...
SVN-Revision: 32447
2012-06-19 00:22:04 +00:00
Felix Fietkau
5d364d0ca1
ar71xx: add support for reading the MAC address from OTP ROM on AR933x
...
SVN-Revision: 32446
2012-06-19 00:21:58 +00:00
Felix Fietkau
dddf321b6e
ar71xx: swap the PHY address of the ethernet port of TL-MR3040/TL-MR11U similar to TL-MR3020 to fix ethernet link detection
...
SVN-Revision: 32336
2012-06-13 12:54:22 +00:00
Felix Fietkau
624505df56
ar71xx: fix LZMA loader build regression from r32090 (thx, juhosg)
...
SVN-Revision: 32095
2012-06-06 19:37:49 +00:00
Felix Fietkau
73b8805e78
ar71xx: fix PHY setup on TL-MR3020 ( fixes #11572 )
...
SVN-Revision: 32093
2012-06-06 17:24:12 +00:00
Felix Fietkau
dc9675282e
ar71xx: add a helper function for setting up PHY4 swapping on ar933x
...
SVN-Revision: 32092
2012-06-06 17:24:09 +00:00
Felix Fietkau
02ab0d3ef9
ar71xx: only build all loader images if the image builder is enabled - saves some time on make target/install
...
SVN-Revision: 32090
2012-06-06 17:24:01 +00:00
John Crispin
a4d96aae8d
bump to 3.3.8
...
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
Luka Perkov
7f00e5ffc6
uboot-envtools: update to 2012.04.01
...
SVN-Revision: 32051
2012-06-04 21:55:49 +00:00
Gabor Juhos
cd7ab1d30b
ar71xx: add default LED setup for the DB120 board
...
SVN-Revision: 31997
2012-05-29 16:39:23 +00:00
Gabor Juhos
4e40bdc190
ar71xx: use the generic uci-default functions for initial LED setup
...
SVN-Revision: 31992
2012-05-29 16:39:17 +00:00
Felix Fietkau
a9cd8446f3
ar71xx: do not override the mdio clock for ar9330. the override value (obtained from an atheros driver) seems to break ethernet functionality
...
SVN-Revision: 31956
2012-05-28 20:39:50 +00:00
Felix Fietkau
367e4b3994
ar71xx: improve rx performance of the ethernet driver by using build_skb to deliver a cache-hot skb to the network stack
...
SVN-Revision: 31934
2012-05-28 02:55:59 +00:00
Felix Fietkau
8039a1bbb2
ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x
...
SVN-Revision: 31925
2012-05-27 21:02:41 +00:00
Gabor Juhos
8865f0923e
ar71xx: fix TL-WR1041 image size
...
SVN-Revision: 31923
2012-05-27 17:21:47 +00:00
Gabor Juhos
2ae5581447
kernel: update linux 3.3 to 3.3.7
...
SVN-Revision: 31848
2012-05-23 21:05:32 +00:00
Gabor Juhos
c57409e79d
ar71xx: fix an insignificant typo
...
Patch from #11485 .
SVN-Revision: 31847
2012-05-23 21:05:30 +00:00
Gabor Juhos
013f434f5b
ar71xx: fix WLAN led for RB751U-2HnD and RB751G-2HnD
...
Patch by Kamil Trzciński <ayufan@osk-net.pl>
SVN-Revision: 31846
2012-05-23 21:05:25 +00:00
Gabor Juhos
758f670376
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>
SVN-Revision: 31845
2012-05-23 21:05:24 +00:00
Gabor Juhos
39994008cb
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
SVN-Revision: 31737
2012-05-15 10:58:52 +00:00
Felix Fietkau
a3f2fd187b
ar71xx: remove AG71XX_RX_PKT_RESERVE, it is no longer necessary (found by Eric Dumazet)
...
SVN-Revision: 31736
2012-05-15 10:36:39 +00:00
Gabor Juhos
b472e5d12e
kernel: update linux 3.3 to 3.3.6
...
SVN-Revision: 31709
2012-05-14 09:18:32 +00:00
Gabor Juhos
93c9980b94
ar71xx: fix build error if PCI is disabled
...
SVN-Revision: 31646
2012-05-07 21:16:22 +00:00
Gabor Juhos
34018a630f
kernel: update linux 3.3 to 3.3.5
...
SVN-Revision: 31645
2012-05-07 20:11:43 +00:00
Felix Fietkau
0ff3c396d3
kernel: rewrite the phy packet hook, put it in the network stack to avoid having to keep non-upstream ethernet driver changes
...
SVN-Revision: 31637
2012-05-06 21:19:14 +00:00
Gabor Juhos
9486904079
ar71xx: add profile and build image for the TL-WR1041N v2 board
...
Patch-by: Vince Huang <axishero@foxmail.com>
SVN-Revision: 31610
2012-05-05 17:02:41 +00:00
Gabor Juhos
ab897ab04e
ar71xx: add support for the TP-Link TL-WR1041N v2 board
...
Patch-by: Vince Huang <axishero@foxmail.com>
SVN-Revision: 31608
2012-05-05 17:02:35 +00:00
Gabor Juhos
56f2e08537
ar71xx: update 3.3 patches
...
SVN-Revision: 31602
2012-05-05 13:56:35 +00:00
Gabor Juhos
8fffc6d6df
ar71xx: fix a typo in the db120 mach file
...
Reported-by: Sven Eckelmann <sven@narfation.org>
SVN-Revision: 31601
2012-05-05 13:56:30 +00:00
Gabor Juhos
cbfce53831
kernel: update linux 3.3 to 3.3.4
...
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
Gabor Juhos
3e3a4d3d6b
ar71xx: allow to disable link polling on unused PHYs
...
SVN-Revision: 31533
2012-04-29 18:29:24 +00:00
Gabor Juhos
a447f1810c
ar71xx: enable MIB counters in the built-in switch of the AR934x
...
SVN-Revision: 31476
2012-04-25 13:02:11 +00:00
Gabor Juhos
59b0c1b2b9
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>
SVN-Revision: 31461
2012-04-24 11:38:44 +00:00
Jonas Gorski
8fd383ae2e
kernel: update linux 3.3 to 3.3.3
...
SVN-Revision: 31460
2012-04-24 09:25:38 +00:00
Gabor Juhos
9140d4ee44
ar71xx: remove duplicated AP121 Kconfig entry
...
SVN-Revision: 31382
2012-04-20 16:50:16 +00:00
Gabor Juhos
da2cc2c79a
ar71xx: nuke 3.2 support
...
SVN-Revision: 31360
2012-04-19 21:32:05 +00:00
Gabor Juhos
9854d6fb7f
ar71xx: switch to 3.3.2
...
SVN-Revision: 31359
2012-04-19 21:31:58 +00:00
Gabor Juhos
a6b4b5fd6e
ar71xx: sync 3.3 config
...
SVN-Revision: 31358
2012-04-19 21:31:53 +00:00
Gabor Juhos
ef97415b92
ar71xx: merge/reorganize 3.3 patches
...
SVN-Revision: 31357
2012-04-19 21:31:50 +00:00
Gabor Juhos
408de85883
ar71xx: use ap91_pci_init for RB751{,G}
...
SVN-Revision: 31356
2012-04-19 21:31:48 +00:00
Gabor Juhos
0a9832b50d
ar71xx: move USB device registration directly into rb751{,g}_setup
...
SVN-Revision: 31355
2012-04-19 21:31:43 +00:00
Gabor Juhos
78967e6640
ar71xx: add ap9x_pci_get_wmac_data helper
...
SVN-Revision: 31354
2012-04-19 21:31:42 +00:00
Gabor Juhos
5c9ca38e47
ar71xx: add sanity checks to decode_rle
...
Also use -EINVAL instead of -1.
SVN-Revision: 31353
2012-04-19 21:31:40 +00:00
Jonas Gorski
a8f2bc682e
kernel: also update the targets to use 3.2.15
...
Thanks Gabor for spotting it.
SVN-Revision: 31337
2012-04-17 13:12:14 +00:00
Jonas Gorski
3a9b6dc313
kernel: update linux 3.3 to 3.3.2
...
SVN-Revision: 31336
2012-04-17 12:51:02 +00:00
Jonas Gorski
16b4cbcdd6
kernel: update linux 3.2 to 3.2.14
...
SVN-Revision: 31222
2012-04-09 14:48:51 +00:00
Gabor Juhos
f14fd53e3c
ar71xx: image: build initramfs images for the WHR boards
...
SVN-Revision: 31209
2012-04-06 06:45:08 +00:00
Gabor Juhos
e295a077ce
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]
SVN-Revision: 31208
2012-04-06 06:45:07 +00:00
Gabor Juhos
fe6d66afe2
ar71xx: add rb750 to diag.sh
...
Support status led in diag.sh for RB750
Patch from: Evangelos Arkalis <arkalis.e@gmail.com>
SVN-Revision: 31207
2012-04-06 06:45:04 +00:00
Jonas Gorski
d87efd8c3c
kernel: update linux 3.2 to 3.2.13 and refresh patches
...
Also remove a duplicate patch from lantiq (already in generic).
SVN-Revision: 31158
2012-04-01 07:56:55 +00:00
Gabor Juhos
b77217d963
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%
SVN-Revision: 31118
2012-03-27 19:38:17 +00:00
Gabor Juhos
102c6df148
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%
SVN-Revision: 31117
2012-03-27 19:38:15 +00:00
Gabor Juhos
6455178a6a
ar71xx: image: build initramfs images for more boards
...
SVN-Revision: 31116
2012-03-27 19:38:13 +00:00
Gabor Juhos
e2bd975a2a
ar71xx: image: add MkuImage{Gzip,Lzma}/initramfs helpers
...
SVN-Revision: 31115
2012-03-27 19:38:11 +00:00
Gabor Juhos
c7966a12b5
ar71xx: image: pass mtdlayout variables by value
...
SVN-Revision: 31114
2012-03-27 19:38:10 +00:00
Gabor Juhos
692e47f49f
ar71xx: image: use MkuImageGzip in Image/Build/AthGzip/initramfs
...
SVN-Revision: 31113
2012-03-27 19:38:08 +00:00
Gabor Juhos
6cd5fb7001
ar71xx: remove the built-in MTD map of the AP96 board
...
Pass the mtd_layout via the kernel command line instead.
SVN-Revision: 31112
2012-03-27 19:38:07 +00:00
Gabor Juhos
61ee283899
ar71xx: remove the built-in MTD map of the PB92 board
...
Pass the mtd_layout via the kernel command line instead
SVN-Revision: 31111
2012-03-27 19:38:05 +00:00
Gabor Juhos
1094dc1996
ar71xx: remove the built-in MTD map of the Zcomax devices
...
Pass the mtd_layout via the kernel command line instead.
SVN-Revision: 31110
2012-03-27 19:38:04 +00:00
Gabor Juhos
24554ef187
ar71xx: reclaim the 'user_property' partition on WHR-* boards
...
SVN-Revision: 31109
2012-03-27 19:38:02 +00:00
Gabor Juhos
87e4ec687b
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
SVN-Revision: 31108
2012-03-27 19:38:01 +00:00
Gabor Juhos
e6b685650b
ar71xx: use modules for LED triggers
...
SVN-Revision: 31107
2012-03-27 19:37:59 +00:00
Gabor Juhos
e28cd648b7
ar71xx: disable CONFIG_{I2C,SPI}_GPIO
...
SVN-Revision: 31104
2012-03-27 19:37:53 +00:00
Gabor Juhos
6627f45a87
ar71xx: sync 3.3 config
...
SVN-Revision: 31103
2012-03-27 19:37:52 +00:00
Gabor Juhos
f4d1e3d147
ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4
...
SVN-Revision: 31102
2012-03-27 19:37:51 +00:00
Gabor Juhos
ff5b7ef713
linux: refresh patches against 3.3
...
SVN-Revision: 31047
2012-03-20 15:55:07 +00:00
Gabor Juhos
c8bf90d414
ar71xx: fix IRQ number for the AR7240 OHCI controller
...
SVN-Revision: 31044
2012-03-20 15:02:48 +00:00
Gabor Juhos
c1dc6df8bd
kernel: update linux 3.2 to 3.2.12
...
SVN-Revision: 31028
2012-03-19 18:23:31 +00:00
Gabor Juhos
f86e412389
ar71xx: disable unused file system drivers in the nand subtarget
...
SVN-Revision: 31027
2012-03-19 15:57:07 +00:00
Gabor Juhos
b50cfe077c
ar71xx: sync kernel configs
...
SVN-Revision: 31026
2012-03-19 15:57:06 +00:00
Gabor Juhos
8a2e4b49de
ar71xx: add initial support for RB750GL
...
SVN-Revision: 31025
2012-03-19 15:57:04 +00:00
Gabor Juhos
d19f3dd512
ar71xx: make rb750_latch_change 'static void'
...
SVN-Revision: 31024
2012-03-19 15:57:03 +00:00
Gabor Juhos
5348f46c80
ar71xx: add latch_change field to rb750_led_platform_data
...
SVN-Revision: 31023
2012-03-19 15:57:01 +00:00
Gabor Juhos
8a471efe01
ar71xx: add platform data for the RB750 NAND driver
...
SVN-Revision: 31022
2012-03-19 15:56:59 +00:00
Gabor Juhos
e89df99083
ar71xx: use a different pll value on DB120
...
SVN-Revision: 31018
2012-03-19 11:11:22 +00:00
Gabor Juhos
e9b45ebaba
ar71xx: add AR934x specific interface speed setup for ge0
...
SVN-Revision: 31017
2012-03-19 11:11:20 +00:00
Gabor Juhos
6028889727
ar71xx: remove static MTD maps from AP121/DB120 boards
...
SVN-Revision: 31016
2012-03-19 11:11:19 +00:00
Felix Fietkau
db6e326c56
targets: replace madwifi in profiles with ath5k, madwifi is unmaintained
...
SVN-Revision: 31015
2012-03-19 09:58:13 +00:00
Gabor Juhos
6ac12fbb3c
ar71xx: use AR8327 on the DB120 board
...
SVN-Revision: 31012
2012-03-18 22:06:58 +00:00
Gabor Juhos
f601339e79
ar71xx: add profile and generate image for the JA76PF2 board
...
SVN-Revision: 30958
2012-03-16 18:00:40 +00:00
Gabor Juhos
6036151187
ar71xx: add support for the jjPlus JA76PF2 board
...
SVN-Revision: 30957
2012-03-16 18:00:34 +00:00
Gabor Juhos
a680662391
ar71xx: change LED name prefix on the jjplus boards
...
SVN-Revision: 30956
2012-03-16 18:00:26 +00:00
Gabor Juhos
c00b53f3d0
ar71xx: move micrel PHY driver to the generic linux target
...
SVN-Revision: 30946
2012-03-15 09:25:53 +00:00
Gabor Juhos
ff909edf94
ar71xx: ag71xx: fix ARP frame reception on AR934x switch ports
...
SVN-Revision: 30926
2012-03-13 17:29:38 +00:00
Gabor Juhos
cd6a4cde13
ar71xx: ag71xx: start aneg on switch PHYs after reset
...
SVN-Revision: 30925
2012-03-13 17:29:37 +00:00
Gabor Juhos
7c9534cfd7
ar71xx: ag71xx: poll PHY status of all available switch ports
...
SVN-Revision: 30924
2012-03-13 17:29:36 +00:00
Gabor Juhos
8449eecf5f
ar71xx: ag71xx: allow to use port 5 of the AR934x built-in switch
...
SVN-Revision: 30923
2012-03-13 17:29:34 +00:00
Gabor Juhos
1c5ac02a29
ar71xx: reset the switch on AR934x before ethernet device registration
...
SVN-Revision: 30922
2012-03-13 17:29:33 +00:00
Gabor Juhos
17d3131d3c
ar71xx: fix a typo in ar71xx_regs.h
...
SVN-Revision: 30921
2012-03-13 17:29:31 +00:00
Gabor Juhos
66df117d1b
ar71xx: use a dummy callback for interfaces with fixed speed
...
SVN-Revision: 30913
2012-03-12 20:38:58 +00:00
Gabor Juhos
8b2b37ae58
ar71xx: merge ar934x_bo_ddr_flush patch
...
SVN-Revision: 30912
2012-03-12 20:38:57 +00:00
Gabor Juhos
b0bb0793b9
ar71xx: enable UART function for early_printk/console
...
SVN-Revision: 30909
2012-03-12 17:32:39 +00:00
Gabor Juhos
ccc939ebc0
ar71xx: remove a 3.3 patch, it is already in 3.3-rc7
...
SVN-Revision: 30903
2012-03-12 16:27:57 +00:00
Gabor Juhos
0814e61841
ar71xx: fix Compex WPE72 detection
...
SVN-Revision: 30902
2012-03-12 16:27:56 +00:00
Gabor Juhos
088dd4e879
ar71xx: stop image building if a loader is missing
...
SVN-Revision: 30877
2012-03-11 14:03:28 +00:00
Gabor Juhos
31584880bf
ar71xx: add watchdog driver to the default package list
...
SVN-Revision: 30852
2012-03-08 09:00:17 +00:00
Gabor Juhos
2d89fa7f43
ar71xx: fix WPS button polarity on TL-WR2543N
...
SVN-Revision: 30849
2012-03-07 19:50:53 +00:00
Gabor Juhos
c455a0f7be
ar71xx: ag71xx: fix get_port_link callback
...
SVN-Revision: 30841
2012-03-07 16:32:35 +00:00
Gabor Juhos
5a83b3a5c7
ar71xx: ag71xx: use the generic get_port_link implementation
...
SVN-Revision: 30840
2012-03-07 16:32:34 +00:00
Gabor Juhos
86d852927e
ar71xx: refresh patches against 3.3-rc5
...
SVN-Revision: 30801
2012-03-03 14:10:29 +00:00
Gabor Juhos
7052847972
ar71xx: ag71xx: keep VLAN tags if VLAN is not enabled
...
SVN-Revision: 30768
2012-03-01 19:49:05 +00:00
Gabor Juhos
9698a499b6
kernel: update linux 3.2 to 3.2.9
...
SVN-Revision: 30767
2012-03-01 19:49:02 +00:00
Gabor Juhos
6b37484883
ar71xx: use v6.0.0 in UBTN-XM firmwares ( closes #11038 )
...
SVN-Revision: 30712
2012-02-24 20:41:38 +00:00
Felix Fietkau
c918810414
ar71xx: switch to kmod-gpio-button-hotplug
...
SVN-Revision: 30660
2012-02-20 10:51:48 +00:00
Gabor Juhos
3d20de331d
ar71xx: fix image signature for UBNT-XM boards
...
SVN-Revision: 30626
2012-02-18 14:45:52 +00:00
Gabor Juhos
3004f30f01
ar71xx: remove duplicated define from the D-Link profile
...
SVN-Revision: 30577
2012-02-16 09:03:27 +00:00
Daniel Dickinson
1bb8a7613e
Add Ubiquiti UniFi Profile; It's an AP without USB so don't include USB drivers by default
...
SVN-Revision: 30571
2012-02-16 07:45:28 +00:00
Daniel Dickinson
b797f72319
d-link: Add DIR-601 Profile Definition; It needs different factory images than DIR-600
...
SVN-Revision: 30570
2012-02-16 07:38:33 +00:00
Daniel Dickinson
c736e2d4b0
Fix partitions for Cameo-based boards; kernel 3.2 is bigger
...
SVN-Revision: 30569
2012-02-16 07:29:26 +00:00
Daniel Dickinson
4685a51301
image: For Cameo-based board fix adding mtd layout to kernel commandline)
...
SVN-Revision: 30568
2012-02-16 07:24:45 +00:00
Gabor Juhos
9a0e17857e
ar71xx: add profile and build image for the TP-Link TL-WR842N/ND v1 boards
...
SVN-Revision: 30508
2012-02-13 17:11:58 +00:00
Gabor Juhos
1c57a22aae
ar71xx: add model detection for TL-WR842N/ND
...
SVN-Revision: 30507
2012-02-13 17:11:57 +00:00
Gabor Juhos
3708227f96
ar71xx: zero partition parser data in m25p80
...
Ths fixes parsing of RedBoot partitions.
SVN-Revision: 30427
2012-02-10 20:19:06 +00:00
Gabor Juhos
6c07149c2d
ar71xx: fix platform description
...
SVN-Revision: 30419
2012-02-10 15:27:49 +00:00
Gabor Juhos
766999085a
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>
SVN-Revision: 30417
2012-02-10 14:56:47 +00:00
Gabor Juhos
fc069f030b
ar71xx: add dummy DQL helper functions for 3.2
...
SVN-Revision: 30416
2012-02-10 14:56:44 +00:00
Gabor Juhos
32a18a05f8
ar71xx: add preliminary support for 3.3
...
SVN-Revision: 30410
2012-02-10 11:53:56 +00:00
Felix Fietkau
512df38f5c
ar71xx: disable DDR flush for ethernet on AR934x, it is no longer necessary
...
SVN-Revision: 30409
2012-02-10 11:46:37 +00:00
Felix Fietkau
61f48beadd
ar71xx: fix db120 board detection
...
SVN-Revision: 30408
2012-02-10 11:46:31 +00:00
Gabor Juhos
73b9a8bf9b
ar71xx: allow to build ag71xx w/o PCI support enabled
...
SVN-Revision: 30407
2012-02-10 11:46:10 +00:00
Gabor Juhos
fe0c7aac66
ar71xx: merge 3.2 fixes
...
SVN-Revision: 30406
2012-02-10 08:19:33 +00:00
Gabor Juhos
d72bde99cd
ar71xx: merge files-3.2 to files
...
SVN-Revision: 30405
2012-02-10 08:19:31 +00:00
Gabor Juhos
81b7aaefbe
ar71xx: nuke 2.6.39 support
...
SVN-Revision: 30404
2012-02-10 08:19:28 +00:00
Gabor Juhos
650d777f3d
ar71xx: switch to 3.2.5
...
SVN-Revision: 30403
2012-02-10 08:19:27 +00:00
Gabor Juhos
abeab97efc
ar71xx: refresh 3.2 patches
...
SVN-Revision: 30402
2012-02-10 08:19:25 +00:00
Gabor Juhos
f754063159
ar71xx: 3.2: remove stray semicolons from the PCI fixup patch
...
SVN-Revision: 30400
2012-02-09 21:19:57 +00:00
Felix Fietkau
848dedeb8b
ar71xx: fix ar934x usb reset handling on 3.2
...
SVN-Revision: 30399
2012-02-09 20:39:41 +00:00
Gabor Juhos
09c45f50d4
ar71xx: 3.2: get rid of an unused variable in ath79_spi.c
...
SVN-Revision: 30391
2012-02-08 20:47:58 +00:00
Gabor Juhos
c126bed503
ar71xx: 3.2: fix AHB clock name in rb4xx_spi
...
SVN-Revision: 30390
2012-02-08 20:47:56 +00:00
Gabor Juhos
81f15f5026
ar71xx: add profile and build image for the TEW-673GRU board
...
SVN-Revision: 30377
2012-02-08 16:26:27 +00:00
Gabor Juhos
48e85cd47b
ar71xx: add support for the TRENDNet TEW-673GRU board
...
SVN-Revision: 30376
2012-02-08 16:26:25 +00:00
Felix Fietkau
d9ff9c44ee
ar71xx: add usb on the pb92 board
...
SVN-Revision: 30007
2012-02-03 09:44:51 +00:00
Gabor Juhos
41bd6bd282
ar71xx: fix ethernet LEDs on the WHR-{G301N,HP-G300N,HP-GN} boards
...
SVN-Revision: 29978
2012-01-31 20:49:34 +00:00
Gabor Juhos
c315ce403b
ar71xx: merge DIR-600 A1 and DIR-615 E4 support
...
SVN-Revision: 29976
2012-01-31 18:37:29 +00:00
Gabor Juhos
dd47afc197
ar71xx: fix ethernet LEDs on the DIR-600-A1 board
...
SVN-Revision: 29975
2012-01-31 18:37:24 +00:00
Gabor Juhos
8200f0c61a
ar71xx: unify LED names on D-Link boards
...
SVN-Revision: 29974
2012-01-31 18:37:15 +00:00
Gabor Juhos
faeca86e50
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>
SVN-Revision: 29973
2012-01-31 18:37:09 +00:00
Gabor Juhos
97e4ddd012
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>
SVN-Revision: 29972
2012-01-31 18:37:01 +00:00
Gabor Juhos
8766f32b8c
ar71xx: compress kernel binaries in Image/Prepare stage
...
The lzma compressed kernel is used by one of the loaders.
SVN-Revision: 29971
2012-01-31 18:36:54 +00:00
Gabor Juhos
d5d37febb4
ar71xx: use dynamically allocated partitions in wrt160nl_part
...
SVN-Revision: 29970
2012-01-31 18:36:51 +00:00
Florian Fainelli
eeb00634a7
add support for the Atheros AP113 reference board
...
This reference board is equipped with:
- AR7242 SoC
- AR9580 on-board Wi-Fi
- AR8316 switch
SVN-Revision: 29935
2012-01-28 13:19:49 +00:00
Florian Fainelli
405a0f3905
refresh 3.2 patches
...
SVN-Revision: 29934
2012-01-28 13:19:43 +00:00
Gabor Juhos
b9b768b8d3
ar71xx: use 64k block size for WZR-HP-AG300H
...
SVN-Revision: 29917
2012-01-27 10:42:41 +00:00
Gabor Juhos
ac8116739a
ar71xx: fix sysupgrade image building of atheros boards after r29899
...
SVN-Revision: 29916
2012-01-27 07:51:09 +00:00
Gabor Juhos
013fe76b36
ar71xx: create the temporary directory before building initramfs images
...
Thanks to Florian for reporting.
SVN-Revision: 29915
2012-01-26 21:28:34 +00:00
Gabor Juhos
a5538a18d4
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>
SVN-Revision: 29914
2012-01-26 17:01:44 +00:00
Gabor Juhos
e1e84badaa
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>
SVN-Revision: 29912
2012-01-26 17:01:41 +00:00
Gabor Juhos
038d4e0d77
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>
SVN-Revision: 29905
2012-01-25 07:44:45 +00:00
Gabor Juhos
c11ac55b29
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>
SVN-Revision: 29904
2012-01-25 07:44:43 +00:00
Gabor Juhos
4f3d6c9ae9
ar71xx: use the lzma loader on the Planex boards
...
SVN-Revision: 29900
2012-01-24 20:12:10 +00:00
Gabor Juhos
5fa9768cee
ar71xx: rename Sysupgrade/{KR,RK} to Sysupgrade/{KR,RK}uImage
...
SVN-Revision: 29899
2012-01-24 20:12:08 +00:00
Gabor Juhos
095c236694
ar71xx: fix the AP/Router LED definitons on MZK-W300NH
...
SVN-Revision: 29897
2012-01-24 18:40:38 +00:00
Gabor Juhos
23e1b451dc
ar71xx: preset WLAN LED config on MZK-W300NH
...
SVN-Revision: 29896
2012-01-24 18:40:36 +00:00
Gabor Juhos
23836d5908
ar71xx: remove hardcoded MTD layout from planex files
...
SVN-Revision: 29895
2012-01-24 18:40:34 +00:00
Gabor Juhos
859c915077
ar71xx: pass mtdlayout to Planex boards via command line
...
SVN-Revision: 29894
2012-01-24 18:40:33 +00:00
Gabor Juhos
6ad9bf8d17
ar71xx: remove an unused header file
...
SVN-Revision: 29893
2012-01-24 18:40:31 +00:00
Gabor Juhos
17bb003891
ar71xx: nuke fs_all variable in image/Makefile
...
SVN-Revision: 29880
2012-01-24 09:47:25 +00:00
Gabor Juhos
1fb88e2541
ar71xx: create interim kernel files in a separate dir
...
This reduces the size of the ImageBuilder tarball a lot.
SVN-Revision: 29879
2012-01-24 09:47:23 +00:00
Gabor Juhos
a43e2f508f
ar71xx: prebuild all loaders in Image/Prepare stage
...
SVN-Revision: 29878
2012-01-24 09:47:22 +00:00
Gabor Juhos
44517a3789
ar71xx: 3.2: fix build errors if PCI is not enabled
...
SVN-Revision: 29870
2012-01-23 08:52:21 +00:00
Gabor Juhos
778db0a13d
ar71xx: fix compiler warning if PCI is not enabled
...
SVN-Revision: 29869
2012-01-23 08:52:18 +00:00
Gabor Juhos
af015f956c
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
SVN-Revision: 29868
2012-01-22 22:38:19 +00:00
Gabor Juhos
386cbfe45b
ar71xx: move arch specific files to files-2.6.39
...
SVN-Revision: 29867
2012-01-22 22:38:11 +00:00
Gabor Juhos
7b7427e52c
ar71xx: build ALFA AP96 images with default profile as well
...
SVN-Revision: 29866
2012-01-22 22:33:15 +00:00
Gabor Juhos
e7dee3aeed
ar71xx: wrt160nl_part: include module.h and fix compiler warnings
...
SVN-Revision: 29856
2012-01-22 17:55:38 +00:00
Gabor Juhos
a7d344565b
ar71xx: tplinkpart: include module.h
...
SVN-Revision: 29855
2012-01-22 17:55:36 +00:00
Gabor Juhos
6c2638c5e2
ar71xx: rename vsc7385 spi driver
...
SVN-Revision: 29853
2012-01-22 13:51:57 +00:00
Gabor Juhos
bb16739db9
ar71xx: rename ap81 spi driver
...
SVN-Revision: 29852
2012-01-22 13:51:56 +00:00
Gabor Juhos
5ef8b922fa
ar71xx: rename rb4xx spi drivers
...
SVN-Revision: 29851
2012-01-22 13:51:54 +00:00
Gabor Juhos
aad175d5b6
ar71xx: rename the nxp_74hc153 driver
...
SVN-Revision: 29850
2012-01-22 13:51:52 +00:00
Gabor Juhos
ef1c53b7b7
ar71xx: change board id of the UniFi board
...
SVN-Revision: 29849
2012-01-22 13:51:50 +00:00
Gabor Juhos
f90e578903
ar71xx: include linux/module.h in the micrel phy driver
...
SVN-Revision: 29848
2012-01-22 13:51:49 +00:00
Gabor Juhos
fbf81c8e79
ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
...
SVN-Revision: 29713
2012-01-11 18:00:50 +00:00
Gabor Juhos
67f62cf5cf
ar71xx: disable ath79 in order to get rid of Kconfig warnings
...
SVN-Revision: 29711
2012-01-11 09:14:19 +00:00
Gabor Juhos
88d8cdd503
ar71xx: pb44_spi: add shutdown handler
...
This allows to access the flash from a kexec'd kernel.
SVN-Revision: 29710
2012-01-11 09:14:18 +00:00
Gabor Juhos
e1b7995aef
ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
...
SVN-Revision: 29709
2012-01-11 09:14:17 +00:00
Gabor Juhos
67444c7795
ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
...
SVN-Revision: 29708
2012-01-11 09:14:15 +00:00
Gabor Juhos
0f566a376c
ar71xx: ar71xx_spi: add shutdown handler
...
This allows to access the flash from a kexec'd kernel.
SVN-Revision: 29707
2012-01-11 09:14:14 +00:00
Gabor Juhos
09a6e3f662
ar71xx: ar71xx_spi: save and restore regs from probe/remove
...
SVN-Revision: 29706
2012-01-11 09:14:13 +00:00
Gabor Juhos
714a9bd641
ar71xx: ar71xx_wdt: add shutdown handler
...
SVN-Revision: 29705
2012-01-11 09:14:11 +00:00
Gabor Juhos
9727256330
ar71xx: refresh patches
...
SVN-Revision: 29683
2012-01-07 19:36:43 +00:00
Gabor Juhos
4edff7d3ef
ar71xx: add a profile and build images for the TL-WR2543N/ND
...
SVN-Revision: 29682
2012-01-07 19:36:42 +00:00
Gabor Juhos
a1dcbc66a6
ar71xx: add initial support for the TL-WR2543N/ND board
...
The WLAN LEDs are not working yet.
SVN-Revision: 29680
2012-01-07 19:36:35 +00:00
Gabor Juhos
a56bdeff9d
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.
SVN-Revision: 29679
2012-01-07 19:36:33 +00:00
Gabor Juhos
67b2814842
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>
SVN-Revision: 29675
2012-01-07 17:24:44 +00:00
Gabor Juhos
6c74274c8d
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).
SVN-Revision: 29674
2012-01-07 16:29:16 +00:00
Gabor Juhos
f638c6207b
ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
...
SVN-Revision: 29672
2012-01-06 15:54:59 +00:00
Gabor Juhos
1e848b17ad
ar71xx: add support for Redwave RW2458N
...
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 29669
2012-01-06 07:20:59 +00:00
Gabor Juhos
84cd8a5ee0
ar71xx: fix RB-750 network configuration
...
SVN-Revision: 29668
2012-01-06 07:20:54 +00:00
Gabor Juhos
8eb0b7ab3d
ar71xx: fix sections mismatch warnings in the nand drivers
...
SVN-Revision: 29667
2012-01-05 18:08:33 +00:00
Gabor Juhos
232eb83f74
ar71xx: fix LED configuration on the RB-750
...
SVN-Revision: 29666
2012-01-05 18:08:28 +00:00
Gabor Juhos
d65c6fe720
ar71xx: create profile and build image for the ALFA AP96 board
...
SVN-Revision: 29663
2012-01-04 21:13:57 +00:00
Gabor Juhos
b8f0d86115
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.
SVN-Revision: 29662
2012-01-04 21:13:54 +00:00
Gabor Juhos
807e046193
ar71xx: specify console kernel parameter for the Compex boards
...
SVN-Revision: 29660
2012-01-04 17:30:59 +00:00
Gabor Juhos
923f3e3752
ar71xx: allow to use the command line hack on compex devices
...
SVN-Revision: 29659
2012-01-04 17:30:58 +00:00
Gabor Juhos
2f53f82203
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.
SVN-Revision: 29658
2012-01-04 17:30:57 +00:00
Gabor Juhos
301b1b4f92
ar71xx: show correct model name on TL-WA701N/ND boards
...
SVN-Revision: 29657
2012-01-04 17:30:55 +00:00
Gabor Juhos
ac68f0d8fa
ar71xx: add profile and build image for the TL-WA701N/ND boards
...
SVN-Revision: 29656
2012-01-04 17:30:54 +00:00
Gabor Juhos
72019009c7
ar71xx: fix network configuration for the TL-WA901N/ND boards
...
SVN-Revision: 29654
2012-01-04 17:30:52 +00:00
Gabor Juhos
90bfef9ec9
ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
...
SVN-Revision: 29653
2012-01-04 17:30:50 +00:00
Gabor Juhos
5eb502d9c1
ar71xx: add default LED configuration for the TL-MR3020
...
Also use the system LED for diagnostic.
SVN-Revision: 29652
2012-01-04 17:30:49 +00:00
Gabor Juhos
1045c83527
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>
SVN-Revision: 29651
2012-01-04 17:30:47 +00:00
Gabor Juhos
88223f87d1
ar71xx: use the new om-watchdog package for OM2P
...
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
SVN-Revision: 29648
2012-01-04 17:30:41 +00:00
Gabor Juhos
8854c90119
ar71xx: add profile and build factory image for the Hornet-UB board
...
SVN-Revision: 29637
2012-01-01 19:30:29 +00:00
Gabor Juhos
1d3de89f3c
ar71xx: build images for the ALFA Network N2/N5 boards
...
SVN-Revision: 29636
2012-01-01 19:30:28 +00:00
Gabor Juhos
1e68f10b87
ar71xx: add support for the ALFA Network N2/N5 boards
...
SVN-Revision: 29635
2012-01-01 19:30:25 +00:00
Gabor Juhos
5c067db8a7
ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
...
SVN-Revision: 29631
2011-12-31 15:02:46 +00:00
Gabor Juhos
fff02e6ea8
ar71xx: enable SWCONFIG_LEDS
...
SVN-Revision: 29630
2011-12-31 15:02:40 +00:00
Gabor Juhos
8c2482f76e
ar71xx: ag71xx: implement get_port_{link,stats} callbacks
...
SVN-Revision: 29626
2011-12-31 15:02:26 +00:00
Gabor Juhos
557009bbdb
ar71xx: fix LEDs on the WRT400N
...
SVN-Revision: 29624
2011-12-31 13:54:11 +00:00
Gabor Juhos
76dacee995
ar71xx: enable sysupgrade support for airrouter
...
Works for me! ;-)
Patch-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 29614
2011-12-27 16:59:43 +00:00
Gabor Juhos
c6ee919b2a
ar71xx: fix sysupgrade on PB42/PB44 boards
...
SVN-Revision: 29613
2011-12-27 16:57:01 +00:00
Felix Fietkau
db0a1db257
ar71xx: set a reserved bit that resets to 1 when writing the address table control register on the ar7240 switch (should fix #10547 )
...
SVN-Revision: 29598
2011-12-22 05:43:53 +00:00
Jonas Gorski
8799627ef0
ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
...
Thanks netprince for reporting and testing.
SVN-Revision: 29595
2011-12-21 19:32:40 +00:00
Jo-Philipp Wich
ebefe1eb3a
the mach file of the WZR-HP-G300NH2 accidentally claimed the mach id of the WZR-HP-AG300H, correct the id ( #10649 )
...
SVN-Revision: 29593
2011-12-21 01:27:48 +00:00
Felix Fietkau
11013ad947
ar71xx: add missing wireless led changes for wzr-hp-g300nh2
...
SVN-Revision: 29568
2011-12-19 09:04:15 +00:00
Felix Fietkau
0cc056cb7e
ar71xx: add support for the wzr-hp-g300nh2
...
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
SVN-Revision: 29567
2011-12-18 22:20:17 +00:00
Gabor Juhos
5a0a2b2f1b
ar71xx: use 64kraw template on more TP-Link boards
...
SVN-Revision: 29561
2011-12-17 18:49:55 +00:00
Gabor Juhos
67c7980290
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.
SVN-Revision: 29557
2011-12-15 22:25:38 +00:00
Gabor Juhos
5bbd416e38
ar71xx: add defines for the AR934X GMAC interface
...
SVN-Revision: 29556
2011-12-15 22:25:36 +00:00
Gabor Juhos
e47a8c2bb2
ar71xx: fix GMAC1 interface speed on the DB120 board
...
SVN-Revision: 29555
2011-12-15 22:25:35 +00:00
Gabor Juhos
36bc2c2c80
ar71xx: ag71xx: fix switch port setup for AR934X
...
SVN-Revision: 29554
2011-12-15 22:25:32 +00:00
Gabor Juhos
00667c3846
ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
...
SVN-Revision: 29553
2011-12-15 22:25:30 +00:00
Gabor Juhos
0540970345
ar71xx: ag71xx: setup switch interface mode on AR934X
...
SVN-Revision: 29552
2011-12-15 22:25:29 +00:00
Gabor Juhos
44014110b8
ar71xx: ag71xx: detect the built-in switch of the AR934X SoCs
...
SVN-Revision: 29551
2011-12-15 22:25:28 +00:00
Gabor Juhos
e2a546d475
ar71xx: allow to attach the internal switch for AR934x
...
SVN-Revision: 29550
2011-12-15 22:25:22 +00:00
Gabor Juhos
9ae65588d8
ar71xx: introduce ar71xx_switch_data
...
SVN-Revision: 29549
2011-12-15 22:25:11 +00:00
Gabor Juhos
bfe747b7d9
ar71xx: build images for TL-WR741N/ND v2
...
SVN-Revision: 29548
2011-12-15 22:03:48 +00:00
Gabor Juhos
aefff26624
ar71x: use raw squashfs images for TP-Link boards
...
SVN-Revision: 29547
2011-12-15 22:03:46 +00:00
Gabor Juhos
d5bd28ffae
ar71xx: create a template for using unpadded squashfs images
...
SVN-Revision: 29546
2011-12-15 22:03:45 +00:00
Gabor Juhos
dbc4fa4b5b
ar71xx: put squash image right after the kernel on TP-Link boards
...
SVN-Revision: 29545
2011-12-15 22:03:44 +00:00
Gabor Juhos
850be54b72
ar71xx: tplinkpart: allow to detect JFFS2 as well
...
SVN-Revision: 29543
2011-12-15 22:03:40 +00:00
Gabor Juhos
b7d7481b07
ar71xx: ag71xx: check PHY IDs before accessing the switch registers
...
SVN-Revision: 29541
2011-12-15 13:25:23 +00:00
Gabor Juhos
0655552860
ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
...
SVN-Revision: 29540
2011-12-15 13:25:21 +00:00
Gabor Juhos
204fc6bed5
ar71xx: ag71xx: nuke ar7240sw_init
...
SVN-Revision: 29539
2011-12-15 13:25:20 +00:00
Gabor Juhos
d1f7783612
ar71xx: fix mac addresses on jjPlus devices
...
SVN-Revision: 29538
2011-12-15 13:25:18 +00:00
Gabor Juhos
d3058b8f8c
ar71xx: build image for the Hornet-UB board
...
SVN-Revision: 29536
2011-12-14 20:54:11 +00:00
Gabor Juhos
b9c5cb5c9a
ar71xx: add support for ALFA Network's Hornet-UB board
...
SVN-Revision: 29535
2011-12-14 20:54:10 +00:00
Gabor Juhos
66c8cc0f6d
ar71xx: add GPIO function bit defines for AR933X
...
SVN-Revision: 29534
2011-12-14 20:54:07 +00:00
Felix Fietkau
7076d74b21
ar71xx: fix gpio count for ar7241/ar7242
...
SVN-Revision: 29532
2011-12-14 20:47:24 +00:00
Felix Fietkau
b878f4a927
ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
...
SVN-Revision: 29531
2011-12-14 20:21:42 +00:00
Gabor Juhos
d2717d3d47
ar71xx: get rid of squashfs-4k images
...
SVN-Revision: 29522
2011-12-13 20:41:24 +00:00
Felix Fietkau
4a441570ca
kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets
...
SVN-Revision: 29516
2011-12-13 15:14:59 +00:00
Felix Fietkau
3806671fe5
ar71xx: fix wireless led on wzr-hp-g450h
...
SVN-Revision: 29515
2011-12-13 15:00:43 +00:00
Gabor Juhos
2dd7dfb1c9
ar71xx: enable AR9341 support at setup.c
...
Patch-by: dyq <729650915@qq.com>
SVN-Revision: 29514
2011-12-13 14:59:43 +00:00
Gabor Juhos
058998acdb
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>
SVN-Revision: 29513
2011-12-13 14:59:40 +00:00
Felix Fietkau
48f9717371
ar71xx: add gpios and usb for wzr-hp-g450h
...
SVN-Revision: 29509
2011-12-13 13:33:44 +00:00
Gabor Juhos
4ca2d86493
ar71xx: use RedBoot parser on PB44
...
SVN-Revision: 29501
2011-12-11 15:52:47 +00:00
Gabor Juhos
6e69765559
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>
SVN-Revision: 29473
2011-12-07 06:55:50 +00:00
Gabor Juhos
8eb8a6e1e7
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>
SVN-Revision: 29472
2011-12-07 06:55:39 +00:00
Gabor Juhos
c6b2b98812
ar71xx: create firmware image for the TL-WR740N/ND v4 boards
...
Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com>
SVN-Revision: 29468
2011-12-06 16:26:44 +00:00
Gabor Juhos
fbfad4e9b4
ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
...
SVN-Revision: 29467
2011-12-06 16:26:43 +00:00
Gabor Juhos
d753e08c79
ar71xx: fix TL-MR3x20 profile names in image/Makefile
...
SVN-Revision: 29463
2011-12-06 13:53:21 +00:00
Gabor Juhos
62d8009cdd
ar71xx: cleanup TP-Link profiles
...
SVN-Revision: 29461
2011-12-06 10:29:25 +00:00
Gabor Juhos
f7a482d382
ar71xx: add TP-Link board detection
...
SVN-Revision: 29459
2011-12-05 21:11:01 +00:00
Gabor Juhos
bdc2eca7de
ar71xx: use correct mac on the lan interface on several TP-LINK devices
...
SVN-Revision: 29458
2011-12-05 21:10:58 +00:00
Gabor Juhos
0103069372
ar71xx: allow to pass negative offset values for ar71xx_init_mac
...
SVN-Revision: 29457
2011-12-05 21:10:55 +00:00
Gabor Juhos
ada92aee62
ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
...
SVN-Revision: 29456
2011-12-05 18:21:15 +00:00
Gabor Juhos
c6bcf8d1d8
ar71xx: verify hardware id of firmware images on TP-Link boards
...
SVN-Revision: 29455
2011-12-05 18:11:51 +00:00
Gabor Juhos
4dc9092f4b
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.
SVN-Revision: 29447
2011-12-05 14:52:36 +00:00
Gabor Juhos
3e7a6d182a
ar71xx: check squashfs signature in TP-Link mtd parser
...
SVN-Revision: 29446
2011-12-05 14:52:33 +00:00
Gabor Juhos
feebf484ba
ar71xx: use the lzma-loader on TP-Link boards w/o lzma support
...
SVN-Revision: 29444
2011-12-05 14:52:28 +00:00
Gabor Juhos
d42968351f
ar71xx: add lzma loader
...
SVN-Revision: 29443
2011-12-05 14:52:25 +00:00
Felix Fietkau
1f809532de
ar71xx: add preliminary support for wzr-hp-g450h
...
SVN-Revision: 29441
2011-12-05 14:20:51 +00:00
Felix Fietkau
d1f63f8538
ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80.c, other buffalo routers use it as well
...
SVN-Revision: 29440
2011-12-05 14:20:44 +00:00
Gabor Juhos
4cc2b9bb06
ar71xx: rewrite WNDR3700/3800 handling
...
SVN-Revision: 29434
2011-12-05 13:03:54 +00:00
Jo-Philipp Wich
78699c2e51
add some missing wndr3800 base-files definitions
...
SVN-Revision: 29433
2011-12-05 12:56:21 +00:00
Gabor Juhos
5177814ade
ar71xx: change user-space board detection
...
SVN-Revision: 29432
2011-12-05 12:56:20 +00:00
Gabor Juhos
8a3a60fc64
ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too big
...
SVN-Revision: 29431
2011-12-05 12:47:53 +00:00
Gabor Juhos
7cfa39f032
ar71xx: use the tp-link parser on the tp-link boards
...
Also remove static partition maps.
SVN-Revision: 29416
2011-12-03 18:13:31 +00:00
Gabor Juhos
514b1167c9
ar71xx: add mtd partition parser for the TP-Link boards
...
SVN-Revision: 29415
2011-12-03 18:13:27 +00:00
Gabor Juhos
fc7fb29bae
ar71xx: run the RedBoot parser only on the RedBoot based boards
...
SVN-Revision: 29414
2011-12-03 18:13:25 +00:00
Gabor Juhos
9cc28d5aa0
ar71xx: run the MyLoader parser only on the WP543 board
...
SVN-Revision: 29413
2011-12-03 18:13:23 +00:00
Gabor Juhos
67a0b9aada
ar71xx: run the wrt160nl parser only on the WRT160NL board
...
Also remove static mtd partition definitions.
SVN-Revision: 29412
2011-12-03 18:13:20 +00:00
Gabor Juhos
c8acd6e013
ar71xx: allow to pass part_probe types to the m25p80 driver
...
SVN-Revision: 29411
2011-12-03 18:13:18 +00:00
Gabor Juhos
20483faed0
ar71xx: create initramfs images for the newer TP-Link boards
...
SVN-Revision: 29410
2011-12-03 16:57:23 +00:00
Gabor Juhos
9a2005e5e6
ar71xx: remove swconfig and wpad-mini from custom profiles
...
SVN-Revision: 29408
2011-12-03 16:33:41 +00:00
Gabor Juhos
bc1d818610
ar71xx: add uboot-envtools to the default package list
...
SVN-Revision: 29407
2011-12-03 16:33:40 +00:00
Gabor Juhos
a02a9c3f8b
ar71xx: reclaim unused space in WNDR3700/3800 images
...
Patch by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 29406
2011-12-03 16:33:38 +00:00
Gabor Juhos
ac82296c53
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>
SVN-Revision: 29397
2011-12-01 22:49:05 +00:00
Gabor Juhos
f188f1bad5
ar71xx: add support for Ubiquiti AirRouter
...
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>
SVN-Revision: 29395
2011-12-01 22:49:02 +00:00
Gabor Juhos
0612667c34
ar71xx: configure default led behavior for the OM2P
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
SVN-Revision: 29394
2011-12-01 22:48:59 +00:00
Gabor Juhos
39348e387f
ar71xx: use /lib/functions/uci-defaults.sh
...
SVN-Revision: 29385
2011-12-01 22:48:47 +00:00
Gabor Juhos
f20797306a
ar71xx: modify phy mask of the WP543 board
...
This fixes ethernet on newer boards. Based on a patch from #9702 .
SVN-Revision: 29328
2011-11-24 20:09:43 +00:00
Gabor Juhos
c20d7378e5
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>
SVN-Revision: 29326
2011-11-24 20:09:38 +00:00
Gabor Juhos
600b6efc41
ar71xx: copy atheros initramfs images to the image directory
...
SVN-Revision: 29325
2011-11-24 20:09:35 +00:00
Gabor Juhos
d97cf76790
ar71xx: specify mtd layout in command line for the DB120 board
...
SVN-Revision: 29324
2011-11-24 20:09:32 +00:00
Gabor Juhos
9990523a0f
ar71xx: set GE0 phy_mask for AR933x
...
SVN-Revision: 29274
2011-11-20 11:30:10 +00:00
Gabor Juhos
f27548448b
ar71xx: fix USB LED on the DB120 board
...
SVN-Revision: 29126
2011-11-14 17:43:15 +00:00
Gabor Juhos
6ebbb1329d
ar71xx: add a function for selecting output signal on a given GPIO pin
...
SVN-Revision: 29125
2011-11-14 17:43:14 +00:00
Gabor Juhos
0c1d3617d7
ar71xx: fix GPIO function handling on AR934x
...
SVN-Revision: 29124
2011-11-14 17:43:13 +00:00
Gabor Juhos
aa0c8c4885
ar71xx: add AR71XX_ prefix to GPIO_REG_* defines
...
SVN-Revision: 29123
2011-11-14 17:43:11 +00:00
Gabor Juhos
62a7795afd
ar71xx: merge nand scan patch
...
SVN-Revision: 29122
2011-11-14 17:43:10 +00:00
Gabor Juhos
12dae96097
ar71xx: fix a compiler warning
...
SVN-Revision: 29110
2011-11-14 13:07:47 +00:00
Gabor Juhos
5ae0fd802c
ar71xx: fix GPIO count for AR934x
...
SVN-Revision: 29109
2011-11-14 13:07:45 +00:00
Gabor Juhos
e52269364a
ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X
...
SVN-Revision: 29108
2011-11-14 11:49:53 +00:00
Gabor Juhos
3104d70552
ar71xx: use a dummy irq chip for WMAC and PCIe irq hadling
...
SVN-Revision: 29107
2011-11-14 11:49:51 +00:00
Gabor Juhos
42e8ae09b5
ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines
...
SVN-Revision: 29106
2011-11-14 11:49:49 +00:00
Gabor Juhos
c15caea360
ar71xx: add an irq parameter for ar724x_pcibios_init
...
SVN-Revision: 29105
2011-11-14 11:49:47 +00:00
Gabor Juhos
cf90b24bb9
ar71xx: remove hardwired interface parameters from mach-* files
...
SVN-Revision: 29103
2011-11-14 07:38:09 +00:00
Gabor Juhos
defc79cb40
ar71xx: force hardwired interface parameters in ar71xx_add_device_eth
...
SVN-Revision: 29102
2011-11-14 07:38:07 +00:00
Gabor Juhos
6f4bc1ce37
ar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth
...
SVN-Revision: 29101
2011-11-14 07:38:05 +00:00
Gabor Juhos
368bbc510b
ar71xx: enable has_gbit flag on AR724{0,1}
...
SVN-Revision: 29026
2011-11-13 17:36:36 +00:00
Gabor Juhos
15d7016c9f
ar71xx: fixup onboard PCIe chip registration on the DB120 board
...
SVN-Revision: 29022
2011-11-13 12:48:03 +00:00
Gabor Juhos
f623066e60
ar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed
...
SVN-Revision: 29021
2011-11-13 12:48:01 +00:00
Gabor Juhos
d2316b2a45
ar71xx: ag71xx: add support for getting switch port link status
...
SVN-Revision: 29017
2011-11-13 11:27:04 +00:00
Gabor Juhos
d0db89133c
ar71xx: remove mii_ctrl resources of the ethernet devices
...
SVN-Revision: 29016
2011-11-13 11:27:03 +00:00
Gabor Juhos
34015ed6e8
ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx
...
SVN-Revision: 29015
2011-11-13 11:27:01 +00:00
Gabor Juhos
2d882cff23
ar71xx: ag71xx: remove unused mii_cfg related functions and defines
...
SVN-Revision: 29014
2011-11-13 11:27:00 +00:00
Gabor Juhos
538a9493b9
ar71xx: set MII interface speed from the set_speed callbacks
...
SVN-Revision: 29013
2011-11-13 11:26:59 +00:00
Gabor Juhos
93cd46be13
ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
...
Also rename the corresponding callback functions.
SVN-Revision: 29012
2011-11-13 11:26:57 +00:00
Gabor Juhos
9579bb4267
ar71xx: ag71xx: remove MII interface setup code
...
SVN-Revision: 29011
2011-11-13 11:26:56 +00:00
Gabor Juhos
da64ce8603
ar71xx: configure MII interface type from ar71xx_setup_phy_if_mode
...
SVN-Revision: 29010
2011-11-13 11:26:54 +00:00
Gabor Juhos
0112153a0e
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.
SVN-Revision: 29009
2011-11-13 11:26:52 +00:00
Gabor Juhos
1afc76ea13
ar71xx: refresh kernel patches
...
SVN-Revision: 29008
2011-11-13 11:26:51 +00:00