Commit graph

2548 commits

Author SHA1 Message Date
Gabor Juhos
ccec78beaa ar71xx: ubnt unifi outdoor register gpio button
This patch register the gpio buttons for the Ubiquiti UniFi Outdoor.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37695
2013-08-05 09:09:37 +00:00
Felix Fietkau
8f04792531 kernel: update to linux 3.10.4, refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37617
2013-07-29 22:42:22 +00:00
Felix Fietkau
73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
2013-07-29 09:38:29 +00:00
Gabor Juhos
65584ed54f ar71xx: add profile and build image for the WNR612 v2 board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3876/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37577
2013-07-28 10:23:38 +00:00
Gabor Juhos
41d136f2c8 ar71xx: add user-space support for the WNR612 v2 board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3876/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37576
2013-07-28 10:23:37 +00:00
Gabor Juhos
6d8163505e ar71xx: add kernel support for the Netgear WNR612 v2 board
Netgear WNR612 v2:
 - cpu Atheros AR7240 (Python) @400MHz
 - flash 4MB
 - ram 32MB
 - ethernet 10/100: 1xwan + 2xlan (only two)
 - radio AR9285

[juhosg: use a separate kernel patch]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3876/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37575
2013-07-28 10:23:36 +00:00
Gabor Juhos
ede1587ed8 ar71xx: add profile and build image for the TL-WR710N board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3873/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37574
2013-07-28 10:23:34 +00:00
Gabor Juhos
5f5257e234 ar71xx: add user-space support for the TL-WR710N board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3873/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37573
2013-07-28 10:23:33 +00:00
Gabor Juhos
c5029c2ebf ar71xx: add kernel support for the TP-LINK TL-WR710N v1 board
Small router sold in EU: AR9330@400MHz, 1x USB2.0,
2x ethernet, 8MB flash, 32MB ram, one led, one button.

See: http://galeria.tech-blog.pl/TP-Link_TL-WR710N-EU/

[juhosg: use a separate kernel patch]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3873/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37572
2013-07-28 10:23:32 +00:00
Gabor Juhos
af1dd57a37 ar71xx: build image for the MERCURY MW4530R board
Mercury MW4530R is a TP-Link TL-WDR4310 clone but
with a much lower price tag (~ $40). This patch
is tested to work at trunk r37525.

Signed-off-by: Leon Xu <ylxu72@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3856/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37571
2013-07-28 10:23:31 +00:00
Gabor Juhos
8b6f392b72 ar71xx: add model detection for the MERCURY MW4530R board
Mercury MW4530R is a TP-Link TL-WDR4310 clone but
with a much lower price tag (~ $40). This patch
is tested to work at trunk r37525.

Signed-off-by: Leon Xu <ylxu72@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3856/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37570
2013-07-28 10:23:29 +00:00
Gabor Juhos
b49dc036e8 ar71xx: TEW632BRP has buttons 'active low', fix board config
Looks like trunk@37090 has changed the logic that determines
if router's button was pressed. This resulted in TEW632BRP
always booting into failsafe mode because it detected pressed
button (which was not pressed).

Measure with voltmeter has shown that buttons on this router
are actually active-low. This patch reflects this fact in
board configuration and fixes 'load info failsafe mode' issue.

Note: it looks like Trendnet TEW632BRP and a close relative
to TEW-652BRP V1.0 and D-Link DIR-615C1, so same problem may
exist on those routers as well. This patch doesn't affect
routers other than 632BRP and unfortunately I do not have
hardware to test this issue with other routers.

This patch fixes #13893 and is tested on actuall Trendnet
TEW632BRP.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37569
2013-07-28 10:23:22 +00:00
Gabor Juhos
f093cda481 ar71xx: add profile and fixup image generation for the TL-MR10U board
Create a separate board profile and update the profile
name in image/makefile. Also use the correct machtype
string in kernel command line.

Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37550
2013-07-26 07:32:01 +00:00
Gabor Juhos
f4d5ecdb9f ar71xx: add user-space support for the TL-MR10U board
Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37548
2013-07-26 07:31:59 +00:00
Gabor Juhos
ec7fe3fab7 ar71xx: add kernel support for the TL-MR10U board
Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

[juhosg: extend WR703N code to handle the TL-MR10U
instead of adding a separate mach-tl-mr10u file]]

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37547
2013-07-26 07:31:57 +00:00
Gabor Juhos
e9688455f6 kernel: update 3.10 to 3.10.3
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37546
2013-07-26 07:19:58 +00:00
Gabor Juhos
ea55883a51 ar71xx: fix switch port map for the Archer C7
The correct port number for the WAN port is 1.
Update the VLAN port maps to reflect that.

https://forum.openwrt.org/viewtopic.php?pid=203755#p203755

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37507
2013-07-22 16:02:13 +00:00
Gabor Juhos
ef944dcb85 kernel: update 3.10 to 3.10.2
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37502
2013-07-22 15:31:13 +00:00
Gabor Juhos
205f7248ae Revert "ar71xx: override cpu_has_mmips feature"
This reverts r37477. A generic patch is used to fix
this globally, so revert the ar71xx specific change.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37480
2013-07-20 10:14:08 +00:00
Gabor Juhos
2d8fd8b58c ar71xx: override cpu_has_mmips feature
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37477
2013-07-20 09:40:32 +00:00
Gabor Juhos
8a6575cf53 ar71xx: use mtd_get_part_size helper
Drop the local get_mtd_part_size implementation and use
the equivalent function provided by lib/functions.sh.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37476
2013-07-20 09:26:57 +00:00
Gabor Juhos
4a9d4271d0 ar71xx: build image for the TP-LINK TL-WR941N v6 board
TL-WR941N v6 use almost same IC as WDR3500.

[juhosg: change subject, and change fw layout from 4M to 4Mlzma]

