Projects |
Belkin F5D8230-4 Pre-N Wireless Router GPL source can be found here: http://www.belkin.com/support/gpl.asp Serial connector (TTL): /----- ------\
| 1 2 3 4 |
\-----------------------/
1 = Data In (in to router)
2 = Data Out
3 = Ground
4 = 3.3v power
CFE bootloader: CFE> printenv Variable Name Value -------------------- -------------------------------------------------- BOOT_CONSOLE uart0 CFE_VERSION 1.0.37 CFE_BOARDNAME BCM947XX CFE_MEMORYSIZE 16 NET_DEVICE eth0 NET_IPADDR 192.168.2.1 NET_NETMASK 255.255.255.0 NET_GATEWAY 0.0.0.0 NET_NAMESERVER 0.0.0.0 STARTUP go; *** command status = 0 CFE> help Available commands: et Broadcom Ethernet utility. led LED control. tftpupg Upgrade firmware through ethernet TFTP. dnvram Default NVRAM utility. nvram NVRAM utility. reboot Reboot. flash Update a flash memory device autoboot Automatic system bootstrap. batch Load a batch file into memory and execute it go Verify and boot OS image. boot Load an executable file into memory and execute it load Load an executable file into memory without executing it save Save a region of memory to a remote file via TFTP ping Ping a remote IP host. arp Display or modify the ARP Table ifconfig Configure the Ethernet interface unsetenv Delete an environment variable. printenv Display the environment variables setenv Set an environment variable. help Obtain help for CFE commands For more information about a command, enter 'help command-name' *** command status = 0 Console output:
Decompressing..........done
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Mon Aug 23 09:38:53 CST 2004 (denny@dny_fedora1)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.
Initializing Arena.
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.60.9.0
et1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.60.9.0
CPU type 0x29006: 264MHz
Total memory: 0x1000000 bytes (16MB)
Total memory used by CFE: 0x80300000 - 0x80435910 (1267984)
Initialized Data: 0x8032F9D0 - 0x80331D10 (9024)
BSS Area: 0x80331D10 - 0x80333910 (7168)
Local Heap: 0x80333910 - 0x80433910 (1048576)
Stack Area: 0x80433910 - 0x80435910 (8192)
Text (code) segment: 0x80300000 - 0x8032F9D0 (195024)
Boot area (physical): 0x00436000 - 0x00476000
Relocation Factor: I:00000000 - D:00000000
Device eth0: hwaddr 00-11-50-20-D7-4C, ipaddr 192.168.2.1, mask 255.255.255.0
gateway not set, nameserver not set
Reading :: Failed.: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: ..... 1490944 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU revision is: 00029006
Primary instruction cache 16kb, linesize 16 bytes (2 ways)
Primary data cache 16kb, linesize 16 bytes (2 ways)
Linux version 2.4.20 (hyin@cactus) (gcc version 3.2.3 with Broadcom modifications) #11 Mon Sep 20 10:19:31 PDT4
Determined physical RAM map: memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200
CPU: BCM4704 rev 8 at 264 MHz
Calibrating delay loop... 263.78 BogoMIPS
Memory: 14520k/16384k available (1266k kernel code, 1864k reserved, 108k data, 64k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Fixing up bus 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 0) is a 16550A
PPP generic driver version 2.4.2
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
Flash device: 0x400000 at 0x1c000000
Physically mapped flash: cramfs filesystem found at block 879
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "pmon"
0x00040000-0x003c0000 : "linux"
0x000dbc60-0x003c0000 : "rootfs"
0x003c0000-0x003e0000 : "profile"
0x003e0000-0x00400000 : "nvram"
sflash: found no supported devices
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
ip_conntrack version 2.1 (128 buckets, 1024 max) - 344 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_time loading
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 64k freed
upgrade_wireless_nvram(): This firmware support Airgo card
Using /lib/modules/2.4.20/kernel/drivers/net/et/et.o
Using /lib/modules/2.4.20/kernel/drivers/net/led/led.o
Using /lib/modules/2.4.20/kernel/drivers/net/askey/airgo/ccd.o
Using /lib/modules/2.4.20/kernel/drivers/net/askey/airgo/wns_mod.o
Using /lib/modules/2.4.20/kernel/drivers/net/askey/airgo/rtai_sched.o
Using /lib/modules/2.4.20/kernel/drivers/net/askey/airgo/poldrv.o
Hit enter to continue...killall: upnp: no process killed
eth2: No such device
wlconf: No such file or directory
eth2: No such device
br0: No such process
killall: ntpclient: no process killed
killall: ntpclient: no process killed
killall: iappd: no process killed
iappd: No such file or directory
find_pid_by_name(): 0
start_lan(): pid_count(0), pid(268493344) ,name(ani8021x_aa)
start_lan(): The first time to execute wsm and ani8021x_aa
Applied commit-all global settings
Hit enter to continue...nas: No such file or directory
nas: No such file or directory
Hit enter to continue...
wireless tool:
# aniSdkTool
--- Get/Show commands ---
-g 24m {radioId}; Show 802.11 2.4Ghz mode parameters
-g admcrit {radioId}; Show 802.11b station admission criteria
-g bec {radioId}; Show beacon parameters
-g brs {radioId}; Show basic rate set parameters
-g bscan {radioId}; Show background scanning
-g chn {radioId}; Show channel parameters
-g chnset {radioId}; Show channel set parameters
-g gprot {radioId}; Show 802.11g protection
-g help; Command help
-g mac {radioId}; Show 802.11 MAC parameters
-g macacl; Show MAC-ACL parameters
-g ndn {radioId}; Show Network density
-g open; Show OPEN mode security parameters
-g persona {radioId}; Show radio persona
-g pre {radioId}; Show preamble type
-g psk; Show WPA-PSK security parameters
-g qos {radioId}; Show 802.11 QoS
-g rad; Query radio parameters
-g rte {radioId}; Show rate parameters
-g ssid; Show SSID parameters
-g sta; Query station parameter
-g stdext {radioId}; Show 802.11 standard extensions
-g supssid {radioId}; Show suppress SSID in beacon state
-g tmr ; Show security timeout values
-g wep ; Show WPA-WEP security parameters
-g wme {radioId}; Show WME state
-g wom ; Show world mode parameters
-g wpa ; Show WPA mode security parameters
--- Set/Configure commands ---
-s 24m {radioId} {mode(0 - 802.11b ONLY, 1 - 802.11a/g}; Show 802.11 2.4Ghz mode parameters
-s adm {radioId} {adminState}; Configure radio administrative status
-s admcrit {radioId} {accept(1)/reject(0)}; Configure 802.11b station admission criteria
-s bec {radioId} {beaconPeriod} {DTIMperiod}; Configure beacon parameters
-s brs {radioId} {mode} {rate set in quotes}; Configure basic rate set parameters
-s bscan {radioId} {enable}; Configure background scanning
-s cga; Commit global all
-s cgr; Commit global radio only
-s chn {radioId} {channel} [autoSelMode] [chanSelPeriod]; Configure channel parameters
-s chnset {radioId} {band}; Configure channel set parameters
-s gprot {radioId} {enable}; Configure 802.11g protection
-s mac {radioId} {fragThreshold} {rtsThreshold} {shortRetryLimit} {longRetryLimit}; Configure 802.11 MAC param
-s macacl {macAclMode} [numEntries] [mac0 mac1 ... macN]; Set MAC-ACL parameters
-s ndn {radioId} {enable}; Configure network density
-s open {enable}; Configure OPEN mode security parameters
-s persona {radioId} {persona}; Configure radio persona
-s pre {radioId} {preambleType}; Configure preamble type
-s psk {PSK}; Configure WPA-PSK security parameters
-s qos {radioId} {enable}; Configure 802.11 QoS
-s rte {radioId} {ackMode} {autoAdaptType} {rate}; Configure rate parameters
-s ssid {SSID}; Configure SSID parameters
-s stdext {radioId} {enable}; Configure 802.11 standard extensions
-s supssid {radioId} {enable}; Configure suppress SSID in beacon state
-s tmr {sessionTimeout} {groupKeyTimeout}; Configure security timeout values
-s wep {enabled} [wepKeyLen] [defaultKeyId] [key1/NULL] [key2/NULL] [key3/NULL] [key4/NULL]; NULL - delete ent
-s wme {radioId} {enable}; Configure WME state
-s wom {multidomainEnabled} {countryCode}; Configure world mode parameters
-s wpa {enabled} [authTypes] [encTypes]; Configure WPA mode security parameters
--- Action commands ---
-a dis {MAC address}; Disassociate
-a rstdef; Reset to defaults
|