  


U-Boot 1.1.3 (Oct 23 2009 - 11:47:45)


Board: Ralink APSoC DRAM:  16 MB

relocate_code Pointer at: 80fb0000

flash_protect ON: from 0xBF000000 to 0xBF01D733

flash_protect ON: from 0xBF030000 to 0xBF030FFF

*** Warning - bad CRC, using default environment


============================================ 

Ralink UBoot Version: 3.3

-------------------------------------------- 

ASIC 3052_MP2 (Port5<->None)

DRAM component: 128 Mbits SDR

DRAM bus: 16 bit

Total memory: 16 MBytes

Flash component: NOR Flash

Date:Oct 23 2009  Time:11:47:45

============================================ 

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:128, ways:4, linesz:32 ,total:16384 


 ##### The CPU freq = 384 MHZ #### 


SDRAM bus set to 16 bit 

 SDRAM size =16 Mbytes


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.

   6: Load whole flash then write to Flash via TFTP. 

   9: Load Boot Loader code then write to Flash via TFTP. 

 4  3  2  1  0 

   

3: System Boot system code via Flash.

## Booting image at bf050000 ...

   Image Name:   Linux Kernel Image

   Created:      2010-04-30  10:22:23 UTC

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    3399139 Bytes =  3.2 MB

   Load Address: 80000000

   Entry Point:  80235000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

No initrd

## Transferring control to Linux (at address 80235000) ...

## Giving linux memsize in MB, 16


Starting kernel ...



LINUX started...

 THIS IS ASIC
Linux version 2.6.21.7 (wangbin@wireless.gj.com) (gcc version 3.4.2) #3 Thu Apr 29 17:44:38 CST 2010

 The CPU feqenuce set to 384 MHz
