U-Boot 1.1.5 (Apr 6 2009 - 13:54:11) DRAM: ar7100_ddr_initial_config(237) enter! ar7100_ddr_initial_config(269) exit! U-Boot 1.1.5 (Apr 6 2009 - 13:54:11) AP81 (ar7100) U-boot sri 32 MB WRT160NL u-boot version: 1.0.0 Top of RAM usable for U-Boot at: 82000000 Reserving 277k for U-Boot at: 81fb8000 Reserving 192k for malloc() at: 81f88000 Reserving 44 Bytes for Board Info at: 81f87fd4 Reserving 36 Bytes for Global Data at: 81f87fb0 Reserving 128k for boot params() at: 81f67fb0 Stack Pointer at: 81f67f98 Now running in RAM - U-Boot at: 81fb8000 id read 0x100000ff flash size 8MB, sector count = 128 Flash: 8 MB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: ag7100_enet_initialize... ag7100 get ethaddr for device eth0 Fetching MAC Address from 0x81feaf20 --------***** Get the RTL8306SD Manufactory ID=34dc *****------- Reg6: speed=0 nway=1 duplex=1 Reg5: speed=0 nway=0 duplex=0 Reg1: a1=7fd9 a2=2890 a3=115c a4=2890 a5=0 Reg1: a1=7fd9 a2=2890 a3=115c a4=2890 Reg1: a1=7fd9 a2=2890 a3=115c a4=2890 Reg1: a1=7fd9 a2=2890 a3=115c a4=2890 Reg1: a1=7fd9 a2=2890 a3=115c a4=2890 eth0: 00:23:69:fe:bf:2e eth0 up eth0 ### main_loop entered: bootdelay=1 Hit any key to stop autoboot: 0 ar7100> ar7100> ar7100> ar7100> upgrade code.bin check link duplex:Full/speed:100 dup 1 speed 100 Tftpd start listening on port[69]! Load address: 0x80060000 checksum bad checksum bad Receiving firmware [code.bin] from [192.168.1.7] Write File : CODE.BIN # Current Code Pattern:NL16 , Upgrade Code Pattern:NL16 Code Pattern is correct! ################################################################ ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# # done Bytes transferred = 6325248 (608400 hex) load addr= 0x80060000 boot file= CODE.BIN NetBootFileXferSize= 00608400 Erase linux kernel block !! From bf040000 To bf7dffff Erase Flash from 0xbf040000 to 0xbf7dffff in Bank # 1 First 0x4 last 0x7d sector size 0x10000 125 Erased 122 sectors Programming......... Copy to Flash... write addr: bf040000 done ar7100> go ## Booting image at bf04003c ... Image Name: Linux Kernel Image Created: 2013-06-19 11:10:11 UTC Image Type: MIPS Linux Kernel Image (gzip compressed) Data Size: 891912 Bytes = 871 kB Load Address: 80002000 Entry Point: 801d9000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK kernel: org len = 891912, new len = 917504 No initrd ## Transferring control to Linux (at address 801d9000) ... ## Giving linux memsize in bytes, 33554432 Starting kernel ... Linux version 2.6.15 (root@team2compiler2) (gcc version 3.4.4) #417 Wed May 22 10:17:41 CST 2013 flash_size passed from bootloader = 8 arg 1: console=ttyS0,115200 arg 2: root=31:04 arg 3: rootfstype=squashfs arg 4: init=/sbin/init arg 5: mtdparts=ar7100-nor0:256k(u-boot),7808k(linux),64k(nvram),64k(ART),64k(filesystem) arg 6: bootver=1.1.5 arg 7: fsoffset=0xe0000 arg 8: mem=32M CPU revision is: 00019374 Determined physical RAM map: memory: 02000000 @ 00000000 (usable) User-defined physical RAM map: memory: 02000000 @ 00000000 (usable) Built 1 zonelists Kernel command line: console=ttyS0,115200 root=31:04 rootfstype=squashfs init=/sbin/init mtdparts=ar7100-nor0:256k(u-boot),7808k(linux),64k(nvram),64k(ART),64k(filesystem) bootver=1.1.5 fsoffset=0xe0000 mem=32M Primary instruction cache 64kB, physically tagged, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, linesize 32 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). Cache parity protection disabled PID hash table entries: 256 (order: 8, 4096 bytes) Using 200.000 MHz high precision timer. Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 30140k/32768k available (1634k kernel code, 2612k reserved, 245k data, 104k init, 0k highmem) Mount-cache hash table entries: 512 Checking for 'wait' instruction... available. NET: Registered protocol family 16 SCSI subsystem initialized AR7100 GPIOC major 0 squashfs: version 3.0 (2006/03/15) Phillip Lougher Initializing Cryptographic API io scheduler noop registered io scheduler deadline registered GPIO_init register done HDLC line discipline: version $Revision: #1 $, maxframe=4096 N_HDLC line discipline registered. Serial: 8250/16550 driver $Revision: #2 $ 1 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0x0 (irq = 19) is a 16550A PPP generic driver version 2.4.2 NET: Registered protocol family 24 5 cmdlinepart partitions found on MTD device ar7100-nor0 Creating 5 MTD partitions on "ar7100-nor0": 0x00000000-0x00040000 : "u-boot" 0x00040000-0x007e0000 : "linux" 0x007e0000-0x007f0000 : "nvram" 0x007f0000-0x00800000 : "ART" 0x00120000-0x007e0000 : "filesystem" u32 classifier Perfomance counters on NET: Registered protocol family 2 IP route cache hash table entries: 512 (order: -1, 2048 bytes) TCP established hash table entries: 2048 (order: 1, 8192 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered ip_conntrack version 2.4 (256 buckets, 2048 max) - 296 bytes per conntrack ip_conntrack_pptp version 3.1 loaded ip_nat_pptp version 3.0 loaded ip_tables: (C) 2000-2002 Netfilter core team ip_conntrack_rtsp v0.01 loading ip_nat_rtsp v0.01 loading TCP htcp registered NET: Registered protocol family 1 NET: Registered protocol family 17 802.1Q VLAN Support v1.8 Ben Greear All bugs added by David S. Miller ar7100wdt_init: Registering WDT success VFS: Mounted root (squashfs filesystem) readonly. Freeing unused kernel memory: 104k freed Algorithmics/MIPS FPU Emulator v1.5 Jan 1 00:00:01 udevd[72]: main: inotify_init failed: No such file or directory MAGIC = Could not find MAGIC NUMBER Language Package: modules[0]=/lib/modules/2.6.15/kernel/drivers/net/ag7100/ag7100_mod.ko buf=[/lib/modules/2.6.15/kernel/drivers/net/ag7100/ag7100_mod.ko ] modules[1]=/lib/modules/2.6.15/kernel/drivers/net/ctmisc/ctmisc.ko buf=[/lib/modules/2.6.15/kernel/drivers/net/ag7100/ag7100_mod.ko /lib/modules/2.6.15/kernel/drivers/net/ctmisc/ctmisc.ko ] Needed modules: /lib/modules/2.6.15/kernel/drivers/net/ag7100/ag7100_mod.ko /lib/modules/2.6.15/kernel/drivers/net/ctmisc/ctmisc.ko ag7100_mod: module license 'unspecified' taints kernel. AG7100: Length per segment 1536 AG7100: Max segments per packet 1 AG7100: Max tx descriptor count 64 AG7100: Max rx descriptor count 252 AG7100: fifo cfg 3 00780008 AG7100CHH: Mac address for unit 0 AG7100CHH: 00:03:7f:e0:65:0e AG7100CHH: Mac address for unit 1 AG7100CHH: 00:03:7f:0c:a1:7a Register /dev/ctmisc device, major:10 minor:255 fuse init (API version 7.3) ufsd: driver loaded at c0102000 built on Feb 26 2009 15:30:49 UFSD version 7.02 (Feb 26 2009, 15:15:10) NTFS read/write support included Big endian platform $Id: ufsdvfs.c,v 1.195 2009/02/02 15:38:06 shura Exp $ insmod usbcore.ko usbcore: registered new driver usbfs usbcore: registered new driver hub Port Status c000004 ar7100-ehci ar7100-ehci.0: ATH EHCI ar7100-ehci ar7100-ehci.0: new USB bus registered, assigned bus number 1 ar7100-ehci ar7100-ehci.0: irq 3, io mem 0x1b000000 hcc_params addr 0xbb000108 val 0x6 hcs_params addr 0xbb000104 val 0x10011 ar7100-ehci ar7100-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. Hit enter to continue...The chipset is not defined ifconfig(): name=[lo] flags=[IFUP] addr=[127.0.0.1] netmask=[255.0.0.0] type = [get_langctmisc_ioctl: cmd=0x30 uage] get_data(data_init(): base = 0xbf03f404 ): cmd=0x30 coundata_init(): location = [1] t=1 len=4 ctmisc_ioctl: index=1 get_data(): Get LANGUAGE count is [1] get_data(): LANGUAGE 0: [en] get_data(): done type = [get_counctmisc_ioctl: cmd=0x2c try] get_data()data_init(): base = 0xbf03f400 : cmd=0x2c countdata_init(): location = [1] =1 len=4 ctmisc_ioctl: index=1 get_data(): Get COUNTRY count is [1] get_data(): COUNTRY 0: [US] get_data(): done Restoring defaults...code: 0x55 0x53 0x0 0x0 Wireless Country Code is US......Set ppp_demand value Rounding up 6258 to 6260 Writing NVRAM done! Completed type = [get_mac]ctmisc_ioctl: cmd=0x11 get_data(): cmdata_init(): base = 0xbf03f288 d=0x11 count=8 ldata_init(): location = [2] en=18 ctmisc_ioctl: index=2 get_data(): Get MAC count is [2] get_data(): MAC 0: [00:23:69:FE:BF:2E] get_data(): MAC 1: [00:23:69:FE:BF:2E] get_data(): done type = [get_sn]ctmisc_ioctl: cmd=0x15 get_data(): cmdata_init(): base = 0xbf03f360 d=0x15 count=8 ldata_init(): location = [2] en=20 ctmisc_ioctl: index=2 get_data(): Get SN count is [2] get_data(): SN 0: [CUR01J705883] get_data(): SN 1: [CUR01J705883] get_data(): done type = [get_counctmisc_ioctl: cmd=0x2c try] get_data()data_init(): base = 0xbf03f400 : cmd=0x2c countdata_init(): location = [1] =1 len=4 ctmisc_ioctl: index=1 get_data(): Get COUNTRY count is [1] get_data(): COUNTRY 0: [US] get_data(): done type = [get_2g_cctmisc_ioctl: cmd=0x2e ountry_code] gedata_init(): base = 0xbf03f408 t_data(): cmd=0xdata_init(): location = [1] 2e count=1 len=4ctmisc_ioctl: index=1 get_data(): Get 2G_COUNTRY_CODE count is [1] get_data(): 2G_COUNTRY_CODE 0: [US] get_data(): done type = [get_wsc_ctmisc_ioctl: cmd=0x26 pin] get_data()data_init(): base = 0xbf03f318 : cmd=0x26 countdata_init(): location = [2] =8 len=9 ctmisc_ioctl: index=2 get_data(): Get WSC count is [2] get_data(): WSC 0: [41253304] get_data(): WSC 1: [41253304] get_data(): done ################### MD5=[3813439030b9ae0f5db170147a7afa84] ************************ killall: mini_httpd: no process killed killall: mini_httpds: no process killed >>>>>> STOP MONITOR PS >>>>>>>>>>> >>>>>> START MONITOR PS >>>>>>>>>>> Thu Jan 1 00:00:00 UTC 2009 Set 8192 to /proc/sys/net/ipv4/ip_conntrack_max ... ifconfig(): nameag7100_ring_alloc Allocated 768 at 0x81dabc00 =[eth0] flags=[Iag7100_ring_alloc Allocated 3024 at 0x81d8c000 FUP] addr=[(null)] netmask=[(null)] AG7100: cfg1 0x2f cfg2 0x7014 --------***** Get the RTL8306SD Manufactory ID=5988 *****------- --------***** Get the RTL8306SD Reg0=1000 *****------- --------***** Get the RTL8306SD Reg1=7849 *****------- --------***** Get the RTL8306SD Reg4=5e1 *****------- --------***** Get the RTL8306SD Reg5=401 *****------- ***** Initialize switch: do checkStatus ***** AG7100: unit 0 phy is up...RMii 100Mbps full duplex AG7100: pll reg 0x18050014: 0x13000a44 AG7100: cfg_1: 0x7ff0000 AG7100: cfg_2: 0xfff AG7100: cfg_3: 0x780008 AG7100: cfg_4: 0xffff AG7100: cfg_5: 0x7efef AG7100: done cfg2 0x7115 ifctl 0x10000 miictrl 0x13 Writing 4 br0: No such device device eth0 entered promiscuous mode lo no wireless extensions. eth0 no wireless extensions. eth1 no wireless extensions. br0 no wireless extensions. Args: 1 ath_hal: 0.9.17.1 (AR5416, REGOPS_FUNC, WRITE_EEPROM, 11D) wlan: 0.8.4.2 (Atheros/multi-bss) ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved ath_ahb: 0.9.4.5 (Atheros/multi-bss) <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> Howl Revision ID 0xb8 wifi0: Atheros AR9100 WiSoC: mem=0xb80c0000, irq=2 wlan: mac acl policy registered AP_COUNTRY_CODE is US Creating ap for linksys on Added ath0 mode master ieee80211_ioctl_setmode: CHH Mode: 11NGHT20 ath_set_config: Setting ATH parameter ath_set_config: Setting ATH parameter ath_set_config: Setting ATH parameter ath_set_config: Setting ATH parameter ath_set_config: Setting ATH parameter Created ath0 mode ap for linksys lo no wireless extensions. eth0 no wireless extensions. eth1 no wireless extensions. br0 no wireless extensions. wifi0 no wireless extensions. ieee80211_ioctl_setparam: CHH Calling ieee80211_open ieee80211_ioctl_setparam: CHH Calling ieee80211_open ieee80211_ioctl_setparam: CHH Calling ieee80211_open ieee80211_ioctl_setparam: CHH Calling ieee80211_open ieee80211_ioctl_setparam: CHH Calling ieee80211_open killall: wsc: no process killed killall: hostapd: no process killed ieee80211_ioctl_setparam: CHH Calling ieee80211_open ifconfig(): name<<<>>> =[ath0] flags=[I<<<>>> FUP] addr=[(null<<<>>> )] netmask=[(nul<<<>>> l)] <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> Force rf_pwd_icsyndiv to 1 on 2412 (1 0) --AP ar5416InitUserSettings ahp->ah_miscMode 0xc ar5416Reset Setting CFG 0x10a Howl Revision ID 0xb8 MBSSID Set bit 22 of AR_STA_ID 0xb8c130bf <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> Force rf_pwd_icsyndiv to 1 on 2412 (1 0) --AP ar5416InitUserSettings ahp->ah_miscMode 0xc ar5416Reset Setting CFG 0x10a Howl Revision ID 0xb8 MBSSID Set bit 22 of AR_STA_ID 0xb8c130bf device ath0 entered promiscuous mode ifconfig(): name=[ath0] flags=[IFUP] addr=[(null)] netmask=[(null)] Force rf_pwd_icsyndiv to 1 on 2417 (1 0) Force rf_pwd_icsyndiv to 2 on 2422 (1 0) Force rf_pwd_icsyndiv to 2 on 2427 (1 0) br0: No such device device ath0 is already br0: port 2(ath0) entering learning state a member of a brbr0: port 1(eth0) entering learning state idge; can't enslbr0: topology change detected, propagating ave it to bridgebr0: port 2(ath0) entering forwarding state br0. ifconfig(br0: topology change detected, propagating ): name=[br0] flbr0: port 1(eth0) entering forwarding state ags=[IFUP] addr=[192.168.1.1] netmask=[255.255.255.0] ifconfig(): name=[lo] flags=[IFUP] addr=[127.0.0.1] netmask=[255.0.0.0] lo: File exists Set 1 to /proc/sys/net/ipv4/tcp_syncookies ... Sleeping here for 0 ~~~~~ start upnpd .... cron: No such file or directory [HTTPD Starting on /www] tftp server started tftpd: standalone socket Jan 1 00:00:06 : 5bUpnpd-v010 start!!! Force rf_pwd_icsyndiv to 2 on 2432 (1 0) Force rf_pwd_icsyndiv to 2 on 2437 (1 0) ret=0 br0 192.168.1.100 86400 info, udhcp server (v0.9.8) started routed disabled. Force rf_pwd_icsyndiv to 2 on 2442 (1 0) Force rf_pwd_icsyndiv to 2 on 2447 (1 0) Force rf_pwd_icsyndiv to 2 on 2452 (1 0) wsc_role proxy Name to be unset = wsc_config_method=pin killall: wsc: no process killed >>>>>> START WSC >>>>>>>>>>> Force rf_pwd_icsyndiv to 2 on 2457 (1 0) Force rf_pwd_icsyndiv to 2 on 2462 (1 0) Configuration file: /tmp/wlan/hostapd.conf ath_netdev_stop: The stopping of the running <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> br0: port 2(ath0) entering disabled state Using interface ieee80211_ioctl_setparam: CHH Calling ieee80211_open ath0 with hwaddr<<<>>> 00:23:69:fe:bf:<<<>>> 30 and ssid 'lin<<<>>> ksys' <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> Force rf_pwd_icsyndiv to 2 on 2462 (1 0) --AP ar5416InitUserSettings ahp->ah_miscMode 0xc ar5416Reset Setting CFG 0x10a Howl Revision ID 0xb8 MBSSID Set bit 22 of AR_STA_ID 0xb8c130bf Country ie is USI Force rf_pwd_icsyndiv to 1 on 2417 (1 0) br0: port 2(ath0) entering learning state br0: topology change detected, propagating br0: port 2(ath0) entering forwarding state WSC_IE: In wsc_ie_init UdpLib: Entered udp_open UdpLib: Socket open successful, sd: 8 UdpLib: Entered udp_write: len 5 SIOCGIWRANGE: WE(compiled)=2141039864 WE(source)=268450792 enc_capa=0x10008380 Flushing old station entries Deauthenticate all stations Dumping Message Received:WscIE.c--line 369, (msgLen 21) dd 0e 00 50 f2 04 10 4a : 00 01 10 10 44 00 01 01 : a1 fc 40 00 00 Dumping Message Country ie is USI Force rf_pwd_icsyndiv to 2 on 2462 (1 0) <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> Force rf_pwd_icsyndiv to 2 on 2462 (1 0) --AP ar5416InitUserSettings ahp->ah_miscMode 0xc ar5416Reset Setting CFG 0x10a Howl Revision ID 0xb8 MBSSID Set bit 22 of AR_STA_ID 0xb8c130bf Received:WscIE.c--line 321, (msgLen 115) dd 6c 00 50 f2 04 10 4a : 00 01 10 10 44 00 01 01 : 10 3b 00 01 03 10 47 00 : 10 00 23 69 fe bf 2e 00 : 23 69 fe bf 2e 02 2a c1 : 07 10 21 00 07 4c 69 6e : 6b 73 79 73 10 23 00 08 : 57 52 54 31 36 30 4e 4c : 10 24 00 07 76 31 2e 30 : 2e 30 34 10 42 00 01 31 : 10 54 00 08 00 06 00 50 : f2 04 00 01 10 11 00 08 : 57 52 54 31 36 30 4e 4c : 10 08 00 02 00 84 00 2a : b8 55 e8 WSC_IE: Entered wsc_ie_read_callback. sock = 2141038792 WSC_IE: SET_BEACON_IE from upper layer WSC_IE: Entered wsc_ie_read_callback. sock = 2141038792 WSC_IE: SET_PR_RESP_IE from upper layer killall: twonkymedia: no process killed killall: twonkymediaserv: no process killed killall: twonkymediaserver: no process killed rm -rf /tmp/twonkymedia.db >>>>>> START LLTD >>>>>>>>>>> ifconfig(): nameag7100_ring_alloc Allocated 768 at 0x81bb5c00 =[eth1] flags=[Iag7100_ring_alloc Allocated 3024 at 0x81445000 FUP] addr=[(null)] netmask=[(null)] AG7100: cfg1 0x2f cfg2 0x7014 --------***** Get the RTL8306SD Manufactory ID=5988 *****------- --------***** Get the RTL8306SD Reg0=1000 *****------- --------***** Get the RTL8306SD Reg1=7849 *****------- --------***** Get the RTL8306SD Reg4=5e1 *****------- --------***** Get the RTL8306SD Reg5=401 *****------- ***** Initialize switch: do checkStatus ***** AG7100: unit 1: phy not up carrier 1 Writing 6 tallest:=====( wan_or_lan=wan )===== tallest:=====( wan_or_lan=wan is wan !!)===== Hit enter to continue...LLTD: wireless interface argument is . info, udhcp client (v0.9.8) started ifconfig(): name=[eth1] flags=[IFUP] addr=[0.0.0.0] netmask=[(null)] Hit enter to continue...received DISCOVER from 00:0A:95:D5:77:8C add_lease hostname=da-Box sending OFFER to 255.255.255.255 with 192.168.1.100 received REQUEST from 00:0A:95:D5:77:8C sending ACK to 255.255.255.255 add_lease hostname=da-Box MiniServerInit[1365]: time to send alive packet! Hit enter to continue...