Commit Graph

1123 Commits

Author SHA1 Message Date
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
Gabor Juhos
cdcb10ee42 ar71xx: add separate profiles for the AP121 and AP121-MINI boards
SVN-Revision: 27522
2011-07-07 13:01:48 +00:00
Gabor Juhos
89f6b29feb ar71xx: fix building of squashfs images
SVN-Revision: 27446
2011-07-04 12:10:03 +00:00
Felix Fietkau
7afed2d86c ar71xx: add wzr-hp-ag300h sysupgrade support (patch from #9650)
SVN-Revision: 27434
2011-07-04 03:03:34 +00:00
Gabor Juhos
b3a89652a5 ar71xx: use 4k image only for the AP121 board
Create optimized 64K images with the new padjffs2 tool and use that
images instead of the 4k ones. The 4k images causes problems on devices
where the flash erase size is 64 KB.

SVN-Revision: 27357
2011-07-02 08:37:59 +00:00
Jo-Philipp Wich
701543d3ef revert r27043 (#9513)
SVN-Revision: 27343
2011-07-01 19:52:57 +00:00
Jo-Philipp Wich
1edef5ec98 revert r27341, it introduce wrong behaviour for other models
SVN-Revision: 27342
2011-07-01 19:15:45 +00:00
Jo-Philipp Wich
3b3103b2f1 turn status LED off if device finished initializing
SVN-Revision: 27341
2011-07-01 18:39:53 +00:00
Gabor Juhos
f9e4619b97 ar71xx: remove CONFIG_MTD_CONCAT ifdefs from the WZR-HP-AG300H code
The config option has been removed in 2.6.39.

SVN-Revision: 27320
2011-06-30 12:15:33 +00:00
Gabor Juhos
d98476c6bd ar71xx: merge 2.6.39 patches
Also remove the old UART driver for ar933x.

SVN-Revision: 27314
2011-06-29 08:57:37 +00:00
Gabor Juhos
74a88749f3 ar71xx: remove 2.6.37 support as well
SVN-Revision: 27313
2011-06-29 08:57:36 +00:00
Gabor Juhos
1d5378f588 ar71xx: remove 2.6.38 support
SVN-Revision: 27312
2011-06-29 08:57:34 +00:00