juhosg
0cfc5d05b3
ar71xx: revert DIR-825-B1 wholeflash image support.
...
It should be implemmented in a cleaner way.
This reverts the following commits:
[ar71xx] dir-825-b1: Fix wholeflash images
[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-18 14:30:57 +00:00
juhosg
a384f7bf1b
ar71xx: register the NAND flash controller device on DB120
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:57 +00:00
cshore
4e7d8aa302
[ar71xx] dir-825-b1: Fix wholeflash images: Attempting to flash a wholeflash (-openwrt) image from the normal image would brick (but recoverable via emergency flash) the router if the wholeflash image was larger than the maximum size for a normal image. First we rename the -openwrt images to -wholeflash since -openwrt is really too generic. We also revert the changes to the regular dir-825-b1 image, which now is the same as before, but add a -towholeflash image which is almost the same as the regular dir-825-b1 image, but copies caldata to new location and allows flashing of images that use the full flash (except u-boot, u-boot-env, and caldata paritition space) (these are the -wholeflash images).
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 14:17:12 +00:00
nbd
6cd281447f
ar71xx: add missing code for ar933x WMAC reset that was left out during the ar71xx->ath79 migration, should fix wifi stability issues on ar933x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 11:17:29 +00:00
juhosg
f74bd75daa
ar71xx: merge machine support patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:28 +00:00
juhosg
e9a522de9e
ar71xx: register the NAND controller device on the RB2011
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:26 +00:00
juhosg
39bdbbc7fc
ar71xx: add device registration code for the AR934x NAND flash controller
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:25 +00:00
juhosg
ce47c98d07
ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:22 +00:00
juhosg
e96ea88268
ar71xx: define NAND controller base address and register size for AR934X/QCA955x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-12 19:06:38 +00:00
juhosg
29f447b9fd
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 14:38:01 +00:00
juhosg
e1ee097247
ar71xx: fix QCA955X_EHCI_SIZE
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 14:32:54 +00:00
juhosg
4b7be33ba5
ar71xx: add initial support for RB2011UAS-2HnD
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:32 +00:00
juhosg
25dbd4639c
ar71xx: use routerboot_find_tag to find wlan data offset on RB751
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:30 +00:00
juhosg
d0d14675bb
ar71xx: add RouterBoot related helper routines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:28 +00:00
juhosg
775e69dfac
ar71xx: add preliminary support for Mikrotik RB2011L
...
This patch adds preliminary support for the Mikrotik RB2011L.
The NAND flash is not yet supported, so only the initramfs
kernel can be used for now.
[juhosg: remove unnecessary PCI/USB related stuff, the board
does not use that, update commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:22 +00:00
juhosg
527f8049cd
ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:20 +00:00
juhosg
3868d762d1
ar71xx: use the RLE library for RB751
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 17:51:56 +00:00
juhosg
6142d590e3
ar71xx: add library code for RLE decoding
...
It will be used for the MikroTik boards.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 17:51:54 +00:00
juhosg
41be3a0bd3
ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 13:39:09 +00:00
juhosg
6f0a45267a
ar71xx: refresh kernel patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 13:39:04 +00:00
cshore
60244743f9
[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first be flashed with the 'standard' image) and an image to revert the change to allow reversion to stock firmware.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-06 18:15:26 +00:00
juhosg
34d7147aef
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:26:50 +00:00
juhosg
2065e21ba2
ar71xx: add support for the Allnet ALL0315N board
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:31 +00:00
juhosg
616abf736e
ar71xx: add support for the TRENDnet TEW-712BR board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 20:09:13 +00:00
juhosg
7229c99fe8
ar71xx: fix serial clock calculation on AR933x
...
Closes #12031 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 19:11:10 +00:00
juhosg
d27564d094
ar71xx: add ALL0305 board alias
...
For the pure convenience of having a correctly named
image and system name in /proc/cpuinfo , until we can
do that by having system names in DTS...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 12:33:22 +00:00
juhosg
1eb25d5c4f
ar71xx: add support for TP-Link TL-WDR3600
...
The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has
only two antennas.
[juhosg: remove the custom machine type, change the board name instead]
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:43:18 +00:00
juhosg
1c54e0a078
ar71xx: simplify misc IRQ handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 11:25:49 +00:00
juhosg
93af4ef46f
ar71xx: fix AR934X_EHCI_SIZE
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 11:25:46 +00:00
juhosg
62dfbdafd5
ar71xx: ew-dorin: added router firmware generation
...
[juhosg: remove dead code]
Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 12:24:57 +00:00
juhosg
b80a2c45e4
ar71xx: Buffalo WLAE-AG300N initial support
...
The patch set for Buffalo WLAE-AG300N initial support.
There is another patch for wireless led support that
is posted separately.
Note on serial console:
This unit has buffalo standard 4 pin console, but the unit may not power
on if some console apparatus is connected. This is probably due to some
electronic interaction between the unit's electronic power switch circuit
and the serial console apparatus. If this happens, it is required to power
on the unit without the console, then quickly (re-)attach it.
[juhosg: fix coding style]
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 12:24:52 +00:00
juhosg
dfcccc252d
ar71xx: use gpio_set_value_cansleep on sleeping GPIOs in ath79_spi
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 17:52:48 +00:00
juhosg
ba4d4f1cda
ar71xx: select ATH79_DEV_M25P80 for the WRT400N board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 08:34:22 +00:00
juhosg
8eb3c9a3fa
ar71xx: airrouter power led support
...
This patch adds support for power led to Unifi Airrouter AP.
[juhosg:fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]
Signed-off-by: Rocco Folino <lordzen@autistici.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 08:34:21 +00:00
juhosg
10f263351f
ar71xx: unifi reset button support
...
This patch adds support for reset button to Ubiquiti UniFi AP.
[juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]
Signed-off-by: Rocco Folino <lordzen@autistici.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 08:34:20 +00:00
juhosg
e97a615b45
ar71xx: airrouter reset button support
...
This patch adds support for reset button to Ubiquiti Airrouter AP.
[juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]
Signed-off-by: Rocco Folino <lordzen@autistici.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 08:34:18 +00:00
juhosg
fffc489ef4
ar71xx: swizzle address for PCI byte/word access on AR71xx
...
Closes #11683 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 16:33:12 +00:00
juhosg
311f21e096
ar71xx: select SOC_AR933X and ATH79_DEV_WMAC for the OM2P board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 11:12:02 +00:00
juhosg
d675d7bc7d
ar71xx: merge new board patches into the generic patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 11:12:01 +00:00
juhosg
0d85e0278f
ar71xx: add support for the OpenMesh OM2P-LC board
...
Patch-by: Marek Linder <marek@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:53 +00:00
juhosg
ee6173e7dc
ar71xx: add initial support for the Qualcomm Atheros AP136 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:48 +00:00
juhosg
74d33b7b96
ar71xx: add initial support for the QCA955X SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:47 +00:00
juhosg
97e6f60806
ar71xx: refactor PCI code to allow registering multiple PCI controllers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:45 +00:00
nbd
7ffed0b52c
ar71xx: detect and enable MIPS DSP extensions, AR9344 supports them ( fixes #11762 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-28 16:05:08 +00:00
juhosg
ae6a363859
ar71xx: add support for the TL-WDR4300 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 11:51:17 +00:00
juhosg
31f53133c7
ar71xx: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 11:51:15 +00:00
juhosg
279cc5d283
ar71xx: make AR8327 LEDs working on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:44:17 +00:00
juhosg
9e32544f7a
ar71xx: add a common function to configure USB power GPIOs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:13:41 +00:00
nbd
669a7a0710
ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 00:22:04 +00:00
nbd
bd85fd265b
ar71xx: add support for reading the MAC address from OTP ROM on AR933x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 00:21:58 +00:00