Commit graph

1334 commits

Author SHA1 Message Date
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
Gabor Juhos
d3617ac7d3 ar71xx: add AR933x specific USB setup function
SVN-Revision: 28276
2011-09-21 11:47:51 +00:00
Gabor Juhos
91340d8af7 ar71xx: add ar71xx_device_reset_rmw helper
SVN-Revision: 28275
2011-09-21 11:47:50 +00:00
Gabor Juhos
9fa51d5c38 ar71xx: fix copy&paste bug in WZRHPAG300H profile description
SVN-Revision: 28274
2011-09-21 11:47:48 +00:00
Gabor Juhos
079e746fc4 ar71xx: remove 'default [yn]' from machine Kconfig entries
SVN-Revision: 28273
2011-09-21 11:47:47 +00:00
Gabor Juhos
73dac07c44 ar71xx: sort AR71XX_MACH_* entries
SVN-Revision: 28272
2011-09-21 11:47:45 +00:00
Gabor Juhos
ef2431c8d9 ar71xx: create image for the TP-Link TL-WR743ND v1
Same hardware as WR741ND but with PoE support.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 28271
2011-09-21 11:47:44 +00:00
Gabor Juhos
76d0d1a837 ar71xx: create image for the TP-Link TL-WR740N v3
Signed-off-by: Martin Raykov <martin.raykov@gmail.com>

