1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 12:59:43 +02:00
Commit Graph

586 Commits

Author SHA1 Message Date
juhosg
58aa6ee58f ar71xx: init switch hw_reset on the TL-WR1043ND board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:28 +00:00
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
fd349e4b0c ar71xx: make 2.4GHz wlan LED work on the WR2543N
Because ath9k does not supports separate LEDs for
different bands yet, the 2.4GHz LED will show the
activity, even if the 5GHz band is selected.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 16:25:26 +00:00
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
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
db1a0d339e ar71xx: remove the built-in MTD map of the ALL0258N
Pass the mtd_layout via the kernel command line instead.
Also increase the kernel partition size to 1024k, so current kernel can fit in.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 15:24:01 +00:00
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
d02eb8cdaa ar71xx: remove superfluous include of asm/mach-ath79/pci.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:13:43 +00:00
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
2d3cf7a902 ar71xx: swap the PHY address of the ethernet port of TL-MR3040/TL-MR11U similar to TL-MR3020 to fix ethernet link detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-13 12:54:22 +00:00
nbd
eed1fe974e ar71xx: fix PHY setup on TL-MR3020 (fixes #11572)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 17:24:12 +00:00
nbd
62977660d8 ar71xx: add a helper function for setting up PHY4 swapping on ar933x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 17:24:09 +00:00
nbd
dfea949949 ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 21:02:41 +00:00
juhosg
e9ac406967 ar71xx: fix WLAN led for RB751U-2HnD and RB751G-2HnD
Patch by Kamil Trzciński <ayufan@osk-net.pl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:25 +00:00
juhosg
7b820da93e ar71xx: add support for the TP-Link TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:02:35 +00:00
juhosg
f07500066e ar71xx: allow to disable link polling on unused PHYs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 18:29:24 +00:00
juhosg
a17e6cf40e ar71xx: use ap91_pci_init for RB751{,G}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:48 +00:00
juhosg
9b7ceff90a ar71xx: move USB device registration directly into rb751{,g}_setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:43 +00:00
juhosg
e25325e131 ar71xx: add ap9x_pci_get_wmac_data helper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:42 +00:00
juhosg
9ec35a5650 ar71xx: add sanity checks to decode_rle
Also use -EINVAL instead of -1.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:40 +00:00
juhosg
87485f3a88 ar71xx: initial support for Mikrotik RB751G-2HnD and RB751U-2HnD
Great collaboration on these two fantastic routers on the openwrt forum:
https://forum.openwrt.org/viewtopic.php?id=32320
Above all kudos to aryufan. Well done and thank you everyone else who
contributed.

To-Do: LED for wlan is not yet activated
To-Do: TxPower over 20dBm (RB751U) or 22dBm (RB751G) are not accepted by
the router

Signed-off-by: Hanno Schupp <hanno.schupp@gmail.com>
[juhosg: fix line wrapped patch, fix checkpatch errors, add missing
kernel patches]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-06 06:45:07 +00:00
juhosg
7bc411c5d9 ar71xx: boost SPI flash read performance
mtd_speedtest results:
                           page read speed
                    old         new        delta
DB120            929 KiB/s   2597 KiB/s   +179.55%
TL-WR1043ND v1   754 KiB/s   2166 KiB/s   +187.27%
TL-WR703N v1     745 KiB/s   2176 KiB/s   +192.08%
TL-MR3220 v1     752 KiB/s   2154 KiB/s   +186.44%
TL-WR2543ND v1   564 KiB/s   2130 KiB/s   +277.66%
TL-WR741ND v2    525 KiB/s   1767 KiB/s   +236.57%
ALFA-AP96        702 KiB/s   1977 KiB/s   +181.62%
WNDR3700         697 KiB/s   1965 KiB/s   +181.92%

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:17 +00:00
juhosg
32fd04f49a ar71xx: remove the built-in MTD map of the AP96 board
Pass the mtd_layout via the kernel command line instead.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:07 +00:00
juhosg
514a769538 ar71xx: remove the built-in MTD map of the PB92 board
Pass the mtd_layout via the kernel command line instead

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:05 +00:00
juhosg
5ca96e340c ar71xx: remove the built-in MTD map of the Zcomax devices
Pass the mtd_layout via the kernel command line instead.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:04 +00:00
juhosg
e27017a728 ar71xx: remove the built-in MTD maps of several boards
We are passing the MTD layout via the kernel command line, so
it makes no sense to duplicate it in mach-* files. The patch
removes the built-in MTD maps of the following boards:

 * AP113
 * ALFA N2/N5
 * DIR-600
 * DIR-615
 * DIR-825
 * TEW-6{3,5}2BRP
 * TEW-673GRU
 * WHR-G301N
 * WHR-HP-GN
 * WHR-HP-G300N

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:01 +00:00
juhosg
70b0829237 ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:51 +00:00
juhosg
fd48e871d0 ar71xx: add initial support for RB750GL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:04 +00:00
juhosg
c8aab4b6c2 ar71xx: make rb750_latch_change 'static void'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:03 +00:00
juhosg
58ce76e6b5 ar71xx: add latch_change field to rb750_led_platform_data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:01 +00:00
juhosg
e929396e19 ar71xx: add platform data for the RB750 NAND driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:56:59 +00:00
juhosg
1a9e33b337 ar71xx: add AR934x specific interface speed setup for ge0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 11:11:20 +00:00
juhosg
be8e44bc68 ar71xx: add support for the jjPlus JA76PF2 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 18:00:34 +00:00
juhosg
aaa7c394a3 ar71xx: change LED name prefix on the jjplus boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 18:00:26 +00:00
juhosg
f9450e76b1 ar71xx: reset the switch on AR934x before ethernet device registration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:33 +00:00
juhosg
510f76eab5 ar71xx: use a dummy callback for interfaces with fixed speed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 20:38:58 +00:00
juhosg
710f4ecdd1 ar71xx: merge ar934x_bo_ddr_flush patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 20:38:57 +00:00
juhosg
f69d75cd5e ar71xx: fix WPS button polarity on TL-WR2543N
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 19:50:53 +00:00
juhosg
d9077e15ae ar71xx: merge files-3.2 to files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:31 +00:00
juhosg
22b99f32a1 ar71xx: move arch specific files to files-2.6.39
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:38:11 +00:00
juhosg
3746d2ed29 ar71xx: change board id of the UniFi board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:50 +00:00
juhosg
1b3efb3352 ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 18:00:50 +00:00
juhosg
19be413163 ar71xx: add initial support for the TL-WR2543N/ND board
The WLAN LEDs are not working yet.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:35 +00:00
juhosg
54bc3d42c4 ar71xx: local mac support on the wndr3700
The wndr3700 at least has no eth0 mac address and usually leverages
the first wireless device's mac when in a bridged scenario. If,
however, you want to route, and not bridge the interfaces, you
need a unique mac address for it.

This patch sets the local bit on the mac address pulled from the
wireless chip and uses the resulting address for eth0.

Patch-by: Dave Taht <dave.taht@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 17:24:44 +00:00
juhosg
01c809eff1 ar71xx: add support for Redwave RW2458N
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:59 +00:00
juhosg
b8e2e95b70 ar71xx: add inital support for the ALFA Network AP96 board
The microSD slot and the Real Time Clock is not working yet.
The miniPCIe interface is not tested due to the lack of a
suitable card.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 21:13:54 +00:00
juhosg
86c95a9481 ar71xx: allow to use the command line hack on compex devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:58 +00:00
juhosg
bf238aa8e9 ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7
These models are based on the AP99 reference board,
and uses the AR7241 SoC.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:57 +00:00