Gabor Juhos
c455a0f7be
ar71xx: ag71xx: fix get_port_link callback
...
SVN-Revision: 30841
2012-03-07 16:32:35 +00:00
Gabor Juhos
5a83b3a5c7
ar71xx: ag71xx: use the generic get_port_link implementation
...
SVN-Revision: 30840
2012-03-07 16:32:34 +00:00
Gabor Juhos
86d852927e
ar71xx: refresh patches against 3.3-rc5
...
SVN-Revision: 30801
2012-03-03 14:10:29 +00:00
Gabor Juhos
7052847972
ar71xx: ag71xx: keep VLAN tags if VLAN is not enabled
...
SVN-Revision: 30768
2012-03-01 19:49:05 +00:00
Gabor Juhos
9698a499b6
kernel: update linux 3.2 to 3.2.9
...
SVN-Revision: 30767
2012-03-01 19:49:02 +00:00
Gabor Juhos
6b37484883
ar71xx: use v6.0.0 in UBTN-XM firmwares ( closes #11038 )
...
SVN-Revision: 30712
2012-02-24 20:41:38 +00:00
Felix Fietkau
c918810414
ar71xx: switch to kmod-gpio-button-hotplug
...
SVN-Revision: 30660
2012-02-20 10:51:48 +00:00
Gabor Juhos
3d20de331d
ar71xx: fix image signature for UBNT-XM boards
...
SVN-Revision: 30626
2012-02-18 14:45:52 +00:00
Gabor Juhos
3004f30f01
ar71xx: remove duplicated define from the D-Link profile
...
SVN-Revision: 30577
2012-02-16 09:03:27 +00:00
Daniel Dickinson
1bb8a7613e
Add Ubiquiti UniFi Profile; It's an AP without USB so don't include USB drivers by default
...
SVN-Revision: 30571
2012-02-16 07:45:28 +00:00
Daniel Dickinson
b797f72319
d-link: Add DIR-601 Profile Definition; It needs different factory images than DIR-600
...
SVN-Revision: 30570
2012-02-16 07:38:33 +00:00
Daniel Dickinson
c736e2d4b0
Fix partitions for Cameo-based boards; kernel 3.2 is bigger
...
SVN-Revision: 30569
2012-02-16 07:29:26 +00:00
Daniel Dickinson
4685a51301
image: For Cameo-based board fix adding mtd layout to kernel commandline)
...
SVN-Revision: 30568
2012-02-16 07:24:45 +00:00
Gabor Juhos
9a0e17857e
ar71xx: add profile and build image for the TP-Link TL-WR842N/ND v1 boards
...
SVN-Revision: 30508
2012-02-13 17:11:58 +00:00
Gabor Juhos
1c57a22aae
ar71xx: add model detection for TL-WR842N/ND
...
SVN-Revision: 30507
2012-02-13 17:11:57 +00:00
Gabor Juhos
3708227f96
ar71xx: zero partition parser data in m25p80
...
Ths fixes parsing of RedBoot partitions.
SVN-Revision: 30427
2012-02-10 20:19:06 +00:00
Gabor Juhos
6c07149c2d
ar71xx: fix platform description
...
SVN-Revision: 30419
2012-02-10 15:27:49 +00:00
Gabor Juhos
766999085a
ar71xx: ag71xx: add BQL support
...
It will be usable only from linux-3.3.
Based on a patch by Dave Taht <dave.taht@bufferbloat.net>
SVN-Revision: 30417
2012-02-10 14:56:47 +00:00
Gabor Juhos
fc069f030b
ar71xx: add dummy DQL helper functions for 3.2
...
SVN-Revision: 30416
2012-02-10 14:56:44 +00:00
Gabor Juhos
32a18a05f8
ar71xx: add preliminary support for 3.3
...
SVN-Revision: 30410
2012-02-10 11:53:56 +00:00
Felix Fietkau
512df38f5c
ar71xx: disable DDR flush for ethernet on AR934x, it is no longer necessary
...
SVN-Revision: 30409
2012-02-10 11:46:37 +00:00
Felix Fietkau
61f48beadd
ar71xx: fix db120 board detection
...
SVN-Revision: 30408
2012-02-10 11:46:31 +00:00
Gabor Juhos
73b9a8bf9b
ar71xx: allow to build ag71xx w/o PCI support enabled
...
SVN-Revision: 30407
2012-02-10 11:46:10 +00:00
Gabor Juhos
fe0c7aac66
ar71xx: merge 3.2 fixes
...
SVN-Revision: 30406
2012-02-10 08:19:33 +00:00
Gabor Juhos
d72bde99cd
ar71xx: merge files-3.2 to files
...
SVN-Revision: 30405
2012-02-10 08:19:31 +00:00
Gabor Juhos
81b7aaefbe
ar71xx: nuke 2.6.39 support
...
SVN-Revision: 30404
2012-02-10 08:19:28 +00:00
Gabor Juhos
650d777f3d
ar71xx: switch to 3.2.5
...
SVN-Revision: 30403
2012-02-10 08:19:27 +00:00
Gabor Juhos
abeab97efc
ar71xx: refresh 3.2 patches
...
SVN-Revision: 30402
2012-02-10 08:19:25 +00:00
Gabor Juhos
f754063159
ar71xx: 3.2: remove stray semicolons from the PCI fixup patch
...
SVN-Revision: 30400
2012-02-09 21:19:57 +00:00
Felix Fietkau
848dedeb8b
ar71xx: fix ar934x usb reset handling on 3.2
...
SVN-Revision: 30399
2012-02-09 20:39:41 +00:00
Gabor Juhos
09c45f50d4
ar71xx: 3.2: get rid of an unused variable in ath79_spi.c
...
SVN-Revision: 30391
2012-02-08 20:47:58 +00:00
Gabor Juhos
c126bed503
ar71xx: 3.2: fix AHB clock name in rb4xx_spi
...
SVN-Revision: 30390
2012-02-08 20:47:56 +00:00
Gabor Juhos
81f15f5026
ar71xx: add profile and build image for the TEW-673GRU board
...
SVN-Revision: 30377
2012-02-08 16:26:27 +00:00
Gabor Juhos
48e85cd47b
ar71xx: add support for the TRENDNet TEW-673GRU board
...
SVN-Revision: 30376
2012-02-08 16:26:25 +00:00
Felix Fietkau
d9ff9c44ee
ar71xx: add usb on the pb92 board
...
SVN-Revision: 30007
2012-02-03 09:44:51 +00:00
Gabor Juhos
41bd6bd282
ar71xx: fix ethernet LEDs on the WHR-{G301N,HP-G300N,HP-GN} boards
...
SVN-Revision: 29978
2012-01-31 20:49:34 +00:00
Gabor Juhos
c315ce403b
ar71xx: merge DIR-600 A1 and DIR-615 E4 support
...
SVN-Revision: 29976
2012-01-31 18:37:29 +00:00
Gabor Juhos
dd47afc197
ar71xx: fix ethernet LEDs on the DIR-600-A1 board
...
SVN-Revision: 29975
2012-01-31 18:37:24 +00:00
Gabor Juhos
8200f0c61a
ar71xx: unify LED names on D-Link boards
...
SVN-Revision: 29974
2012-01-31 18:37:15 +00:00
Gabor Juhos
faeca86e50
ar71xx: support for D-LINK DIR-615 rev. E4
...
This patch adds support for D-LINK DIR-615 E4 board. It's mostly based
on the existing support for DIR-600 A1, with some changes in the leds
configuration.
It's an updated version of the patch that reliably works on my hw for
about a year (it was built from trunk on Jan 2011). When I decided to
update the firmware and checked for the current support for that device,
I also found previously posted patches by Alexey Loukianov that
mentioned some stability issues. I'm not sure where could be the
difference, the patches are very similar except the wmac led pin number
- I was using 1, and those patches used 17.
[juhosg: add 3.2 support]
Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
SVN-Revision: 29973
2012-01-31 18:37:09 +00:00
Gabor Juhos
97e4ddd012
ar71xx: add support for TP-Link TL-MR11U
...
Adds support for TL-MR11U, a portable router with very similar
hardware to the TL-WR703N and TL-MR3020, but with an onboard
2000mAh battery.
Tested, working:
All interfaces (Ethernet, 802.11n, USB)
WPS & Reset switches (Power appears to be a hardware slider)
Ethernet, Wifi, 3G LEDs (Power & charging LEDs hardware controlled)
Sysupgrade
[juhosg: fix indentations to use TABs instead of spaces, fix 3.2 patch
breakage]
Signed-off-by: Simon Taylor <simon.taylor.uk@gmail.com>
SVN-Revision: 29972
2012-01-31 18:37:01 +00:00
Gabor Juhos
8766f32b8c
ar71xx: compress kernel binaries in Image/Prepare stage
...
The lzma compressed kernel is used by one of the loaders.
SVN-Revision: 29971
2012-01-31 18:36:54 +00:00
Gabor Juhos
d5d37febb4
ar71xx: use dynamically allocated partitions in wrt160nl_part
...
SVN-Revision: 29970
2012-01-31 18:36:51 +00:00
Florian Fainelli
eeb00634a7
add support for the Atheros AP113 reference board
...
This reference board is equipped with:
- AR7242 SoC
- AR9580 on-board Wi-Fi
- AR8316 switch
SVN-Revision: 29935
2012-01-28 13:19:49 +00:00
Florian Fainelli
405a0f3905
refresh 3.2 patches
...
SVN-Revision: 29934
2012-01-28 13:19:43 +00:00
Gabor Juhos
b9b768b8d3
ar71xx: use 64k block size for WZR-HP-AG300H
...
SVN-Revision: 29917
2012-01-27 10:42:41 +00:00
Gabor Juhos
ac8116739a
ar71xx: fix sysupgrade image building of atheros boards after r29899
...
SVN-Revision: 29916
2012-01-27 07:51:09 +00:00
Gabor Juhos
013fe76b36
ar71xx: create the temporary directory before building initramfs images
...
Thanks to Florian for reporting.
SVN-Revision: 29915
2012-01-26 21:28:34 +00:00
Gabor Juhos
a5538a18d4
ar71xx: create a profile and build images for Compex WPE72
...
[juhosg: remove ath9k from the the profile package list, build WPE72
image with the Default profile as well]
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
SVN-Revision: 29914
2012-01-26 17:01:44 +00:00
Gabor Juhos
e1e84badaa
ar71xx: add support for Compex WPE72/WPE72NX
...
This patch adds support for Compex WPE72 bare board and Compex WPE72NX
Indoor Access Point.
[juhosg: add support to 3.2 as well]
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
SVN-Revision: 29912
2012-01-26 17:01:41 +00:00
Gabor Juhos
038d4e0d77
ar71xx: TL-MR3020: fix board detection, fix missing mandatory package and modify LED behaviour
...
This patch fixes the board detection of the TL-MR3020.
The LED behaviour has also been modified:
* The WPS LED is the diag LED now.
* A netdev trigger for the LAN LED has been added.
The profile of the TL-MR3020 has been updated because the needed package
"kmod-ledtrig-usbdev" was missing which resulted in a non-working usbdev
trigger for the 3G/USB LED.
[juhosg: the board name changes has been removed, and the kernel files
has been changed instead.]
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
SVN-Revision: 29905
2012-01-25 07:44:45 +00:00
Gabor Juhos
c11ac55b29
ar71xx: TL-MR3020: fix GPIO polarity for button and switch
...
This patch fixes the GPIO polarity for the button and the sliding
switch. The buttons are not active low. "Pressed" and "Released"
events are wrong without the patch.
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
SVN-Revision: 29904
2012-01-25 07:44:43 +00:00
Gabor Juhos
4f3d6c9ae9
ar71xx: use the lzma loader on the Planex boards
...
SVN-Revision: 29900
2012-01-24 20:12:10 +00:00
Gabor Juhos
5fa9768cee
ar71xx: rename Sysupgrade/{KR,RK} to Sysupgrade/{KR,RK}uImage
...
SVN-Revision: 29899
2012-01-24 20:12:08 +00:00
Gabor Juhos
095c236694
ar71xx: fix the AP/Router LED definitons on MZK-W300NH
...
SVN-Revision: 29897
2012-01-24 18:40:38 +00:00
Gabor Juhos
23e1b451dc
ar71xx: preset WLAN LED config on MZK-W300NH
...
SVN-Revision: 29896
2012-01-24 18:40:36 +00:00
Gabor Juhos
23836d5908
ar71xx: remove hardcoded MTD layout from planex files
...
SVN-Revision: 29895
2012-01-24 18:40:34 +00:00
Gabor Juhos
859c915077
ar71xx: pass mtdlayout to Planex boards via command line
...
SVN-Revision: 29894
2012-01-24 18:40:33 +00:00
Gabor Juhos
6ad9bf8d17
ar71xx: remove an unused header file
...
SVN-Revision: 29893
2012-01-24 18:40:31 +00:00
Gabor Juhos
17bb003891
ar71xx: nuke fs_all variable in image/Makefile
...
SVN-Revision: 29880
2012-01-24 09:47:25 +00:00
Gabor Juhos
1fb88e2541
ar71xx: create interim kernel files in a separate dir
...
This reduces the size of the ImageBuilder tarball a lot.
SVN-Revision: 29879
2012-01-24 09:47:23 +00:00
Gabor Juhos
a43e2f508f
ar71xx: prebuild all loaders in Image/Prepare stage
...
SVN-Revision: 29878
2012-01-24 09:47:22 +00:00
Gabor Juhos
44517a3789
ar71xx: 3.2: fix build errors if PCI is not enabled
...
SVN-Revision: 29870
2012-01-23 08:52:21 +00:00
Gabor Juhos
778db0a13d
ar71xx: fix compiler warning if PCI is not enabled
...
SVN-Revision: 29869
2012-01-23 08:52:18 +00:00
Gabor Juhos
af015f956c
ar71xx: add initial support for 3.2
...
Tested on the following boards:
ALFA AP96
TL-MR3220 v1
TL-WR1043ND v1
TL-WR2543ND v1
TL-WR703N v1
TL-WR741ND v1
TL-WR741ND v4
WNDR3700 v1
WZR-HP-G300NH
SVN-Revision: 29868
2012-01-22 22:38:19 +00:00
Gabor Juhos
386cbfe45b
ar71xx: move arch specific files to files-2.6.39
...
SVN-Revision: 29867
2012-01-22 22:38:11 +00:00
Gabor Juhos
7b7427e52c
ar71xx: build ALFA AP96 images with default profile as well
...
SVN-Revision: 29866
2012-01-22 22:33:15 +00:00
Gabor Juhos
e7dee3aeed
ar71xx: wrt160nl_part: include module.h and fix compiler warnings
...
SVN-Revision: 29856
2012-01-22 17:55:38 +00:00
Gabor Juhos
a7d344565b
ar71xx: tplinkpart: include module.h
...
SVN-Revision: 29855
2012-01-22 17:55:36 +00:00
Gabor Juhos
6c2638c5e2
ar71xx: rename vsc7385 spi driver
...
SVN-Revision: 29853
2012-01-22 13:51:57 +00:00
Gabor Juhos
bb16739db9
ar71xx: rename ap81 spi driver
...
SVN-Revision: 29852
2012-01-22 13:51:56 +00:00
Gabor Juhos
5ef8b922fa
ar71xx: rename rb4xx spi drivers
...
SVN-Revision: 29851
2012-01-22 13:51:54 +00:00
Gabor Juhos
aad175d5b6
ar71xx: rename the nxp_74hc153 driver
...
SVN-Revision: 29850
2012-01-22 13:51:52 +00:00
Gabor Juhos
ef1c53b7b7
ar71xx: change board id of the UniFi board
...
SVN-Revision: 29849
2012-01-22 13:51:50 +00:00
Gabor Juhos
f90e578903
ar71xx: include linux/module.h in the micrel phy driver
...
SVN-Revision: 29848
2012-01-22 13:51:49 +00:00
Gabor Juhos
fbf81c8e79
ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
...
SVN-Revision: 29713
2012-01-11 18:00:50 +00:00
Gabor Juhos
67f62cf5cf
ar71xx: disable ath79 in order to get rid of Kconfig warnings
...
SVN-Revision: 29711
2012-01-11 09:14:19 +00:00
Gabor Juhos
88d8cdd503
ar71xx: pb44_spi: add shutdown handler
...
This allows to access the flash from a kexec'd kernel.
SVN-Revision: 29710
2012-01-11 09:14:18 +00:00
Gabor Juhos
e1b7995aef
ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
...
SVN-Revision: 29709
2012-01-11 09:14:17 +00:00
Gabor Juhos
67444c7795
ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
...
SVN-Revision: 29708
2012-01-11 09:14:15 +00:00
Gabor Juhos
0f566a376c
ar71xx: ar71xx_spi: add shutdown handler
...
This allows to access the flash from a kexec'd kernel.
SVN-Revision: 29707
2012-01-11 09:14:14 +00:00
Gabor Juhos
09a6e3f662
ar71xx: ar71xx_spi: save and restore regs from probe/remove
...
SVN-Revision: 29706
2012-01-11 09:14:13 +00:00
Gabor Juhos
714a9bd641
ar71xx: ar71xx_wdt: add shutdown handler
...
SVN-Revision: 29705
2012-01-11 09:14:11 +00:00
Gabor Juhos
9727256330
ar71xx: refresh patches
...
SVN-Revision: 29683
2012-01-07 19:36:43 +00:00
Gabor Juhos
4edff7d3ef
ar71xx: add a profile and build images for the TL-WR2543N/ND
...
SVN-Revision: 29682
2012-01-07 19:36:42 +00:00
Gabor Juhos
a1dcbc66a6
ar71xx: add initial support for the TL-WR2543N/ND board
...
The WLAN LEDs are not working yet.
SVN-Revision: 29680
2012-01-07 19:36:35 +00:00
Gabor Juhos
a56bdeff9d
ar71xx: allow to specify max read size for m25p80
...
Reading from the flash chip on the TL-WR2543ND seems buggy.
If the SPI flash driver tries to read too much data in one
SPI transfer, the flash chip returns bogus values. This can
be caused by a buggy flash chip on my board, or it can
be a bug in our SPI driver.
Add a workaround to the m25p80 driver until I find out the
root cause of the problem. The patch allows to specify the
maximum numner of bytes which can be read safely withint
one SPI transfer.
SVN-Revision: 29679
2012-01-07 19:36:33 +00:00
Gabor Juhos
67b2814842
ar71xx: local mac support on the wndr3700
...
The wndr3700 at least has no eth0 mac address and usually leverages
the first wireless device's mac when in a bridged scenario. If,
however, you want to route, and not bridge the interfaces, you
need a unique mac address for it.
This patch sets the local bit on the mac address pulled from the
wireless chip and uses the resulting address for eth0.
Patch-by: Dave Taht <dave.taht@gmail.com>
SVN-Revision: 29675
2012-01-07 17:24:44 +00:00
Gabor Juhos
6c74274c8d
generic: improve MIPS kexec support
...
It is based on patches from the linux-longsoon-community git tree:
http://dev.lemote.com/cgit/linux-loongson-community.git/
Now the kernel can use the command line parameter from kexec-tools.
Runtime tested on ar71xx with 2.6.39.4 (the wathdog must be stopped
before executing the new kernel). Compile tested with lantiq (3.1.4)
and brcm47xx (3.0.12).
SVN-Revision: 29674
2012-01-07 16:29:16 +00:00
Gabor Juhos
f638c6207b
ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
...
SVN-Revision: 29672
2012-01-06 15:54:59 +00:00
Gabor Juhos
1e848b17ad
ar71xx: add support for Redwave RW2458N
...
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 29669
2012-01-06 07:20:59 +00:00
Gabor Juhos
84cd8a5ee0
ar71xx: fix RB-750 network configuration
...
SVN-Revision: 29668
2012-01-06 07:20:54 +00:00
Gabor Juhos
8eb0b7ab3d
ar71xx: fix sections mismatch warnings in the nand drivers
...
SVN-Revision: 29667
2012-01-05 18:08:33 +00:00
Gabor Juhos
232eb83f74
ar71xx: fix LED configuration on the RB-750
...
SVN-Revision: 29666
2012-01-05 18:08:28 +00:00
Gabor Juhos
d65c6fe720
ar71xx: create profile and build image for the ALFA AP96 board
...
SVN-Revision: 29663
2012-01-04 21:13:57 +00:00
Gabor Juhos
b8f0d86115
ar71xx: add inital support for the ALFA Network AP96 board
...
The microSD slot and the Real Time Clock is not working yet.
The miniPCIe interface is not tested due to the lack of a
suitable card.
SVN-Revision: 29662
2012-01-04 21:13:54 +00:00
Gabor Juhos
807e046193
ar71xx: specify console kernel parameter for the Compex boards
...
SVN-Revision: 29660
2012-01-04 17:30:59 +00:00
Gabor Juhos
923f3e3752
ar71xx: allow to use the command line hack on compex devices
...
SVN-Revision: 29659
2012-01-04 17:30:58 +00:00
Gabor Juhos
2f53f82203
ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7
...
These models are based on the AP99 reference board,
and uses the AR7241 SoC.
SVN-Revision: 29658
2012-01-04 17:30:57 +00:00
Gabor Juhos
301b1b4f92
ar71xx: show correct model name on TL-WA701N/ND boards
...
SVN-Revision: 29657
2012-01-04 17:30:55 +00:00
Gabor Juhos
ac68f0d8fa
ar71xx: add profile and build image for the TL-WA701N/ND boards
...
SVN-Revision: 29656
2012-01-04 17:30:54 +00:00
Gabor Juhos
72019009c7
ar71xx: fix network configuration for the TL-WA901N/ND boards
...
SVN-Revision: 29654
2012-01-04 17:30:52 +00:00
Gabor Juhos
90bfef9ec9
ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
...
SVN-Revision: 29653
2012-01-04 17:30:50 +00:00
Gabor Juhos
5eb502d9c1
ar71xx: add default LED configuration for the TL-MR3020
...
Also use the system LED for diagnostic.
SVN-Revision: 29652
2012-01-04 17:30:49 +00:00
Gabor Juhos
1045c83527
ar71xx: add support for TP-Link TL-MR3020
...
This patch adds support for the TP-Link device TL-MR3020 which is very
similiar to the TL-WR703N.
The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions.
Only four LEDs can be controlled via GPIO. The power LED is connected to
the power supply.
The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals
of the sliding switch have been mapped to BTN_0 and BTN_1.
I have also setup a wiki page with details here:
http://wiki.openwrt.org/toh/tp-link/tl-mr3020
USB is working and has been tested with USB mass storage and USB UMTS
stick.
Wifi also seems to work.
Ethernet is working too.
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
SVN-Revision: 29651
2012-01-04 17:30:47 +00:00
Gabor Juhos
88223f87d1
ar71xx: use the new om-watchdog package for OM2P
...
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
SVN-Revision: 29648
2012-01-04 17:30:41 +00:00
Gabor Juhos
8854c90119
ar71xx: add profile and build factory image for the Hornet-UB board
...
SVN-Revision: 29637
2012-01-01 19:30:29 +00:00
Gabor Juhos
1d3de89f3c
ar71xx: build images for the ALFA Network N2/N5 boards
...
SVN-Revision: 29636
2012-01-01 19:30:28 +00:00
Gabor Juhos
1e68f10b87
ar71xx: add support for the ALFA Network N2/N5 boards
...
SVN-Revision: 29635
2012-01-01 19:30:25 +00:00
Gabor Juhos
5c067db8a7
ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
...
SVN-Revision: 29631
2011-12-31 15:02:46 +00:00
Gabor Juhos
fff02e6ea8
ar71xx: enable SWCONFIG_LEDS
...
SVN-Revision: 29630
2011-12-31 15:02:40 +00:00
Gabor Juhos
8c2482f76e
ar71xx: ag71xx: implement get_port_{link,stats} callbacks
...
SVN-Revision: 29626
2011-12-31 15:02:26 +00:00
Gabor Juhos
557009bbdb
ar71xx: fix LEDs on the WRT400N
...
SVN-Revision: 29624
2011-12-31 13:54:11 +00:00
Gabor Juhos
76dacee995
ar71xx: enable sysupgrade support for airrouter
...
Works for me! ;-)
Patch-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 29614
2011-12-27 16:59:43 +00:00
Gabor Juhos
c6ee919b2a
ar71xx: fix sysupgrade on PB42/PB44 boards
...
SVN-Revision: 29613
2011-12-27 16:57:01 +00:00
Felix Fietkau
db0a1db257
ar71xx: set a reserved bit that resets to 1 when writing the address table control register on the ar7240 switch (should fix #10547 )
...
SVN-Revision: 29598
2011-12-22 05:43:53 +00:00
Jonas Gorski
8799627ef0
ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
...
Thanks netprince for reporting and testing.
SVN-Revision: 29595
2011-12-21 19:32:40 +00:00
Jo-Philipp Wich
ebefe1eb3a
the mach file of the WZR-HP-G300NH2 accidentally claimed the mach id of the WZR-HP-AG300H, correct the id ( #10649 )
...
SVN-Revision: 29593
2011-12-21 01:27:48 +00:00
Felix Fietkau
11013ad947
ar71xx: add missing wireless led changes for wzr-hp-g300nh2
...
SVN-Revision: 29568
2011-12-19 09:04:15 +00:00
Felix Fietkau
0cc056cb7e
ar71xx: add support for the wzr-hp-g300nh2
...
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
SVN-Revision: 29567
2011-12-18 22:20:17 +00:00
Gabor Juhos
5a0a2b2f1b
ar71xx: use 64kraw template on more TP-Link boards
...
SVN-Revision: 29561
2011-12-17 18:49:55 +00:00
Gabor Juhos
67c7980290
ar71xx: connect GMAC0 to the internal switch on DB120
...
Because the external switch has no driver yet, connect GMAC0
to the PHY4 of the internal switch for now. This allows to
use the DB120 board as a router with 4LAN+1WAN ports.
SVN-Revision: 29557
2011-12-15 22:25:38 +00:00
Gabor Juhos
5bbd416e38
ar71xx: add defines for the AR934X GMAC interface
...
SVN-Revision: 29556
2011-12-15 22:25:36 +00:00
Gabor Juhos
e47a8c2bb2
ar71xx: fix GMAC1 interface speed on the DB120 board
...
SVN-Revision: 29555
2011-12-15 22:25:35 +00:00
Gabor Juhos
36bc2c2c80
ar71xx: ag71xx: fix switch port setup for AR934X
...
SVN-Revision: 29554
2011-12-15 22:25:32 +00:00
Gabor Juhos
00667c3846
ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
...
SVN-Revision: 29553
2011-12-15 22:25:30 +00:00
Gabor Juhos
0540970345
ar71xx: ag71xx: setup switch interface mode on AR934X
...
SVN-Revision: 29552
2011-12-15 22:25:29 +00:00
Gabor Juhos
44014110b8
ar71xx: ag71xx: detect the built-in switch of the AR934X SoCs
...
SVN-Revision: 29551
2011-12-15 22:25:28 +00:00
Gabor Juhos
e2a546d475
ar71xx: allow to attach the internal switch for AR934x
...
SVN-Revision: 29550
2011-12-15 22:25:22 +00:00
Gabor Juhos
9ae65588d8
ar71xx: introduce ar71xx_switch_data
...
SVN-Revision: 29549
2011-12-15 22:25:11 +00:00
Gabor Juhos
bfe747b7d9
ar71xx: build images for TL-WR741N/ND v2
...
SVN-Revision: 29548
2011-12-15 22:03:48 +00:00
Gabor Juhos
aefff26624
ar71x: use raw squashfs images for TP-Link boards
...
SVN-Revision: 29547
2011-12-15 22:03:46 +00:00
Gabor Juhos
d5bd28ffae
ar71xx: create a template for using unpadded squashfs images
...
SVN-Revision: 29546
2011-12-15 22:03:45 +00:00
Gabor Juhos
dbc4fa4b5b
ar71xx: put squash image right after the kernel on TP-Link boards
...
SVN-Revision: 29545
2011-12-15 22:03:44 +00:00
Gabor Juhos
850be54b72
ar71xx: tplinkpart: allow to detect JFFS2 as well
...
SVN-Revision: 29543
2011-12-15 22:03:40 +00:00
Gabor Juhos
b7d7481b07
ar71xx: ag71xx: check PHY IDs before accessing the switch registers
...
SVN-Revision: 29541
2011-12-15 13:25:23 +00:00
Gabor Juhos
0655552860
ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
...
SVN-Revision: 29540
2011-12-15 13:25:21 +00:00
Gabor Juhos
204fc6bed5
ar71xx: ag71xx: nuke ar7240sw_init
...
SVN-Revision: 29539
2011-12-15 13:25:20 +00:00
Gabor Juhos
d1f7783612
ar71xx: fix mac addresses on jjPlus devices
...
SVN-Revision: 29538
2011-12-15 13:25:18 +00:00
Gabor Juhos
d3058b8f8c
ar71xx: build image for the Hornet-UB board
...
SVN-Revision: 29536
2011-12-14 20:54:11 +00:00
Gabor Juhos
b9c5cb5c9a
ar71xx: add support for ALFA Network's Hornet-UB board
...
SVN-Revision: 29535
2011-12-14 20:54:10 +00:00
Gabor Juhos
66c8cc0f6d
ar71xx: add GPIO function bit defines for AR933X
...
SVN-Revision: 29534
2011-12-14 20:54:07 +00:00
Felix Fietkau
7076d74b21
ar71xx: fix gpio count for ar7241/ar7242
...
SVN-Revision: 29532
2011-12-14 20:47:24 +00:00
Felix Fietkau
b878f4a927
ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
...
SVN-Revision: 29531
2011-12-14 20:21:42 +00:00
Gabor Juhos
d2717d3d47
ar71xx: get rid of squashfs-4k images
...
SVN-Revision: 29522
2011-12-13 20:41:24 +00:00
Felix Fietkau
4a441570ca
kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets
...
SVN-Revision: 29516
2011-12-13 15:14:59 +00:00
Felix Fietkau
3806671fe5
ar71xx: fix wireless led on wzr-hp-g450h
...
SVN-Revision: 29515
2011-12-13 15:00:43 +00:00
Gabor Juhos
2dd7dfb1c9
ar71xx: enable AR9341 support at setup.c
...
Patch-by: dyq <729650915@qq.com>
SVN-Revision: 29514
2011-12-13 14:59:43 +00:00
Gabor Juhos
058998acdb
ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
...
The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The
WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case.
The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or
switch ports 2-4. The stock firmware uses a single LED (in the 5GHz
position) to indicate the status of both radios, and a single LED (in the
switch port 1 position) to indicate the status of all LAN ports. The
"missing" LEDs are present on the board, and easily shine through the
case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs.
I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume
that this is sufficient to build a fully-functional image.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 29513
2011-12-13 14:59:40 +00:00
Felix Fietkau
48f9717371
ar71xx: add gpios and usb for wzr-hp-g450h
...
SVN-Revision: 29509
2011-12-13 13:33:44 +00:00
Gabor Juhos
4ca2d86493
ar71xx: use RedBoot parser on PB44
...
SVN-Revision: 29501
2011-12-11 15:52:47 +00:00
Gabor Juhos
6e69765559
ar71xx: fix WNDR3x00 factory image generation
...
Factory images for WNDR3700v2 and WNDR3800 should contain these model IDs
for the device: field in their DNI tags, not WNDR3700.
This regressed in r29434, which redid WNDR3x00 model detection. The sixth
parameter to Image/Build/Netgear is only used as the -B argument to
mkdniimg, which is used to set the device: field. In r29434, this was
erroneously changed to be WNDR3700 for all models. The tools to flash
factory images (U-Boot's TFTP server and the factory software's upgrade
utility) may refuse to honor images with incorrect device: fields in their
DNI tags.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 29473
2011-12-07 06:55:50 +00:00
Gabor Juhos
8eb8a6e1e7
ar71xx: fix WNDR3x00 model detection
...
Detect the model name for /tmp/sysinfo/model based on 10 bytes at offset
56 in the art (caldata) mtd partition.
r29434 redid WNDR3x00 model detection, attempting to distinguish between
WNDR3700v2 and WNDR3800 by checking MemTotal in /proc/meminfo. However, it
contained a bug: it put the awk inside a $(...), with the result that all
WNDR3700v2 and WNDR3800 models would be reported as WNDR3800. This patch
checks the model name stored in the art partition, as is done by U-Boot
shipping on the WNDR3800. It has the likely advantage of working with
future models based on the WNDR3700 board. It also will not mis-detect
units on which people install more memory.
I have tested this patch on WNDR3700 (v1), WNDR3700v2, and WNDR3800.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 29472
2011-12-07 06:55:39 +00:00
Gabor Juhos
c6b2b98812
ar71xx: create firmware image for the TL-WR740N/ND v4 boards
...
Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com>
SVN-Revision: 29468
2011-12-06 16:26:44 +00:00
Gabor Juhos
fbfad4e9b4
ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
...
SVN-Revision: 29467
2011-12-06 16:26:43 +00:00
Gabor Juhos
d753e08c79
ar71xx: fix TL-MR3x20 profile names in image/Makefile
...
SVN-Revision: 29463
2011-12-06 13:53:21 +00:00
Gabor Juhos
62d8009cdd
ar71xx: cleanup TP-Link profiles
...
SVN-Revision: 29461
2011-12-06 10:29:25 +00:00
Gabor Juhos
f7a482d382
ar71xx: add TP-Link board detection
...
SVN-Revision: 29459
2011-12-05 21:11:01 +00:00
Gabor Juhos
bdc2eca7de
ar71xx: use correct mac on the lan interface on several TP-LINK devices
...
SVN-Revision: 29458
2011-12-05 21:10:58 +00:00
Gabor Juhos
0103069372
ar71xx: allow to pass negative offset values for ar71xx_init_mac
...
SVN-Revision: 29457
2011-12-05 21:10:55 +00:00
Gabor Juhos
ada92aee62
ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
...
SVN-Revision: 29456
2011-12-05 18:21:15 +00:00
Gabor Juhos
c6bcf8d1d8
ar71xx: verify hardware id of firmware images on TP-Link boards
...
SVN-Revision: 29455
2011-12-05 18:11:51 +00:00
Gabor Juhos
4dc9092f4b
ar71xx: reclaim some unused space on TP-Link boards
...
With the default OpenWrt configuration, this increases the size
of the rootfs_data partition by 384KB/128KB on the older/newer
TP-Link models.
SVN-Revision: 29447
2011-12-05 14:52:36 +00:00
Gabor Juhos
3e7a6d182a
ar71xx: check squashfs signature in TP-Link mtd parser
...
SVN-Revision: 29446
2011-12-05 14:52:33 +00:00
Gabor Juhos
feebf484ba
ar71xx: use the lzma-loader on TP-Link boards w/o lzma support
...
SVN-Revision: 29444
2011-12-05 14:52:28 +00:00
Gabor Juhos
d42968351f
ar71xx: add lzma loader
...
SVN-Revision: 29443
2011-12-05 14:52:25 +00:00
Felix Fietkau
1f809532de
ar71xx: add preliminary support for wzr-hp-g450h
...
SVN-Revision: 29441
2011-12-05 14:20:51 +00:00
Felix Fietkau
d1f63f8538
ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80.c, other buffalo routers use it as well
...
SVN-Revision: 29440
2011-12-05 14:20:44 +00:00
Gabor Juhos
4cc2b9bb06
ar71xx: rewrite WNDR3700/3800 handling
...
SVN-Revision: 29434
2011-12-05 13:03:54 +00:00
Jo-Philipp Wich
78699c2e51
add some missing wndr3800 base-files definitions
...
SVN-Revision: 29433
2011-12-05 12:56:21 +00:00
Gabor Juhos
5177814ade
ar71xx: change user-space board detection
...
SVN-Revision: 29432
2011-12-05 12:56:20 +00:00
Gabor Juhos
8a3a60fc64
ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too big
...
SVN-Revision: 29431
2011-12-05 12:47:53 +00:00
Gabor Juhos
7cfa39f032
ar71xx: use the tp-link parser on the tp-link boards
...
Also remove static partition maps.
SVN-Revision: 29416
2011-12-03 18:13:31 +00:00
Gabor Juhos
514b1167c9
ar71xx: add mtd partition parser for the TP-Link boards
...
SVN-Revision: 29415
2011-12-03 18:13:27 +00:00
Gabor Juhos
fc7fb29bae
ar71xx: run the RedBoot parser only on the RedBoot based boards
...
SVN-Revision: 29414
2011-12-03 18:13:25 +00:00
Gabor Juhos
9cc28d5aa0
ar71xx: run the MyLoader parser only on the WP543 board
...
SVN-Revision: 29413
2011-12-03 18:13:23 +00:00
Gabor Juhos
67a0b9aada
ar71xx: run the wrt160nl parser only on the WRT160NL board
...
Also remove static mtd partition definitions.
SVN-Revision: 29412
2011-12-03 18:13:20 +00:00
Gabor Juhos
c8acd6e013
ar71xx: allow to pass part_probe types to the m25p80 driver
...
SVN-Revision: 29411
2011-12-03 18:13:18 +00:00
Gabor Juhos
20483faed0
ar71xx: create initramfs images for the newer TP-Link boards
...
SVN-Revision: 29410
2011-12-03 16:57:23 +00:00
Gabor Juhos
9a2005e5e6
ar71xx: remove swconfig and wpad-mini from custom profiles
...
SVN-Revision: 29408
2011-12-03 16:33:41 +00:00
Gabor Juhos
bc1d818610
ar71xx: add uboot-envtools to the default package list
...
SVN-Revision: 29407
2011-12-03 16:33:40 +00:00
Gabor Juhos
a02a9c3f8b
ar71xx: reclaim unused space in WNDR3700/3800 images
...
Patch by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 29406
2011-12-03 16:33:38 +00:00
Gabor Juhos
ac82296c53
ar71xx: add a profile and build image for the OM2P board
...
[juhosg: the name of the final image has been changed to
'openwrt-ar71xx-generic-om2p-squashfs-factory.bin']
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
SVN-Revision: 29397
2011-12-01 22:49:05 +00:00
Gabor Juhos
f188f1bad5
ar71xx: add support for Ubiquiti AirRouter
...
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>
SVN-Revision: 29395
2011-12-01 22:49:02 +00:00
Gabor Juhos
0612667c34
ar71xx: configure default led behavior for the OM2P
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
SVN-Revision: 29394
2011-12-01 22:48:59 +00:00
Gabor Juhos
39348e387f
ar71xx: use /lib/functions/uci-defaults.sh
...
SVN-Revision: 29385
2011-12-01 22:48:47 +00:00
Gabor Juhos
f20797306a
ar71xx: modify phy mask of the WP543 board
...
This fixes ethernet on newer boards. Based on a patch from #9702 .
SVN-Revision: 29328
2011-11-24 20:09:43 +00:00
Gabor Juhos
c20d7378e5
ar71xx: fix wndr3800 machine name
...
This fixes the machine name in /proc/cpuinfo and luci status page machine name.
Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>
SVN-Revision: 29326
2011-11-24 20:09:38 +00:00
Gabor Juhos
600b6efc41
ar71xx: copy atheros initramfs images to the image directory
...
SVN-Revision: 29325
2011-11-24 20:09:35 +00:00
Gabor Juhos
d97cf76790
ar71xx: specify mtd layout in command line for the DB120 board
...
SVN-Revision: 29324
2011-11-24 20:09:32 +00:00
Gabor Juhos
9990523a0f
ar71xx: set GE0 phy_mask for AR933x
...
SVN-Revision: 29274
2011-11-20 11:30:10 +00:00
Gabor Juhos
f27548448b
ar71xx: fix USB LED on the DB120 board
...
SVN-Revision: 29126
2011-11-14 17:43:15 +00:00
Gabor Juhos
6ebbb1329d
ar71xx: add a function for selecting output signal on a given GPIO pin
...
SVN-Revision: 29125
2011-11-14 17:43:14 +00:00
Gabor Juhos
0c1d3617d7
ar71xx: fix GPIO function handling on AR934x
...
SVN-Revision: 29124
2011-11-14 17:43:13 +00:00
Gabor Juhos
aa0c8c4885
ar71xx: add AR71XX_ prefix to GPIO_REG_* defines
...
SVN-Revision: 29123
2011-11-14 17:43:11 +00:00
Gabor Juhos
62a7795afd
ar71xx: merge nand scan patch
...
SVN-Revision: 29122
2011-11-14 17:43:10 +00:00
Gabor Juhos
12dae96097
ar71xx: fix a compiler warning
...
SVN-Revision: 29110
2011-11-14 13:07:47 +00:00
Gabor Juhos
5ae0fd802c
ar71xx: fix GPIO count for AR934x
...
SVN-Revision: 29109
2011-11-14 13:07:45 +00:00
Gabor Juhos
e52269364a
ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X
...
SVN-Revision: 29108
2011-11-14 11:49:53 +00:00
Gabor Juhos
3104d70552
ar71xx: use a dummy irq chip for WMAC and PCIe irq hadling
...
SVN-Revision: 29107
2011-11-14 11:49:51 +00:00
Gabor Juhos
42e8ae09b5
ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines
...
SVN-Revision: 29106
2011-11-14 11:49:49 +00:00
Gabor Juhos
c15caea360
ar71xx: add an irq parameter for ar724x_pcibios_init
...
SVN-Revision: 29105
2011-11-14 11:49:47 +00:00
Gabor Juhos
cf90b24bb9
ar71xx: remove hardwired interface parameters from mach-* files
...
SVN-Revision: 29103
2011-11-14 07:38:09 +00:00
Gabor Juhos
defc79cb40
ar71xx: force hardwired interface parameters in ar71xx_add_device_eth
...
SVN-Revision: 29102
2011-11-14 07:38:07 +00:00
Gabor Juhos
6f4bc1ce37
ar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth
...
SVN-Revision: 29101
2011-11-14 07:38:05 +00:00
Gabor Juhos
368bbc510b
ar71xx: enable has_gbit flag on AR724{0,1}
...
SVN-Revision: 29026
2011-11-13 17:36:36 +00:00
Gabor Juhos
15d7016c9f
ar71xx: fixup onboard PCIe chip registration on the DB120 board
...
SVN-Revision: 29022
2011-11-13 12:48:03 +00:00
Gabor Juhos
f623066e60
ar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed
...
SVN-Revision: 29021
2011-11-13 12:48:01 +00:00
Gabor Juhos
d2316b2a45
ar71xx: ag71xx: add support for getting switch port link status
...
SVN-Revision: 29017
2011-11-13 11:27:04 +00:00
Gabor Juhos
d0db89133c
ar71xx: remove mii_ctrl resources of the ethernet devices
...
SVN-Revision: 29016
2011-11-13 11:27:03 +00:00
Gabor Juhos
34015ed6e8
ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx
...
SVN-Revision: 29015
2011-11-13 11:27:01 +00:00
Gabor Juhos
2d882cff23
ar71xx: ag71xx: remove unused mii_cfg related functions and defines
...
SVN-Revision: 29014
2011-11-13 11:27:00 +00:00
Gabor Juhos
538a9493b9
ar71xx: set MII interface speed from the set_speed callbacks
...
SVN-Revision: 29013
2011-11-13 11:26:59 +00:00
Gabor Juhos
93cd46be13
ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
...
Also rename the corresponding callback functions.
SVN-Revision: 29012
2011-11-13 11:26:57 +00:00
Gabor Juhos
9579bb4267
ar71xx: ag71xx: remove MII interface setup code
...
SVN-Revision: 29011
2011-11-13 11:26:56 +00:00
Gabor Juhos
da64ce8603
ar71xx: configure MII interface type from ar71xx_setup_phy_if_mode
...
SVN-Revision: 29010
2011-11-13 11:26:54 +00:00
Gabor Juhos
0112153a0e
ar71xx: fix occasional kernel hangs during boot on AR934x
...
The patch taken from the linux-mips mailing list.
The Kernel hangs occasionally during boot after
"Calibrating delay loop..". This is caused by the
c0_compare_int_usable() routine in cevt-r4k.c
returning false which causes the system to disable
the timer and hang later. The false return happens
because the routine is using a series of four calls
to irq_disable_hazard() as a delay while it waits
for the timer changes to propagate to the cp0 cause
register. On newer MIPS cores, like the 74K, the
series of irq_disable_hazard() calls turn into ehb
instructions and can take as little as a few clock
ticks for all 4 instructions. This is not enough of
a delay, so the routine thinks the timer is not
working.
This fix uses up to a max number of cycle counter
ticks for the delay and uses back_to_back_c0_hazard()
instead of irq_disable_hazard() to handle the hazard
condition between cp0 writes and cp0 reads.
SVN-Revision: 29009
2011-11-13 11:26:52 +00:00
Gabor Juhos
1afc76ea13
ar71xx: refresh kernel patches
...
SVN-Revision: 29008
2011-11-13 11:26:51 +00:00
Gabor Juhos
5ad763075e
ar71xx: use the button for WPS control on the DB120
...
SVN-Revision: 28990
2011-11-12 12:50:20 +00:00
Gabor Juhos
4555be2bec
ar71xx: register the second ethernet interface on the DB120 board
...
SVN-Revision: 28989
2011-11-12 12:50:19 +00:00
Gabor Juhos
368c6605a0
ar71xx: implement SoC specific phy interface setup
...
SVN-Revision: 28988
2011-11-12 12:50:18 +00:00
Gabor Juhos
21d317b9cc
ar71xx: move phy interface setup into a separate function
...
SVN-Revision: 28987
2011-11-12 12:50:16 +00:00
Gabor Juhos
aff0c84ffa
ar71xx: register both MDIO bus on the DB120 board
...
SVN-Revision: 28986
2011-11-12 12:09:59 +00:00
Gabor Juhos
b144249108
ar71xx: add AR934X specific MDIO registration code
...
SVN-Revision: 28985
2011-11-12 12:09:56 +00:00
Gabor Juhos
f835106c8c
ar71xx: add a secondary mdio bus
...
SVN-Revision: 28984
2011-11-12 12:09:54 +00:00
Gabor Juhos
90a42da270
ar71xx: rename ar71xx_mdio_* structures to ar71xx_mdio0_*
...
SVN-Revision: 28983
2011-11-12 12:09:50 +00:00
Gabor Juhos
9daa2149fd
ar71xx: add an id argument to ar71xx_add_device_mdio
...
SVN-Revision: 28982
2011-11-12 12:09:48 +00:00
Gabor Juhos
b07b687aec
ar71xx: pass netdev and miidev pointer to ar71xx_add_device_dsa
...
SVN-Revision: 28981
2011-11-12 12:09:42 +00:00
Gabor Juhos
a9216bb76e
ar71xx: add AR934x specific USB setup
...
SVN-Revision: 28980
2011-11-12 10:54:20 +00:00
Gabor Juhos
346e44105a
ar71xx: register the first ethernet interface on the DB120 board
...
SVN-Revision: 28979
2011-11-12 10:54:18 +00:00
Gabor Juhos
b1ba5e2f3d
ar71xx: allow to register ethernet interfaces for AR934X
...
SVN-Revision: 28978
2011-11-12 10:54:17 +00:00
Gabor Juhos
2f9e535e89
ar71xx: ag71xx: use fixed link parameters if the mii bus is not registered
...
SVN-Revision: 28977
2011-11-12 10:54:16 +00:00
Gabor Juhos
e962b07c8b
ar71xx: add AR934X specific bootstrap and reset register bits
...
SVN-Revision: 28976
2011-11-12 10:54:15 +00:00
Gabor Juhos
d461fdd519
ar71xx: add diag support for the DB120 board
...
SVN-Revision: 28975
2011-11-12 10:54:10 +00:00
Gabor Juhos
d8db8e94c8
ar71xx: fix GPIO direction setup for AR934x
...
SVN-Revision: 28974
2011-11-12 10:54:09 +00:00
Gabor Juhos
43e993e5f5
ar71xx: fix AR934X clock frequency calculation
...
SVN-Revision: 28973
2011-11-12 10:54:08 +00:00
Gabor Juhos
8687fc3e41
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>
SVN-Revision: 28971
2011-11-12 10:54:04 +00:00
Felix Fietkau
7a2efd8c28
ar71xx: remove dead code
...
SVN-Revision: 28851
2011-11-08 00:33:20 +00:00
Felix Fietkau
94309039b7
ar71xx: on ar7240, exclude ports from their own port vlan destination mask
...
SVN-Revision: 28850
2011-11-08 00:33:15 +00:00
Gabor Juhos
87704b8078
ar71xx: create TL-WA901ND network config from uci-defaults
...
SVN-Revision: 28833
2011-11-07 21:44:24 +00:00
Gabor Juhos
09fdfa444f
ar71xx: create ALL0258N network config from uci-defaults
...
SVN-Revision: 28832
2011-11-07 21:44:23 +00:00
Gabor Juhos
63348f5fed
ar71xx: create NBG{460N,550N,550NH} network config from uci-defaults
...
SVN-Revision: 28831
2011-11-07 21:44:20 +00:00
Gabor Juhos
c3692c8331
ar71xx: create WZR-HP-G300NH network config from uci-defaults
...
SVN-Revision: 28830
2011-11-07 21:44:17 +00:00
Gabor Juhos
ee1a07a11d
ar71xx: create RB-493G network config from uci-defaults
...
SVN-Revision: 28829
2011-11-07 21:44:12 +00:00
Gabor Juhos
d82d063d81
ar71xx: create TL-WR1043ND network config from uci-defaults
...
SVN-Revision: 28828
2011-11-07 21:44:11 +00:00
Gabor Juhos
68be590894
ar71xx: create WRT160NL network config from uci-defaults
...
SVN-Revision: 28827
2011-11-07 21:44:09 +00:00
Gabor Juhos
83901e47c9
ar71xx: create PB92 network config from uci-defaults
...
SVN-Revision: 28826
2011-11-07 21:44:08 +00:00
Gabor Juhos
22ab9fc9ad
ar71xx: create DIR-825-B1 network config from uci-defaults
...
SVN-Revision: 28825
2011-11-07 21:44:07 +00:00
Gabor Juhos
e866ba5753
ar71xx: create TL-WR{841N-v1,941ND} network config from uci-defaults
...
SVN-Revision: 28824
2011-11-07 21:44:03 +00:00
Gabor Juhos
9298c7afe5
ar71xx: create RB-450 network config from uci-defaults
...
SVN-Revision: 28823
2011-11-07 21:44:02 +00:00
Gabor Juhos
ac256f97bd
ar71xx: create RB-450G, RouterStation Pro network config from uci-defaults
...
SVN-Revision: 28822
2011-11-07 21:44:01 +00:00
Gabor Juhos
944ac3f6cf
ar71xx: create RB-433{,U} network config from uci defaults
...
SVN-Revision: 28821
2011-11-07 21:43:58 +00:00
Gabor Juhos
6e8390ae6c
ar71xx: create even more network configs from the uci-defaults script
...
Create the default network configuration dynamically for the
AR724x/AR9331 boards. Some other boards are using the same
configuration, so convert those as well.
SVN-Revision: 28820
2011-11-07 21:43:56 +00:00
Gabor Juhos
b62560413a
ar71xx: create more network configs from the uci-defaults script
...
Create the default network configuration dynamically for the boards with
swapped eth0, eth1 interfaces.
SVN-Revision: 28819
2011-11-07 21:43:54 +00:00
Gabor Juhos
6c92b26bac
ar71xx: create a bunch of network configs from the uci-defaults script
...
Create the default network configuration dynamically for the boards with
a single ethernet interface.
SVN-Revision: 28818
2011-11-07 21:43:52 +00:00
Gabor Juhos
0a8e5dbf7b
ar71xx: create generic network config from an uci-defaults script
...
SVN-Revision: 28817
2011-11-07 21:43:51 +00:00
Gabor Juhos
54c034ae7a
ar71xx: remove AP81 defconfig, it is the same as the generic config
...
SVN-Revision: 28816
2011-11-07 21:34:33 +00:00
Gabor Juhos
5b6cc3eb9f
ar71xx: change generated Buffalo firmware versions
...
With version 1.76 the upgrade may fail with newer Buffalo firmwares with
a message like this:
"You can not update the firmware because the firmware version is earlier
than 1.82. Please use 1.82 or later version for firmware update."
SVN-Revision: 28815
2011-11-07 21:34:32 +00:00
Gabor Juhos
eb9ef60e2d
ar71xx: enable sysupgrade on the WHR-G301N and WHR-HP-GN boards
...
SVN-Revision: 28812
2011-11-07 20:25:00 +00:00
Gabor Juhos
8456840d82
ar71xx: wrap long lines in the upgrade script
...
SVN-Revision: 28811
2011-11-07 20:24:59 +00:00
Gabor Juhos
c60baf78ce
ar71xx: fix WHR-HP-G300N firmware partition offset
...
SVN-Revision: 28810
2011-11-07 20:24:57 +00:00
Gabor Juhos
b27254a2c5
ar71xx: add default network configuration for the WHR-HP-GN
...
SVN-Revision: 28807
2011-11-07 13:32:43 +00:00
Gabor Juhos
034b2b7cde
ar71xx: build image for the Buffalo WHR-HP-GN
...
SVN-Revision: 28806
2011-11-07 12:59:11 +00:00
Gabor Juhos
a801d620a7
ar71xx: add support for the Buffalo WHR-HP-GN board
...
SVN-Revision: 28805
2011-11-07 12:59:10 +00:00
Gabor Juhos
0d9ae0a036
ar71xx: build image for the Buffalo WHR-G301N
...
SVN-Revision: 28804
2011-11-07 12:59:08 +00:00
Gabor Juhos
4509af17ed
ar71xx: add support for the Buffalo WHR-G301N board
...
SVN-Revision: 28803
2011-11-07 12:59:07 +00:00
Gabor Juhos
63784ea2bc
ar71xx: fix WHR-HP-G300N image generation
...
SVN-Revision: 28802
2011-11-07 12:59:05 +00:00
Gabor Juhos
b3b21cb3bf
ar71xx: enable WHR-HP-G300N support in kernel config
...
SVN-Revision: 28801
2011-11-07 12:59:04 +00:00
Gabor Juhos
4aace1e2e3
ar71xx: fix WHR-HP-G300N MTD partitions
...
SVN-Revision: 28800
2011-11-07 12:59:03 +00:00
Gabor Juhos
4c985724af
ar71xx: add missing AR71XX_MACH_TL_WR741ND_V4
...
SVN-Revision: 28709
2011-11-01 14:38:12 +00:00
Gabor Juhos
fc8adbb854
ar71xx: build image for the TL-WR741ND v4 board
...
SVN-Revision: 28708
2011-11-01 11:20:55 +00:00
Gabor Juhos
91f08d47c2
ar71xx: add initial support for the TL-WR741ND v4 board
...
The ethernet port LEDs are not working yet.
SVN-Revision: 28706
2011-11-01 11:20:52 +00:00
Gabor Juhos
21e651c9a1
ar71xx: add AR933X GMAC register defines
...
SVN-Revision: 28705
2011-11-01 11:20:50 +00:00
Gabor Juhos
43e2e2e4ef
ar71xx: combine LEDs setup in one file
...
SVN-Revision: 28704
2011-11-01 11:20:49 +00:00
Gabor Juhos
f372620ffa
ar71xx: unify LED names on Planex boards
...
SVN-Revision: 28703
2011-11-01 11:20:47 +00:00
Gabor Juhos
66ab406d5a
ar71xx: unify LED names on Buffalo boards
...
SVN-Revision: 28702
2011-11-01 11:20:46 +00:00
Gabor Juhos
e7586959df
ar71xx: unify LED names on TP-Link boards
...
SVN-Revision: 28701
2011-11-01 11:20:44 +00:00
Gabor Juhos
3a7b12a27d
ar71xx/all0258n: sysupgrade support
...
U-Boot on the ALL0258N needs offset, size and md5 for kernel and rootfs to be
stored in the U-Boot environment.
If the checksums don't match during boot, a failsafe-system is booted instead.
This patch adds a board-specific sysupgrade hack for the all0258n which
calculates and updates the checksums for the U-Boot environment.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28700
2011-11-01 09:23:32 +00:00
Gabor Juhos
f40557a692
ar71xx/all0258n: add default config
...
This adds default network and uboot-env settings for the ALL0258N.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28699
2011-11-01 09:23:31 +00:00
Gabor Juhos
06d9653b36
ar71xx: remove default network config of the mzk-w04nu board as well
...
It works with the generic config.
SVN-Revision: 28695
2011-11-01 09:23:25 +00:00
Gabor Juhos
693c777eaf
ar71xx: remove LED setup of nonexistent interfaces on RB750
...
SVN-Revision: 28693
2011-10-31 14:26:56 +00:00
Gabor Juhos
2bcd612e72
ar71xx: remove default network config of the wnr2000 board
...
It is the same as the generic configuration.
SVN-Revision: 28692
2011-10-31 14:26:51 +00:00
Gabor Juhos
39b3bfcf6a
ar71xx/sysupgrade: use $magic_long instead of $magic when comparing with a 32-bit value
...
Aparently $magic_long was meant here instead of $magic when comparing with
32-bit values.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28678
2011-10-30 13:06:30 +00:00
Gabor Juhos
415814f051
ar71xx: fix typos in image/Makefile
...
SVN-Revision: 28618
2011-10-27 07:54:52 +00:00
Gabor Juhos
1646346798
ar71xx: add initial support for the OpenMesh OM2P board
...
Based on a patch by Marek Lindner <marek@open-mesh.com>
SVN-Revision: 28617
2011-10-27 07:54:51 +00:00
Gabor Juhos
d02f22fea1
ar71xx/all0258n: fix partition layout
...
A miscalculation in the original patch makes OpenWrt destroy the failsafe image.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28615
2011-10-27 07:54:47 +00:00
Gabor Juhos
4a70cace09
ar71xx: create image for the WNDR3800
...
This adds support for the Netgear WNDR3800, it is almost the same as
the WNDR3700v2. It just has more RAM so the hd_id had to be adjusted.
Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>
SVN-Revision: 28597
2011-10-26 06:12:47 +00:00
Gabor Juhos
c8b9086ac5
ar71xx: build image for the Buffalo WHR-HP-G300N
...
Based on a patch by Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 28568
2011-10-24 21:49:29 +00:00
Gabor Juhos
9d51cda2db
ar71xx: Buffalo WHR-HP-G300N kernel support
...
The initial support for the Buffalo WHR-HP-G300N box.
The code was confirmed to boot and run, but not tested in depth.
Known problem: iw phy phy0 info shows:
Coverage class: 0 (up to 0m)
Available Antennas: TX 0 RX 0
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 28567
2011-10-24 21:49:26 +00:00
Gabor Juhos
0ab6be2ba3
ar71xx: build image for the Allnet ALL0258N board
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28565
2011-10-24 21:49:23 +00:00
Gabor Juhos
d96e321bd1
ar71xx: add kernel support for the Allnet ALL0258N board
...
This patchs adds support for the Allnet ALL0258N outdoor AP/bridge.
The ALL0258N is based on the AR7240 SoC paired with an AR9285 radio,
it got 8MB of NOR and 32MB SDRAM.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28564
2011-10-24 21:49:21 +00:00
Gabor Juhos
ef41e0a61c
ar71xx: don't override CONFIG_FSNOTIFY
...
SVN-Revision: 28563
2011-10-24 21:49:18 +00:00
Jo-Philipp Wich
b61de9c865
base-files: make sure inittab-console-fixup returns with success ( #10275 )
...
SVN-Revision: 28562
2011-10-24 21:35:43 +00:00
Jonas Gorski
a136b67604
linux: ar71xx: add support for Mikrotik Routerboard RB493G
...
SVN-Revision: 28423
2011-10-11 23:05:16 +00:00
Jonas Gorski
03f91068d1
ar71xx: add a workaround for ar8316 not always driving the TA bit to low
...
AR8316 behind a GPIO bitbanged MDIO bus fails to drive the turnaround bit
to low despite returning a valid value. Ignore it and just use the
returned value anyway.
SVN-Revision: 28422
2011-10-11 23:05:13 +00:00
Jonas Gorski
c674c874b7
ag71xx: close a race between the phy state machine and link state
...
A fast stop/start cycle could leave the ag71xx interrupts and tx engine
disabled when using a phy driver with a fixed link and the start/stop
happens between two phy state machine polls.
Prevent this by always forcing the link down on stop regardless of phy
state and having a phy connected.
SVN-Revision: 28380
2011-10-08 11:37:14 +00:00
Gabor Juhos
6ac4156136
ar71xx: fix MAC addresses on the DIR-825-B1 board
...
Patch-by: Lukas Kuna
SVN-Revision: 28295
2011-09-23 19:56:39 +00:00
Gabor Juhos
e45d7d7006
ar71xx: enable login only on the system console by default
...
SVN-Revision: 28294
2011-09-23 19:56:38 +00:00
Gabor Juhos
49ac36e818
ar71xx: build images for the TP-Link TL-WR703N v1 board
...
Based on a patch by dongyuqi <729650915@qq.com>
SVN-Revision: 28279
2011-09-21 11:47:56 +00:00
Gabor Juhos
733399600f
ar71xx: add support for the TP-Link TL-WR703N v1 board
...
Based on a patch by dongyuqi <729650915@qq.com>
SVN-Revision: 28277
2011-09-21 11:47:53 +00:00