U-Boot 2014.04 (Jul 06 2020 - 19:39:51) CPU: XM530 WDT: 300S DRAM: 64 MiB MMC: arasan: 0 In: serial Out: serial Err: serial Net: dwmac.10010000 Press Ctrl+C to stop autoboot SF: 1572864 bytes @ 0x40000 Read: OK ## Booting kernel from Legacy Image at 80007fc0 ... Image Name: Linux-3.10.103+ Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1548688 Bytes = 1.5 MiB Load Address: 80008000 Entry Point: 80008000 XIP Kernel Image ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 3.10.103+ (wangzhuowei1@xm) (gcc version 4.9.2 (Buildroot 2014.08) ) #2 SMP Mon Jun 22 17:18:36 CST 200 CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: xm530 Memory policy: ECC disabled, Data cache writealloc PERCPU: Embedded 7 pages/cpu @c0494000 s6336 r8192 d14144 u32768 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 10160 Kernel command line: mem=40M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=cramfs mtdparts=xm_sfc:256K(boot)) PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 40MB = 40MB total Memory: 36156k/36156k available, 4804k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xc3000000 - 0xff000000 ( 960 MB) lowmem : 0xc0000000 - 0xc2800000 ( 40 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc03dce34 (3924 kB) .init : 0xc03dd000 - 0xc04008c0 ( 143 kB) .data : 0xc0402000 - 0xc04245a0 ( 138 kB) .bss : 0xc04245a0 - 0xc0440504 ( 112 kB) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 Hierarchical RCU implementation. NR_IRQS:96 sched_clock: 32 bits at 12MHz, resolution 83ns, wraps every 357913ms Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok Setting up static identity map for 0xc0362628 - 0xc0362680 L310 cache controller enabled l2x0: 8 ways, CACHE_ID 0x410000c9, AUX_CTRL 0x32420000, Cache size: 131072 B CPU1: Booted secondary processor Brought up 2 CPUs SMP: Total of 2 processors activated (598.42 BogoMIPS). CPU: All CPU(s) started in SVC mode. NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations Serial: AMBA PL011 UART driver uart:0: ttyAMA0 at MMIO 0x10030000 (irq = 32) is a PL011 rev1 console [ttyAMA0] enabled uart:1: ttyAMA1 at MMIO 0x10040000 (irq = 33) is a PL011 rev1 uart:2: ttyAMA2 at MMIO 0x10050000 (irq = 34) is a PL011 rev1 bio: create slab at 0 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Switching to clocksource timer0 NET: Registered protocol family 2 TCP established hash table entries: 512 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: 0, 4096 bytes) TCP: Hash tables configured (established 512 bind 512) TCP: reno registered UDP hash table entries: 256 (order: 1, 8192 bytes) UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc. fuse init (API version 7.22) msgmni has been set to 70 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered (default) io scheduler cfq registered dma-pl330 dma-pl330: Loaded driver for PL330 DMAC-267056 dma-pl330 dma-pl330: DBUFF-32x8bytes Num_Chans-4 Num_Peri-24 Num_Events-4 uart-pl011 uart:0: no DMA platform data uart-pl011 uart:1: no DMA platform data uart-pl011 uart:2: no DMA platform data brd: module loaded XMSFCV2: flash name:W25Q64CV size:0x800000 6 cmdlinepart partitions found on MTD device xm_sfc 6 cmdlinepart partitions found on MTD device xm_sfc Creating 6 MTD partitions on "xm_sfc": 0x000000000000-0x000000040000 : "boot" 0x000000040000-0x0000001c0000 : "kernel" 0x0000001c0000-0x000000300000 : "romfs" 0x000000300000-0x000000770000 : "user" 0x000000770000-0x0000007b0000 : "custom" 0x0000007b0000-0x000000800000 : "mtd" PPP generic driver version 2.4.2 NET: Registered protocol family 24 usbcore: registered new interface driver cdc_ether usbcore: registered new interface driver rndis_host XMMMAC driver: platform registration... done! eth0 - (dev. name: xmmaceth - id: -1, IRQ #35 IO base addr: 0xfe010000) libphy: XMMMAC MII Bus: probed eth0: PHY ID 00010000 at 1 IRQ 0 (0:01) active usbcore: registered new interface driver cdc_acm cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters usbcore: registered new interface driver usbserial usbcore: registered new interface driver option usbserial: USB Serial support registered for GSM modem (1-port) usbcore: registered new interface driver qcserial usbserial: USB Serial support registered for Qualcomm USB modem TCP: cubic registered NET: Registered protocol family 17 Key type dns_resolver registered VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1 registered taskstats version 1 �VFS: Mounted root (cramfs filesystem) readonly on device 31:2. Freeing unused kernel memory: 140K (c03dd000 - c0400000) mount: mounting /dev/mtdblock3 on /usr failed: Device or resource busy MEM_START=0x82800000 MEM_LEN=0x01800000 xm_i2c init is ok! mmz: init ok start=0x82800000, size=0x1800000 VI: init ok! IspKo: ispDev_init start! IspKo: ispDev_init OK! hx280enc: module init - base_port=0x20070000 irq=77 hx280enc: HW at base <0x20070000> with ID <0x82900760> hx280enc: module inserted. Major <0> xm_rtc init is ok! xm_wdt init is ok! insert audio ko acodec init is ok! dwc_otg: version 3.30a 13-OCT-2015 hwcfg1:2a954 hwcfg2:228ea2d0 hwcfg3:93706e5 hwcfg4:d3f08020 Core Release: 3.30a Setting default values for core params ERROR::dwc_otg_setup_params:5609: Host Mode. ERROR::dwc_otg_core_init:1393: phy_type:1 Using Buffer DMA mode Periodic Transfer Interrupt Enhancement - disabled Multiprocessor Interrupt Enhancement - disabled OTG VER PARAM: 0, OTG VER FLAG: 0 dwc_otg dwc_otg.0: DWC OTG Controller dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1 dwc_otg dwc_otg.0: irq 76, io mem 0x00000000 Init: Power Port (0) usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: DWC OTG Controller usb usb1: Manufacturer: Linux 3.10.103+ dwc_otg_hcd usb usb1: SerialNumber: dwc_otg.0 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected usbwifi_init. 0x82 PDN pin is low, ouput high and delay 2 sec. gpio:96 : 0x82 ouput high and delay 2000ms Indeed it is in host mode hprt0 = 00021501 usb 1-1: new high-speed USB device number 2 using dwc_otg Indeed it is in host mode hprt0 = 00001101 ERROR::dwc_otg_hcd_qh_free:79: free usb 1-1: New USB device found, idVendor=f000, idProduct=6700 usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1: Product: WLAN usb 1-1: Manufacturer: Montage usb 1-1: SerialNumber: 7000 Loading modules backported from Linux version v3.13-rc8-0-g7e22e91 Backport generated by backports.git v3.13-rc8-1-0-gae71bd3 cfg80211: Calling CRDA to update world regulatory domain usb 1-1: Lynx [boot mode] now attached usb 1-1: Lynx ROM version: 0x3 usb 1-1: lynx_usb_probe: Firmware lynx/app_3.img requested usb 1-1: Lynx new [app mode] now attached /system/etc/wifi//MAC.txt,file open error. set random mac Set default mac(random):80 05 df 11 d0 05 /data//RF.txt,file open error. MAC Rule:1 FOFS Rule:1 TXVGA Rule:1 usbcore: registered new interface driver xm711 lynx proc add lynx driver rev. = 1665 arasan_set_clock: new freq 400000 mmc0: driver initialized... IRQ: 73, Base addr 0xc3c00000 max_degree: 350, 125; max_steps: 3982, 1422 arasan_set_clock: new freq 50000000 mmc0: new high speed SDHC card at address 1234 mmcblk0: mmc0:1234 SA08G 7.28 GiB mmcblk0: unknown partition table CryptoDecrypt,565 or_sel=1 LibCrypto : g_cryptotype = 2 CryptoDecrypt,565 or_sel=1 LibCrypto : g_cryptotype = 2 CryptoDecrypt,565 or_sel=1 LIBDVR : FILE -> ../../src/init/json.c, LINE -> 132: Get WifiFreq object error! Device: R80X20-PQ; APName: robot_; WifiType: XM711 GPIO: AoEn=73,WifiPdn=96,WifiSwitch=255,Key=4,Red=41,Green=255,ethnetphyled=[93, 255] Motor: support=1, mirror=1, flip=0 LED: support=1, enable=0 Alarm: innum=0, outnum=0, in=[0,0,0,0,0,0,0,0],out=[0,0,0,0,0,0,0,0] ********************************************************************** | SYSTEM INFO | ID: 0x3001 | product type: R80X20-PQ | DSP chip: XM530 | wifi type: XM711 ********************************************************************** LIBDVR: Complied at Sep 7 2020 14:31:34 GIT:ff021fc LibCrypto : g_cryptotype = 2 LIBDVR : FILE -> ../../src/init/json.c, LINE -> 132: Get WifiFreq object error! Device: R80X20-PQ; APName: robot_; WifiType: XM711 GPIO: AoEn=73,WifiPdn=96,WifiSwitch=255,Key=4,Red=41,Green=255,ethnetphyled=[93, 255] Motor: support=1, mirror=1, flip=0 LED: support=1, enable=0 Alarm: innum=0, outnum=0, in=[0,0,0,0,0,0,0,0],out=[0,0,0,0,0,0,0,0] CryptoDecrypt,565 or_sel=1 ********************************************************************** | Disable Power-Saving SYSTEM INFO | ID: 0x3001 | product type: R80X20-PQ | DSP chip: XM530 | wifi type: XM711 ********************************************************************** LIBDVR: Complied at Sep 7 2020 14:31:34 GIT:ff021fc wlandaemon : Complied at May 15 2020 17:31:58 SVN:11873 start XM711 wlandaemon /mnt/mtd/Log/WifiStartupType doesn't exists! LIBDVR : FILE -> ../../src/init/json.c, LINE -> 132: Get WifiFreq object error! Device: R80X20-PQ; APName: robot_; WifiType: XM711 GPIO: AoEn=73,WifiPdn=96,WifiSwitch=255,Key=4,Red=41,Green=255,ethnetphyled=[93, 255] Motor: support=1, mirror=1, flip=0 LED: support=1, enable=0 Alarm: innum=0, outnum=0, in=[0,0,0,0,0,0,0,0],out=[0,0,0,0,0,0,0,0] ********************************************************************** | SYSTEM INFO | ID: 0x3001 | product type: R80X20-PQ | DSP chip: XM530 | wifi type: XM711 ********************************************************************** LIBDVR: Complied at Sep 7 2020 14:31:34 GIT:ff021fc init args 0 1 2 0 LIBDVR : Set Ip Successful "netinit help" for help eth0: MAC: <00:12:41:ce:28:6c> IP: <10.42.0.69> netmask: <255.255.255.0> LIBDVR : Set Ip Successful LIBDVR : Set NetMask Successful set ps 0 Gateway: <10.42.0.1> LIBDVR : SetGateWay Successful eth2: MAC: <30:ff:f6:87:b0:47> W_IP: <192.168.128.131> W_netmask: <255.255.255.0> LIBDVR : Set Ip Successful LIBDVR : Set NetMask Successful W_Gateway: <192.168.128.1> LIBDVR : SetGateWay Successful LibCrypto : g_cryptotype = 2 CryptoDecrypt,565 or_sel=1 LIBDVR : FILE -> ../../src/init/json.c, LINE -> 132: Get WifiFreq object error! Device: R80X20-PQ; APName: robot_; WifiType: XM711 GPIO: AoEn=73,WifiPdn=96,WifiSwitch=255,Key=4,Red=41,Green=255,ethnetphyled=[93, 255] Motor: support=1, mirror=1, flip=0 LED: support=1, enable=0 Alarm: innum=0, outnum=0, in=[0,0,0,0,0,0,0,0],out=[0,0,0,0,0,0,0,0] ********************************************************************** | SYSTEM INFO | ID: 0x3001 | product type: R80X20-PQ | DSP chip: XM530 | wifi type: XM711 ********************************************************************** LIBDVR: Complied at Sep 7 2020 14:31:34 GIT:ff021fc LibCrypto : g_cryptotype = 2 CryptoDecrypt,565 or_sel=1 LIBDVR : FILE -> ../../src/init/json.c, LINE -> 132: Get WifiFreq object error! dvrHelper version: Jun 10 2020 Device: R80X20-PQ; APName: robot_; WifiType: XM711 GPIO: AoEn=73,WifiPdn=96,WifiSwitch=255,Key=4,Red=41,Green=255,ethnetphyled=[93, 255] Motor: support=1, mirror=1, flip=0 FAT-fs (mmcblk0): bogus number of reserved sectors LED: suppFAT-fs (mmcblk0): Can't find a valid FAT filesystem ort=1, enable=0 Alarm: innum=0, outnum=0, in=[0,0,0,0,0,0,0,0],out=[0,0,0,0,0,0,0,0] ********************************************************************** | SYSTEM INFO | ID: 0x3001 | product type: R80X20-PQ | DSP chip: XM530 | wifi type: XM711 ********************************************************************** LIBDVR: Complied at Sep 7 2020 14:31:34 GIT:ff021fc LIBDVR : Debug Tld: Create DebugProc_thrd OK! LIBDVR : create listenSock: 3. LIBDVR : Get xmauto Fialed ,xmauto = 1 LIBDVR_PTHREAD - rtc_sys: TID=502 Cannot connect with 127.0.0.1 to send log. Listening at port 9527 for debug. /usr/bin/app.sh is starting ... Auto login as root ... (none) login: lynx: lynx_cfg80211_scan_complete_event: status aborted Disable Power-Saving at checkPskWpaFile() if(foundSsid && foundKeyMgmt && foundPsk). Encryption[7] KeyType[1] Keys[removed] get key is :removed ssid[removed] psk[removed] SetWlanState wifi state 0x1 log: ioctl cmd error IspKo: [IspDrv]: Memery Init Buffer!Num[2] log: ioctl cmd error Sofia uses obsolete (PF_INET,SOCK_PACKET) WLAN_STATE_CONNECTING LIBDVR : FILE -> src/misc/rtc.c, LINE -> 92: rtc flash error!!!!! lynx: scan complete: isok=1, vif->scan_req=0xc109fb00, SCHED_SCANNING=0 lynx: Enter CONNECT lynx: lynx_cfg80211_connect(): lnx->channel=1, sme->channel->center_freq=2412 lynx: lynx_set_auth_type: 0x0 lynx: lynx_set_wpa_version: 2 lynx: lynx_set_cipher: cipher 0xfac04, ucast 1 lynx: lynx_set_cipher: cipher 0xfac04, ucast 0 lynx_cfg80211_connect(): vif->prwise_crypto=0x10, vif->grp_crypto=10 lynx: lynx_set_key_mgmt: 0xfac02 lynx: lynx_wci_update_vif_cmd(): role=1, skb->len=96, wm_bss data len=92(c1a085e4 : c1a08588) lynx: lynx_cfg80211_connect_event(): vif->nw_type=1, vif->fw_vif_idx=0, vif->wdev.iftype=2, assoc_req_len=0, assoc_r2 lynx: cfg80211 already has a bss lynx: lynx_cfg80211_connect_event(): info connect result lynx: lynx_set_cipher: cipher 0xfac04, ucast 1 lynx: lynx_set_cipher: cipher 0xfac04, ucast 0 LIBDVR : Set Ip Successful LIBDVR : Set NetMask Successful LIBDVR : SetGateWay Successful ROUTE - switch to eth2 route: SIOCDELRT: No such process LibCrypto : g_cryptotype = 2 LIBDVR : FILE -> ../../src/init/json.c, LINE -> 132: Get WifiFreq object error! LIBDVR : Set Ip Successful LIBDVR : Set Ip Successful LIBDVR : Set NetMask Successful LIBDVR : SetGateWay Successful eth0: IP: <10.42.0.69> netmask: <255.255.255.0> Gateway: <10.42.0.1> eth2: W_IP: <192.168.128.131> W_netmask: <255.255.255.0> W_Gateway: <192.168.128.1> WlanDaemonSetIp() after udhcpc eth2 Link encap:Ethernet HWaddr 30:FF:F6:87:B0:47 inet addr:192.168.128.131 Bcast:192.168.128.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:16 errors:0 dropped:0 overruns:0 frame:0 TX packets:26 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1522 (1.4 KiB) TX bytes:10700 (10.4 KiB) WLAN_STATE_CONNECTED SetWlanState wifi state 0x3 motor auto test over XXXX motor_helper: MOTOR_X XXXX action=idle dir= flag=|auto-test-cmplt steps=0 , curr_steps=1992 , speed=0 , curr_speed=0 YYYY motor_helper: MOTOR_Y YYYY action=idle dir= flag= steps=0 , curr_steps=712 , speed=0 , curr_speed=0