All pastes #546992 Raw Edit

acx111 32bit I/O

public text v1 · immutable
·published 2007-06-07 07:13 UTC
rendered paste body
Bootbase Version: V1.05 | 04/20/2004 10:36:26
RAM: Size=16384 Kbytes
DRAM POST: Testing: 16384K
OK
FLASH: AMD 32M

ZyNOS Version: V3.60(JN.10) | 03/03/2006 14:25:00

Press any key to enter debug mode within 3 seconds.
......
Enter Debug Mode
ATEN1,C43C2958
OK
ATUP80020000,400000
Starting XMODEM upload (CRC mode)....
C
Total 84736 bytes received

OK
ATGO80020000

CFE version 1.4.0-r681 for P-335 (32bit,SP,BE,MIPS)
Built on Thu, 03 May 2007 08:51:27 +0200 by Yuhi@jonagold
Built with gcc version 3.4.1 broadcom_2004e_341 (SpecifixInc)
Copyright (C) 2000,2001,2002,2003,2004,2005 Broadcom Corporation.
Copyright (C) 2006,2007 Gabor Juhos

Initializing Arena.
Initializing Devices.
CPU type 0x1800B: 175MHz
Total memory: 0x1000000 bytes (16MB)

Total memory used by CFE:  0x80500000 - 0x80D97550 (9008464)
Initialized Data:          0x80514830 - 0x80514AE0 (688)
BSS Area:                  0x80514AE0 - 0x80515550 (2672)
Local Heap:                0x80515550 - 0x80D95550 (8912896)
Stack Area:                0x80D95550 - 0x80D97550 (8192)
Text (code) segment:       0x80500000 - 0x80514830 (84016)
Boot area (physical):      0x004BF000 - 0x004FF000
Relocation Factor:         I:00000000 - D:00000000

Press Ctrl-C to cancel autoboot... cancelled!
CFE_RAM> ifconfig eth0 -addr=192.168.1.50
Device eth0:  hwaddr 00-41-44-4D-51-20, ipaddr 192.168.1.50, mask not set
        gateway not set
*** command status = 0
CFE_RAM> load -tftp -addr=0x80001000 -max=0x400000 192.168.1.10:openwrt-adm5120eb-2.6-vmlinux-lzma-p-334wt.bin
Loader:raw Filesys:tftp Dev:eth0 File:192.168.1.10:openwrt-adm5120eb-2.6-vmlinux-lzma-p-334wt.bin Options:(null)
Loading: ...... 2033982 bytes read
Entry at 0x80001000
*** command status = 0
CFE_RAM> go
Closing network.
Starting program at 0x80001000



LZMA loader for ADM5120, Copyright (C) 2007 OpenWrt.org

decompressing kernel... done!
launching kernel...

Linux version 2.6.22-rc4 (yuhi@idared) (gcc version 4.1.2) #10 Thu Jun 7 09:08:51 CEST 2007
ADM5120 revision 8, running at 175MHz
Boot loader is: CFE
Booted from   : NOR flash
Board is      : ZyXEL Prestige 334WT
GETENV: envname is memsize
GETENV: returning 0x001000000
CPU revision is: 0001800b
ADM5120 board setup
Determined physical RAM map:
 memory: 00c26000 @ 003da000 (usable)
