florian
ebbec463c7
[ar71xx] add support for the Atheros AP113 reference board
...
This reference board is equipped with:
- AR7242 SoC
- AR9580 on-board Wi-Fi
- AR8316 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 13:19:49 +00:00
florian
ccc47d58db
[ar71xx] refresh 3.2 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 13:19:43 +00:00
juhosg
8fcb797999
ar71xx: use 64k block size for WZR-HP-AG300H
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-27 10:42:41 +00:00
juhosg
406018ae4d
ar71xx: fix sysupgrade image building of atheros boards after r29899
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-27 07:51:09 +00:00
juhosg
72a8cff4c1
ar71xx: create the temporary directory before building initramfs images
...
Thanks to Florian for reporting.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 21:28:34 +00:00
juhosg
b8f0111122
ar71xx: create a profile and build images for Compex WPE72
...
[juhosg: remove ath9k from the the profile package list, build WPE72
image with the Default profile as well]
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:44 +00:00
juhosg
af63c6a4f8
ar71xx: add support for Compex WPE72/WPE72NX
...
This patch adds support for Compex WPE72 bare board and Compex WPE72NX
Indoor Access Point.
[juhosg: add support to 3.2 as well]
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:41 +00:00
juhosg
0bca69f7bf
ar71xx: TL-MR3020: fix board detection, fix missing mandatory package and modify LED behaviour
...
This patch fixes the board detection of the TL-MR3020.
The LED behaviour has also been modified:
* The WPS LED is the diag LED now.
* A netdev trigger for the LAN LED has been added.
The profile of the TL-MR3020 has been updated because the needed package
"kmod-ledtrig-usbdev" was missing which resulted in a non-working usbdev
trigger for the 3G/USB LED.
[juhosg: the board name changes has been removed, and the kernel files
has been changed instead.]
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-25 07:44:45 +00:00
juhosg
f662489883
ar71xx: TL-MR3020: fix GPIO polarity for button and switch
...
This patch fixes the GPIO polarity for the button and the sliding
switch. The buttons are not active low. "Pressed" and "Released"
events are wrong without the patch.
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-25 07:44:43 +00:00
juhosg
3f391b2e19
ar71xx: use the lzma loader on the Planex boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 20:12:10 +00:00
juhosg
a805739180
ar71xx: rename Sysupgrade/{KR,RK} to Sysupgrade/{KR,RK}uImage
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 20:12:08 +00:00
juhosg
f2dce5bf3d
ar71xx: fix the AP/Router LED definitons on MZK-W300NH
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:38 +00:00
juhosg
280177d53b
ar71xx: preset WLAN LED config on MZK-W300NH
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:36 +00:00
juhosg
c8f5aae9fd
ar71xx: remove hardcoded MTD layout from planex files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:34 +00:00
juhosg
8b3aaef2dd
ar71xx: pass mtdlayout to Planex boards via command line
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:33 +00:00
juhosg
7fe033da7a
ar71xx: remove an unused header file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:31 +00:00
juhosg
3ea7ce5200
ar71xx: nuke fs_all variable in image/Makefile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:25 +00:00
juhosg
6c5c90403f
ar71xx: create interim kernel files in a separate dir
...
This reduces the size of the ImageBuilder tarball a lot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:23 +00:00
juhosg
50e8ce781c
ar71xx: prebuild all loaders in Image/Prepare stage
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:22 +00:00
juhosg
71feb1ed02
ar71xx: 3.2: fix build errors if PCI is not enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-23 08:52:21 +00:00
juhosg
be456a1234
ar71xx: fix compiler warning if PCI is not enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-23 08:52:18 +00:00
juhosg
e0b80e41eb
ar71xx: add initial support for 3.2
...
Tested on the following boards:
ALFA AP96
TL-MR3220 v1
TL-WR1043ND v1
TL-WR2543ND v1
TL-WR703N v1
TL-WR741ND v1
TL-WR741ND v4
WNDR3700 v1
WZR-HP-G300NH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:38:19 +00:00
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
b66dee35c3
ar71xx: build ALFA AP96 images with default profile as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:33:15 +00:00
juhosg
acc9c3cbf5
ar71xx: wrt160nl_part: include module.h and fix compiler warnings
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 17:55:38 +00:00
juhosg
681c0cf274
ar71xx: tplinkpart: include module.h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 17:55:36 +00:00
juhosg
523cf1638c
ar71xx: rename vsc7385 spi driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:57 +00:00
juhosg
e3c5dcc5ee
ar71xx: rename ap81 spi driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:56 +00:00
juhosg
047bbb085a
ar71xx: rename rb4xx spi drivers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:54 +00:00
juhosg
d73151f6d4
ar71xx: rename the nxp_74hc153 driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:52 +00:00
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
fa5eb96b17
ar71xx: include linux/module.h in the micrel phy driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:49 +00:00
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
74844fd50b
ar71xx: disable ath79 in order to get rid of Kconfig warnings
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:19 +00:00
juhosg
6734a832bc
ar71xx: pb44_spi: add shutdown handler
...
This allows to access the flash from a kexec'd kernel.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:18 +00:00
juhosg
7bb349bc59
ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:17 +00:00
juhosg
ddfc10f668
ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:15 +00:00
juhosg
3e74da5245
ar71xx: ar71xx_spi: add shutdown handler
...
This allows to access the flash from a kexec'd kernel.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:14 +00:00
juhosg
8e61fd2405
ar71xx: ar71xx_spi: save and restore regs from probe/remove
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:13 +00:00
juhosg
302dc3a936
ar71xx: ar71xx_wdt: add shutdown handler
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:11 +00:00
juhosg
0dad098602
ar71xx: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:43 +00:00
juhosg
e1a6e8b311
ar71xx: add a profile and build images for the TL-WR2543N/ND
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:42 +00:00
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
3e84f7b9f1
ar71xx: allow to specify max read size for m25p80
...
Reading from the flash chip on the TL-WR2543ND seems buggy.
If the SPI flash driver tries to read too much data in one
SPI transfer, the flash chip returns bogus values. This can
be caused by a buggy flash chip on my board, or it can
be a bug in our SPI driver.
Add a workaround to the m25p80 driver until I find out the
root cause of the problem. The patch allows to specify the
maximum numner of bytes which can be read safely withint
one SPI transfer.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:33 +00:00
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
c2243d1fb9
generic: improve MIPS kexec support
...
It is based on patches from the linux-longsoon-community git tree:
http://dev.lemote.com/cgit/linux-loongson-community.git/
Now the kernel can use the command line parameter from kexec-tools.
Runtime tested on ar71xx with 2.6.39.4 (the wathdog must be stopped
before executing the new kernel). Compile tested with lantiq (3.1.4)
and brcm47xx (3.0.12).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 16:29:16 +00:00
juhosg
66663e2809
ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 15:54:59 +00:00
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
4c93839943
ar71xx: fix RB-750 network configuration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:54 +00:00
juhosg
c63a29ee7f
ar71xx: fix sections mismatch warnings in the nand drivers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-05 18:08:33 +00:00
juhosg
978d04d680
ar71xx: fix LED configuration on the RB-750
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-05 18:08:28 +00:00
juhosg
6c8dc3bd72
ar71xx: create profile and build image for the ALFA AP96 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 21:13:57 +00:00
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
3d14a486be
ar71xx: specify console kernel parameter for the Compex boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:59 +00:00
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
juhosg
c96ab77e4e
ar71xx: show correct model name on TL-WA701N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:55 +00:00
juhosg
06483eda3d
ar71xx: add profile and build image for the TL-WA701N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:54 +00:00
juhosg
342be7abf7
ar71xx: fix network configuration for the TL-WA901N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:52 +00:00
juhosg
9229d15c65
ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:50 +00:00
juhosg
28c6546050
ar71xx: add default LED configuration for the TL-MR3020
...
Also use the system LED for diagnostic.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:49 +00:00
juhosg
2b1cf2b32c
ar71xx: add support for TP-Link TL-MR3020
...
This patch adds support for the TP-Link device TL-MR3020 which is very
similiar to the TL-WR703N.
The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions.
Only four LEDs can be controlled via GPIO. The power LED is connected to
the power supply.
The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals
of the sliding switch have been mapped to BTN_0 and BTN_1.
I have also setup a wiki page with details here:
http://wiki.openwrt.org/toh/tp-link/tl-mr3020
USB is working and has been tested with USB mass storage and USB UMTS
stick.
Wifi also seems to work.
Ethernet is working too.
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:47 +00:00
juhosg
7e491e9a72
ar71xx: use the new om-watchdog package for OM2P
...
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:41 +00:00
juhosg
ced006ab54
ar71xx: add profile and build factory image for the Hornet-UB board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:29 +00:00
juhosg
adfe1a4686
ar71xx: build images for the ALFA Network N2/N5 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:28 +00:00
juhosg
fd1bdc7c45
ar71xx: add support for the ALFA Network N2/N5 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:25 +00:00
juhosg
a604775f66
ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:46 +00:00
juhosg
5a33add62c
ar71xx: enable SWCONFIG_LEDS
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:40 +00:00
juhosg
b042bd4e4d
ar71xx: ag71xx: implement get_port_{link,stats} callbacks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:26 +00:00
juhosg
096af0d2e8
ar71xx: fix LEDs on the WRT400N
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 13:54:11 +00:00
juhosg
0d1ced0ac9
ar71xx: enable sysupgrade support for airrouter
...
Works for me! ;-)
Patch-by: Russell Senior <russell@personaltelco.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-27 16:59:43 +00:00
juhosg
2eb905f8ba
ar71xx: fix sysupgrade on PB42/PB44 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-27 16:57:01 +00:00
nbd
2ca2cb6c37
ar71xx: set a reserved bit that resets to 1 when writing the address table control register on the ar7240 switch (should fix #10547 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-22 05:43:53 +00:00
jogo
c5ceea4e34
ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
...
Thanks netprince for reporting and testing.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-21 19:32:40 +00:00
jow
674429b24f
[ar71xx] the mach file of the WZR-HP-G300NH2 accidentally claimed the mach id of the WZR-HP-AG300H, correct the id ( #10649 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-21 01:27:48 +00:00
nbd
eaf9c95caf
ar71xx: add missing wireless led changes for wzr-hp-g300nh2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-19 09:04:15 +00:00
nbd
cdf64b5cdc
ar71xx: add support for the wzr-hp-g300nh2
...
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-18 22:20:17 +00:00
juhosg
c0f6abcdc6
ar71xx: use 64kraw template on more TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-17 18:49:55 +00:00
juhosg
12930c3272
ar71xx: connect GMAC0 to the internal switch on DB120
...
Because the external switch has no driver yet, connect GMAC0
to the PHY4 of the internal switch for now. This allows to
use the DB120 board as a router with 4LAN+1WAN ports.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:38 +00:00
juhosg
ba50354437
ar71xx: add defines for the AR934X GMAC interface
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:36 +00:00
juhosg
a55b188ebe
ar71xx: fix GMAC1 interface speed on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:35 +00:00
juhosg
8e8e3fdde7
ar71xx: ag71xx: fix switch port setup for AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:32 +00:00
juhosg
07d1bcb923
ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:30 +00:00
juhosg
cb5f456a33
ar71xx: ag71xx: setup switch interface mode on AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:29 +00:00
juhosg
f97a00297e
ar71xx: ag71xx: detect the built-in switch of the AR934X SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:28 +00:00
juhosg
e61b2d1ed9
ar71xx: allow to attach the internal switch for AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:22 +00:00
juhosg
812763d48e
ar71xx: introduce ar71xx_switch_data
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:11 +00:00
juhosg
867f0fa967
ar71xx: build images for TL-WR741N/ND v2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:48 +00:00
juhosg
60c6b42122
ar71x: use raw squashfs images for TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:46 +00:00
juhosg
6c3fe396cd
ar71xx: create a template for using unpadded squashfs images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:45 +00:00
juhosg
f2945360c1
ar71xx: put squash image right after the kernel on TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:44 +00:00
juhosg
57705b7a08
ar71xx: tplinkpart: allow to detect JFFS2 as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:40 +00:00
juhosg
08d268c8a7
ar71xx: ag71xx: check PHY IDs before accessing the switch registers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:23 +00:00
juhosg
a82d9221c9
ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:21 +00:00
juhosg
ba116ade9e
ar71xx: ag71xx: nuke ar7240sw_init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:20 +00:00
juhosg
803afe6e40
ar71xx: fix mac addresses on jjPlus devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:18 +00:00
juhosg
032d881496
ar71xx: build image for the Hornet-UB board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:54:11 +00:00
juhosg
d8f4833329
ar71xx: add support for ALFA Network's Hornet-UB board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:54:10 +00:00
juhosg
33334db9dc
ar71xx: add GPIO function bit defines for AR933X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:54:07 +00:00
nbd
5841748e56
ar71xx: fix gpio count for ar7241/ar7242
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:47:24 +00:00
nbd
75bbe95c04
ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:21:42 +00:00
juhosg
8b3380fefc
ar71xx: get rid of squashfs-4k images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 20:41:24 +00:00
nbd
340372534c
kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 15:14:59 +00:00
nbd
e7bf9d2f6d
ar71xx: fix wireless led on wzr-hp-g450h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 15:00:43 +00:00
juhosg
17595c4da2
ar71xx: enable AR9341 support at setup.c
...
Patch-by: dyq <729650915@qq.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 14:59:43 +00:00
juhosg
6caa8876b2
ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
...
The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The
WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case.
The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or
switch ports 2-4. The stock firmware uses a single LED (in the 5GHz
position) to indicate the status of both radios, and a single LED (in the
switch port 1 position) to indicate the status of all LAN ports. The
"missing" LEDs are present on the board, and easily shine through the
case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs.
I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume
that this is sufficient to build a fully-functional image.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 14:59:40 +00:00
nbd
ec66b62afa
ar71xx: add gpios and usb for wzr-hp-g450h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 13:33:44 +00:00
juhosg
1e26277d1e
ar71xx: use RedBoot parser on PB44
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-11 15:52:47 +00:00
juhosg
aa54ff79a0
ar71xx: fix WNDR3x00 factory image generation
...
Factory images for WNDR3700v2 and WNDR3800 should contain these model IDs
for the device: field in their DNI tags, not WNDR3700.
This regressed in r29434, which redid WNDR3x00 model detection. The sixth
parameter to Image/Build/Netgear is only used as the -B argument to
mkdniimg, which is used to set the device: field. In r29434, this was
erroneously changed to be WNDR3700 for all models. The tools to flash
factory images (U-Boot's TFTP server and the factory software's upgrade
utility) may refuse to honor images with incorrect device: fields in their
DNI tags.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-07 06:55:50 +00:00
juhosg
e310d5b786
ar71xx: fix WNDR3x00 model detection
...
Detect the model name for /tmp/sysinfo/model based on 10 bytes at offset
56 in the art (caldata) mtd partition.
r29434 redid WNDR3x00 model detection, attempting to distinguish between
WNDR3700v2 and WNDR3800 by checking MemTotal in /proc/meminfo. However, it
contained a bug: it put the awk inside a $(...), with the result that all
WNDR3700v2 and WNDR3800 models would be reported as WNDR3800. This patch
checks the model name stored in the art partition, as is done by U-Boot
shipping on the WNDR3800. It has the likely advantage of working with
future models based on the WNDR3700 board. It also will not mis-detect
units on which people install more memory.
I have tested this patch on WNDR3700 (v1), WNDR3700v2, and WNDR3800.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-07 06:55:39 +00:00
juhosg
56124f8782
ar71xx: create firmware image for the TL-WR740N/ND v4 boards
...
Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 16:26:44 +00:00
juhosg
a00ddbec78
ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 16:26:43 +00:00
juhosg
8e71900eeb
ar71xx: fix TL-MR3x20 profile names in image/Makefile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 13:53:21 +00:00
juhosg
05a6361449
ar71xx: cleanup TP-Link profiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 10:29:25 +00:00
juhosg
ae0a750c4b
ar71xx: add TP-Link board detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:11:01 +00:00
juhosg
99997320ea
ar71xx: use correct mac on the lan interface on several TP-LINK devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:10:58 +00:00
juhosg
a97fd90341
ar71xx: allow to pass negative offset values for ar71xx_init_mac
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:10:55 +00:00
juhosg
097436bca8
ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 18:21:15 +00:00
juhosg
f6ab961f67
ar71xx: verify hardware id of firmware images on TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 18:11:51 +00:00
juhosg
baf6222ae5
ar71xx: reclaim some unused space on TP-Link boards
...
With the default OpenWrt configuration, this increases the size
of the rootfs_data partition by 384KB/128KB on the older/newer
TP-Link models.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:36 +00:00
juhosg
35606f14a3
ar71xx: check squashfs signature in TP-Link mtd parser
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:33 +00:00
juhosg
7b716ce3ec
ar71xx: use the lzma-loader on TP-Link boards w/o lzma support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:28 +00:00
juhosg
057c5990c9
ar71xx: add lzma loader
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:25 +00:00
nbd
c1679af6b3
ar71xx: add preliminary support for wzr-hp-g450h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:51 +00:00
nbd
f684eb2454
ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80.c, other buffalo routers use it as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:44 +00:00
juhosg
44a7438217
ar71xx: rewrite WNDR3700/3800 handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 13:03:54 +00:00
jow
62f688b6ec
[ar71xx] add some missing wndr3800 base-files definitions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:56:21 +00:00
juhosg
1f7d4ca407
ar71xx: change user-space board detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:56:20 +00:00
juhosg
71573bb739
ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too big
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:47:53 +00:00
juhosg
11a837ce02
ar71xx: use the tp-link parser on the tp-link boards
...
Also remove static partition maps.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:31 +00:00
juhosg
17c2fb2fc8
ar71xx: add mtd partition parser for the TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:27 +00:00
juhosg
37a46ae9f4
ar71xx: run the RedBoot parser only on the RedBoot based boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:25 +00:00
juhosg
23c921bb91
ar71xx: run the MyLoader parser only on the WP543 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:23 +00:00
juhosg
4dbb6eef31
ar71xx: run the wrt160nl parser only on the WRT160NL board
...
Also remove static mtd partition definitions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:20 +00:00
juhosg
8c130c871f
ar71xx: allow to pass part_probe types to the m25p80 driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:18 +00:00
juhosg
4a763a41d3
ar71xx: create initramfs images for the newer TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:57:23 +00:00
juhosg
3a0d11139d
ar71xx: remove swconfig and wpad-mini from custom profiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:33:41 +00:00
juhosg
1a3e21a48d
ar71xx: add uboot-envtools to the default package list
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:33:40 +00:00
juhosg
7d80e1897f
ar71xx: reclaim unused space in WNDR3700/3800 images
...
Patch by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:33:38 +00:00
juhosg
f688ec4123
ar71xx: add a profile and build image for the OM2P board
...
[juhosg: the name of the final image has been changed to
'openwrt-ar71xx-generic-om2p-squashfs-factory.bin']
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:49:05 +00:00
juhosg
41d8ed17e0
ar71xx: add support for Ubiquiti AirRouter
...
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:49:02 +00:00
juhosg
8d3dba5fca
ar71xx: configure default led behavior for the OM2P
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:59 +00:00
juhosg
2a4fea0542
ar71xx: use /lib/functions/uci-defaults.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:47 +00:00
juhosg
e6638f1bd3
ar71xx: modify phy mask of the WP543 board
...
This fixes ethernet on newer boards. Based on a patch from #9702 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:43 +00:00
juhosg
4baa5f5378
ar71xx: fix wndr3800 machine name
...
This fixes the machine name in /proc/cpuinfo and luci status page machine name.
Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:38 +00:00
juhosg
31fef29134
ar71xx: copy atheros initramfs images to the image directory
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:35 +00:00
juhosg
1427b1d16a
ar71xx: specify mtd layout in command line for the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:32 +00:00
juhosg
74bada8592
ar71xx: set GE0 phy_mask for AR933x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-20 11:30:10 +00:00
juhosg
2ba51b8c17
ar71xx: fix USB LED on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:15 +00:00
juhosg
8f09b983e5
ar71xx: add a function for selecting output signal on a given GPIO pin
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:14 +00:00
juhosg
95684215c0
ar71xx: fix GPIO function handling on AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:13 +00:00
juhosg
73b96446ee
ar71xx: add AR71XX_ prefix to GPIO_REG_* defines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:11 +00:00
juhosg
d9b73ec674
ar71xx: merge nand scan patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:10 +00:00
juhosg
b9c4475b88
ar71xx: fix a compiler warning
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 13:07:47 +00:00
juhosg
e8a5cbc660
ar71xx: fix GPIO count for AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 13:07:45 +00:00
juhosg
2f0405019f
ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:53 +00:00
juhosg
c86a746ece
ar71xx: use a dummy irq chip for WMAC and PCIe irq hadling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:51 +00:00
juhosg
c6f1eddcdf
ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:49 +00:00
juhosg
de73b57f12
ar71xx: add an irq parameter for ar724x_pcibios_init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:47 +00:00
juhosg
1937a07a4e
ar71xx: remove hardwired interface parameters from mach-* files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 07:38:09 +00:00
juhosg
2b0cd69920
ar71xx: force hardwired interface parameters in ar71xx_add_device_eth
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 07:38:07 +00:00
juhosg
7f6b8dc9f4
ar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 07:38:05 +00:00
juhosg
f0f8408f20
ar71xx: enable has_gbit flag on AR724{0,1}
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 17:36:36 +00:00
juhosg
5e68925d9a
ar71xx: fixup onboard PCIe chip registration on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 12:48:03 +00:00
juhosg
cf53375340
ar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 12:48:01 +00:00
juhosg
3095cc8090
ar71xx: ag71xx: add support for getting switch port link status
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:04 +00:00
juhosg
7ea3800d31
ar71xx: remove mii_ctrl resources of the ethernet devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:03 +00:00
juhosg
451654dc3a
ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:01 +00:00
juhosg
749767a552
ar71xx: ag71xx: remove unused mii_cfg related functions and defines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:00 +00:00
juhosg
228681e328
ar71xx: set MII interface speed from the set_speed callbacks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:59 +00:00
juhosg
7571fae3ab
ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
...
Also rename the corresponding callback functions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:57 +00:00
juhosg
95d3699b73
ar71xx: ag71xx: remove MII interface setup code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:56 +00:00
juhosg
13e0098939
ar71xx: configure MII interface type from ar71xx_setup_phy_if_mode
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:54 +00:00
juhosg
4cc612872a
ar71xx: fix occasional kernel hangs during boot on AR934x
...
The patch taken from the linux-mips mailing list.
The Kernel hangs occasionally during boot after
"Calibrating delay loop..". This is caused by the
c0_compare_int_usable() routine in cevt-r4k.c
returning false which causes the system to disable
the timer and hang later. The false return happens
because the routine is using a series of four calls
to irq_disable_hazard() as a delay while it waits
for the timer changes to propagate to the cp0 cause
register. On newer MIPS cores, like the 74K, the
series of irq_disable_hazard() calls turn into ehb
instructions and can take as little as a few clock
ticks for all 4 instructions. This is not enough of
a delay, so the routine thinks the timer is not
working.
This fix uses up to a max number of cycle counter
ticks for the delay and uses back_to_back_c0_hazard()
instead of irq_disable_hazard() to handle the hazard
condition between cp0 writes and cp0 reads.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:52 +00:00
juhosg
5fb5b4483b
ar71xx: refresh kernel patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:51 +00:00
juhosg
0999f2be56
ar71xx: use the button for WPS control on the DB120
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:20 +00:00
juhosg
69a4e7ba6a
ar71xx: register the second ethernet interface on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:19 +00:00
juhosg
f42393b3c6
ar71xx: implement SoC specific phy interface setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:18 +00:00
juhosg
428566d3de
ar71xx: move phy interface setup into a separate function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:16 +00:00
juhosg
9c2632e5aa
ar71xx: register both MDIO bus on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:59 +00:00
juhosg
8255c166fd
ar71xx: add AR934X specific MDIO registration code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:56 +00:00
juhosg
79bc01d085
ar71xx: add a secondary mdio bus
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:54 +00:00
juhosg
4e5c6e94da
ar71xx: rename ar71xx_mdio_* structures to ar71xx_mdio0_*
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:50 +00:00
juhosg
f20b056795
ar71xx: add an id argument to ar71xx_add_device_mdio
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:48 +00:00
juhosg
7d1b33ecbd
ar71xx: pass netdev and miidev pointer to ar71xx_add_device_dsa
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:42 +00:00
juhosg
1553f9eabd
ar71xx: add AR934x specific USB setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:20 +00:00
juhosg
5f0b41bae5
ar71xx: register the first ethernet interface on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:18 +00:00
juhosg
8a3f26299d
ar71xx: allow to register ethernet interfaces for AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:17 +00:00
juhosg
3cd36281d9
ar71xx: ag71xx: use fixed link parameters if the mii bus is not registered
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:16 +00:00
juhosg
a1f5559837
ar71xx: add AR934X specific bootstrap and reset register bits
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:15 +00:00
juhosg
a3d2129487
ar71xx: add diag support for the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:10 +00:00
juhosg
bb977eb73b
ar71xx: fix GPIO direction setup for AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:09 +00:00
juhosg
1d1240855a
ar71xx: fix AR934X clock frequency calculation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:08 +00:00
juhosg
b780360c45
ar71xx: generate ubootenv from uci-defaults instead of providing defconfig
...
I noticed most of /etc/defconfig was replaced by /etc/uci-defaults, which is
indeed much nicer. So I moved over ubootenv from having a defconfig-entry to
also be generated from uci-defaults.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:04 +00:00
nbd
33f4cde7a9
ar71xx: remove dead code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 00:33:20 +00:00
nbd
4677737b0a
ar71xx: on ar7240, exclude ports from their own port vlan destination mask
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 00:33:15 +00:00
juhosg
e3ad4fdef0
ar71xx: create TL-WA901ND network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:24 +00:00
juhosg
53b106bac4
ar71xx: create ALL0258N network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:23 +00:00
juhosg
6827eb6991
ar71xx: create NBG{460N,550N,550NH} network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:20 +00:00
juhosg
cec23da75a
ar71xx: create WZR-HP-G300NH network config from uci-defaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:17 +00:00