SVN-Revision: 28269
2011-09-21 11:47:40 +00:00
Felix Fietkau
1bdf65f580 ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins)
SVN-Revision: 28213
2011-09-11 17:44:12 +00:00
Felix Fietkau
65d809ef19 ar71xx: do not count normal interrupts as spurious (fixes #10037)
SVN-Revision: 28182
2011-09-06 05:38:23 +00:00
Felix Fietkau
de8cabe839 ar71xx: clean up profiles, put in kmod-ath9k and wpad-mini by default (fixes #9954)
SVN-Revision: 28173
2011-09-05 18:37:48 +00:00
Felix Fietkau
cd2c68501c ar71xx: fix ethernet PLL setting on ar7242
SVN-Revision: 28124
2011-08-29 21:23:46 +00:00
Hauke Mehrtens
09b1073f9b kernel: update kernel to version 2.6.39.4
SVN-Revision: 28022
2011-08-16 22:04:10 +00:00
Felix Fietkau
12c84f8eeb ar71xx: add some code to detect DMA stuck conditions on ar7240
SVN-Revision: 27975
2011-08-13 22:30:14 +00:00
Felix Fietkau
85ccc74e1b ar71xx: on ar724x only reset the link status in the restart handler, the fast reset takes care of DMA stuck issues
SVN-Revision: 27973
2011-08-13 21:49:46 +00:00
Felix Fietkau
d26bb6c59c ar71xx: adjust the mtd layout of tew-632brp and dir-615c to match the image layout (fixes #9922)
SVN-Revision: 27959
2011-08-11 13:52:40 +00:00
Jonas Gorski
def60e2918 ar71xx: make ehci patch apply again
SVN-Revision: 27951
2011-08-10 23:02:56 +00:00
Felix Fietkau
9e5ead9a51 ar71xx: fix a copy&paste bug that broke wzr-hp-g300nh and wzr-hp-ag300h images (#9918)
SVN-Revision: 27950
2011-08-10 22:24:56 +00:00
Gabor Juhos
7e5a1bc1d0 ar71xx: fix image generation
SVN-Revision: 27907
2011-08-05 10:31:52 +00:00
Gabor Juhos
85b858fae6 ar71xx: enable sysupgrade on the AP96 and DB120 boards
SVN-Revision: 27901
2011-08-04 19:41:18 +00:00
Gabor Juhos
fb77134596 ar71xx: use the same test for AP121 and Zcomax sysupgrade images
SVN-Revision: 27900
2011-08-04 19:41:17 +00:00
Gabor Juhos
fd3a5f64f2 ar71xx: cleanup image generation Makefile
SVN-Revision: 27899
2011-08-04 19:41:16 +00:00
Felix Fietkau
4b75394056 ar71xx: fix ethernet FIFO state corruption on ar7240
When starting/stopping DMA sometimes the FIFO state gets corrupted,
leading to wildly fluctuating latencies or packet data corruption.
Fix this by issuing a fast MAC reset as soon as the link is detected
as up. Fixes #9689, #9405

SVN-Revision: 27896
2011-08-04 17:36:31 +00:00
Felix Fietkau
d2aeca6b6d ag71xx: fix memory corruption issues on ar7240 on ethernet start/stop
When the DMA engine state gets corrupted due to a hardware issues, it
often won't stop rx until a full reset is issued. In that case the hardware
must keep a valid descriptor, otherwise it will write to random places in
system RAM, triggering random crashes. To fix this, keep a dummy descriptor
without a buffer that keeps the DMA engine in a sane state until the reset
is done

SVN-Revision: 27895
2011-08-04 17:36:27 +00:00
Felix Fietkau
500c3a1475 ar71xx: fix MAC/MDIO reset mask handling
SVN-Revision: 27894
2011-08-04 17:36:23 +00:00
Felix Fietkau
54d97e6782 ar71xx: add some hacks to work around the misalignment in IP packets received on AR71xx and AR91xx ethernet MACs decreases CPU load with the default firewall for routing 95 mbit/s from 78% to 55%
SVN-Revision: 27878
2011-08-02 15:12:08 +00:00
Jonas Gorski
e18ceb1dac ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NH
Now that we can use a generic name for the switch there is no need for a
separate image for the WZR-HP-G301NH.
Update the default network config and remove the extra image.

SVN-Revision: 27814
2011-07-28 11:57:51 +00:00
Felix Fietkau
9e4113b493 ar71xx: autodetect rtl8366s/rtl8366rb on wzr-hp-g300nh
SVN-Revision: 27756
2011-07-24 14:40:35 +00:00
Felix Fietkau
1afe8a0726 rtl8366: unify rtl8366s and rtl8366rb platform data
SVN-Revision: 27754
2011-07-24 14:40:23 +00:00
Felix Fietkau
9105dad418 ar71xx: enable the usb power regulator on the wzr-hp-ag300h through gpio 2 (#9684)
SVN-Revision: 27739
2011-07-24 08:02:20 +00:00
Felix Fietkau
c7173a211d ar71xx: reinitialize global switch settings after reset on ar7240
SVN-Revision: 27705
2011-07-20 14:39:47 +00:00
Felix Fietkau
ca473833c4 ar71xx: configure address aging on ar7240
SVN-Revision: 27704
2011-07-20 14:39:42 +00:00
Felix Fietkau
fefc79f3cb ar71xx: reset the phy in the ethernet init on ar724x
SVN-Revision: 27703
2011-07-20 12:04:34 +00:00
Felix Fietkau
005fe5d1fd ar71xx: make sure that rx and interrupts are disabled before issuing the hardware reset
SVN-Revision: 27702
2011-07-20 12:04:29 +00:00
Felix Fietkau
e7ab000008 ar71xx: increase the delay after the ethernet MAC reset
SVN-Revision: 27701
2011-07-20 12:04:25 +00:00
Felix Fietkau
255dcaa3a6 ar71xx: fix an unused variable warning
SVN-Revision: 27700
2011-07-20 12:04:20 +00:00
Felix Fietkau
f3d693c0ee ar71xx: do not reset the hardware on transmit timeout - this would mess up the up the PHY state
SVN-Revision: 27568
2011-07-09 06:30:13 +00:00
Felix Fietkau
2806c75c07 ag71xx: keep the rx engine stopped while the link is not up, should hopefully fix stability issues from #9405
SVN-Revision: 27567
2011-07-09 06:29:46 +00:00
Gabor Juhos
5ad4040c49 ar71xx: build image for the AP121 boards with 4M of flash
SVN-Revision: 27523
2011-07-07 13:01:50 +00:00