Wasting 31552 bytes for tracking 986 unused pages
Initrd not found or empty - disabling initrd
Built 1 zonelists.  Total pages: 4064
Kernel command line: console=ttyS0,115200 rootfs=jffs2,squashfs init=/etc/preinit
Primary instruction cache 8kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-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).
PID hash table entries: 64 (order: 6, 256 bytes)
Using 87.500 MHz high precision timer.
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 12292k/12440k available (2174k kernel code, 148k reserved, 329k data, 1320k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
adm5120: system has PCI BIOS
registering PCI controller with io_map_base unset
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: mapping irq for device 0000:00:02.0, slot:2, pin:1, irq:14
Time: MIPS clocksource has been installed.
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
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
Registered led device: adm5120:led
ttyS0 at I/O 0x12600000 (irq = 9) is a ADM5120
ttyS1 at I/O 0x12800000 (irq = 10) is a ADM5120
eth0: ADM5120 switch port0
eth1: ADM5120 switch port1
eth2: ADM5120 switch port2
eth3: ADM5120 switch port3
eth4: ADM5120 switch port4
physmap platform flash device: 00400000 at 1fc00000
physmap-flash.0: 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.
RedBoot partition parsing not available
block2mtd: version $Revision: 1.30 $
nf_conntrack version 0.5.0 (97 buckets, 776 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Freeing unused kernel memory: 1320k freed
Warning: unable to open an initial console.
Algorithmics/MIPS FPU Emulator v1.5
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state
PPP generic driver version 2.4.2
acx: this driver is still EXPERIMENTAL
acx: reading README file and/or Craig's HOWTO is recommended, visit http://acx100.sf.net in case of further questions/discus
sion
acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
acx: running on a BIG-ENDIAN CPU
acx: PCI module v0.3.36 initialized, waiting for cards to probe...
acx: found ACX111-based wireless network card at 0000:00:02.0, irq:14, phymem1:0x11420000, phymem2:0x11400000, mem1:0xb14200
00, mem1_size:8192, mem2:0xb1400000, mem2_size:131072
initial debug setting is 0x000A
using IRQ 14
acx: need to load firmware for acx111 chipset with radio ID 16, please provide via firmware hotplug:
acx: either one file only (<c>ombined firmware image file, radio-specific) or two files (radio-less base image file *plus* s
eparate <r>adio-specific extension file)
requesting firmware image 'tiacx111c16'
acx: firmware image 'tiacx111c16' was not provided. Check your hotplug scripts
requesting firmware image 'tiacx111'
acx: firmware image 'tiacx111' was not provided. Check your hotplug scripts
acx: reset_dev() FAILED
acx_pci: probe of 0000:00:02.0 failed with error -5
init started:  BusyBox v1.4.2 (2007-06-06 13:20:24 CEST) multi-call binary

Please press Enter to activate this console. br-lan: port 1(eth0) entering disabled state
device eth0 left promiscuous mode
br-lan: port 1(eth0) entering disabled state
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state
br-lan: port 1(eth0) entering disabled state
device eth0 left promiscuous mode
br-lan: port 1(eth0) entering disabled state
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state



BusyBox v1.4.2 (2007-06-06 13:20:24 CEST) 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, r7507) -------------------
  * 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:/# cd lib/firmware/
root@OpenWrt:/lib/firmware# rmmod acx
root@OpenWrt:/lib/firmware# cp tiacx111c16.1.2.1.34 tiacx111c16
root@OpenWrt:/lib/firmware# insmod acx
acx: this driver is still EXPERIMENTAL
acx: reading README file and/or Craig's HOWTO is recommended, visit http://acx100.sf.net in case of further questions/discus
sion
acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
acx: running on a BIG-ENDIAN CPU
acx: PCI module v0.3.36 initialized, waiting for cards to probe...
acx: found ACX111-based wireless network card at 0000:00:02.0, irq:14, phymem1:0x11420000, phymem2:0x11400000, mem1:0xb14200
00, mem1_size:8192, mem2:0xb1400000, mem2_size:131072
initial debug setting is 0x000A
using IRQ 14
acx: need to load firmware for acx111 chipset with radio ID 16, please provide via firmware hotplug:
acx: either one file only (<c>ombined firmware image file, radio-specific) or two files (radio-less base image file *plus* s
eparate <r>adio-specific extension file)
requesting firmware image 'tiacx111c16'
acx_write_fw (main/combined): 0
acx_validate_fw (main/combined): 0
initializing max packet templates
dump queue head (from card):
len: 24
tx_memory_block_address: 19060
rx_memory_block_address: 13560
tx1_queue address: 12A94
rx1_queue address: 12754
NVS_vendor_offs:01CD probe_delay:200 eof_memory:1114112
CCAModes:04 Diversity:01 ShortPreOpt:01 PBCC:01 ChanAgil:00 PHY:05 Temp:01
AntennaID:00 Len:02 Data:01 02
PowerLevelID:01 Len:02 Data:001E 000A
DataRatesID:02 Len:05 Data:02 04 11 22 44
DomainID:03 Len:06 Data:41 20 30 31 32 40
ProductID:04 Len:09 Data:TI ACX100
ManufacturerID:05 Len:07 Data:TI Test
get_mask 0x00004182, set_mask 0x00000000
don't know how to get sensitivity for radio type 0x16
got sensitivity value 0
got antenna value 0x4A
got regulatory domain 0x41
get_mask 0x00000000, set_mask 0x00000000 - after update
new ratevector: 82 84 0B 0C 12 16 18 24 2C 30 48 60 6C
setting RXconfig to 2010:0FDD
acx: === chipset TNETW1130, radio type 0x16 (Radia), form factor 0x01 ((mini-)PCI / CardBus), EEPROM version 0x05: uploaded
firmware 'Rev 1.2.1.34' ===
creating /proc entry driver/acx_wlan0
creating /proc entry driver/acx_wlan0_diag
creating /proc entry driver/acx_wlan0_eeprom
creating /proc entry driver/acx_wlan0_phy
acx v0.3.36: net device wlan0, driver compiled against wireless extensions 22 and Linux 2.6.22-rc4
root@OpenWrt:/lib/firmware# ifconfig wlan0 up
acx_set_status(1):SCANNING
updating initial settings on iface activation
get_mask 0x00000000, set_mask 0x0036EEFE
important setting has been changed. Need to update packet templates, too
updating packet templates
updating Tx fallback to 1 retries
updating transmit power: 15 dBm
updating antenna value: 0x4A
updating Energy Detect (ED) threshold: 0
acx111 doesn't support ED!
updating Channel Clear Assessment (CCA) value: 0x00
acx111 doesn't support CCA!
updating channel to: 1
updating: enable Tx
updating: enable Rx on channel: 1
updating short retry limit: 7, long retry limit: 4
updating tx MSDU lifetime: 4096
updating regulatory domain: 0x41
setting RXconfig to 2010:0FDD
updating WEP key settings
setting WEP key 0 as default
acx_set_status(1):SCANNING
starting radio scan
get_mask 0x00000000, set_mask 0x00000000 - after update
get_mask 0x00000000, set_mask 0x00000040
setting RXconfig to 2010:0FDD
root@OpenWrt:/lib/firmware# get_mask 0x00000000, set_mask 0x00000000 - after update
sta_list_add: sta=00:04:E2:CD:C2:32
acx_i_timer: adev->status=1 (SCANNING)
continuing scan (1 sec)
acx_i_timer: adev->status=1 (SCANNING)
continuing scan (2 sec)
scan table: SSID=" " CH=6 SIR=15 SNR=0
peer_cap 0x0431, needed_cap 0x0001
found station with empty or single-space (hidden) SSID, considering for assoc attempt
matching station found: 00:04:E2:CD:C2:32, joining
sending authentication1 request (auth algo 0), awaiting response
acx_set_status(2):WAIT_AUTH
rates_basic:0003, rates_supported:1FFF
BSS_Type = 2
JoinBSSID MAC:00:04:E2:CD:C2:32
AUTHEN adev->addr=00:A0:C5:94:FD:96 a1=00:A0:C5:94:FD:96 a2=00:04:E2:CD:C2:32 a3=00:04:E2:CD:C2:32 adev->bssid=00:04:E2:CD:C
2:32
auth algorithm 0, auth sequence 2, status 0
acx_set_status(3):AUTHENTICATED
sending association request, awaiting response. NOT ASSOCIATED YET
association: requesting caps 0x2100, ESSID "STA94FD96"
wlan0: association FAILED: peer sent Status Code 13 (Responding station doesnt support specified auth algorithm -- maybe WEP
 auth Open vs. Restricted?)
acx_i_timer: adev->status=3 (AUTHENTICATED)
resend assoc request (attempt 2)
sending association request, awaiting response. NOT ASSOCIATED YET
association: requesting caps 0x2100, ESSID "STA94FD96"
wlan0: association FAILED: peer sent Status Code 13 (Responding station doesnt support specified auth algorithm -- maybe WEP
 auth Open vs. Restricted?)
acx_i_timer: adev->status=3 (AUTHENTICATED)
resend assoc request (attempt 3)
sending association request, awaiting response. NOT ASSOCIATED YET
association: requesting caps 0x2100, ESSID "STA94FD96"
wlan0: association FAILED: peer sent Status Code 13 (Responding station doesnt support specified auth algorithm -- maybe WEP
 auth Open vs. Restricted?)
acx_i_timer: adev->status=3 (AUTHENTICATED)
resend assoc request (attempt 4)
sending association request, awaiting response. NOT ASSOCIATED YET
association: requesting caps 0x2100, ESSID "STA94FD96"
wlan0: association FAILED: peer sent Status Code 13 (Responding station doesnt support specified auth algorithm -- maybe WEP
 auth Open vs. Restricted?)
acx_i_timer: adev->status=3 (AUTHENTICATED)
resend assoc request (attempt 5)
sending association request, awaiting response. NOT ASSOCIATED YET
association: requesting caps 0x2100, ESSID "STA94FD96"
wlan0: association FAILED: peer sent Status Code 13 (Responding station doesnt support specified auth algorithm -- maybe WEP
 auth Open vs. Restricted?)
acx_i_timer: adev->status=3 (AUTHENTICATED)
resend assoc request (attempt 6)
sending association request, awaiting response. NOT ASSOCIATED YET
association: requesting caps 0x2100, ESSID "STA94FD96"
wlan0: association FAILED: peer sent Status Code 13 (Responding station doesnt support specified auth algorithm -- maybe WEP
 auth Open vs. Restricted?)
acx_i_timer: adev->status=3 (AUTHENTICATED)
resend assoc request (attempt 7)
sending association request, awaiting response. NOT ASSOCIATED YET
association: requesting caps 0x2100, ESSID "STA94FD96"
wlan0: association FAILED: peer sent Status Code 13 (Responding station doesnt support specified auth algorithm -- maybe WEP
 auth Open vs. Restricted?)
acx_i_timer: adev->status=3 (AUTHENTICATED)
resend assoc request (attempt 8)
sending association request, awaiting response. NOT ASSOCIATED YET
association: requesting caps 0x2100, ESSID "STA94FD96"
wlan0: association FAILED: peer sent Status Code 13 (Responding station doesnt support specified auth algorithm -- maybe WEP
 auth Open vs. Restricted?)
acx_i_timer: adev->status=3 (AUTHENTICATED)
resend assoc request (attempt 9)
sending association request, awaiting response. NOT ASSOCIATED YET
association: requesting caps 0x2100, ESSID "STA94FD96"
wlan0: association FAILED: peer sent Status Code 13 (Responding station doesnt support specified auth algorithm -- maybe WEP
 auth Open vs. Restricted?)
acx_i_timer: adev->status=3 (AUTHENTICATED)
resend assoc request (attempt 10)
sending association request, awaiting response. NOT ASSOCIATED YET
association: requesting caps 0x2100, ESSID "STA94FD96"
wlan0: association FAILED: peer sent Status Code 13 (Responding station doesnt support specified auth algorithm -- maybe WEP
 auth Open vs. Restricted?)
acx_i_timer: adev->status=3 (AUTHENTICATED)
association request reply timeout, giving up
acx_set_status(1):SCANNING
starting radio scan
scan table: SSID=" " CH=6 SIR=15 SNR=0
peer_cap 0x0431, needed_cap 0x0001
found station with empty or single-space (hidden) SSID, considering for assoc attempt
matching station found: 00:04:E2:CD:C2:32, joining
sending authentication1 request (auth algo 0), awaiting response
acx_set_status(2):WAIT_AUTH
rates_basic:0003, rates_supported:1FFF
BSS_Type = 2
JoinBSSID MAC:00:04:E2:CD:C2:32
AUTHEN adev->addr=00:A0:C5:94:FD:96 a1=00:A0:C5:94:FD:96 a2=00:04:E2:CD:C2:32 a3=00:04:E2:CD:C2:32 adev->bssid=00:04:E2:CD:C
2:32
auth algorithm 0, auth sequence 2, status 0
acx_set_status(3):AUTHENTICATED
sending association request, awaiting response. NOT ASSOCIATED YET
association: requesting caps 0x2100, ESSID "STA94FD96"
wlan0: association FAILED: peer sent Status Code 13 (Responding station doesnt support specified auth algorithm -- maybe WEP
 auth Open vs. Restricted?)
acx_i_timer: adev->status=3 (AUTHENTICATED)
resend assoc request (attempt 2)
sending association request, awaiting response. NOT ASSOCIATED YET
association: requesting caps 0x2100, ESSID "STA94FD96"
wlan0: association FAILED: peer sent Status Code 13 (Responding station doesnt support specified auth algorithm -- maybe WEP
 auth Open vs. Restricted?)
ifconacx_i_timer: adev->status=3 (AUTHENTICATED)
resend assoc request (attempt 3)
sending association request, awaiting response. NOT ASSOCIATED YET
association: requesting caps 0x2100, ESSID "STA94FD96"
wlan0: association FAILED: peer sent Status Code 13 (Responding station doesnt support specified auth algorithm -- maybe WEP
 auth Open vs. Restricted?)
fig wlan0acx_i_timer: adev->status=3 (AUTHENTICATED)
resend assoc request (attempt 4)
sending association request, awaiting response. NOT ASSOCIATED YET
association: requesting caps 0x2100, ESSID "STA94FD96"
wlan0: association FAILED: peer sent Status Code 13 (Responding station doesnt support specified auth algorithm -- maybe WEP
 auth Open vs. Restricted?)
 down
get_mask 0x00000000, set_mask 0x00000040
setting RXconfig to 2010:0FDD
get_mask 0x00000000, set_mask 0x00000000 - after update
acx_set_status(0):STOPPED
closed device
root@OpenWrt:/lib/firmware#