Boot log
Boot log
|
U-Boot 1.1.3 (Apr 14 2011 - 16:25:35) (ALPHA)
SVN revision: 515
Target board: WAP-ND15
Board: Ralink APSoC DRAM: 32 MB
spi_wait_nsec: 40
spi device id: 8c 20 16 8c 20 (20168c20)
find flash: F25L32PA
raspi_read: from:30000 len:1000
.raspi_read: from:30000 len:1000
.============================================
Ralink UBoot Version: 3.3
--------------------------------------------
ASIC 3883_MP (MAC to REALTEK Mode)
DRAM component: 256 Mbits SDR
DRAM bus: 16 bit
Total memory: 32 MBytes
Flash component: SPI Flash
Date:Apr 14 2011 Time:16:25:35
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768
gpio_init: write 0x00001801
gpio_init: write 0x0000185d to GPIOMODE(0xb0000060)
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.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
0
3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
.raspi_read: from:50000 len:c
.raspi_read: from:50000 len:38d060
.........................................................We have SEAMA, Image Size = 3723296
Verifying Checksum ...
Uncompressing SEAMA linux.lzma ... OK
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32
Starting kernel ...
LINUX started...
THIS IS ASIC
Linux version 2.6.33.2 (release@cdWSCMPL05) (gcc version 4.3.3 (GCC) ) #1 Wed Sep 16 10:54:18 CST 2015
The CPU feqenuce set to 500 MHz
bootconsole [early0] enabled
CPU revision is: 0001974c (MIPS 74Kc)
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
Normal 0x00001000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00002000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock1 noinitrd
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 29412k/32768k available (2342k kernel code, 3356k reserved, 485k data, 140k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:128
setup_irq 6
CPU frequency 500.00 MHz
[debug] (r4k_clockevent_init line: 172)
[debug] 128 ee6b280 (r4k_clockevent_init line: 176)
[debug] (r4k_clockevent_init line: 185)
[debug] irq: 5 , 800085bc , (r4k_clockevent_init line: 195)
4,[debug] (r4k_clockevent_init line: 217)
5,[debug] (r4k_clockevent_init line: 222)
setup_irq 5
[debug] (r4k_clockevent_init line: 228)
If the above line no "setup_irq 5", mean irq for timer is not installed
Calibrating delay loop... 249.34 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 8192 (order: 3, 32768 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Load RT2880 Timer Module(Wdg/Soft)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
io scheduler noop registered
io scheduler cfq registered (default)
Ralink gpio driver initialized
rt3883_access_init: rt3883 access driver initialization.
spidrv_major = 217
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
console [ttyS1] enabled, bootconsole disabled12) is a 16550A
console [ttyS1] enabled, bootconsole disabled
deice id : 8c 20 16 8c 20 (20168c20)
F25L32PA(8c 20168c20) (4096 Kbytes)
mtd .name = raspi, .size = 0x00400000 (4M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
seama skip the header
xxxxxxxx: squashfs filesystem found at offset 1376320, magic 73717368
Creating 8 MTD partitions on "raspi":
0x000000150060-0x0000003de060 : "rootfs"
0x000000050000-0x0000003f0000 : "upgrade"
0x000000040000-0x000000050000 : "devconf"
0x000000030000-0x000000040000 : "devdata"
0x0000003f0000-0x000000400000 : "langpack"
0x000000000000-0x000000400000 : "flash"
0x000000000000-0x000000030000 : "u-boot"
0x000000030000-0x000000038000 : "boot env"
rdm_major = 220
Ralink APSoC Ethernet Driver Initilization. v2.0 256 rx/tx descriptors allocated, mtu = 1500!
eth0: set mac address
skb rate limit initialization.
u32 classifier
Actions configured
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
Bridge firewalling registered
VFS: Mounted root (squashfs filesystem) readonly on device 31:1.
Freeing unused kernel memory: 140k freed
init started: BusyBox v1.14.1 (2015-09-16 10:54:22 CST)
starting pid 260, tty '': '/etc/init.d/rcS'
Algorithmics/MIPS FPU Emulator v1.5
[/etc/init.d/S10init.sh]
[/etc/init.d/S14devpts.sh]
[/etc/init.d/S16ipv6.sh]
[/etc/init.d/S19devfs.sh]
mknod: /dev/gpio: File exists
mknod: /dev/rtldrv: File exists
[/etc/init.d/S19init.sh]
[/etc/init.d/S20init.sh]
DEFNODE[/etc/defnodes/S11devdata.xml]
DEFNODE[/etc/defnodes/S12flashspeed.php]
DEFNODE[/etc/defnodes/S14setchlist.php]
DEFNODE[/etc/defnodes/S20device.xml]
DEFNODE[/etc/defnodes/S22timezone.php]
[/etc/scripts/setdate.sh] 01/01/2000 ...
Sat Jan 1 01:00:02 GMT 2000
DEFNODE[/etc/defnodes/S30device.php]
DEFNODE[/etc/defnodes/S30device.xml]
DEFNODE[/etc/defnodes/S31diagnostic.xml]
DEFNODE[/etc/defnodes/S31locale.php]
DEFNODE[/etc/defnodes/S40device.xml]
DEFNODE[/etc/defnodes/S90sessions.php]
DEFNODE[/etc/defnodes/S90upnpigd.php]
DEFNODE[/etc/defnodes/S91upnpbasic.php]
DEFNODE[/etc/defnodes/S99switch.xml]
SERVD: start service [LOGD]
[/etc/init.d/S20interfaces.sh]
rtldrv: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
Setting RTL8367RB RGMII Delay time tx:1,rx0
init_rtldrv: green ethernet feature is enabled
rtldrv_init: RTL8367 GbE switch driver initialized. (maj:253)
eth0: set mac address
Network interface reset count v1.0
[/etc/init.d/S21rdm.sh]
mknod: /dev/rdm0: Read-only file system
[/etc/init.d/S45gpiod.sh]
[/etc/init.d/rcS] done!
Factory reset time : 5 secs
00: WPS Blue LED using GPIO #26, output mode.
01: WPS button using GPIO #14, input mode.
02: FRESET button using GPIO #9, input mode.
03: BRIDGE LED using GPIO #0, output mode.
04: Power/Status Red LED using GPIO #29, output mode.
05: Power/Status Blue LED using GPIO #30, output mode.
06: switch1 using GPIO #17, input mode.
07: switch2 using GPIO #18, input mode.
08: Reset Signal for Giga Switch using GPIO #24, output mode.
[/etc/init0.d/S21layout.sh]: start ...
SERVD: start service [LAYOUT]
[/etc/init0.d/S40event.br.sh]: start ...
SERVD: event [SEALPAC.LOAD/default]
device eth0 entered promiscuous mode
[/etc/init0.d/S41inf.br.sh]: start ...
interface ra0 does not exibr0: port 1(eth0) entering forwarding state
st!
[/etc/init0.d/S45event.sh]: start ...
SEAMA: found image @ '/dev/mtdblock/5', image size: 55446
[/etc/scripts/setswitch.sh] AP2G ...
[/etc/init0.d/S80telnetd.sh]: start ...
[/etc/init0.d/rcS] done!
Please press Enter to activate this console. de
=== pAd = c05ed000, size = 514520 ===
<-- RTMPAllocAdapterBlock, Status=0
init_blockch_proc
proc entry for blocked dfs channel is created
SERVD: start service [LOGD]
SERVD: service [LOGD] is already started.
SERVD: start service [BRIDGE]
bridge mode
SERVD: start service [PHYINF.ETH-1]
SERVD: start service [INET.BRIDGE-1]
[/var/servd/INET.BRIDGE-1_start.sh]: starting BRIDGE-1...
[/var/servd/INET.BRIDGE-1_start.sh]: starting BRIDGE-1 done !!!
SERVD: start service [INET.BRIDGE-2]
[/var/servd/INET.BRIDGE-2_start.sh]: starting BRIDGE-2...
BRIDGE-2 a is link local interface.
ip: invalid argument 'BRIDGE-2' to 'table'
SERVD: event [BRIDGE-2.UP/default]
[/var/servd/INET.BRIDGE-2_start.sh]: starting BRIDGE-2 done !!!
[/var/servd/BRIDGE-1-udhcpc.sh]: bound br0 192.168.0.7 255.255.255.0 192.168.0.1 172800 ...
SERVD: start service [INET.BRIDGE-3]
[/var/servd/INET.BRIDGE-3_start.sh]: starting BRIDGE-3...
[/var/servd/INET.BRIDGE-3_start.sh]: starting BRIDGE-3 done !!!
SERVD: stop service [PHYINF.WIFI]
SERVD: service [PHYINF.WIFI] is already stopped.
SERVD: start service [PHYINF.WIFI]
SERVD: stop service [DHCPS4.BRIDGE-1]
SERVD: service [DHCPS4.BRIDGE-1] is already stopped.
SERVD: start service [DHCPS4.BRIDGE-1]
SERVD: event [BRIDGE-1.UP/default]
dhcps4setup: (BRIDGE-1) not active.
SERVD: service [DHCPS4.BRIDGE-1] return error 8.
SERVD: stop service [NAMERESOLV.BRIDGE-1]
SERVD: service [NAMERESOLV.BRIDGE-1] is already stopped.
SERVD: start service [NAMERESOLV.BRIDGE-1]
killall: netbios: no process killed
killall: llmnresp: no process killed
SERVD: start service [INFSVCS.BRIDGE-2]
[/etc/scripts/neaps.sh]: start ....
Start Neap Server ...
SERVD: event [BRIDGE-2.CONNECTED] not found!
SERVD: event [UPDATERESOLV/default]
SERVD: event [INET.CONNECTED] not found!
SERVD: event [INFSVCS.BRIDGE-2.UP] not found!
SERVD: stop service [TRAFFICCTRL.BRIDGE-1]
SERVD: service [TRAFFICCTRL.BRIDGE-1] is already stopped.
SERVD: start service [TRAFFICCTRL.BRIDGE-1]
SERVD: event [STATUS.READY/default]
BRIDGE-1 Start Qos and Traffic Control system ...
QOS is disabled.
traffic manager is disabled.
SERVD: stop service [MACCTRL]
SERVD: service [MACCTRL] is already stopped.
SERVD: start service [MACCTRL]
reset acl mac
SERVD: start service [WLAN-1.1]
SERVD: start service [WLAN-1.2]
SERVD: service [WLAN-1.2] return error 8.
SERVD: start service [INFSVCS.BRIDGE-1]
[/etc/scripts/neaps.sh]: start ....
Stop Neap Server ...
Start Neap Server ...
SERVD: event [BRIDGE-1.CONNECTED] not found!
SERVD: event [UPDATERESOLV/default]
SERVD: event [INET.CONNECTED] not found!
SERVD: event [INFSVCS.BRIDGE-1.UP/default]
SERVD: start service [HTTP.BRIDGE-2]
SERVD: event [STATUS.READY/default]
SERVD: stop service [IP6TDEFCHAIN]
SERVD: service [IP6TDEFCHAIN] is already stopped.
SERVD: start service [IP6TDEFCHAIN]
SERVD: service [IP6TDEFCHAIN] return error 108.
SERVD: stop service [RT3662]
SERVD: service [RT3662] is already stopped.
SERVD: start service [RT3662]
Country code is set to EU. Change it to GB so that driver can recognize it
RX DESC a199a000 size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
1. Phy Mode = 9
2. Phy Mode = 9
Wireless Calibration Data find in Flash. OK
3. Phy Mode = 9
exBuildChannel # 1 :: Pwr0 = 17, Pwr1 =13,
exBuildChannel # 2 :: Pwr0 = 17, Pwr1 =13,
exBuildChannel # 3 :: Pwr0 = 18, Pwr1 =14,
exBuildChannel # 4 :: Pwr0 = 18, Pwr1 =14,
exBuildChannel # 5 :: Pwr0 = 18, Pwr1 =14,
exBuildChannel # 6 :: Pwr0 = 19, Pwr1 =15,
exBuildChannel # 7 :: Pwr0 = 19, Pwr1 =15,
exBuildChannel # 8 :: Pwr0 = 20, Pwr1 =16,
exBuildChannel # 9 :: Pwr0 = 20, Pwr1 =16,
exBuildChannel # 10 :: Pwr0 = 21, Pwr1 =17,
exBuildChannel # 11 :: Pwr0 = 21, Pwr1 =17,
exBuildChannel # 12 :: Pwr0 = 22, Pwr1 =18,
exBuildChannel # 13 :: Pwr0 = 22, Pwr1 =18,
RtmpOSFileOpen(): Error 2 opening /var/dfs_blocked.txt
Can't read dfs file from kernel
RTMPSetPhyMode: channel is out of range, use first channel=0
MCS Set = ff ff 00 00 01
SYNC - BBP R4 to 20MHz.l
[DHCP6C]: BRIDGE-3/br0, M=[], O=[]
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
Main bssid = 78:54:2e:5d:94:ee
Set_RateAdaptInterval():Set RateAdaptation TimeInterval as(500:100) ms
TxSwQDepthAdjust():Set TxSwQMaxLen as 512
<==== rt28xx_init, Status=0
0x1300 = 00064380
ALPHA:WLAN:Start wireless interface success
device ra0 entered promiscuous mode
br0: port 2(ra0) entering forwarding state
updatewifistats -s /etc/scripts/upwifistatshlper.sh -m RT2800 -i ra0 -x /phyinf:2 -r /runtime/phyinf:2 &
Reading topology file /var/topology.conf ...
ralink_init: Initiating ralink_wireless_event_init...
Using interface ra0 with hwaddr xx:xx:xx:xx:xx:xx and ssid 'xxxxxxxxxxxxxxxx'
SERVD: start service [HTTP.BRIDGE-1]
SERVD: start service [UPNP.BRIDGE-1]
SERVD: event [UPNP.ALIVE.BRIDGE-1/default]
SERVD: start service [NEAP.BRIDGE-1]
SERVD: service [NEAP.BRIDGE-1] return error 108.
SERVD: stop service [NAMERESOLV.BRIDGE-1]
SERVD: start service [NAMERESOLV.BRIDGE-1]
SERVD: stop service [MACCTRL]
reset acl mac
SERVD: start service [MACCTRL]
reset acl mac
SERVD: start service [DEVICE.TIME]
Run NTP client ...
SERVD: stop service [LLD2]
SERVD: service [LLD2] is already stopped.
SERVD: start service [LLD2]
NTP will run in 604800 seconds!
SERVD: stop service [DNS]
SERVD: service [DNS] is already stopped.
SERVD: start service [DNS]
SERVD: service [DNS] return error 108.
SERVD: stop service [MDNSRESPONDER]
SERVD: service [MDNSRESPONDER] is already stopped.
SERVD: start service [MDNSRESPONDER]
mdnsresponder server start !
SERVD: stop service [TRAFFICCTRL.BRIDGE-1]
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: veth0: error fetching interface information: Device not found
ifconfig: veth1: error fetching interface information: Device not found
SERVD: start service [TRAFFICCTRL.BRIDGE-1]
BRIDGE-1 Start Qos and Traffic Control system ...
QOS is disabled.
traffic manager is disabled.
SERVD: stop service [MULTICAST]
SERVD: service [MULTICAST] is already stopped.
SERVD: start service [MULTICAST]
SERVD: stop service [HTTP]
SERVD: service [HTTP] is already stopped.
SERVD: start service [HTTP]
SERVD: event [HTTP.UP] not found!
SERVD: start service [ENLAN]
SERVD: service schedule function is on
[DHCP6C]: BRIDGE-3/br0, M=[], O=[]
SERVD: event [upnp_re_alive/default]
SERVD: event [UPNP.ALIVE.BRIDGE-1/default]
[DHCP6C]: BRIDGE-3/br0, M=[], O=[]
|
help
RT3883 # help
? - alias for 'help'
bootm - boot application image from memory
cp - memory copy
erase - erase SPI FLASH memory
go - start application at address 'addr'
help - print online help
httpsvr - Start HTTP server to load image
loadb - load binary file over serial line (kermit mode)
md - memory display
mm - memory modify (auto-incrementing)
mw - memory write (fill)
nm - memory modify (constant address)
printenv- print environment variables
reset - Perform RESET of the CPU
saveenv - save environment variables to persistent storage
setenv - set environment variables
spicmd - read/write data from/to eeprom or vtss
tftpboot- boot image via network using TFTP protocol
version - print monitor version
printenv
RT3883 # printenv
bootcmd=tftp
bootdelay=1
baudrate=57600
ethaddr=78:54:2e:5d:94:ee
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off
addmisc=setenv bootargs $(bootargs) console=ttyS0,$(baudrate) ethaddr=$(ethaddr) panic=1
flash_self=run ramargs addip addmisc;bootm $(kernel_addr) $(ramdisk_addr)
kernel_addr=BFC40000
u-boot=u-boot.bin
load=tftp 8A100000 $(u-boot)
u_b=protect off 1:0-1;era 1:0-1;cp.b 8A100000 BC400000 $(filesize)
loadfs=tftp 8A100000 root.cramfs
u_fs=era bc540000 bc83ffff;cp.b 8A100000 BC540000 $(filesize)
test_tftp=tftp 8A100000 root.cramfs;run test_tftp
ethact=Eth0 (10/100-M)
serverip=10.10.10.9
ipaddr=192.168.0.50
stdin=serial
stdout=serial
stderr=serial
Environment size: 763/4092 bytes
Partitions
major minor #blocks name
31 0 4096 mtdblock0
31 1 2616 mtdblock1
31 2 3712 mtdblock2
31 3 64 mtdblock3
31 4 64 mtdblock4
31 5 64 mtdblock5
31 6 4096 mtdblock6
31 7 192 mtdblock7
31 8 32 mtdblock8
MTD
dev: size erasesize name
mtd0: 00400000 00010000 "raspi"
mtd1: 0028e000 00010000 "rootfs"
mtd2: 003a0000 00010000 "upgrade"
mtd3: 00010000 00010000 "devconf"
mtd4: 00010000 00010000 "devdata"
mtd5: 00010000 00010000 "langpack"
mtd6: 00400000 00010000 "flash"
mtd7: 00030000 00010000 "u-boot"
mtd8: 00008000 00010000 "boot env"
Mounts
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
none on /proc type proc (rw,relatime)
ramfs on /var type ramfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
Processes
PID USER VSZ STAT COMMAND
1 0 608 S init
2 0 0 SW [kthreadd]
3 0 0 SW [ksoftirqd/0]
4 0 0 SW [events/0]
5 0 0 SW [khelper]
8 0 0 SW [async/mgr]
54 0 0 SW [sync_supers]
56 0 0 SW [bdi-default]
58 0 0 SW [kblockd/0]
68 0 0 SW [cfg80211]
78 0 0 SW [rpciod/0]
84 0 0 SW [kswapd0]
85 0 0 SW [aio/0]
86 0 0 SW [nfsiod]
227 0 0 SW [mtdblockd]
293 0 1376 S xmldb -n wapnd15_dlob_dap1522b -t
294 0 876 S servd -d schedule_off
395 0 852 S logd -f sysact -f debug -f notice -f attack -f drop
396 0 832 S klogd -p notice
425 0 852 S gpiod
556 0 832 S telnetd -l /usr/sbin/login -u Alphanetworks:wapnd15_d
564 0 724 S -/bin/sh
650 0 992 S udhcpc -i br0 -H DAP-1522 -p /var/servd/BRIDGE-1-udhc
901 0 0 SW [RtmpCmdQTask]
938 0 848 S updatewifistats -s /etc/scripts/upwifistatshlper.sh -
972 0 1496 S hostapd /var/topology.conf
1005 0 876 S neaps -i br0 -c /var/run/neaps.conf
1164 0 828 S netbios -i br0 -r DAP-1522:192.168.0.7 -r DAP-152294e
1170 0 844 S llmnresp -i br0 -r DAP-1522 -r DAP-152294ee
1273 0 964 S lld2d -c /var/lld2d.conf br0 ra0
1292 0 1216 S mDNSResponderPosix -b -i br0 -e DAP-152294ee -f /var/
1316 0 1504 S httpd -f /var/run/httpd.conf
|