[Solved]! Airlink AR690w Brainslayer switch not working

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Ralink SoC based Hardware
Goto page 1, 2, 3, 4, 5  Next
Author Message
btechnet
DD-WRT User


Joined: 16 Sep 2009
Posts: 181
Location: USA

PostPosted: Fri Jun 04, 2010 1:14    Post subject: [Solved]! Airlink AR690w Brainslayer switch not working Reply with quote
Flashed with the latest dd-wrt here:

http://www.dd-wrt.com/site/support/other-downloads?path=others%2Feko%2FBrainSlayer-V24-preSP2%2F06-03-10-r14537%2Fairlink101-ar690w%2F

still seems that the switch isn't working

Edit: There is much more info here:

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=72848

_________________
1x WRT610Nv2 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WNDR3300 mini - 14205M NEWD-2 K2.6 Eko
2x AR670w std - 14289 v24
Brainslayer
1x AR690w mini - 15649 v24
Brainslayer
2x AR430W std - 13064 v24 Brainslayer
2x WNR834B v2 mini - 14311 K2.4 BrainSlayer
1x RT-N16 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WRT54G V5.0 micro - 15704 v24 Brainslayer
1x WRT54GL V1.1 micro - 15704 v24 Brainslayer


Last edited by btechnet on Wed Nov 10, 2010 1:22; edited 3 times in total
Sponsor
frzndrag
DD-WRT Novice


Joined: 10 May 2010
Posts: 18