CPU revision is: 0001964c
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
Built 1 zonelists.  Total pages: 4064
Kernel command line: console=ttyS1,57600n8 root=1f04
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 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
cause = b0800060, status = 1100ff00
PID hash table entries: 64 (order: 6, 256 bytes)
calculating r4koff... 00177000(1536000)
CPU frequency 384.00 MHz
Using 192.000 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: 13772k/16384k available (1986k kernel code, 2612k reserved, 270k data, 116k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
NET: Registered protocol family 2
Time: MIPS clocksource has been installed.
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.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
io scheduler noop registered (default)
Ralink gpio driver initialized
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
loop: loaded (max 8 devices)
rdm_major = 254
PPP generic driver version 2.4.2
PPP BSD Compression module registered
NET: Registered protocol family 24
ralink flash device: 0x1000000 at 0x1f000000
Ralink SoC physically mapped flash: 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.
Creating 6 MTD partitions on "Ralink SoC physically mapped flash":
0x00000000-0x00030000 : "Bootloader"
0x00030000-0x00040000 : "Config"
0x00040000-0x00050000 : "Factory"
0x00050000-0x00107e23 : "Kernel"
mtd: partition "Kernel" doesn't end on an erase block -- force read-only
0x00107e23-0x01000000 : "RootFS"
mtd: partition "RootFS" extends beyond the end of device "Ralink SoC physically mapped flash" -- size truncated to 0x2f81dd
mtd: partition "RootFS" doesn't start on an erase block boundary -- force read-only
0x00050000-0x01000000 : "Kernel_RootFS"
mtd: partition "Kernel_RootFS" extends beyond the end of device "Ralink SoC physically mapped flash" -- size truncated to 0x3b0000
block2mtd: version $Revision: 1.1.1.1 $
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (128 buckets, 1024 max) - 228 bytes per conntrack
ip_conntrack_pptp version 3.1 loaded
ip_nat_pptp version 3.0 loaded
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Linux
ClusterIP Version 0.8 loaded successfully
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
---->luotao ipport netspy test Driver.....-->
NETSPY IPPORT proc module 2.0 initialized
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
GDMA1_MAC_ADRH -- : 0x00000000
GDMA1_MAC_ADRL -- : 0x00000000
Ralink APSoC Ethernet Driver Initilization. v2.00  64 rx/tx descriptors allocated, mtu = 1500!
GDMA1_MAC_ADRH -- : 0x0000001f
GDMA1_MAC_ADRL -- : 0x1f9dab80
PROC INIT OK!
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 116k freed

init started: BusyBox v1.12.1 (2010-04-29 09:03:34 CST)

starting pid 12, tty '': '/etc_ro/rcS'
Algorithmics/MIPS FPU Emulator v1.5
mount: mounting devpts: called with bogus options
none on /sys failed: No such device
mount: mounting none on /proc/bus/usb failed: No such file or directory
mount: mounting tmpfs on /var/webcgi failed: Invalid argument
MP AUTOMATION daemon (ver 1.0)
internet.sh

starting pid 38, tty '/dev/ttyS1': '/bin/sh'


BusyBox v1.12.1 (2010-04-29 09:03:34 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# Password for 'admin' changed
insmod: bridge.ko: module not found
insmod: mii.ko: module not found
insmod: raeth.ko: module not found

phy_tx_ring = 0x00eeb000, tx_ring = 0xa0eeb000

phy_rx_ring = 0x00000000, rx_ring = 0x00000000
RT305x_ESW: Link Status Changed
CDMA_CSG_CFG = 81000007
GDMA1_FWD_CFG = 710000
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
rmmod: rt2860v2_ap: No such file or directory
rmmod: rt2860v2_sta: No such file or directory
Commit crc = f99ef27
RT305x_ESW: Link Status Changed
rt2860v2_ap: module license 'unspecified' taints kernel.
rmmod: ip_nat_pptp: No such file or directory
rmmod: ip_conntrack_pptp: No such file or directory
0x1300 = 00064380
insmod: 8021q.ko: module not found
eth2.2: Setting MAC address to  00 1f 1f 9d ab 80.
VLAN (eth2.2):  Underlying device (eth2) has same MAC, not checking promiscious mode.
ifconfig: ioctl 0x8913 failed: No such device
brctl: bridge br0: No such device or address
##### config RT3052 vlan partition (WLLLL) #####
switch reg write offset=14, value=405555
switch reg write offset=50, value=2001
switch reg write offset=54, value=4003
switch reg write offset=58, value=6005
switch reg write offset=98, value=7f3f
switch reg write offset=e4, value=3f
switch reg write offset=40, value=1002
switch reg write offset=44, value=4003
switch reg write offset=48, value=6005
switch reg write offset=70, value=48444142
switch reg write offset=74, value=ffffff50
device ra0 entered promiscuous mode
brctl: bridge br0: Device or resource busy
eth2.1: dev_set_promiscuity(master, 1)
device eth2 entered promiscuous mode
device eth2.1 entered promiscuous mode
eth2.3: dev_set_promiscuity(master, 1)
device eth2.3 entered promiscuous mode
eth2.4: dev_set_promiscuity(master, 1)
device eth2.4 entered promiscuous mode
eth2.5: dev_set_promiscuity(master, 1)
device eth2.5 entered promiscuous mode
udhcpc (v1.12.1) started
br0: port 5(eth2.5) entering learning state
br0: port 4(eth2.4) entering learning state
br0: port 3(eth2.3) entering learning state
br0: port 2(eth2.1) entering learning state
br0: port 1(ra0) entering learning state
ifconfig: ioctl 0x8914 failed: Cannot assign requested address
ifconfig: ioctl 0x8914 failed: Cannot assign requested address
/sbin/lan.sh: line 67: hostname: not found
killall: udhcpd: no process killed
RT305x_ESW: Link Status Changed
Set: phy[1].reg[0] = 3900
Set: phy[2].reg[0] = 3900
Set: phy[3].reg[0] = 3900
RT305x_ESW: Link Status Changed
Set: phy[4].reg[0] = 3900
RT305x_ESW: Link Status Changed
Set: phy[1].reg[0] = 3100
Set: phy[2].reg[0] = 3100
Set: phy[3].reg[0] = 3100
Set: phy[4].reg[0] = 3100
ifconfig: ioctl 0x8913 failed: No such device
/sbin/lan.sh: line 156: can't create /proc/sys/net/ipv6/conf/all/forwarding: nonexistent directory
RT305x_ESW: Link Status Changed
killall rt2860apd 1>/dev/null 2>&1
iptables -F -t filter 1>/dev/null 2>&1
iptables -D FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -F macipport_filter 1>/dev/null 2>&1
iptables -D FORWARD -j web_filter  1>/dev/null 2>&1
iptables -F web_filter  1>/dev/null 2>&1
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t filter -N web_filter 1>/dev/null 2>&1
iptables -t filter -N macipport_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j web_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1>/dev/null 2>&1
iptables -t filter -A INPUT -i eth2.2 -p icmp -j DROP
iptables -A INPUT -i eth2.2 -m state -p tcp --dport 80 --state NEW,INVALID -j DROP
iptables -A INPUT -i ! eth2.2 -j ACCEPT
iptables -A INPUT -i eth2.2 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A INPUT -j DROP
iptables -t nat -D PREROUTING -j port_forward 1>/dev/null 2>&1
iptables -t nat -F port_forward  1>/dev/null 2>&1; iptables -t nat -X port_forward  1>/dev/null 2>&1
iptables -t nat -D PREROUTING -j DMZ 1>/dev/null 2>&1
iptables -t nat -F DMZ 1>/dev/null 2>&1; iptables -t nat -X DMZ  1>/dev/null 2>&1
iptables -t nat -N port_forward 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 1 -j port_forward 1>/dev/null 2>&1
iptables -t nat -N DMZ 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 2 -j DMZ 1>/dev/null 2>&1
iptables -t nat -F POSTROUTING
nat.sh
ntp.sh
greenap.sh init
sh: greenap.sh: not found
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
iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1
killall -q klogd
killall -q syslogd
syslogd -C8 1>/dev/null 2>&1
klogd 1>/dev/null 2>&1
killall -q zebra
killall -q ripd
/bin/qos_run
webs: Listening for HTTP requests at address 192.168.1.1
br0: topology change detected, propagating
br0: port 5(eth2.5) entering forwarding state
br0: topology change detected, propagating
br0: port 4(eth2.4) entering forwarding state
br0: topology change detected, propagating
br0: port 3(eth2.3) entering forwarding state
br0: topology change detected, propagating
br0: port 2(eth2.1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(ra0) entering forwarding state
