juhosg
61504e67d9
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:21 +00:00
juhosg
afc3633a2e
ar71xx: don't override CONFIG_FSNOTIFY
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:18 +00:00
jow
fbebd1e720
[ar71xx] base-files: make sure inittab-console-fixup returns with success ( #10275 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:35:43 +00:00
jogo
0f7b0ae7de
linux: ar71xx: add support for Mikrotik Routerboard RB493G
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-11 23:05:16 +00:00
jogo
0f944343dd
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-11 23:05:13 +00:00
jogo
d066413d5d
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-08 11:37:14 +00:00
juhosg
8d0d02042c
ar71xx: fix MAC addresses on the DIR-825-B1 board
...
Patch-by: Lukas Kuna
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-23 19:56:39 +00:00
juhosg
a46904b68e
ar71xx: enable login only on the system console by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-23 19:56:38 +00:00
juhosg
e6dc3fc7e8
ar71xx: build images for the TP-Link TL-WR703N v1 board
...
Based on a patch by dongyuqi <729650915@qq.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:56 +00:00
juhosg
5fdfc7948a
ar71xx: add support for the TP-Link TL-WR703N v1 board
...
Based on a patch by dongyuqi <729650915@qq.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:53 +00:00
juhosg
8f241d9a09
ar71xx: add AR933x specific USB setup function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:51 +00:00
juhosg
3a5386be36
ar71xx: add ar71xx_device_reset_rmw helper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:50 +00:00
juhosg
0316b118d0
ar71xx: fix copy&paste bug in WZRHPAG300H profile description
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:48 +00:00
juhosg
f580569c07
ar71xx: remove 'default [yn]' from machine Kconfig entries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:47 +00:00
juhosg
5bc57a6b20
ar71xx: sort AR71XX_MACH_* entries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:45 +00:00
juhosg
53b7e66b1c
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:44 +00:00
juhosg
36b03a3e5b
ar71xx: create image for the TP-Link TL-WR740N v3
...
Signed-off-by: Martin Raykov <martin.raykov@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:40 +00:00
nbd
3c978d1604
ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-11 17:44:12 +00:00
nbd
8708bcc2d3
ar71xx: do not count normal interrupts as spurious ( fixes #10037 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-06 05:38:23 +00:00
nbd
e81933ed31
ar71xx: clean up profiles, put in kmod-ath9k and wpad-mini by default ( fixes #9954 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-05 18:37:48 +00:00
nbd
25d7a6da6c
ar71xx: fix ethernet PLL setting on ar7242
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-29 21:23:46 +00:00
hauke
4bf096096c
kernel: update kernel to version 2.6.39.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-16 22:04:10 +00:00
nbd
db5c8f65ca
ar71xx: add some code to detect DMA stuck conditions on ar7240
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-13 22:30:14 +00:00
nbd
5051a6677f
ar71xx: on ar724x only reset the link status in the restart handler, the fast reset takes care of DMA stuck issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-13 21:49:46 +00:00
nbd
65dea0f0b1
ar71xx: adjust the mtd layout of tew-632brp and dir-615c to match the image layout ( fixes #9922 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-11 13:52:40 +00:00
jogo
8e38afe0f0
ar71xx: make ehci patch apply again
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-10 23:02:56 +00:00
nbd
733ef74e71
ar71xx: fix a copy&paste bug that broke wzr-hp-g300nh and wzr-hp-ag300h images ( #9918 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-10 22:24:56 +00:00
juhosg
1cdb033fe9
ar71xx: fix image generation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-05 10:31:52 +00:00
juhosg
cc9b5b3507
ar71xx: enable sysupgrade on the AP96 and DB120 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 19:41:18 +00:00
juhosg
700dd5a8c6
ar71xx: use the same test for AP121 and Zcomax sysupgrade images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 19:41:17 +00:00
juhosg
45aa4b5327
ar71xx: cleanup image generation Makefile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 19:41:16 +00:00
nbd
571d12ab3a
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 17:36:31 +00:00
nbd
27818ae524
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 17:36:27 +00:00
nbd
3fe5c4149b
ar71xx: fix MAC/MDIO reset mask handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 17:36:23 +00:00
nbd
8fb4b275c2
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%
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-02 15:12:08 +00:00
jogo
e5839cb102
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 11:57:51 +00:00
nbd
005e21d6ac
ar71xx: autodetect rtl8366s/rtl8366rb on wzr-hp-g300nh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:40:35 +00:00
nbd
de95026813
rtl8366: unify rtl8366s and rtl8366rb platform data
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:40:23 +00:00
nbd
c9e45803ce
ar71xx: enable the usb power regulator on the wzr-hp-ag300h through gpio 2 ( #9684 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 08:02:20 +00:00
nbd
3bad82d2e7
ar71xx: reinitialize global switch settings after reset on ar7240
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 14:39:47 +00:00
nbd
340551c062
ar71xx: configure address aging on ar7240
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 14:39:42 +00:00
nbd
8ea4f149b0
ar71xx: reset the phy in the ethernet init on ar724x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 12:04:34 +00:00
nbd
96c14099ce
ar71xx: make sure that rx and interrupts are disabled before issuing the hardware reset
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 12:04:29 +00:00
nbd
9dfcd7e5e2
ar71xx: increase the delay after the ethernet MAC reset
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 12:04:25 +00:00
nbd
db4cd49d62
ar71xx: fix an unused variable warning
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 12:04:20 +00:00
nbd
ec8e57edd9
ar71xx: do not reset the hardware on transmit timeout - this would mess up the up the PHY state
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-09 06:30:13 +00:00
nbd
cc32100390
ag71xx: keep the rx engine stopped while the link is not up, should hopefully fix stability issues from #9405
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-09 06:29:46 +00:00
juhosg
d3310ebab9
ar71xx: build image for the AP121 boards with 4M of flash
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 13:01:50 +00:00
juhosg
142740d87d
ar71xx: add separate profiles for the AP121 and AP121-MINI boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 13:01:48 +00:00
juhosg
ff21374f6a
ar71xx: fix building of squashfs images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 12:10:03 +00:00