U-Boot 1.1.3 (Oct 31 2012 - 23:46:19) Board: Ralink APSoC DRAM: 32 MB relocate_code Pointer at: 81fb4000 sysctl:40200300 spi_wait_nsec: 42 spi device id: ef 40 17 0 0 (40170000) find flash: W25Q64BV raspi_read: from:30000 len:1000 .raspi_read: from:30000 len:1000 .============================================ Ralink UBoot Version: 3.5.3.0 -------------------------------------------- ASIC 5350_MP (Port5<->None) DRAM_CONF_FROM: Boot-Strapping DRAM_TYPE: SDRAM DRAM_SIZE: 256 Mbits DRAM_WIDTH: 16 bits DRAM_TOTAL_WIDTH: 16 bits TOTAL_MEMORY_SIZE: 32 MBytes Flash component: SPI Flash Date:Oct 31 2012 Time:23:46:19 ============================================ icache: sets:256, ways:4, linesz:32 ,total:32768 dcache: sets:128, ways:4, linesz:32 ,total:16384 ##### The CPU freq = 360 MHZ #### estimate memory size =32 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. 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 . Image Name: Linux Kernel Image Created: 2012-11-21 14:21:50 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 4112320 Bytes = 3.9 MB Load Address: 80000000 Entry Point: 802fb000 raspi_read: from:50040 len:3ebfc0 ............................................................... Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 802fb000) ... ## Giving linux memsize in MB, 32 Starting kernel ... LINUX started... THIS IS ASIC Linux version 2.6.21 (root@mailzxh-desktop) (gcc version 3.4.2) #655 Wed Nov 21 22:21:46 CST 2012 The CPU feqenuce set to 360 MHz CPU revision is: 0001964c Determined physical RAM map: memory: 02000000 @ 00000000 (usable) Built 1 zonelists. Total pages: 8128 Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock5 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 = e0808038, status = 11000000 PID hash table entries: 128 (order: 7, 512 bytes) calculating r4koff... 00057e40(360000) CPU frequency 360.00 MHz Using 180.000 MHz high precision timer. Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 29212k/32768k available (2646k kernel code, 3556k reserved, 402k data, 124k init, 0k highmem) Mount-cache hash table entries: 512 NET: Registered protocol family 16 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb 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: 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 deice id : ef 40 17 0 0 (40170000) W25Q64BV(ef 40170000) (8192 Kbytes) mtd .name = raspi, .size = 0x00800000 (8M) .erasesize = 0x00010000 (64K) .numeraseregions = 0 Creating 8 MTD partitions on "raspi": 0x00000000-0x00800000 : "ALL" 0x00000000-0x00030000 : "Bootloader" 0x00030000-0x00040000 : "Config" 0x00040000-0x00050000 : "Factory" 0x00050000-0x00150000 : "Kernel" 0x00150000-0x00480000 : "RootFS" 0x00480000-0x00780000 : "sys" 0x00780000-0x00800000 : "param" Load Ralink DFS Timer Module RT3xxx EHCI/OHCI init. squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher squashfs: LZMA suppport for slax.org by jro JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. io scheduler noop registered (default) gpiomode:404059 addr:b0000000 by zqh gpiomode:404059 by zqh1 Ralink gpio driver initialized Enable Ralink GDMA Controller Module GDMA IP Version=2 i2cdrv_major = 218 HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096 N_HDLC line discipline registered. Ralink APSoC Hardware Watchdog Timer Serial: 8250/16550 driver $Revision: 1.7 $ 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 Ralink APSoC Ethernet Driver Initilization. v2.1 256 rx/tx descriptors allocated, mtu = 1500! NAPI enable, weight = 32, Tx Ring = 256, Rx Ring = 256 MAC_ADRH -- : 0x0000000a MAC_ADRL -- : 0xeb4b9f8f PROC INIT OK! PPP generic driver version 2.4.2 PPP BSD Compression module registered NET: Registered protocol family 24 PPPoL2TP kernel driver, V0.17 PPTP driver version 0.8.1 tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky Linux video capture interface: v2.00 === SONiX UVC Like Driver(H264) Initial === usbcore: registered new interface driver uvcvideo USB Video Class driver (v0.1.0_SONiX_v2.6.24.03) block2mtd: version $Revision: 1.1.1.1 $ usbmon: debugfs is not available rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1 rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000 rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 2 rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected Initializing USB Mass Storage driver... usb 1-1: new high speed USB device using rt3xxx-ehci and address 2 usb 1-1: configuration #1 chosen from 1 choice hub 1-1:1.0: USB hub found hub 1-1:1.0: 4 ports detected usb 1-1.1: new high speed USB device using rt3xxx-ehci and address 3 usb 1-1.1: configuration #1 chosen from 1 choice uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:6360) uvcvideo: Failed to query (1) UVC control 1 (unit 4) : -32 (exp. 4). usb 1-1.4: new high speed USB device using rt3xxx-ehci and address 4 usb 1-1.4: configuration #1 chosen from 1 choice scsi0 : SCSI emulation for USB Mass Storage devices usbcore: registered new interface driver usb-storage USB Mass Storage support registered. Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14 07:25:50 2007 UTC). ALSA device list: No soundcards found. nf_conntrack version 0.5.0 (256 buckets, 131072 max) ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 10 NET: Registered protocol family 17 802.1Q VLAN Support v1.8 Ben Greear All bugs added by David S. Miller VFS: Mounted root (squashfs filesystem) readonly. Freeing unused kernel memory: 124k freed init started: BusyBox v1.12.1 (2012-11-21 22:17:05 CST) starting pid 19, tty '': '/etc_ro/rcS' Algorithmics/MIPS FPU Emulator v1.5 devpts: called with bogus options mount: mounting none on /proc/bus/usb failed: No such file or directory Welcome to _______ _______ ___ __ ____ _ _ ___ | ___ \| __ || | |__|| \ | || | / / | |___| || |__| || |__ __ | \| || |/ / | _ /| _ || || || |\ || \ |__| \__\|__| |__||______||__||_| \____||_|\___\ =System Architecture Department= gpio open ralink gpio release by zqh clr gpio starting pid 35, tty '/dev/ttyS1': '/bin/sh' BusyBox v1.12.1 (2012-11-21 22:17:05 CST) built-in shell (ash) Enter 'help' for a list of built-in commands. # Started WatchDog Timer. zqh socket fd=3 zqh bind(6666) address successful! zqh socket fd=3 zqh bind(6666) address successful! InitSystemParam 0 =========================read system param from file================================== mac:00:20:01:00:3B:CC 30 wifimac:00:20:01:00:3B:CD 30 wifimac:00:20:01:00:3B:CD ie param ppid 40 ie param ppid 43 daemon:===== wifi.c, line 71, WifiConfig(): SSID=ART_MASTER daemon:===== wifi.c, line 347, WifiDriversInit(): insmod From kernal scsi 0:0:0:0: Direct-Access Multi Flash Reader 1.00 PQ: 0 ANSI: 0 sd 0:0:0:0: Attached scsi removable disk sda rt2860v2_sta: module license 'unspecified' taints kernel. === pAd = c0095000, size = 534784 === <-- RTMPAllocAdapterBlock, Status=0 daemon:===== wifi.c, line 355, WifiDriversInit(): [insmod /lib/modules/2.6.21/kernel/drivers/netRX DESC a1de7000 size = 2048 /wireless/rt2860v2_sta/rt2860v2_sta.ko mac=00:20<-- RTMPAllocTxRxRingMemory, Status=0 :01:00:3B:CD] OK Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) 1. Phy Mode = 9 2. Phy Mode = 9 3. Phy Mode = 9 MCS Set = ff 00 00 00 01 <==== rt28xx_init, Status=0 0x1300 = 00064300 EthMacInit2 EthMacInit3 phy_tx_ring = 0x01826000, tx_ring = 0xa1826000 phy_rx_ring0 = 0x01827000, rx_ring0 = 0xa1827000 MAC_ADRH -- : 0x00000020 MAC_ADRL -- : 0x01003bcc RT305x_ESW: Link Status Changed EthMacInit4 switch reg write offset=14, value=5555 switch reg write offset=40, value=1001 switch reg write offset=44, value=1001 switch reg write offset=48, value=1001 switch reg write offset=4c, value=1 switch reg write offset=50, value=2001 switch reg write offset=70, value=ffffffff switch reg write offset=98, value=7f7f switch reg write offset=e4, value=7f done. EthMacInit5 EthMacInit5 switch reg write offset=14, value=5555 switch reg write offset=40, value=1001 switch reg write offset=44, value=1001 switch reg write offset=48, value=1001 switch reg write offset=4c, value=1 switch reg write offset=50, value=2001 switch reg write offset=70, value=ffffffff switch reg write offset=98, value=7f7f switch reg write offset=e4, value=7f done. eth is start =====InitNetDrivers======= ======dns failed===========: pid 32 NetThreadProc RT305x_ESW: Link Status Changed received SIGUSR1 netstatsem post Daemon...=======network change======= Daemon...netok -1 link 2 net is work on eth enter ethernet dhcp mode route: ioctl 0x890c failed: No such process EthStart1 route: ioctl 0x890c failed: No such process EthStart2 EthStart3 route: ioctl 0x890b failed: Network is unreachable EthStart4 EthStart5 netstatsem post end netstatsem post killall: udhcpc: no process killed Ethnet Dhcp udhcpc (v1.12.1) started netstatsem post end start app update thread start sys update thread =======mac======= 00-20-01-00-3b-cc- No lease, failing zqh socket fd=7 zqh bind(9123) address successful! ipc param ppid 36 update socket init sh: /system/system/bin/encoder: Permission denied update Socket proc is start dhcp is start...=0 dhcp is stop... EthStart0 route: ioctl 0x890c failed: No such process EthStart2 EthStart3 EthStart4 route: ioctl 0x890b failed: File exists EthStart5 --------------SaveSystemParam---------- bparam.stNetParam.szIpAddr = 192.168.1.124 link:2 status:2