Patchwork: http://patchwork.openwrt.org/patch/3719/
Signed-off-by: ShuYu Wang <andelf@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37471
2013-07-20 08:54:45 +00:00
Jonas Gorski
b1b4e7db13 kernel: move CONFIG_NET_IP_TUNNEL to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37465
2013-07-19 22:58:01 +00:00
Felix Fietkau
8b92613b6c ar71xx: fix uimage split for ew-dorin
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37350
2013-07-15 16:59:58 +00:00
Felix Fietkau
c77eca3108 ar71xx: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37349
2013-07-15 15:12:41 +00:00
Luka Perkov
9e3eee974b ar71xx: remove patches for 3.8 (leftover after r37315)
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37324
2013-07-14 22:57:47 +00:00
John Crispin
3d15bc6fb2 ar71xx: fix maximum watchdog timeout
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37315
2013-07-14 18:01:09 +00:00
Felix Fietkau
eb0a44917e ar71xx: update to 3.10.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37310
2013-07-14 17:29:56 +00:00
Felix Fietkau
936683b2de ar71xx: use uimage split for WHR-HP-G300N
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37303
2013-07-14 14:06:01 +00:00
Felix Fietkau
342946d858 ar71xx: use uimage split for dlrtdev
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37302
2013-07-14 14:05:57 +00:00
Felix Fietkau
594797cdd5 ar71xx: use uimage split for Allnet devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37301
2013-07-14 14:05:53 +00:00
Felix Fietkau
e5b7a20bea ar71xx: use uimage split for Cameo devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37300
2013-07-14 14:05:50 +00:00
Felix Fietkau
4fc17e4d08 ar71xx: use uimage split for DIR-825B1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37299
2013-07-14 14:05:46 +00:00
Felix Fietkau
c263993197 ar71xx: use uimage split for Embedded Wireless Dorin
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37298
2013-07-14 14:05:42 +00:00
Felix Fietkau
083b0a06a3 ar71xx: use uimage split for Ubiquiti XM devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37297
2013-07-14 14:05:39 +00:00
Felix Fietkau
6702955857 ar71xx: increase kernel size for wndr3700 based devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37296
2013-07-14 14:05:35 +00:00
Felix Fietkau
25d910a78f ar71xx: use uimage split for WZR-HP-G300NH2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37295
2013-07-14 14:05:31 +00:00
Felix Fietkau
6bff456212 ar71xx: enable uimage split for wzr-hp-ag300h/wzr-600dhp
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37294
2013-07-14 14:05:27 +00:00
Felix Fietkau
fbde376c53 ar71xx: use uimage split for WZR-HP-G300NH
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37293
2013-07-14 14:05:23 +00:00
Felix Fietkau
a7c5f6708b ar71xx: use uimage split for WZR-HP-G450H
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37292
2013-07-14 14:05:19 +00:00
Felix Fietkau
ab5e21a9a5 ar71xx: enable uimage split and use it for carambola2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37291
2013-07-14 14:05:16 +00:00
Felix Fietkau
8d5d96e833 ar71xx: remove linux 3.8
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37290
2013-07-14 14:05:12 +00:00
Felix Fietkau
d1238718c2 ar71xx: move the watchdog driver to the kernel
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37289
2013-07-14 14:05:08 +00:00
Felix Fietkau
8cf868e1a6 ar71xx: set linux 3.10 as default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37288
2013-07-14 14:05:04 +00:00
Felix Fietkau
9b9c6facfc ar71xx: fix ar933x watchdog clock (#13866)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37273
2013-07-13 22:29:53 +00:00
John Crispin
39531131a9 ar71xx: add carambola2 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37260
2013-07-11 21:16:53 +00:00
John Crispin
2d854d022c ar71xx: set priority of ath79_wdt to 1
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37251
2013-07-11 17:01:08 +00:00
Florian Fainelli
8149689393 ar71xx: fix TPLINK/TPLINKOLD initramfs images typos
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37237
2013-07-10 21:28:34 +00:00
Florian Fainelli
9e40952c92 ar71xx: fix Netgear initramfs images
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37230
2013-07-10 17:18:03 +00:00
Florian Fainelli
399283f875 ar71xx: fix some more issues with initramfs images
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37229
2013-07-10 15:22:47 +00:00
Felix Fietkau
eb2e09c5e9 ar71xx: make implicit alignment in struct pptp_addr explicit to fix ABI breakage caused by the unaligned access hacks patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37223
2013-07-10 11:33:43 +00:00
Felix Fietkau
64dde7d981 ar71xx: add linux 3.10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37214
2013-07-09 12:52:18 +00:00
Gabor Juhos
e61a77a05c ar71xx: disable JTAG on TL-WR841N-v8/MR3420v2
It also fixes USB Power on MR3420v2.

Signed-off-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37194
2013-07-08 08:40:21 +00:00
Gabor Juhos
446a962481 ar71xx: fix partition layout on Netgear WNDAP360
Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37193
2013-07-08 08:40:20 +00:00
Gabor Juhos
ca02639d17 ar71xx: fix for wrong eth0 mac assignment on Netgear WNDAP360
Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37192
2013-07-08 08:40:18 +00:00
Luka Perkov
ecfb0c6de6 ar71xx: merge patches [611-*,621-*] into 610-*
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37176
2013-07-04 23:31:39 +00:00
Luka Perkov
1f546910cb ar71xx: Buffalo WZR-HP-AG300H (600DHP) enable PCI
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37167
2013-07-04 13:45:29 +00:00
Luka Perkov
7b6e3df6ab ar71xx: $(KDIR_TMP) must be present before starting initramfs build
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37155
2013-07-04 12:48:52 +00:00
Luka Perkov
c9926f77b4 ar71xx: Buffalo WZR-HP-AG300H (600DHP) change button type
switch buttons should be declared as switch so the failsafe shell is not
triggered by accident in procd

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37131
2013-07-02 10:45:32 +00:00
Florian Fainelli
c627ae768e ar71xx: only invoke Initramfs building when enabled
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37129
2013-07-02 10:43:31 +00:00
Florian Fainelli
460233fa2a ar71xx: fix initramfs images generation after r37049
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37120
2013-07-01 15:37:25 +00:00
Florian Fainelli
6a4f2922f6 targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37049
2013-06-27 19:58:31 +00:00
John Crispin
67f5f188b1 base-files: input/button drivers get loaded before preinit by procd
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37000
2013-06-21 16:53:47 +00:00
John Crispin
e6ef318802 base-files: diag does not need to insmod any drivers, procd already did it for us
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36999
2013-06-21 16:53:43 +00:00
John Crispin
2be717560a ar71xx: drop procd_init console hack
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36992
2013-06-21 16:53:11 +00:00
Felix Fietkau
ab529a529b ar71xx: disable routerboard support in the generic subtarget, enable it for the nand subtarget only
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36879
2013-06-07 13:42:50 +00:00
Gabor Juhos
5bb2e8030d ar71xx: add support for WIFI button on tp-link tl-mr3220v2
The TP-LINK TL-MR3220 v2 has a button on the left side
labeled "WIFI". This is GPIO 24. This patch adds the
support for this button.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36848
2013-06-04 13:25:54 +00:00
Gabor Juhos
da66ea52ec ar71xx: register USB port for RB2011U* devices
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36801
2013-05-30 17:38:31 +00:00
Gabor Juhos
23bcceb058 ar71xx: create a separated network interface for the RB2011UAS SFP port
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36800
2013-05-30 17:38:30 +00:00
Gabor Juhos
151dca0935 ar71xx: make the SFP port usable on RB2011*S boards
The port 6 of the switch is connected to the SFP
cage on the RB2011*S boards. Add a helper function
to correctly initialize the switch configuration
data on those boards to make the SFP port usable.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36799
2013-05-30 17:38:28 +00:00
Gabor Juhos
3467b17e69 ar71xx: rb2011: add switch led control values
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36796
2013-05-30 17:38:21 +00:00
Gabor Juhos
4cf6e53ccc ar71xx: rb2011: update RGMII RX/TX delay values
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36795
2013-05-30 17:38:20 +00:00
Gabor Juhos
6da63a8793 ar71xx: rb2011: move NAND nCE init to rb2011_nand_init
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36794
2013-05-30 17:38:17 +00:00
Gabor Juhos
50c59c4797 ar71xx: add user-space support for RB2011UAS
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36793
2013-05-30 17:38:15 +00:00
Gabor Juhos
d6554bf66a ar71xx: add kernel support for the RB2011UAS
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36792
2013-05-30 17:38:13 +00:00
Gabor Juhos
d19dae6e2d ar71xx: add profile and build image for the Archer C7 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36790
2013-05-30 16:23:10 +00:00
Gabor Juhos
35b5b38316 ar71xx: add user-space support for TP-LINK Archer C7 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36789
2013-05-30 16:23:09 +00:00
Gabor Juhos
91d7c3efc1 ar71xx: add kernel support for the TP-LINK Archer C7 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36788
2013-05-30 16:23:07 +00:00
Gabor Juhos
f02765086d ar71xx: add USB workarounds for AR934x/QCA955x SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36787
2013-05-30 16:23:06 +00:00
Gabor Juhos
6ff976a87a ar71xx: add profile and build image for the DIR-601-B1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36786
2013-05-30 16:19:30 +00:00
Gabor Juhos
424c4c0b0a ar71xx: allow to build CameoHornet images for multiple regions
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36785
2013-05-30 16:19:29 +00:00
Gabor Juhos
184dd34b6d ar71xx: allow to override fw version in CameoHornet profile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36784
2013-05-30 16:19:28 +00:00
Gabor Juhos
c4d0a49348 ar71xx: typo in detect TL-MR10U/TL-MR11U
At offset 0x40, signature for TL-MR10U/TL-MR11U begin
from 0x00, not 0x10/0x11.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36727
2013-05-26 16:38:00 +00:00
Gabor Juhos
cc7bedf8a3 ar71xx: fix TL-MR10U usb power
MR10U is closer to MR3040 than WR703N. This changes also
enable USB power on GPIO18.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36726
2013-05-26 16:37:59 +00:00
Gabor Juhos
46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
2013-05-26 16:02:31 +00:00
Gabor Juhos
93ce462b7e ar71xx: set eth0 mac address to match bottom label of the OM2P LC
Signed-off-by: marek@open-mesh.com
CC: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36723
2013-05-26 16:02:29 +00:00
Gabor Juhos
0842478e44 ar71xx: add TP-LINK TL-MR10U
Small router with 4MB flash, 32MB RAM
http://www.tp-link.com.cn/product_300.html

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36722
2013-05-26 16:02:26 +00:00
Felix Fietkau
fe7e52e4a4 ar71xx: disable jffs2 by default, it confuses users since many devices have incompatible eraseblock sizes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36679
2013-05-21 09:45:46 +00:00
Felix Fietkau
56478636aa ar71xx: remove the xfrm.h chunk from the unaligned access hacks, it breaks ipsec
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36646
2013-05-17 07:31:00 +00:00
Felix Fietkau
144cfb65a4 ar71xx: add hard_cfg offset detection for rb2011 support - fixes wlan on some newer devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36631
2013-05-13 19:13:33 +00:00
Jonas Gorski
526aedb705 kernel: move CONFIG_MIPS_SEAD3 to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36617
2013-05-12 21:41:55 +00:00
Felix Fietkau
0be8dd36dc ar71xx: set mips16 support, tune cflags for 34kc (works well on MIPS 24K as well, but helps a lot for 34K and 74K)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36600
2013-05-09 23:32:46 +00:00
Gabor Juhos
cb3d71ca8e ar71xx: use combined kernel image in the CameoHornet template
This allow us to increase the kernel partition size,
and ensures, that the -factory image still usable via
the original interface.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36584
2013-05-08 17:11:10 +00:00
Gabor Juhos
f938a798f8 ar71xx: add profile and build image for the RNX-N360RT board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36582
2013-05-08 17:07:19 +00:00
Gabor Juhos
852b8e9490 ar71xx: add user-space model detection for the RNX-N360RT board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36581
2013-05-08 17:07:18 +00:00
Gabor Juhos
c70694e755 ar71xx: add profile and build image for Netgear WNDAP360
[juhosg: this has been created from the following patch:
http://patchwork.openwrt.org/patch/3620/ ]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36580
2013-05-08 17:03:43 +00:00
Gabor Juhos
33a2cbfd5c ar71xx: add user-space support for Netgear WNDAP360
[juhosg: this has been created from the following patch:
http://patchwork.openwrt.org/patch/3620/ ]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36579
2013-05-08 17:03:42 +00:00
Gabor Juhos
10b3ca5ccb ar71xx: add kernel support for Netgear WNDAP360
Here is corrected version (only thing not working are wifi LEDs).

[juhosg: this has been created from the following patch:
http://patchwork.openwrt.org/patch/3620/ ]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36578
2013-05-08 17:03:34 +00:00
Gabor Juhos
e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
2013-05-08 08:53:53 +00:00
Gabor Juhos
d09ba5ef10 ar71xx: Fix AP135 partition layout
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36575
2013-05-08 08:53:49 +00:00
Gabor Juhos
ccf95fe938 ar71xx: Fix AP135 PCI
AP135 has a pluggable PCIE slot unlike AP136.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36541
2013-05-03 19:00:58 +00:00
Felix Fietkau
18c588a570 ar71xx: add an external reset callback for ar913x and use it in ath9k - should reduce the frequency of DMA stop failures
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36530
2013-05-03 09:12:19 +00:00
Gabor Juhos
8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
2013-05-01 22:15:18 +00:00
Gabor Juhos
0ae43dbe9d ar71xx: rename WNR2000v3 support patch
Update the numbering of kernel patch for supporting
Netgear WNR2000v3 from 617 to 618.

Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36498
2013-04-30 10:44:11 +00:00
Gabor Juhos
f718179af5 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36493
2013-04-30 10:43:59 +00:00
Gabor Juhos
7c2632fbc5 ar71xx: add user-space support for WNR2000v3
Signed-off-by: Mathieu Olivari <mathieu.olivari@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36461
2013-04-26 17:00:54 +00:00
Gabor Juhos
b29b7b65ea ar71xx: add profile and build image for WNR2000v3
Signed-off-by: Mathieu Olivari <mathieu.olivari@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36460
2013-04-26 17:00:53 +00:00
Gabor Juhos
9b3c0d11a2 ar71xx: Add Netgear WNR2000v3 support
Network connectivity works fine (LAN and WAN).
For GPIOs, only pwr led and the green wan leds are supported for now.

Signed-off-by: Mathieu Olivari <mathieu.olivari@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36459
2013-04-26 17:00:52 +00:00
Gabor Juhos
183e2af1c7 ar71xx: add profile and build image for the TL-WR720N v3 board
Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36458
2013-04-26 17:00:50 +00:00
Gabor Juhos
7c4e2c1f72 ar71xx: add user-space support for the TL-WR720N v3 board
Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36457
2013-04-26 17:00:49 +00:00
Gabor Juhos
5c11773f8a ar71xx: add kernel support for TPLINK WR720N v3
Add support for TPLINK WR720N v3 which has 4MB flash,
32MB ram, 2 ethernet interfaces, 1 USB 2.0 port.

The patch is mostly a modification from mach-tl-wr703n.c.
GPIO numbers for the slider switch is from mach-tl-mr3020n.c.

Tested on my device and they worked fine.

Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36456
2013-04-26 17:00:48 +00:00
Gabor Juhos
36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
2013-04-26 16:55:42 +00:00
Steven Barth
4e8f7f37ed Change default IPv6 config to enable DHCPv6-PD
SVN-Revision: 36384
2013-04-22 19:40:16 +00:00
Felix Fietkau
cd35ea2174 ar71xx: merge more unaligned access hacks from cerowrt-next
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36374
2013-04-22 12:53:21 +00:00
Gabor Juhos
151cadfe32 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36363
2013-04-19 08:07:34 +00:00
Gabor Juhos
604395650a kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
2013-04-14 09:25:53 +00:00
Steven Barth
ea94d66b0f Adapt default network configuration for IPv6
SVN-Revision: 36278
2013-04-09 08:03:08 +00:00
Gabor Juhos
f78c902cfd kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36215
2013-04-06 11:40:44 +00:00
Gabor Juhos
f7da2127ab ar71xx: fix ethernet LEDs on the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36122
2013-03-25 06:40:03 +00:00
Gabor Juhos
39c132d154 ar71xx: add GPIO output select values for AR934x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36121
2013-03-25 06:40:00 +00:00
Gabor Juhos
849201b1d8 ar71xx: add default LED configuration for the WL-WRD3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36120
2013-03-24 21:07:21 +00:00
Gabor Juhos
cd5cca4ba8 ar71xx: fix USB power GPIO on the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36119
2013-03-24 19:23:47 +00:00
Gabor Juhos
4daefc9480 ar71xx: remove numeric suffix of the TL-WDR3500 USB LED
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36118
2013-03-24 19:23:45 +00:00
Gabor Juhos
a4a2a7189f ar71xx: add diag support for the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36117
2013-03-24 19:23:43 +00:00
Gabor Juhos
38c991311b ar71xx: add default switch configuration for the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36116
2013-03-24 19:23:36 +00:00
Gabor Juhos
07532dca7f kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36039
2013-03-15 14:39:51 +00:00
Gabor Juhos
d614f8a880 ar71xx: build images for the TL-MR11U v2
[juhosg: use different profile name for v1 and v2, and add
multi profile to build for both versions]

Signed-off-by: Guilhem Lettron <guilhem@lettron.fr>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36038
2013-03-15 14:35:52 +00:00
Gabor Juhos
35d41db979 ar71xx: rw2458n - Use eeprom (art) from wifi card
Use eeprom (art) from included wifi card, not hard coded in flash.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36037
2013-03-15 14:35:50 +00:00
Gabor Juhos
8deffcba7e ar71xx: Error fix in Kernel for MR3420v2 Ethernet Switch configuration
Error in using another MDIO (AP123 platform using only one GE1 device
for eth0 and eth1) for the router mr3420v2.
?onfirmed: https://forum.openwrt.org/viewtopic.php?pid=194779#p194779

Routers in this sense are the same and the only difference is: USB
port, USB led, instead of the GPIO-switch we have GPIO-button.

Signed-off-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36036
2013-03-15 14:35:48 +00:00
John Crispin
043d56b646 make sure the console works when using procd as our pid 1
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36000
2013-03-13 18:11:00 +00:00
John Crispin
fad5f5700e make sure errors get sent to /dev/null
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 35987
2013-03-12 13:52:33 +00:00
Gabor Juhos
14ca5fc98b ar71xx: om2p-hs: use correct bit mask to disable JTAG functionality
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35966
2013-03-11 19:52:54 +00:00
Gabor Juhos
72fc0c1906 ar71xx: add AR934X_GPIO_FUNC_* defines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35965
2013-03-11 19:52:51 +00:00
Gabor Juhos
44cc1507e9 ar71xx: makefile changes to build image for MR3420v2
Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3440/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35964
2013-03-11 15:55:25 +00:00
Gabor Juhos
2998abab7c ar71xx: add user-space support for MR3420v2
Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3442/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35962
2013-03-11 15:55:22 +00:00
Gabor Juhos
902dd27383 ar71xx: add kernel support for MR3420v2
[juhosg: use gpio_request_one to enable the USB power]

Patch-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@opewrt.org>

SVN-Revision: 35961
2013-03-11 15:55:20 +00:00
Gabor Juhos
5c5e1c0a9d ar71xx: enabling control GPIO14 and GPIO15 on MR3040/MR11U
LAN1 and LAN2 LEDs not present (it pulled to ground via
resistors) on MR3040 and MR11U devices. This little patch
enabling ability to control GPIO14 and GPIO15.

Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3439/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35960
2013-03-11 15:55:19 +00:00
Gabor Juhos
257bfc21af ar71xx: add profile support for dir-835-a1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3427/mbox/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35959
2013-03-11 15:55:17 +00:00
Gabor Juhos
3fa3cbae7c ar71xx: add user space support for dir-835-a1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3425/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35958
2013-03-11 15:55:15 +00:00
Gabor Juhos
a7525f5f5d ar71xx: add kernel support for dir-835-a1
[juhosg:
  - remove custom mdio bus info and platform data for ar8327, clear the
    .led_cfg field from dir835a1_setup instead,
  - remove arguments of dir835c1_generic_setup function, register the
    LEDs directly from the board specific setup instead]

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3426/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35957
2013-03-11 15:55:13 +00:00
Gabor Juhos
e8a5312bef ar71xx: correct board name to make LEDs work on RB750
Patch by: Denver A <denvera@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3419/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35919
2013-03-10 07:20:57 +00:00
Gabor Juhos
947bc9d36f ar71xx: add backported watchdog patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35879
2013-03-04 12:08:28 +00:00
Gabor Juhos
1d55249d7c ar71xx: use backported QCA955x patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35878
2013-03-04 11:48:15 +00:00
Gabor Juhos
64a9fe2894 ar71xx: use backported PCI patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35877
2013-03-04 11:48:08 +00:00
Gabor Juhos
12d49b5195 ar71xx: use backported MISC IRQ patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35876
2013-03-04 11:48:06 +00:00
Gabor Juhos
4c31b9f43e ar71xx: use backported GPIO patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35875
2013-03-04 11:48:04 +00:00
Luka Perkov
120028af99 ar71xx: enable building ramdisk images for WZRHPG30XNH board types
Signed-off-by: Luka Perkov <luka@openwrt.org>
Acked-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35874
2013-03-04 11:37:28 +00:00
Gabor Juhos
0ad50b0bec ar71xx: use backported SPI patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35873
2013-03-04 09:40:44 +00:00
Gabor Juhos
3ee484d54c ar71xx: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35870
2013-03-04 09:03:50 +00:00
Gabor Juhos
d5adb0dbdd ar71xx: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35869
2013-03-04 08:47:38 +00:00
Luka Perkov
a5ebfc79ba ar71xx: rework changes from r35840
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35865
2013-03-03 21:59:34 +00:00
Gabor Juhos
26fbc15a86 kernel: update linux 3.8 to 3.8.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35862
2013-03-03 13:58:52 +00:00
Gabor Juhos
23b3b3a194 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35860
2013-03-03 13:57:40 +00:00
Gabor Juhos
4491da2bd4 ar71xx: update MAC address assignment for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35855
2013-03-03 12:47:37 +00:00
Gabor Juhos
200aa6db83 ar71xx: fixes leds for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35854
2013-03-03 12:47:33 +00:00
Luka Perkov
107e0c6d1f ar71xx: add support for Buffalo WZR 600DHP
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 35840
2013-03-01 13:46:01 +00:00
Gabor Juhos
f7879cd8d8 ar71xx: add profile and build image fot the TL-WA830RE v1 board
Added support for the TP-LINK TL-WA830RE v1 Range Extender.
Based on the WA901ND v1 support. Hardware IDs checked against
original firmware. Patch was successfully tested on hardware.

Signed-off-by: Ronald Hecht <ronald.hecht@gmx.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35789
2013-02-25 20:37:35 +00:00
Gabor Juhos
ea71239d8a ar71xx: add model detection for the TL-WA830RE board
Signed-off-by: Ronald Hecht <ronald.hecht@gmx.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35788
2013-02-25 20:37:33 +00:00
Gabor Juhos
bcac3c5569 ar71xx: fix MAC address assignment on the DIR-825-Bx boards
Use the same MAC addresses as the original firmware.

Based on a patch from #10421.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Tested-by: Gabor Varga <vargagab@gmail.com>

SVN-Revision: 35730
2013-02-21 17:58:21 +00:00
Gabor Juhos
cf2324fd6b ar71xx: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35728
2013-02-21 17:47:15 +00:00
Jonas Gorski
b91eab631b ar71xx: print image build warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35719
2013-02-21 11:45:29 +00:00
Gabor Juhos
4341b11f3e ar71xx: remove __dev{init,exit} annotations from kernel files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35687
2013-02-19 20:52:06 +00:00
Gabor Juhos
f6691c09c1 ar71xx: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35650
2013-02-18 09:56:27 +00:00
Gabor Juhos
3f749d1e8e kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35644
2013-02-17 21:32:42 +00:00
Gabor Juhos
4215b1c93c ar71xx: add user-space support for the Mikrotik RB951G board
[juhosg: change rb-951g to rb-951g-2hnd in the scripts]

Patchwork: http://patchwork.openwrt.org/patch/3257/
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35634
2013-02-17 10:08:41 +00:00
Gabor Juhos
7a709573d7 ar71xx: add kernel support for the Mikrotik RB951G board
This is platform definition for the RB951G device. It's mostly rework
of RB2011UAS patchset with network taken from the RB751 patches.
The main difference is the flash layout used by this device.

[juhosg:
  - remove dead code from mach-rb951g
  - add "-2HnD" suffix to the machine name
  - use a separate 615-MIPS-ath79-RB951G-support.patch]

Patchwork: http://patchwork.openwrt.org/patch/3257/
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35633
2013-02-17 10:08:35 +00:00
Gabor Juhos
17c36f540c ar71xx: fix kmod-usb2 package name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35629
2013-02-16 17:33:06 +00:00
Gabor Juhos
162b8e23a5 kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35604
2013-02-15 07:36:15 +00:00
Gabor Juhos
7484006498 ar71xx: fix factory image creation for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35589
2013-02-13 16:36:26 +00:00
Gabor Juhos
5f10ec3c36 ar71xx: fix switch-config for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35588
2013-02-13 16:36:23 +00:00
Gabor Juhos
bae4bfe3f8 kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35571
2013-02-12 09:51:11 +00:00
Gabor Juhos
1f9ede9cfc ar71xx: add script for automatic switch name migration
Thanks to Jonas Gorski for the help.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35567
2013-02-11 21:41:16 +00:00
Felix Fietkau
2e7a4b088d ar71xx: allow unknown multicast frames to pass to the CPU on AR934x
SVN-Revision: 35564
2013-02-11 18:59:05 +00:00
Gabor Juhos
94806a13af ar71xx: use switchX names in network configuration
Accessing the AR8xxx switches via the name of the
attached ethernet device is not possible since
r35560. Change the uci-defaults script to use
switchX names in switch configurations.

Reported-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35561
2013-02-11 16:54:52 +00:00
Jonas Gorski
f07a33afc2 ar71xx: register the micro sd card reader on RB493G
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35535
2013-02-10 12:31:38 +00:00
Gabor Juhos
6ff973bdda ar71xx: Routerboard 751 Mac Address Offset Fix
We utilize many Routerboard 751's and discovered that our latest batch
of RB751's would not initialize the wireless radio. We have determined
Mikrotik has changed where the mac address was located inside hardconfig.
As such we utilize "routerboot_find_tag" to find the location of the mac
address. We should remove "RB751_MAC_ADDRESS_OFFSET" as it is ambiguous
by machine manufacturing date. The newer batch of RB751's that we received
had a RB751_MAC_ADDRESS_OFFSET 0x10.

Signed-off-by: Davey Hutchison <dhutchison@bluemesh.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35519
2013-02-08 09:34:53 +00:00
Gabor Juhos
08ff976720 kernel: update linux 3.7 to 3.7.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35476
2013-02-04 10:02:56 +00:00
Gabor Juhos
b1168e70d3 ar71xx: use backported PCI_MEM_SIZE patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35470
2013-02-02 18:17:58 +00:00
Gabor Juhos
b9b341f05a ar71xx: rename ar933x_uart patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35469
2013-02-02 18:17:53 +00:00
Gabor Juhos
7c87d28054 ar71xx: fixes whitespaces for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35455
2013-02-02 15:02:19 +00:00
Gabor Juhos
9a438b2271 ar71xx: build images for the TP-LINK TL-WR743ND v2
AR9331 based, these same as 741v4

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35449
2013-02-02 10:01:15 +00:00
Gabor Juhos
31af0dc186 ar71xx: fix mac address calculation on the OpenMesh MR600
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35446
2013-02-02 08:47:41 +00:00
Gabor Juhos
6805275fdc ar71xx: sysupgrade - fix OpenMesh MR600 total flash size
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35433
2013-02-01 15:50:54 +00:00
Gabor Juhos
979676ffcc ar71xx: add sysupgrade support for OpenMesh MR600v2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35430
2013-02-01 15:50:47 +00:00
Gabor Juhos
2af995ba1d ar71xx: add user-space support for OpenMesh MR600v2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35429
2013-02-01 15:50:45 +00:00
Gabor Juhos
8837d3a49b ar71xx: add kernel support for the OpenMesh MR600v2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35428
2013-02-01 15:50:42 +00:00
Gabor Juhos
150bb9d0b1 ar71xx: remove unused OpenMesh MR600 led definitions
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35427
2013-02-01 15:50:39 +00:00
Gabor Juhos
fe3db74276 ar71xx: remove unused OpenMesh MR6000 platform code
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35426
2013-02-01 15:50:37 +00:00
Gabor Juhos
492cbcdd6b ar71xx: build image for the TL-WDR3500 board
Based on http://patchwork.openwrt.org/patch/3208/

Thanks-to: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35425
2013-02-01 15:50:34 +00:00
Gabor Juhos
119dc460a3 ar71xx: add user-space support for TL-WDR3500 board
Based on http://patchwork.openwrt.org/patch/3208/

Thanks-to: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35424
2013-02-01 15:50:32 +00:00
Gabor Juhos
5bd02ca895 ar71xx: add kernel support for the TL-WDR3500 board
WDR3500 is similar to WDR3600 except it doesn't have gigabit ethernet,
and has only 1 USB port.

Pending issues:

  * Leds are not working at all (except power and wlan_5g)
  * LAN switch ethernet ports are reversed with respect to case label.

  [Label] -> soft device
  [LAN1] -> eth0.4
  [LAN2] -> eth0.3
  [LAN3] -> eth0.2
  [LAN4] -> eth0.1

Based on http://patchwork.openwrt.org/patch/3208/

Thanks-to: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35423
2013-02-01 15:50:29 +00:00
Gabor Juhos
f7ff677169 ar71xx: add profile and build image for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35403
2013-01-29 22:50:57 +00:00
Gabor Juhos
2a5193308f ar71xx: add user space support for dir-825-c1
[juhosg: fix whitespaces in some scripts]

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35402
2013-01-29 22:50:54 +00:00
Gabor Juhos
800da21cb1 ar71xx: add kernel support for dir-825-c1
[juhosg:
 - remove unused GPIO stuff
 - use a separate kernel patch for machine integration]

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35401
2013-01-29 22:50:50 +00:00
Gabor Juhos
da9a704e92 ar71xx: add profile and generate images for the AP132 board
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35397
2013-01-29 19:12:34 +00:00
Gabor Juhos
5d4ddbce72 ar71xx: add user-space support for the AP132 board
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35396
2013-01-29 19:12:32 +00:00
Gabor Juhos
5ca187570f ar71xx: add kernel support for Atheros AP132 Reference Board
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35395
2013-01-29 19:12:30 +00:00
Gabor Juhos
8a9d92f125 ar71xx: fix ethernet device registration for the QCA9556 SoC
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35394
2013-01-29 19:12:28 +00:00
Gabor Juhos
e9dbff1193 ar71xx: add kernel support for the QCA9556 SoC
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35393
2013-01-29 19:12:26 +00:00
Gabor Juhos
df15e5cd61 ar71xx: enable fast flash read on dual-flash devices
This improves flash read speed on various Buffalo units.

mtd_speedtest results on the WZR-HP-AG300H:

                          old         new        delta
eraseblock read speed:  726 KiB/s   2068 KiB/s   +184.85%
page read speed:        699 KiB/s   1973 KiB/s   +182.26%
2 page read speed:      711 KiB/s   2043 KiB/s   +187.34%

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35392
2013-01-29 19:12:25 +00:00
Gabor Juhos
562ba537fc kernel: update linux 3.7 to 3.7.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35390
2013-01-29 18:29:45 +00:00
Gabor Juhos
22ce389e6a ar71xx: add TP-LINK WA-801ND to run-time model detection
A small cosmetic fix to show the HW model name correctly in LuCI.

Patch-by: Amir Sagie <openwrt-devel@taproot.org.il>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35365
2013-01-29 09:40:29 +00:00
Felix Fietkau
ed7ca5d44e kernel: clean up crypto related kconfig options
SVN-Revision: 35327
2013-01-27 17:23:12 +00:00
Felix Fietkau
8a1091ad53 ar71xx: disable support for unsupported mtd configuration, saves about 5K kernel size after lzma
SVN-Revision: 35326
2013-01-27 16:38:27 +00:00
Felix Fietkau
8933b918cd kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips
in combination with kernel symbol export stripping this significantly reduces
the kernel image size

SVN-Revision: 35320
2013-01-26 16:26:13 +00:00
Gabor Juhos
15be1c9ee7 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35318
2013-01-24 17:08:37 +00:00
Felix Fietkau
8ce8960959 ar71xx: sync kernel sizes where possible to fix images for some devices (#12874)
SVN-Revision: 35309
2013-01-23 16:29:25 +00:00
Jo-Philipp Wich
3a2cccda2e all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
2013-01-18 12:42:53 +00:00
Gabor Juhos
0de21d9747 kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35216
2013-01-18 11:44:42 +00:00
Felix Fietkau
1474359bd3 ar71xx: fix unaligned access in cls_u32
SVN-Revision: 35132
2013-01-13 16:48:23 +00:00
Felix Fietkau
e67b6ee395 ar71xx: fix unaligned access in a few more places
SVN-Revision: 35130
2013-01-13 15:37:58 +00:00
Felix Fietkau
b5bcbdfbb5 ar71xx: improve unaligned access patches, add a net_hdr_word() macro which assumes 2-byte aligned access and generates better code than {get,put}_unaligned_cpu32
SVN-Revision: 35129
2013-01-13 14:54:39 +00:00
Felix Fietkau
53e0ba49b9 ar71xx: avoid __packed define in the unaligned access hack patch, make the ipv6 address struct also 2-byte-aligned/packed
SVN-Revision: 35127
2013-01-13 13:06:09 +00:00
Felix Fietkau
764520975c ar71xx: add more cpu feature overrides, slightly reduces kernel size
SVN-Revision: 35125
2013-01-13 11:33:48 +00:00
Felix Fietkau
310724c14d ar71xx: extend the unaligned access hacks to a few more places that showed up in the new kernel
SVN-Revision: 35124
2013-01-13 11:33:44 +00:00
Gabor Juhos
eb2188c0e2 ar71xx: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35114
2013-01-12 12:25:38 +00:00
Gabor Juhos
fe86bc9370 ar71xx: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35113
2013-01-12 12:25:36 +00:00
Gabor Juhos
ba4de984b9 ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on TL-WR703N/MR3020/MR3040/MR11U boards
The PHY_SWAP and PHY_ADDR_SWAP bits are initialized
differently by different versions of the bootloader.
This leads to broken ethernet connection with OpenWrt
on some boards.

Turn both SWAP bits OFF on these boards to make it
consistent regardless of the bootloader used.

Based on a patch by Michel Stempin <michel.stempin@wanadoo.fr>.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35037
2013-01-07 14:30:37 +00:00
Gabor Juhos
251e4608b0 ar71xx: add missing Makefile entry to the 74HC153 GPIO patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35035
2013-01-07 14:14:41 +00:00
Gabor Juhos
e1965a1d1a ar71xx: register the NAND flash controller device on the AP135/136 boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34946
2013-01-01 13:10:41 +00:00
Gabor Juhos
66efec6783 ar71xx: allow to register the NAND flash controller on the QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34945
2013-01-01 13:10:36 +00:00
Gabor Juhos
2c77e5d7b3 ar71xxx: allow to select ATH79_DEV_NFC for QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34944
2013-01-01 13:10:34 +00:00
Gabor Juhos
d8446d65fe ar71xxx: allow to build the ar934x_nfc driver for QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34943
2013-01-01 13:10:29 +00:00
Gabor Juhos
93c322cacc ar71xx: fix NAND controller base for QCA955x SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34942
2013-01-01 13:10:26 +00:00
Gabor Juhos
b57cc9a538 ar71xx: fold AP135 patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34941
2013-01-01 13:10:22 +00:00
Gabor Juhos
87271e9f28 ar71xx: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34920
2012-12-29 16:02:31 +00:00
Gabor Juhos
a3a6e0f039 ar71xx: Build the AP135 images
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34919
2012-12-29 16:02:28 +00:00
Gabor Juhos
dddf05bde2 ar71xx: Add userspace support for AP135
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34918
2012-12-29 16:02:27 +00:00
Gabor Juhos
1a379c5112 ar71xx: Add support for AP135
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34917
2012-12-29 16:02:24 +00:00
Gabor Juhos
c6580f64b8 ar71xx: use a backported patch to fix AR933x UART baud rate calculation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34915
2012-12-29 13:52:38 +00:00
Felix Fietkau
348dc70c8c ar71xx: change the unaligned access hack to assume an alignment of 2 bytes, slightly improves performance and code size
SVN-Revision: 34912
2012-12-28 21:30:24 +00:00
Felix Fietkau
41a039f464 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
SVN-Revision: 34909
2012-12-28 19:17:19 +00:00
Gabor Juhos
f5b1cba606 ar71xx: build image for the AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34886
2012-12-26 09:50:37 +00:00
Gabor Juhos
f3f05d86fe ar71xx: add user-space support for AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34885
2012-12-26 09:50:36 +00:00
Gabor Juhos
ed1889db33 ar71xx: add kernel support for the AP136-020 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34884
2012-12-26 09:50:34 +00:00
Gabor Juhos
c887a7fe4e ar71xx: rename AP136 to AP136-010
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34883
2012-12-26 09:50:31 +00:00
Gabor Juhos
f8b4dfd172 ar71xx: dynamically set AR8327's PAD configuration on AP136
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34882
2012-12-25 18:45:32 +00:00
Gabor Juhos
1dc2b6e8fa ar71xx: ag71xx: show PHY interface mode in dmesg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34880
2012-12-25 18:45:29 +00:00
Gabor Juhos
64d31e6c6b ar71xx: register the second ethernet interface on the AP136
Also fix the default network configuration
according to the new setup.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34854
2012-12-22 12:12:50 +00:00
Gabor Juhos
5dec87afef ar71xx: fix ethernet device registration for QCA9558
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34853
2012-12-22 12:12:48 +00:00
Gabor Juhos
84a7051cef ar71xx: rename QCA9558 ETH_CFG bit defines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34852
2012-12-22 12:12:46 +00:00
Gabor Juhos
4085a5773d ar71xx: fixup allowed PHY interface types for QCA9558
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34851
2012-12-22 12:12:44 +00:00
Gabor Juhos
f01a786825 ar71xx: don't assign any MII bus device on QCA9558 by default
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34850
2012-12-22 12:12:43 +00:00
Gabor Juhos
9edcd9d3a3 ar71xx: ag71xx: fix mii_bus_dev sanity check
The mii_bus device is not required if phy_mask is zero.
The driver will use a fixed connection if it is not
specified.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34849
2012-12-22 12:12:41 +00:00
Gabor Juhos
ad0f03d250 ar71xx: ag71xx: don't start/stop built-in switch w/o mii_bus_dev
Trying to do that causes a NULL pointer dereference:

CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 801d170c, ra == 801d18d4
Oops[#1]:
Cpu 0
$ 0   : 00000000 00000000 00000000 00000001
$ 4   : 00000000 802e6390 ffff8f45 00000001
$ 8   : 804b5360 ffffff80 802f93bc 00000000
$12   : 802f93e8 00000000 00000000 00000000
$16   : 8381aba0 8381aba0 00000000 00000000
$20   : 8295eff0 00000032 80000000 004101b8
$24   : 00000000 777265b0
$28   : 82936000 82937cf0 00420000 801d18d4
Hi    : 00000000
Lo    : 00000001
epc   : 801d170c ar7240sw_reset+0x1c/0x19c
    Tainted: G           O
ra    : 801d18d4 ag71xx_ar7240_start+0x28/0xc0
Status: 1100fc03    KERNEL EXL IE
Cause : 00800008
BadVA : 00000000
PrId  : 00019750 (MIPS 74Kc)
Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev
nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp
 ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK
iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport
xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tab
les ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O)
ath(O) mac80211(O) usbcore usb_common nls_base crc_ccitt cfg80211(O) c
ompat(O) arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash
crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button
_hotplug(O)
Process netifd (pid: 677, threadinfo=82936000, task=82cbe140, tls=77803750)
Stack : ffffffff 80087900 00000001 82937d74 8381aba0 8381aba0 00000000 00000000
        8295eff0 801d18d4 8295eff0 801fa4a4 00420000 80092158 00000002 8381aba0
        8381a800 00000000 00000080 801cf900 8027e720 00000000 00000000 8009223c
        8381a800 8381a82c 8027e720 00000000 00000000 7f9d14f0 00420000 801ec08c
        8381a800 801ebfb0 33000000 82937e30 00000001 8381a800 00001003 801ec348
        ...
Call Trace:
[<801d170c>] ar7240sw_reset+0x1c/0x19c
[<801d18d4>] ag71xx_ar7240_start+0x28/0xc0
[<801cf900>] ag71xx_open+0x1d0/0x258
[<801ec08c>] __dev_open+0xcc/0x130
[<801ec348>] __dev_change_flags+0xc0/0x160
[<801ec490>] dev_change_flags+0x20/0x6c
[<801ec5c8>] dev_ifsioc+0xec/0x348
[<801ecdb8>] dev_ioctl+0x594/0x67c
[<800ec00c>] do_vfs_ioctl+0x598/0x5ec
[<800ec0b0>] sys_ioctl+0x50/0x90
[<8006a3c4>] stack_done+0x20/0x40
Code: afbf0024  afb40020  afb10014 <8c910000> 00809021  24100104 24130704  8e440000  02002821

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34848
2012-12-22 12:12:40 +00:00
Gabor Juhos
a0b31f97bb generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34846
2012-12-22 12:12:35 +00:00
Gabor Juhos
e108cb91c0 ar71xx: rename fix-ar933x-reset patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34798
2012-12-20 14:13:16 +00:00
Mirko Vogt
e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
2012-12-19 16:07:50 +00:00
Gabor Juhos
5f82aa4d15 ar71xx: merge machine patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34783
2012-12-19 08:50:45 +00:00
Gabor Juhos
cf99770800 ar71xx: build image for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg: reorder MR3220 MultiProfile entry]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34782
2012-12-19 08:50:44 +00:00
Gabor Juhos
b1b7aa674e ar71xx: add user-space support for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg: add uci-defaults/network support]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34780
2012-12-19 08:50:41 +00:00
Gabor Juhos
0767605d17 ar71xx: add kernel support for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg:
 - remove custom LED and button arrays
 - use separate machine specific patch
 - update Kconfig]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34779
2012-12-19 08:50:35 +00:00
Gabor Juhos
149534f3ed ar71xx: image: add OpenMesh profile
It allows to build firmware images for all OpenMesh
products in one step.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34761
2012-12-18 15:16:05 +00:00
Gabor Juhos
44b9898251 kernel: update linux 3.6 to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34748
2012-12-18 14:41:16 +00:00
Gabor Juhos
fc0da6852e ar71xx: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34743
2012-12-17 22:28:09 +00:00
Gabor Juhos
61d715505c ar71xx: add profile and build image for UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34730
2012-12-17 12:28:21 +00:00
Gabor Juhos
abbd18776e ar71xx: add user-space support for UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34728
2012-12-17 12:28:11 +00:00
Gabor Juhos
ff3f28265f ar71xx: add kernel support for the UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34727
2012-12-17 12:28:02 +00:00
Gabor Juhos
2e2c88b625 ar71xx: reorder some patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34674
2012-12-14 07:16:56 +00:00
Gabor Juhos
34411a0cbd ar71xx: merge unifi outdoor patch into the ubnt-xm one
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34673
2012-12-14 07:16:50 +00:00
Gabor Juhos
d085aad288 ar71xx: add profile and build initramfs image for the WNDR4300
It is not yet possible to use the default squasfsh/jffs2 images
on NAND flashes, so only initramfs image is supported for now.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34650
2012-12-12 16:49:52 +00:00
Gabor Juhos
dcdfcb75f0 ar71xx: add user-space support for the NETGEAR WNDR4300
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34649
2012-12-12 16:49:51 +00:00
Gabor Juhos
bc82db7d78 ar71xx: add kernel support for the NETGEAR WNDR4300
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34647
2012-12-12 16:49:49 +00:00
Gabor Juhos
75b71f4a74 ar71xx: add ap91_pci_init_simple helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34646
2012-12-12 16:49:48 +00:00
Gabor Juhos
d7cebac243 ar71xx: add ath79_wmac_register_simple helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34645
2012-12-12 16:49:47 +00:00
Gabor Juhos
ec26814b0e ar71xx: refresh 3.3 patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34644
2012-12-12 16:49:46 +00:00
Gabor Juhos
cdfc300948 ar71xx: remove superfluous USB patches for 3.3
SVN-Revision: 34643
2012-12-12 16:49:43 +00:00
Gabor Juhos
2b378d11c8 kernel: update linux 3.6 to 3.6.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34639
2012-12-11 20:14:39 +00:00
Gabor Juhos
3cbc1a49e2 ar71xx: load ar934x_nfc driver earlier
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34589
2012-12-10 10:38:11 +00:00
Gabor Juhos
1f7ae58a2c ar71xx: ar934x_nfc: allow to control DMA data swap via platform data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34588
2012-12-10 10:38:07 +00:00
Gabor Juhos
2581173660 kernel: update linux 3.6 to 3.6.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34578
2012-12-08 15:01:33 +00:00
Gabor Juhos
47f9b2a110 ar71xx: TP-LINK also has a family TL-WDR
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34577
2012-12-07 19:10:57 +00:00
Gabor Juhos
d7ba2b4840 ar71xx: add profile and build image for TP-LINK TL-WA801N/ND
Patch-by: Amir Sagie <openwrt-devel@taproot.org.il>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34576
2012-12-07 19:10:56 +00:00
Gabor Juhos
4f5defdc3b ar71xx: switch to 3.6.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34414
2012-11-29 17:53:42 +00:00
Gabor Juhos
c2f018fca2 remove common symbols from 3.6 configs
The removed symbols are present in the generic configuration.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34404
2012-11-29 15:21:41 +00:00
Gabor Juhos
1f516235ea remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34403
2012-11-29 15:21:35 +00:00
Gabor Juhos
3a4d0ebd5c kernel: update linux 3.6 to 3.6.8
Also refresh the affected patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34402
2012-11-29 07:42:19 +00:00
Gabor Juhos
b0b994cf76 ar71xx: set pad6 cfg for AR8327 on the AP136 board
Also override the pll_1000 value. Without these settings
ethernet suffers from packet loss.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34316
2012-11-23 20:55:34 +00:00
Gabor Juhos
188908e885 ar71xx: make rb750_nand driver compatible with 3.7
Also add compatibility patches for the currently
supported kernels.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34279
2012-11-20 16:29:43 +00:00
Gabor Juhos
8194237789 ar71xx: make ar934x_nfc driver compatible with 3.7
Also add compatibility patches for the currently
supported kernels.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34278
2012-11-20 16:29:42 +00:00
Gabor Juhos
4468fd7ae4 ar71xx: refresh rb4xx_nand patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34277
2012-11-20 15:53:17 +00:00
Gabor Juhos
46a3b818b9 ar71xx: remove buffer verification reference from rb4xx_nand.c
It is a dead code.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34276
2012-11-20 14:40:22 +00:00
Gabor Juhos
674b91ce0e ar71xx: fix GPIO function selection for AR934x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34275
2012-11-20 14:27:17 +00:00
Gabor Juhos
d833ca527d ar71xx: restore rb4xx kernel partition size to the original value
The new lzma compressed elf kernel image fits into
that, even on devices with large page NAND chips.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34274
2012-11-20 12:17:45 +00:00
Gabor Juhos
33a99ce46b ar71xx: install lzma compressed elf kernel image from wget2nand
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34273
2012-11-20 12:17:44 +00:00
Gabor Juhos
68b5aa2fdf ar71xx/image: provide lzma compressed elf kernel image
This will be used on the RB4xx/RB7xx/RB2011 boards.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34272
2012-11-20 12:17:43 +00:00
Gabor Juhos
97867f8717 ar71xx/image: relink loader.elf image to LOADADDR
This allows to load the resulting image directly
from RouterBOOT.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34271
2012-11-20 12:17:41 +00:00
Gabor Juhos
8e4cefc7f8 refresh all kernel configurations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34267
2012-11-20 07:19:06 +00:00
Gabor Juhos
d577d69838 ar71xx: use custom LZMA dictionary size for WNDR3700 images
Based on a patch by Hannu Nyman.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34248
2012-11-18 20:25:13 +00:00
Gabor Juhos
169e596268 ar71xx: add user-space support for the RB435G board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34240
2012-11-18 10:18:02 +00:00
Gabor Juhos
d44d954dec ar71xx: add kernel support for the RB435G board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34239
2012-11-18 10:18:01 +00:00
Gabor Juhos
d62bddc620 ar71xx: update PCI IRQ map for RB4xx devices
Should fix #12269.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34238
2012-11-18 09:51:04 +00:00
Gabor Juhos
31881357af ar71xx: create profile and build image for the OpenMesh MR600 board
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34237
2012-11-18 09:32:41 +00:00
Gabor Juhos
9da2c85b67 ar71xx: enable sysupgrade for the OpenMesh MR600
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34235
2012-11-18 09:32:39 +00:00
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