Topic: ruckus vf2111 (ar2315) - installed successfully but not working wifi

Hi.

I installed trunk + ath5k to ruckus vf2111 (ar2315) successfully.

+setSpiSpeed: Reg: 0x00160014
board_configuration @ 0xa87e0000
Ethernet eth0: MAC address 00:1d:2e:09:d2:72
Found Boot Script ...
== Executing boot script in 3.000 seconds - enter ^C to abort
RedBoot> fis load -l vmlinux.bin.l7
Image loaded from 0x80041000-0x802a1790
RedBoot> exec
Now booting linux kernel:
 Base address 0x80030000 Entry 0x80041000
 Cmdline :
Booting @ 0x80041000 ...
Linux version 2.6.32.14 (owrt@localhost) (gcc version 4.3.3 (GCC) ) #19 Mon Jul 12 19:46:29 JST 2010
bootconsole [early0] enabled
CPU revision is: 00019064 (MIPS 4KEc)
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00001000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00001000
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
Kernel command line: console=ttyS0,9600 rootfstype=squashfs,jffs2
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes
Memory: 13452k/16384k available (1973k kernel code, 2932k reserved, 329k data, 132k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:128
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
Calibrating delay loop... 183.50 BogoMIPS (lpj=917504)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
pci 0000:00:00.0: unknown header type 6f, ignoring device
pci 0000:00:03.0: unknown header type 6f, ignoring device
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
NET: Registered protocol family 1
Radio config found at offset 0x10000(0x100)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  c 2001-2006 Red Hat, Inc.
msgmni has been set to 26
io scheduler noop registered
io scheduler deadline registered (default)
gpiodev: gpio device registered with major 254
gpiodev: gpio platform device registered with access mask FFFFFFFF
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0xb1100003 (irq = 37) is a 16550A
cmdlinepart partition parsing not available
Searching for RedBoot partition table in spiflash at offset 0x7d0000
6 RedBoot partitions found on MTD device spiflash
Creating 6 MTD partitions on "spiflash":
0x000000000000-0x000000030000 : "RedBoot"
0x000000030000-0x0000000f0000 : "vmlinux.bin.l7"
0x0000000f0000-0x0000007d0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=230000, len=5A0000
0x000000230000-0x0000007d0000 : "rootfs_data"
0x0000007d0000-0x0000007df000 : "FIS directory"
0x0000007df000-0x0000007e0000 : "RedBoot config"
0x0000007e0000-0x000000800000 : "boardconfig"
eth0: Atheros AR231x: 00:1d:2e:09:d2:72, irq 4
ar231x_eth_mii: probed
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:00)
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 132k freed
Please be patient, while OpenWrt loads ...
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
switching to jffs2
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
- init -

Please press Enter to activate this console. device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering forwarding state
Compat-wireless backport release: compat-wireless-2010-06-17-6-g8a97897
Backport based on wireless-2.6.git v2.6.35-rc4-47517-gade698a
cfg80211: Calling CRDA to update world regulatory domain
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (212 buckets, 848 max)
xt_time: kernel timezone is -0000



BusyBox v1.16.2 (2010-07-09 10:21:08 JST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r22139) ------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:/# cat /proc/cpuinfo
system type             : Atheros AR2315
processor               : 0
cpu model               : MIPS 4KEc V6.4
BogoMIPS                : 183.50
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : no
ASEs implemented        :
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

root@OpenWrt:/# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:1D:2E:09:D2:72
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:402 (402.0 B)

eth0      Link encap:Ethernet  HWaddr 00:1D:2E:09:D2:72
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:1445 (1.4 KiB)
          Interrupt:4 Base address:0x1000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@OpenWrt:/# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

br-lan    no wireless extensions.

root@OpenWrt:/# wifi detect
root@OpenWrt:/#

It looks like ordinary ar2315 board except for their smart mimo antenna system parts.
Unfortunately wifi is not detected.

Doesn't ath5k support ar2315?

regards,
zukky

Re: ruckus vf2111 (ar2315) - installed successfully but not working wifi

I tried to install trunk + madwifi, but even worse.....

+setSpiSpeed: Reg: 0x00160014
board_configuration @ 0xa87e0000
Ethernet eth0: MAC address 00:1d:2e:09:d2:72
Found Boot Script ...
== Executing boot script in 3.000 seconds - enter ^C to abort
^C

RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version RB.0.3.2.1 - built 18:01:15, Jun 26 2006

Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

Board: ap51
RAM: 0x80010000-0x80ffe000, [0x80010000-0x80eed000] (top=0x81000000)  available
FLASH: 0xa8000000 - 0xa87e0000, 128 blocks of 0x00010000 bytes each.
RedBoot>
RedBoot>
RedBoot>
RedBoot> fis init -f
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Erase from 0xa8030000-0xa87d0000: ..........................................................................................................................
... Erase from 0xa87d0000-0xa87e0000: .
... Program from 0x80ef0000-0x80f00000 at 0xa87d0000: .
RedBoot> load -v -r -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma
Using default protocol (TFTP)
-
Raw file loaded 0x80010000-0x800cffff, assumed entry at 0x80010000
RedBoot> fis create -r 0x080041000 -e 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80f0000: ............
  img_size=0xc0000, length=0xc0000 img->size=0x0
... Program from 0x80010000-0x800d0000 at 0xa8030000: ............
... Erase from 0xa87d0000-0xa87e0000: .
... Program from 0x80ef0000-0x80f00000 at 0xa87d0000: .
RedBoot> fis free
  0xA80F0000 .. 0xA87D0000
RedBoot> load -v -r -b %{FREEMEMLO} openwrt-atheros-root.squashfs
Using default protocol (TFTP)
|
Raw file loaded 0x80010000-0x8016ffff, assumed entry at 0x80010000
RedBoot> fis create -l 0x6E0000 rootfs
... Erase from 0xa80f0000-0xa87d0000: ..............................................................................................................
  img_size=0x160000, length=0x6e0000 img->size=0x0
... Program from 0x80010000-0x80170000 at 0xa80f0000: ......................
... Erase from 0xa87d0000-0xa87e0000: .
... Program from 0x80ef0000-0x80f00000 at 0xa87d0000: .
RedBoot> fis list
    Name              FLASH addr  Mem addr    Length      Entry point  Type
0   RedBoot           0xA8000000  0xA8000000  0x00030000  0x00000000   0   -
3   vmlinux.bin.l7    0xA8030000  0x80041000  0x000C0000  0x80041000   0   g
4   rootfs            0xA80F0000  0x80010000  0x006E0000  0x80010000   0   g
2   FIS directory     0xA87D0000  0xA87D0000  0x0000F000  0x00000000   0   -
1   RedBoot config    0xA87DF000  0xA87DF000  0x00001000  0x00000000   0   -
RedBoot> fconfig -l
Run script at boot: true
Boot script:
.. fis load -l vmlinux.bin.l7
.. exec

Boot script timeout (1000ms resolution): 3
Use BOOTP for network configuration: false
Gateway IP address: 0.0.0.0
Local IP address: 192.168.0.254
Local IP address mask: 255.255.255.0
Default server IP address: 192.168.0.10
Console baud rate: 9600
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false
RedBoot> reset
+setSpiSpeed: Reg: 0x00160014
board_configuration @ 0xa87e0000
Ethernet eth0: MAC address 00:1d:2e:09:d2:72
Found Boot Script ...
== Executing boot script in 3.000 seconds - enter ^C to abort
RedBoot> fis load -l vmlinux.bin.l7
Image loaded from 0x80041000-0x8029b748
RedBoot> exec
Now booting linux kernel:
 Base address 0x80030000 Entry 0x80041000
 Cmdline :
Booting @ 0x80041000 ...
Linux version 2.6.32.14 (owrt@localhost) (gcc version 4.3.3 (GCC) ) #21 Tue Jul 13 14:27:22 JST 2010
bootconsole [early0] enabled
CPU revision is: 00019064 (MIPS 4KEc)
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00001000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00001000
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
Kernel command line: console=ttyS0,9600 rootfstype=squashfs,jffs2
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes
Memory: 13476k/16384k available (1953k kernel code, 2908k reserved, 324k data, 132k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:128
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
Calibrating delay loop... 183.50 BogoMIPS (lpj=917504)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
pci 0000:00:00.0: unknown header type 6f, ignoring device
pci 0000:00:03.0: unknown header type 6f, ignoring device
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
NET: Registered protocol family 1
Radio config found at offset 0x10000(0x100)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  c 2001-2006 Red Hat, Inc.
msgmni has been set to 26
io scheduler noop registered
io scheduler deadline registered (default)
gpiodev: gpio device registered with major 254
gpiodev: gpio platform device registered with access mask FFFFFFFF
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0xb1100003 (irq = 37) is a 16550A
cmdlinepart partition parsing not available
Searching for RedBoot partition table in spiflash at offset 0x7d0000
6 RedBoot partitions found on MTD device spiflash
Creating 6 MTD partitions on "spiflash":
0x000000000000-0x000000030000 : "RedBoot"
0x000000030000-0x0000000f0000 : "vmlinux.bin.l7"
0x0000000f0000-0x0000007d0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=230000, len=5A0000
0x000000230000-0x0000007d0000 : "rootfs_data"
0x0000007d0000-0x0000007df000 : "FIS directory"
0x0000007df000-0x0000007e0000 : "RedBoot config"
0x0000007e0000-0x000000800000 : "boardconfig"
eth0: Atheros AR231x: 00:1d:2e:09:d2:72, irq 4
ar231x_eth_mii: probed
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:00)
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 132k freed
Please be patient, while OpenWrt loads ...
eth0: Configuring MAC for full duplex
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
jffs2 not ready yet; using ramdisk
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
- init -

Please press Enter to activate this console.


BusyBox v1.16.2 (2010-07-09 10:21:08 JST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r22152) ------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:/# device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering forwarding state
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (212 buckets, 848 max)
xt_time: kernel timezone is -0000
ath_hal: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
ath_hal: 2009-05-08 (AR5212, AR5312, RF5111, RF5112, RF2316, RF2317, REGOPS_FUNC, TX_DESC_SWAP, XR)
ath_ahb: trunk
wlan: trunk
wlan: mac acl policy registered
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us

After last line nothing is put out and no response from serial console hitting any key on keyboard.

I confirmed same results by backfire_10.03 + madwifi and backfire_10.03 + ath5k.

Is there any way to pinpoint the cause?

regards,
zukky

Re: ruckus vf2111 (ar2315) - installed successfully but not working wifi

I'm experiencing the same problem flashing the NanoStation5 with r22454 (backfire branch): no wifi.

Re: ruckus vf2111 (ar2315) - installed successfully but not working wifi

Hey, i try openwrt backfire in ruckus vf 2825; but & can't use wireless too.

I research in the ruckus website, & found the kernel used in the firmware:

http://opensource.ruckuswireless.com/index.php?path=MediaFlex%2FMediaFlex+2825/

the firmware is GPL, but, a can't know how to modify this for enable wireless support.

in the ruckus_gpl_kernel/drivers/net/wireless/ folder, i found this files:

airo.c -->> cisco aironet driver
Config.in.orig
ieee802_11.h
orinoco.h
README
airo_cs.c
hermes.c
Makefile
orinoco_pci.c -->> orinoco pci driver
todo.txt
airport.c -->> a driver for hermes chipset based apple airport wireless
hermes.h
orinoco.c
orinoco_plx.c
Config.in
hermes_rid.h
orinoco_cs.c
orinoco_tmd.c

i try to integrate this drivers into the openwrt kernel

(sorry for my english, it's not my home language)

Re: ruckus vf2111 (ar2315) - installed successfully but not working wifi

I have couple of vf2111 devices laying around and I wonder how does any recent OpenWRT builds act on those?
There is no mention of those boxes being supported, but that topic here does indicate that. What OpenWRT images to test and how to flash it?

Re: ruckus vf2111 (ar2315) - installed successfully but not working wifi

It's been long time since I installed openwrt to vf2111.
Maybe all is the same as before, as for whether openwrt works well on vf2111.

Kernel and rootfs which you need are in http://downloads.openwrt.org/snapshots/trunk/atheros/ .
kernel
http://downloads.openwrt.org/snapshots/trunk/atheros/openwrt-atheros-vmlinux.lzma
rootfs
http://downloads.openwrt.org/snapshots/trunk/atheros/openwrt-atheros-root.squashfs
How to install is the same as LaFoneras'. You'd refer to LaFonera know-how.

Good luck!

7 (edited by Ivoshiee 2012-05-12 19:49:44)

Re: ruckus vf2111 (ar2315) - installed successfully but not working wifi

Thanks. I try to follow http://wiki.openwrt.org/toh/fon/fonera for the serial port, but I fail to get any meaningful symbols out of it (VF2111UE02A-R).

Also, I have a st3232c based box connected to the cable to get me 5V RS232 signals.

Edit:
5-pin c.onnector:
pin #1 = tx
pin #2 = nc
pin #3 = 3.3V
pin #4 = gnd
pin #5 = rx

8 (edited by Ivoshiee 2012-05-12 20:33:58)

Re: ruckus vf2111 (ar2315) - installed successfully but not working wifi

yapoo wrote:

It's been long time since I installed openwrt to vf2111.
Maybe all is the same as before, as for whether openwrt works well on vf2111.

Kernel and rootfs which you need are in http://downloads.openwrt.org/snapshots/trunk/atheros/ .
kernel
http://downloads.openwrt.org/snapshots/trunk/atheros/openwrt-atheros-vmlinux.lzma
rootfs
http://downloads.openwrt.org/snapshots/trunk/atheros/openwrt-atheros-root.squashfs
How to install is the same as LaFoneras'. You'd refer to LaFonera know-how.

Good luck!

openwrt-atheros-vmlinux.lzma (12-May-2012) is giving that:

[    1.540000] Radio config found at offset 0x10000(0x100)
[    1.610000] Radio MAC is blank; using board-data
...
[   14.580000] Compat-wireless backport release: compat-wireless-2012-04-17-2-r3
1674
[   14.670000] Backport based on wireless-testing.git master-2012-04-17
[   14.830000] cfg80211: Calling CRDA to update world regulatory domain
[   15.960000] cfg80211: World regulatory domain updated:
[   16.020000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gai
n, max_eirp)
[   16.120000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 20
00 mBm)
[   16.210000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 20
00 mBm)
[   16.310000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 20
00 mBm)
[   16.400000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 20
00 mBm)
[   16.490000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 20
00 mBm)
[   17.130000] ath5k: phy0: failed to resume the MAC Chip
[   17.190000] ar231x-wmac ar231x-wmac.0: failed to attach device, err=-5

Is it just something configuration related issue or are there some specific issues I should look for?