U-Boot 1.1.3 (Jun 9 2008 - 11:07:55)
Board: RT2880 DRAM: 32 MB
twe0 set to <NULL>
toe0 set to <NULL>
vender : MX_MANUFACT
flash id=000022a8
MX_ID_LV320CB, Size = 00400000 bytes
flash_protect ON: from 0xBC400000 to 0xBC42A407
protect on 0
protect on 1
protect on 2
protect on 3
protect on 4
protect on 5
protect on 6
protect on 7
protect on 8
protect on 9
flash_protect ON: from 0xBC430000 to 0xBC43FFFF
protect on 10
Flash: 4 MB
*** Warning - bad CRC, using default environment
============================================
ASIC -VerB/C (MAC to GigaMAC Mode)
DRAM COMPONENT=128Mbits
DRAM BUS=32BIT
Total memory = 32Mbytes
Date:Jun 9 2008 Time:11:07:55
============================================
D-CACHE set to 4 way
I-CACHE set to 4 way
##### The CPU freq = 280 MHZ ####
SDRAM bus set to 32 bit
SDRAM size =32 Mbytes
SW CPU port setting = {0x0, 0xfe61}
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
5: Load ucos code to SDRAM via TFTP.
0
Net:
eth_register
Eth0 (10/100-M)
enetvar=ethaddr,Eth addr:00:AA:BB:CC:DD:18
00:AA:BB:CC:DD:18:
eth_current->name = Eth0 (10/100-M)
0: Execute Bootp and Auto load Linux Kernel to FLASH via TFTP.
Please Input new ones /or Ctrl-C to discard
Input device IP (10.10.10.123)
Input server IP (10.10.10.3)
Input Linux Kernel filename (<NULL>)
netboot_common, argc= 3
*************buf = 0x8bfce5a4
**********NexTxPacket = 8bfe6780
NetTxPacket = 0x8BFE6780
NetRxPackets[0] = 0x8BFE6D80
NetRxPackets[1] = 0x8BFE7380
NetRxPackets[2] = 0x8BFE7980
NetRxPackets[3] = 0x8BFE7F80
NetRxPackets[4] = 0x8BFE8580
NetRxPackets[5] = 0x8BFE8B80
NetRxPackets[6] = 0x8BFE9180
NetRxPackets[7] = 0x8BFE9780
NetRxPackets[8] = 0x8BFE9D80
NetRxPackets[9] = 0x8BFEA380
NetRxPackets[10] = 0x8BFEA980
NetRxPackets[11] = 0x8BFEAF80
NetRxPackets[12] = 0x8BFEB580
NetRxPackets[13] = 0x8BFEBB80
NetRxPackets[14] = 0x8BFEC180
NetRxPackets[15] = 0x8BFEC780
NetRxPackets[16] = 0x8BFECD80
NetRxPackets[17] = 0x8BFED380
NetRxPackets[18] = 0x8BFED980
NetRxPackets[19] = 0x8BFEDF80
KSEG1ADDR(NetTxPacket) = 0xABFE6780
NetLoop,call eth_halt !
STOP_RT2880_ETH
NetLoop,call eth_init !
Trying Eth0 (10/100-M)
Waitting RT2880_RX_DMA_BUSY status Start... done
Mac to giga Mac mode
Enable GMAC Phy !!
rx_ring = ABFCE9C0, tx_ring0 = ABFCE880
Header Payload scatter function is Disable !!
RT2880_PDMA_GLO_CFG=00000020
*************************************************
RT2880_RX_CALC_IDX0=19
RT2880_RX_DRX_IDX0 = 0
*************************************************
ETH_STATE_ACTIVE!!
BOOTP broadcast 1
BOOTP broadcast 2
Retry count exceeded; starting again
Bootp operation fail, system Boot system code via Flash.
## Booting image at bc450000 ...
Image Name: Linux Kernel Image
Created: 2009-01-05 6:28:00 UTC
System Control Status = 0x02A10084
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 2734564 Bytes = 2.6 MB
Load Address: 8a000000
Entry Point: 88240040
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 88240040) ...
## Giving linux memsize in MB, 32
Starting kernel ...
THIS IS ASIC
ramsize = 32 MBytes
rambase not set, set to default (0x08000000)
MEMORY DESCRIPTOR dump:
[0,88499360]: base<08000000> size<02000000> type<Free RAM memory>
The CPU feqenuce set to 280 MHz
CPU revision is: 0001906c
icache: sets:256, ways:4, linesz:16 ,total:16384, waybit:12, flags:0x0
dcache: sets:256, ways:4, linesz:16 ,total:16384, waybit:12, flags:0x0
i waysize = 4 GiB, d waysize = 4 GiB, i sets= 256, d sets=256
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, linesize 16 bytes.
[setup_scache]:1032
Linux version 2.4.30 (jacky.yang@RH001.u-media.com)
(gcc version 3.3.6) #915 Mon Jan 5 14:27:51 CST 2009
Determined physical RAM map:
memory: 02000000 @ 08000000 (usable)
Initial ramdisk at: 0x88278000 (1912832 bytes)
On node 0 totalpages: 40960
zone(0): 40960 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS1,57600n8 root=/dev/ram0
cause = d0808244, status = 10000600
calculating r4koff... 00155cc0(1400000)
CPU frequency 140.00 MHz
Using 140.000 MHz high precision timer.
Calibrating delay loop... 279.34 BogoMIPS
Memory: 26280k/32768k available (2288k kernel code, 6488k reserved, 1996k data, 88k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
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
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Ralink gpio driver initialized
spidrv_major = 217
i2cdrv_major = 218
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0x300500 (irq = 9) is a 16550A
ttyS01 at 0x300c00 (irq = 8) is a 16550A
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
RA2880 Ethernet Driver Initilization. v1.01 256 rx/tx descriptors allocated!
NAPI enable, weight = 0, Tx Ring = 256, Rx Ring = 256Netlink init ok!
PROC INIT OK!
PPP generic driver version 2.4.2
PPP BSD Compression module registered
MPPE/MPPC encryption/compression module registered
FLASH_API: MAN_ID=C2 DEV_ID=22A8 SIZE=4MB
physmap flash device: 4000000 at bf000000
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
Region0: SectorSize=0x2000 SectorNum=8
Region1: SectorSize=0x10000 SectorNum=63
cfi_cmdset_0002: Using word write method.
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Using physmap partition definition
Creating 4 MTD partitions on "RT2880 SOC Physically mapped flash":
0x00000000-0x00030000 : "Bootloader"
mtd: Giving out device 0 to Bootloader
0x00030000-0x00040000 : "Config "
mtd: Giving out device 1 to Config
0x00040000-0x00050000 : "Factory"
mtd: Giving out device 2 to Factory
0x00050000-0x00400000 : "Kernel"
mtd: Giving out device 3 to Kernel
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
Linux IP multicast router 0.06 plus PIM-SM
ipsec_aes_init(alg_type=15 alg_id=12 name=aes): ret=0
ipsec_aes_init(alg_type=14 alg_id=9 name=aes_mac): ret=0
ipsec_3des_init(alg_type=15 alg_id=3 name=3des): ret=0
ipsec_null_init(alg_type=15 alg_id=11 name=null): ret=0
ip_conntrack version 2.1 (1280 buckets, 10240 max) - 316 bytes per conntrack
ip_conntrack_rtsp v0.01 loading
ip_nat_rtsp v0.01 loading
ip_tables: (C) 2000-2002 Netfilter core team, Type=Linux
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.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Load RT2880 Timer Module(Wdg/Soft)
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1868k freed
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing prom memory: 0kb freed
Freeing unused kernel memory: 88k freed
console started
trying to start /sbin/init
Algorithmics/MIPS FPU Emulator v1.5
init started: BusyBox v1.8.2 (2009-01-05 09:39:50 CST)
starting pid 10, tty '': '/etc_ro/rcS'
mount: mounting none on /proc/bus/usb failed: No such file or directory
Welcome to
_______ _______ ___ __ ____ _ _ ___
| ___ \| __ || | |__|| \ | || | / /
| |___| || |__| || |__ __ | \| || |/ /
| _ /| _ || || || |\ || \
|__| \__\|__| |__||______||__||_| \____||_|\___\
=System Architecture Department=
config file size in "getfile()" = 1456
Jan 1 00:00:03 crond[30]: crond 1.8.2 started, log level 8
Create a message queue in goahead for interprocess communication!!
initInternet: start internet.sh
internet.sh
0
insmod: bridge.o: module not found
insmod: mii.o: module not found
insmod: raeth.o: module not found
interface apcli0 does not exist!
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
rmmod: rt2860v2_ap
rmmod: rt2860v2_sta
2860 version : 1.8.0.0 (Jan 5 2009)
=== pAd = c4112000, size = 483256 ===
<-- RTMPAllocAdapterBlock, Status=0
rmmod: ip_nat_proto_gre
rmmod: ip_nat_pptp
rmmod: ip_conntrack_pptp
rmmod: ip_conntrack_proto_gre
MDIO_CFG = 1f01dc01
GDMA1_FWD_CFG = 10000
DSP_EN OFF version driver
phy_tx_ring = 0981a000, tx_ring = a981a000, size: 16 bytes
phy_rx_ring = 09819000, rx_ring = a9819000, size: 16 bytes
RX DESC a9c4e000 size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
1. Phy Mode = 9
2. Phy Mode = 9
3. Phy Mode = 9
MCS Set = ff ff 00 00 00
Main bssid = 00:14:d1:c5:83:88
The UUID Hex string is:2880288028801880a8800014d1c58388
The UUID ASCII string is:28802880-2880-1880-a880-0014d1c58388!
<==== RTMPInitialize, Status=0
0x1300 = 00064380
starting pid 93, tty '/dev/console': '/bin/sh'
BusyBox v1.8.2 (2009-01-05 09:39:50 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
# insmod: 8021q.o: module not found
ifconfig: ioctl 0x8913 failed: No such device
bridge br0 doesn't exist; can't delete it
##### restore RTL8366SR vlan partition #####
vlan on
device ra0 entered promiscuous mode
eth2.1: dev_set_promiscuity(master, 1)
device eth2 entered promiscuous mode
device eth2.1 entered promiscuous mode
eth2.1: attempt to add interface with same source address.
udhcpc (v1.8.2) started
br0: port 2(eth2.1) entering learning state
br0: port 1(ra0) entering learning state
***** g_wl_interface = ra0 ******
igmpproxy, Version 0.1 beta2, Build 090105
Copyright 2005 by Johnny Egeland <johnny@rlo.org>
Distributed under the GNU GENERAL PUBLIC LICENSE, Version 2 - check GPL.txt
ERRO: There must be at least 2 Vif's where one is upstream.
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
route: ioctl 0x890c failed: No such process
Adding muticast routing
Start UPnP: upnpd
br0: port 2(eth2.1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(ra0) entering forwarding state
br0: topology change detected, propagating
check: eth2.2 br0
DHCP Server start initial
iptables: No chain/target/match by that name
DHCP Server start initial
killall rt2860apd 1>/dev/null 2>&1
ntp.sh
ddns.sh
route delete 239.255.255.250 1>/dev/null 2>&1
killall wscd 1>/dev/null 2>&1
killall -9 wscd 1>/dev/null 2>&1
iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1
route add -host 239.255.255.250 dev br0 1>/dev/null 2>&1
wscd -m 1 -a 192.168.10.1 -i ra0 &
iwpriv ra0 set WscConfMode=7
WSC RFICtype=2401 ...
Commit crc = df0f6bd0
setup-wizard.sh
getBoardID
killall -q klogd
killall -q syslogd
syslogd -C8 1>/dev/null 2>&1
klogd 1>/dev/null 2>&1
i2ccmd rtl reset
Start System Deamon
There is not any static route be set up!
webs: Listening for HTTP requests at address 192.168.10.1
goahead: local script rc.local
Start Zebra & RIPd
Limit Ping of Death
Start RFW daemon
bind policy ipv4
send_event: Sent firewall reload message to goahead!
gpio r
0x7907 = 00 79 07 = 0000 0000 0111 1001 0000 0111
goahead: Get message from send_event, the message is firewall_reload
goahead: start firewall_init()
iptables -F -t filter 1>/dev/null 2>&1
iptables -D FORWARD -j macipport_block 1>/dev/null 2>&1
iptables -F macipport_block 1>/dev/null 2>&1
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -F INPUT_SPort
iptables: No chain/target/match by that name
iptables -F FORWARD_SPort
iptables: No chain/target/match by that name
iptables -t nat -F PREROUTING_SPort
iptables: No chain/target/match by that name
iptables -t nat -F POSTROUTING_SPort
iptables: No chain/target/match by that name
iptables -F INPUT_MPort
iptables: No chain/target/match by that name
iptables -F FORWARD_MPort
iptables: No chain/target/match by that name
iptables -t nat -F PREROUTING_MPort
iptables: No chain/target/match by that name
iptables -t nat -F POSTROUTING_MPort
iptables: No chain/target/match by that name
iptables -F INPUT_AC
iptables: No chain/target/match by that name
iptables -F FORWARD_AC
iptables: No chain/target/match by that name
iptables -t nat -F PREROUTING_AC
iptables: No chain/target/match by that name
iptables -t nat -F POSTROUTING_AC
iptables: No chain/target/match by that name
iptables -t nat -F PREROUTING_DMZ
iptables: No chain/target/match by that name
iptables -t nat -F POSTROUTING_DMZ
iptables: No chain/target/match by that name
iptables -t nat -F PREROUTING_ICMP
iptables: No chain/target/match by that name
iptables -t nat -N PREROUTING_ICMP
iptables -t nat -D PREROUTING -j PREROUTING_ICMP
iptables: No chain/target/match by that name
iptables -t nat -I PREROUTING -j PREROUTING_ICMP
iptables -t nat -N PREROUTING_DMZ
iptables -t nat -D PREROUTING -j PREROUTING_DMZ
iptables: No chain/target/match by that name
iptables -t nat -I PREROUTING -j PREROUTING_DMZ
iptables -t nat -N POSTROUTING_DMZ
iptables -t nat -D POSTROUTING -j POSTROUTING_DMZ
iptables: No chain/target/match by that name
iptables -t nat -I POSTROUTING -j POSTROUTING_DMZ
iptables -D FORWARD -j FORWARD_UPnP
iptables: No chain/target/match by that name
iptables -I FORWARD -j FORWARD_UPnP
iptables -t nat -D PREROUTING -j PREROUTING_UPnP
iptables: No chain/target/match by that name
iptables -t nat -I PREROUTING -j PREROUTING_UPnP
iptables -N INPUT_SPort
iptables -D INPUT -j INPUT_SPort
iptables: No chain/target/match by that name
iptables -I INPUT -j INPUT_SPort
iptables -N FORWARD_SPort
iptables -D FORWARD -j FORWARD_SPort
iptables: No chain/target/match by that name
iptables -I FORWARD -j FORWARD_SPort
iptables -N INPUT_MPort
iptables -D INPUT -j INPUT_MPort
iptables: No chain/target/match by that name
iptables -I INPUT -j INPUT_MPort
iptables -N FORWARD_MPort
iptables -D FORWARD -j FORWARD_MPort
iptables: No chain/target/match by that name
iptables -I FORWARD -j FORWARD_MPort
iptables -t nat -N PREROUTING_SPort
iptables -t nat -D PREROUTING -j PREROUTING_SPort
iptables: No chain/target/match by that name
iptables -t nat -I PREROUTING -j PREROUTING_SPort
iptables -t nat -N POSTROUTING_SPort
iptables -t nat -D POSTROUTING -j POSTROUTING_SPort
iptables: No chain/target/match by that name
iptables -t nat -I POSTROUTING -j POSTROUTING_SPort
iptables -t nat -N PREROUTING_MPort
iptables -t nat -D PREROUTING -j PREROUTING_MPort
iptables: No chain/target/match by that name
iptables -t nat -I PREROUTING -j PREROUTING_MPort
iptables -t nat -N POSTROUTING_MPort
iptables -t nat -D POSTROUTING -j POSTROUTING_MPort
iptables: No chain/target/match by that name
iptables -t nat -I POSTROUTING -j POSTROUTING_MPort
iptables -t nat -N PREROUTING_AC
iptables -t nat -D PREROUTING -j PREROUTING_AC
iptables: No chain/target/match by that name
iptables -t nat -I PREROUTING -j PREROUTING_AC
iptables -t nat -N PREROUTING_Remote
iptables -t nat -D PREROUTING -j PREROUTING_Remote
iptables: No chain/target/match by that name
iptables -t nat -I PREROUTING -j PREROUTING_Remote
iptables -t nat -N POSTROUTING_Remote
iptables -t nat -D POSTROUTING -j POSTROUTING_Remote
iptables: No chain/target/match by that name
iptables -t nat -I POSTROUTING -j POSTROUTING_Remote
Can't get wan ip address!!
iptables -F INPUT_SPort
iptables -F FORWARD_SPort
iptables -t nat -F PREROUTING_SPort
iptables -t nat -F POSTROUTING_SPort
iptables -F INPUT_MPort
iptables -F FORWARD_MPort
iptables -t nat -F PREROUTING_MPort
iptables -t nat -F POSTROUTING_MPort
iptables -F INPUT_AC
iptables: No chain/target/match by that name
iptables -F FORWARD_AC
iptables: No chain/target/match by that name
iptables -t nat -F PREROUTING_AC
iptables -t nat -F POSTROUTING_AC
iptables: No chain/target/match by that name
kill `ps |grep 'crond'|grep -v 'grep'|awk '{print $1}'`
crond
getIfLive: device ppp0 not found
iptables -A INPUT -j DROP -p tcp --sport 0
iptables -A INPUT -j DROP -p udp --sport 0
iptables -A INPUT -j DROP -p tcp --dport 0
iptables -A INPUT -j DROP -p udp --dport 0
iptables -A INPUT -j DROP -p tcp --sport 1
iptables -A INPUT -j DROP -p udp --sport 1
iptables -A INPUT -j DROP -p tcp --dport 1
iptables -A INPUT -j DROP -p udp --dport 1
iptables -t nat -F PREROUTING_ICMP
iptables -I PREROUTING_ICMP -t nat -i eth2.2 -s 0.0.0.0/0 -p icmp --icmp-type echo-request -j DROP
|