Ruckus VF2111UE02A-R
Note: Following information is based on
Ruckus VF2111 is officially named as “Ruckus 2111 Multimedia Wireless Adapter”. That given device can be paired with Ruckus 2.4 GHz AP products and that is likely all. Any other 3rd party AP is likely not compatible by “4 WDS” mode it is using to communicate with an AP.
Hardware
- Bootloader: RedBoot
- CPU: Atheros AR2315 according to the datasheet and cpuinfo, but chip is marked as AR2315A-001
- CPU Speed: 183 Mhz
- Flash size: ? MB
- RAM: ? MB
- Wireless Atheros 802.11b/g (in CPU), but it is currently not working with OpenWrt.
- Ethernet: 1 port connected to the CPU
- Power: 12V
- Serial: internal (5-pin connector, 3.3V)
- JTAG: ?
This device is an integrated wifi spot designed to be used indoor.
Serial
For the serial there is a 5-pin connector (H3) on board (not directly suitable for usual 5V RS232 port use):
pin #1 = tx pin #2 = nc pin #3 = 3.3V pin #4 = gnd pin #5 = rx 9600 8N1
Installing
Download current snapshots of Atheros kernel and rootfs and put to your local TFTP server (for example 192.168.0.123) data directory.
kernel: http://downloads.openwrt.org/snapshots/trunk/atheros/openwrt-atheros-vmlinux.lzma rootfs: http://downloads.openwrt.org/snapshots/trunk/atheros/openwrt-atheros-root.squashfs
Original Redboot config:
RedBoot> fconfig -l -n boot_script: false bootp: false bootp_my_gateway_ip: 0.0.0.0 bootp_my_ip: 192.168.0.254 bootp_my_ip_mask: 255.255.255.0 bootp_server_ip: 192.168.0.10 console_baud_rate: 9600 gdb_port: 9000 info_console_force: false net_debug: false RedBoot>
Original Redboot config does not have boot script enabled. To gain a way to telnet (by “telnet 192.168.0.254 9000”) into Redboot you have to enable it:
RedBoot> fconfig boot_script true boot_script: Setting to true Update RedBoot non-volatile configuration - continue (y/n)? n RedBoot> fconfig boot_script_timeout 10 boot_script_timeout: Setting to 10 Update RedBoot non-volatile configuration - continue (y/n)? y ... Erase from 0xa87d0000-0xa87e0000: . ... Program from 0x80ef0000-0x80f00000 at 0xa87d0000: . RedBoot>
Device file list before software change:
RedBoot> fis list Name FLASH addr Mem addr Length Entry point Type 0 RedBoot 0xA8000000 0xA8000000 0x00030000 0x00000000 0 - 3 rcks_wlan.main 0xA8030000 0x80041000 0x00500000 0x80180040 1 g 4 rcks_wlan.bkup 0xA8530000 0x80041000 0x00220000 0x80180040 2 g 5 datafs 0xA8750000 0xA8750000 0x00080000 0x00000000 0 g 2 FIS directory 0xA87D0000 0xA87D0000 0x0000F000 0x00000000 0 - 1 RedBoot config 0xA87DF000 0xA87DF000 0x00001000 0x00000000 0 - RedBoot>
OpenWrt installation:
RedBoot> ip_address -h 192.168.0.123 -l 192.168.0.254/24 IP: 192.168.0.254/255.255.255.0, Gateway: 0.0.0.0 Default server: 192.168.0.123 RedBoot> RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma Using default protocol (TFTP) Raw file loaded 0x80010000-0x8010ffff, assumed entry at 0x80010000 RedBoot> RedBoot> fis init About to initialize [format] FLASH image system - continue (y/n)? y *** Initialize FLASH Image System ... Erase from 0xa87d0000-0xa87e0000: . ... Program from 0x80ef0000-0x80f00000 at 0xa87d0000: . RedBoot> RedBoot> fis create -e 0x80041000 -r 0x80041000 rcks_wlan.main ... Erase from 0xa8030000-0xa8130000: ................ img_size=0x100000, length=0x100000 img->size=0x0 ... Program from 0x80010000-0x80110000 at 0xa8030000: ................ ... Erase from 0xa87d0000-0xa87e0000: . ... Program from 0x80ef0000-0x80f00000 at 0xa87d0000: . RedBoot> RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-root.squashfs Using default protocol (TFTP) Raw file loaded 0x80010000-0x8016ffff, assumed entry at 0x80010000 RedBoot> RedBoot> fis create rootfs ... Erase from 0xa8130000-0xa8290000: ...................... img_size=0x160000, length=0x160000 img->size=0x0 ... Program from 0x80010000-0x80170000 at 0xa8130000: ...................... ... Erase from 0xa87d0000-0xa87e0000: . ... Program from 0x80ef0000-0x80f00000 at 0xa87d0000: . RedBoot>
Device file list after OpenWrt installation:
RedBoot> fis list Name FLASH addr Mem addr Length Entry point Type 0 RedBoot 0xA8000000 0xA8000000 0x00030000 0x00000000 0 - 3 rcks_wlan.main 0xA8030000 0x80041000 0x00100000 0x80041000 0 g 4 rootfs 0xA8130000 0x80010000 0x00160000 0x80010000 0 g 2 FIS directory 0xA87D0000 0xA87D0000 0x0000F000 0x00000000 0 - 1 RedBoot config 0xA87DF000 0xA87DF000 0x00001000 0x00000000 0 - RedBoot>
To get the OpenWrt loading during system bootup you have to set the bootup script:
RedBoot> fconfig Run script at boot: true Boot script: Enter script, terminate with empty line >> fis load -l rcks_wlan.main >> exec >> Boot script timeout (1000ms resolution): 10 Use BOOTP for network configuration: false Gateway IP address: 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 Update RedBoot non-volatile configuration - continue (y/n)? y ... Erase from 0xa87d0000-0xa87e0000: . ... Program from 0x80ef0000-0x80f00000 at 0xa87d0000: . RedBoot> reset ... Resetting.
Wlan issue
Sadly, wlan is not being detected by current Atheros release (as of 2012-05-12):
[ 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