PostPosted: Sat Jun 05, 2010 3:44    Post subject: R14537 switch still not polling Reply with quote
So loaded up the 14537 build as well still no switch, dmesg output attached). Tried hunting around and it seems that there is nothing about the switch in any of the devices in proc or dev (cant get any output out of cat'ing the dev/mtdblock(s).
Even went so far as validating a good boot with the stock airlink firmware and it does an GMAC init as well as a GPIO probe on the switch.



Linux version 2.6.23.17 (root@dd-wrt) (gcc version 4.1.2) #3049 Thu Jun 3 08:59:41 CEST 2010

The CPU frequency set to 266 MHz
32M RAM Detected!
CPU revision is: 0001906c
Determined physical RAM map:
memory: 02000000 @ 08000000 (usable)
Wasting 1048576 bytes for tracking 32768 unused pages
Built 1 zonelists in Zone order. Total pages: 40640
Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock4 rootfstype=squashfs noinitrd
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
cause = 3080007c, status = 1000ff00
PID hash table entries: 1024 (order: 10, 4096 bytes)
calculating r4koff... 0028b0aa(2666666)
CPU frequency 266.67 MHz
Using 133.333 MHz high precision timer.
console [ttyS1] enabled
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 28032k/32768k available (2345k kernel code, 4672k reserved, 318k data, 124k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Generic PHY: Registered new driver
NET: Registered protocol family 2
Time: MIPS clocksource has been installed.
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
Load RT2880 Timer Module(Wdg/Soft)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
io scheduler noop registered
io scheduler deadline registered (default)
Ralink gpio driver initialized
Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xa0300500 (irq = 9) is a 16550A
serial8250: ttyS1 at I/O 0xa0300c00 (irq = Cool is a 16550A
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
MPPE/MPPC encryption/compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V1.0
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ralink flash device: 0x400000 at 0xbf000000
Ralink SoC physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.

found squashfs at 118000
Creating 6 MTD partitions on "Ralink SoC physically mapped flash":
0x00000000-0x00030000 : "uboot"
0x00030000-0x00040000 : "uboot-config"
0x00040000-0x00050000 : "factory-defaults"
0x00040000-0x003f0000 : "linux"
0x00118000-0x003f0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
u32 classifier
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
ctnetlink v0.93: registering with nfnetlink.
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
IPP2P v0.8.2 loading
ClusterIP Version 0.8 loaded successfully
TCP bic registered
TCP cubic registered
TCP westwood registered
TCP highspeed registered
TCP hybla registered
TCP htcp registered
TCP vegas registered
TCP scalable registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Welcome to PF_RING 3.2.1
(C) 2004-06 L.Deri <deri@ntop.org>
NET: Registered protocol family 27
PF_RING: bucket length 128 bytes
PF_RING: ring slots 4096
PF_RING: sample rate 1 [1=no sampling]
PF_RING: capture TX No [RX only]
PF_RING: transparent mode Yes
PF_RING initialized correctly.
PF_RING: registered /proc/net/pf_ring/
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
GDMA1_MAC_ADRH -- : 0x00000000
GDMA1_MAC_ADRL -- : 0x00000000
Ralink APSoC Ethernet Driver Initilization. v2.00 256 rx/tx descriptors allocated, mtu = 1500!
NAPI enable, weight = 0, Tx Ring = 256, Rx Ring = 256
GDMA1_MAC_ADRH -- : 0x0000fb47
GDMA1_MAC_ADRL -- : 0x9d6b785d
PROC INIT OK!
Rtl8366 Phy Init...<0>decode /dev/mtdblock4
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 124k freed
start service
starting Architecture code for rt2880
rt2860v2_ap: module license 'unspecified' taints kernel.
GDMA1_MAC_ADRH -- : 0x0000001d
GDMA1_MAC_ADRL -- : 0x6abed06f

phy_tx_ring = 0x098b0000, tx_ring = 0xa98b0000, size: 16 bytes

phy_rx_ring = 0x098b1000, rx_ring = 0xa98b1000, size: 16 bytes
GDMA1_FWD_CFG = 10000
br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
device br0 entered promiscuous mode
Algorithmics/MIPS FPU Emulator v1.5
device vlan1 entered promiscuous mode
device eth2 entered promiscuous mode
sh: ead: not found
RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
0x1300 = 00064380
0x1300 = 00064380
device ra0 entered promiscuous mode
br0: port 2(ra0) entering learning state
br0: port 1(vlan1) entering learning state
device br0 left promiscuous mode
device br0 entered promiscuous mode
device br0 left promiscuous mode
device br0 entered promiscuous mode
wland: No such file or directory
device vlan2 entered promiscuous mode
device vlan2 left promiscuous mode
br0: topology change detected, propagating
br0: port 2(ra0) entering forwarding state
br0: topology change detected, propagating
br0: port 1(vlan1) entering forwarding state
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
etherip: Ethernet over IPv4 tunneling driver
connect: Network is unreachable
connect: Network is unreachable
connect: Network is unreachable
gethostbyname: Network is unreachable
btechnet
DD-WRT User


Joined: 16 Sep 2009
Posts: 181
Location: USA

PostPosted: Sat Jun 05, 2010 4:02    Post subject: Reply with quote
thanks frzndrag for getting back to me. Is the previous post from the stock firmware or from dd wrt?
_________________
1x WRT610Nv2 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WNDR3300 mini - 14205M NEWD-2 K2.6 Eko
2x AR670w std - 14289 v24
Brainslayer
1x AR690w mini - 15649 v24
Brainslayer
2x AR430W std - 13064 v24 Brainslayer
2x WNR834B v2 mini - 14311 K2.4 BrainSlayer
1x RT-N16 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WRT54G V5.0 micro - 15704 v24 Brainslayer
1x WRT54GL V1.1 micro - 15704 v24 Brainslayer
btechnet
DD-WRT User


Joined: 16 Sep 2009
Posts: 181
Location: USA

PostPosted: Wed Jun 23, 2010 17:28    Post subject: Reply with quote
submitted a ticket to trac for review.

http://svn.dd-wrt.com:8000/dd-wrt/ticket/1580

Edit: Found that there is no driver included into the src for the rt2880 (ar690w chipset). The driver exists but hasn't been implemented

look here:
http://svn.dd-wrt.com:8000/dd-wrt/browser/src/linux/pb42/linux-2.6.23/drivers/net/phy/rtl8366rb_smi.c?rev=13863

_________________
1x WRT610Nv2 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WNDR3300 mini - 14205M NEWD-2 K2.6 Eko
2x AR670w std - 14289 v24
Brainslayer
1x AR690w mini - 15649 v24
Brainslayer
2x AR430W std - 13064 v24 Brainslayer
2x WNR834B v2 mini - 14311 K2.4 BrainSlayer
1x RT-N16 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WRT54G V5.0 micro - 15704 v24 Brainslayer
1x WRT54GL V1.1 micro - 15704 v24 Brainslayer
btechnet
DD-WRT User


Joined: 16 Sep 2009
Posts: 181
Location: USA

PostPosted: Sun Jun 27, 2010 17:05    Post subject: Reply with quote
Still occurring as of BS 14667...
_________________
1x WRT610Nv2 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WNDR3300 mini - 14205M NEWD-2 K2.6 Eko
2x AR670w std - 14289 v24
Brainslayer
1x AR690w mini - 15649 v24
Brainslayer
2x AR430W std - 13064 v24 Brainslayer
2x WNR834B v2 mini - 14311 K2.4 BrainSlayer
1x RT-N16 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WRT54G V5.0 micro - 15704 v24 Brainslayer
1x WRT54GL V1.1 micro - 15704 v24 Brainslayer
btechnet
DD-WRT User


Joined: 16 Sep 2009
Posts: 181
Location: USA

PostPosted: Thu Jul 01, 2010 3:33    Post subject: Reply with quote
Still occurring as of BS 14684...
_________________
1x WRT610Nv2 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WNDR3300 mini - 14205M NEWD-2 K2.6 Eko
2x AR670w std - 14289 v24
Brainslayer
1x AR690w mini - 15649 v24
Brainslayer
2x AR430W std - 13064 v24 Brainslayer
2x WNR834B v2 mini - 14311 K2.4 BrainSlayer
1x RT-N16 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WRT54G V5.0 micro - 15704 v24 Brainslayer
1x WRT54GL V1.1 micro - 15704 v24 Brainslayer
btechnet
DD-WRT User


Joined: 16 Sep 2009
Posts: 181
Location: USA

PostPosted: Fri Jul 09, 2010 23:38    Post subject: Reply with quote
So i just got my serial TTL 3.3v adaptor http://www.robotshop.ca/ftdi-usb-to-ttl-serial-cable-3-3v.html

I connected up to the pin headers according to the pinout from frzndrag and i can only get garble.

I tried almost all the baud rates, but its specified 57600 8 1 no flow.

Still no luck.

Im not sure as to what im doing wrong, anyone have any ideas?

I have connect the rx pin from the usb cable to the tx pin of the ar690w and ground to ground.

Edit: Tried Realterm inverted, still get garble. Not sure whats causing this. Maybe the cable im using isn't any good. I will try a different one when i get it.

_________________
1x WRT610Nv2 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WNDR3300 mini - 14205M NEWD-2 K2.6 Eko
2x AR670w std - 14289 v24
Brainslayer
1x AR690w mini - 15649 v24
Brainslayer
2x AR430W std - 13064 v24 Brainslayer
2x WNR834B v2 mini - 14311 K2.4 BrainSlayer
1x RT-N16 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WRT54G V5.0 micro - 15704 v24 Brainslayer
1x WRT54GL V1.1 micro - 15704 v24 Brainslayer
btechnet
DD-WRT User


Joined: 16 Sep 2009
Posts: 181
Location: USA

PostPosted: Fri Jul 16, 2010 21:57    Post subject: Reply with quote
Still occurring as of BS 14815...
_________________
1x WRT610Nv2 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WNDR3300 mini - 14205M NEWD-2 K2.6 Eko
2x AR670w std - 14289 v24
Brainslayer
1x AR690w mini - 15649 v24
Brainslayer
2x AR430W std - 13064 v24 Brainslayer
2x WNR834B v2 mini - 14311 K2.4 BrainSlayer
1x RT-N16 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WRT54G V5.0 micro - 15704 v24 Brainslayer
1x WRT54GL V1.1 micro - 15704 v24 Brainslayer
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17638
Location: Hesse/Germany

PostPosted: Sun Jul 18, 2010 11:29    Post subject: Reply with quote
reread the updated ticket
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
btechnet
DD-WRT User


Joined: 16 Sep 2009
Posts: 181
Location: USA

PostPosted: Sun Jul 18, 2010 17:28    Post subject: Reply with quote
Thanks Sash, I was wondering as to what would cause this problem.

Doesn't the 8366 driver have the gpio info already programmed into it?

http://svn.dd-wrt.com:8000/dd-wrt/browser/src/linux/pb42/linux-2.6.23/drivers/net/phy/rtl8366rb_smi.c?rev=13863

I could be wrong but i did check the driver for gpio information and it looks like its already been done.

If thats not the case then is it just a matter of how it was manufactured into the circuit board? (different pinouts?)

_________________
1x WRT610Nv2 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WNDR3300 mini - 14205M NEWD-2 K2.6 Eko
2x AR670w std - 14289 v24
Brainslayer
1x AR690w mini - 15649 v24
Brainslayer
2x AR430W std - 13064 v24 Brainslayer
2x WNR834B v2 mini - 14311 K2.4 BrainSlayer
1x RT-N16 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WRT54G V5.0 micro - 15704 v24 Brainslayer
1x WRT54GL V1.1 micro - 15704 v24 Brainslayer
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7628

PostPosted: Mon Jul 19, 2010 13:28    Post subject: Reply with quote
btechnet wrote:

Doesn't the 8366 driver have the gpio info already programmed into it?



No, there are gpio driver routines but they need the gpio number as an argument.
Which cpu gpio pins that has been used is design specific.

I googled a bit today to see if there were any resources available on the net and that was a sad reading.

Airlinks US branch was sued in December last year over not publishing the GPL code for AR670W and AR690W.
They have responded by publishing the AR670W GPL code but not the AR690 GPL code which can only mean that they don't have it.

http://www.linuxfordevices.com/c/a/News/SFLC-suit-against-Best-Buy-et-al/


The AR690W firmware may have been bought from a subcontractor or plainly copied from another manufacturer, they have now instead listed the AR690W as Discontinued on their product page.


I see that the router is sold on outlets for $39 which is a very low price for a gigabit N router, looks like they have dumped the price in order to get rid of what they have in stock.

I'd say that there is no future in this router..

_________________
Kernel panic: Aiee, killing interrupt handler!


Last edited by LOM on Tue Jul 20, 2010 4:31; edited 1 time in total
btechnet
DD-WRT User


Joined: 16 Sep 2009
Posts: 181
Location: USA

PostPosted: Mon Jul 19, 2010 15:50    Post subject: Reply with quote
Hey LOM!
thanks for getting back to me. I feel some enlightenment on this subject. I am still new to dd-wrt but not so new to programming. I appreciate your feedback, I would love to get this working but if there is no data, then there is no data. Its sad to think that a company (airlink) would do such a thing when a similar one works but, you win some you lose some...

Anyway i suppose i will get back to the stock firmware Sad and use it as a gigabit wireless router instead of what my plans were for it. Suppose I'll stick with manufacturers that release there gpl.

Thanks guys!

_________________
1x WRT610Nv2 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WNDR3300 mini - 14205M NEWD-2 K2.6 Eko
2x AR670w std - 14289 v24
Brainslayer
1x AR690w mini - 15649 v24
Brainslayer
2x AR430W std - 13064 v24 Brainslayer
2x WNR834B v2 mini - 14311 K2.4 BrainSlayer
1x RT-N16 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WRT54G V5.0 micro - 15704 v24 Brainslayer
1x WRT54GL V1.1 micro - 15704 v24 Brainslayer
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7628

PostPosted: Tue Jul 20, 2010 4:32    Post subject: Reply with quote
Don't give up yet, there may be a chance for getting the right gpio's.

I edited my last post - download of the original firmware from their site is possible if one doesn't use a download manager that opens more than one connection at a time to the site. :oops:

I have looked into other mfrs gpio pin usage and it seems common among them to follow Ralinks reference design for RT2880/RTL8366SR so I have added to your trac ticket and suggested devs to try those gpio's.

_________________
Kernel panic: Aiee, killing interrupt handler!
btechnet
DD-WRT User


Joined: 16 Sep 2009
Posts: 181
Location: USA

PostPosted: Tue Jul 20, 2010 11:26    Post subject: Reply with quote
LOM wrote:
Don't give up yet, there may be a chance for getting the right gpio's.

I edited my last post - download of the original firmware from their site is possible if one doesn't use a download manager that opens more than one connection at a time to the site. :oops:

I have looked into other mfrs gpio pin usage and it seems common among them to follow Ralinks reference design for RT2880/RTL8366SR so I have added to your trac ticket and suggested devs to try those gpio's.


Thanks LOM,

I will follow the trac ticket to see where it lands.

_________________
1x WRT610Nv2 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WNDR3300 mini - 14205M NEWD-2 K2.6 Eko
2x AR670w std - 14289 v24
Brainslayer
1x AR690w mini - 15649 v24
Brainslayer
2x AR430W std - 13064 v24 Brainslayer
2x WNR834B v2 mini - 14311 K2.4 BrainSlayer
1x RT-N16 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WRT54G V5.0 micro - 15704 v24 Brainslayer
1x WRT54GL V1.1 micro - 15704 v24 Brainslayer
btechnet
DD-WRT User


Joined: 16 Sep 2009
Posts: 181
Location: USA

PostPosted: Mon Aug 16, 2010 17:55    Post subject: Reply with quote
Just taking a look at the router database on the main site. It shows that the ar690w has gone from wip to supported. I havent tried any of the builds since 14815. Can anyone confirm that any of the newer builds work with the switch.
_________________
1x WRT610Nv2 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WNDR3300 mini - 14205M NEWD-2 K2.6 Eko
2x AR670w std - 14289 v24
Brainslayer
1x AR690w mini - 15649 v24
Brainslayer
2x AR430W std - 13064 v24 Brainslayer
2x WNR834B v2 mini - 14311 K2.4 BrainSlayer
1x RT-N16 big - 14280 NEWD-2 K2.6 BrainSlayer
1x WRT54G V5.0 micro - 15704 v24 Brainslayer
1x WRT54GL V1.1 micro - 15704 v24 Brainslayer
Goto page 1, 2, 3, 4, 5  Next Display posts from previous:    Page 1 of 5
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Ralink SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum