Investigación: Dongle EZCast M2 III

Comienzo avisando que esto no es un review respecto al dongle si no una investigación para ver que es lo que hace la magia, pero indicar lo básico:

Es un dongle HDMI, que permite usar miracast, airplay y un protocolo propietario (?) para compartir contenidos en un televisor, funciona bastante bien a decir verdad con Windows y Android, desconozco el resto de las plataformas.

El paquete consiste de la caja, un manual de instrucciones ridículamente poco claro respecto a todo, el dongle en si y un cable que contiene la tarjeta Wifi, microusb y usb para energía.

2015-02-03 01.56.37

Cuando tenga mas tiempo investigare mas, ahora necesito usar el dongle para su uso real.

Hardware:

(informacion wiñada de xdadevelopers)

RAM: DDR3 128MB (or 256MB)
Storage: Single-level cell (SLC) NAND Flash memory: 128 MB
Chipset: Actions-Micro AM8251 600 MHz (or 1GHz)
Wifi: Es una vil tarjeta usb Realtek 8188SU

usb 1-1: new usb device dev_num=2,product=802.11n NIC
usb 1-1: New USB device found, idVendor=0bda, idProduct=0179
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: New USB device configuration:ConfigurationsNum=1
usb 1-1: Product: 802.11n NIC
usb 1-1: Manufacturer: Realtek
usb 1-1: SerialNumber: 00E04C0001
[…]
dongle_tbl[i].driver_name=======8188eu.ko
(bootlog completo al final)

usb: USB OTA 2.0, desconozco si el puerto sigue el formato normal de pines, al menos se alimenta con un cable usb normal.

Dentro del dongle no hay mucho mas que un par de integrados y pasivos, also abrir esto sin romper al menos una patita de enganche es imposible.

2015-02-03 01.57.12 2015-02-03 01.57.34 2015-02-03 01.58.30 2015-02-03 01.58.38 2015-02-03 01.59.33 2015-02-03 02.00.16 2015-02-03 02.20.22 2015-02-03 02.20.28 2015-02-03 02.20.43

 

En la placa cerca del SOC, hay test points para RX, TX y GND, a si que lo primero que hice fue conectar mi conversor serial-usb ahí y obtener acceso root.

 

Bootlog:

test ddr
msdly:0—–fail
msdly:1—–fail
msdly:2—–fail
msdly:3—–fail
msdly:4—–fail
msdly:5—–fail
msdly:6—–fail
msdly:7—–fail
msdly:8—–fail
msdly:9—–fail
msdly:a—–fail
msdly:b—–fail
msdly:c—–fail
msdly:d—–fail
msdly:e—–fail
msdly:f—–fail
msdly:10—–ok
msdly:11—–ok
msdly:12—–ok
msdly:13—–ok
msdly:14—–ok
msdly:15—–ok
msdly:16—–ok
msdly:17—–ok
msdly:18—–ok
msdly:19—–ok
msdly:1a—–fail
msdly:1b—–fail
msdly:1c—–fail
msdly:1d—–fail
msdly:1e—–fail
final msdly:14
msldyreg:51415
Enter load_brec
Wafer revision is 1,reg_value is 0xf19d9998
over ecc error!
over ecc error!
over ecc error!
over ecc error!
Over ECC errors fc7f0219
Found brec at block4…
PAGESIZE=2048
PAGE_CNT=64
SECT_CNT=4
Start block :4,ECCCTL:0x1
——BREC OKAY——–
USE_UART = 1

***AL1213, AM0,brec.bin Ver Dec 30 2014 Tim:15:12:17,NAND***
chipinfo: 0xb40458d0
MU_REG1:0x00002600
MU_REG2:0x00000000
MU_REG1:0x00003e00
MU_REG2:0x00003e00
MU_REG1:0x00003e00
MU_REG2:0x00003e00
CMU_COREPLL [b0010000]: 388d94b
CMU_BUSCLK [b001000c]: 29004388
SDR_CTL [b0070000]: 30166
SDR_CMD [b007000c]: 0
SDR_TIMING [b0070030]: 25aa7377
SDR_RFSH [b0070014]: d00
SDR_EN [b0070008]: 1
SDR_MODE [b0070018]: 521
SDR_CLKDLY [b007005c]: 10a0000
SDR_MSTDLY [b0070060]: 51415
SDR_LATENCY [b0070058]: 8000605
——— getcorepll() COREPLL val:492
##Set nand Flash:32800 Khz##
##CMU_COREPLL:0x388d94b ,NAND_CTL: 0x48901
###CMU_NANDCLK:0x50e,CLKCTL:0x9,NANDCTL48901###
###NandDMAChannel:0 ###
###4.User_Data_2Byte:0
###5.EIP_IRQ_MODE:1
###6.TEST_RB_CTL:0
##7.SPECIAL_DMA_Test:0
##8.PageBCH24 Read:0,Write:0
##9.PageBCH8 Read:0,Write:0
##10.pseudoNoise:0
mode32:0x608401a4,mode8:0x608001a4
mode32:0x1a46084,mode8:0x1a46080
[INIT] INIT_CreateBlkTbls() enter.

====22 boot nand Flash CHIPID:0x9500f1ec ====
Flash ChipNo:0 CHIPID:9500f1ec
Flash ChipNo:1 CHIPID:0

===Set:0x0, NAND_ECCCTL:0x1,
AM1213 Set ECC type BCH8
NAND_ECCCTL:0x1 ==

——— getcorepll() COREPLL val:492
CMU_COREPLL:0x388d94b
###10,9,492Mhz,15MHz,14909Khz ###
###Set BMA:61Mhz###
###CMU_NANDCLK:0x70a,CLKCTL:0x9,NANDCTL48900###

INIT_DBG: ================NAND STORAGE INFOR================
INIT_DBG:     ChipEnableInfo is:0x1
INIT_DBG:     ChipCnt        is:0x1
INIT_DBG:     BankCntPerChip is:0x1
INIT_DBG:     DieCntPerChip  is:0x1
INIT_DBG:     PlaneCntPerDie is:0x1
INIT_DBG:     SectorNumPerPage  is:0x4
INIT_DBG:     PageNumPerPhyBlk  is:0x40
INIT_DBG:     TotalBlkNumPerDie is:0x400
INIT_DBG:     OperationOpt is:0x10
INIT_DBG:     FrequencePar is:0xf
INIT_DBG:     Reclaim is:6
INIT_DBG:     SpareSize is:64
INIT_DBG:     NandChipId   is:0x9500f1ec
INIT_DBG: ====================================================

INIT_DBG: ================LOGIC ORGANIZE INFO=================
INIT_DBG:     DataBlkNumPerZone  is:0x3d8
INIT_DBG:     PageNumPerLogicBlk is:0x40
INIT_DBG:     SectorNumPerLogicPage is:0x4
INIT_DBG:     ZoneNumPerDie      is:0x1
INIT_DBG: ====================================================

INIT_DBG: ===============SPECICAL CMMOND INFO=================
INIT_DBG:     MultiProgCmd         is:0x11, 0x81
INIT_DBG:     MultiCopyReadCmd     is:0x0, 0x0, 0x35
INIT_DBG:     MultiCopyProgCmd     is:0x85, 0x11, 0x81
INIT_DBG:     MultiBlkAddrOffset   is:0x1
INIT_DBG:     BadBlkFlagPst        is:0x1
INIT_DBG:     ReadMultiOpStatusCmd is:0x70
INIT_DBG:     InterChip0StatusCmd  is:0xf1
INIT_DBG:     InterChip1StatusCmd  is:0xf2
INIT_DBG: =====================================================

INIT_DBG: ===============Sector Bimmap=================
INIT_DBG 1.===>Sector_BitmapBBF:0x3
INIT_DBG 2.===>Sector_BitmapSpare:0x7
INIT_DBG 3.===>USER_DataByte:0x2
INIT_DBG 4.===>USER_SectorCnt:0x3
INIT_DBG 5.===>TOTAL_SPAREDATA:6
INIT_DBG 6.===>Single_BitmapSpare:7
INIT_DBG: =====================================================

TOTAL_BANKS          1
DIENUM_IN_FLASH      1
ZONENUM_PER_DIE      1
SUBLK_PER_DIE        1024
PAGES_PER_SUBLK      64
MULTI_PLANE_SUPPORT  0
DIE_FIRST_SUBLK_NUM  8
###NandDevInfo.PhyCache :8081b740 ,size:2048
###GPageBuf:0x8081a730
[SCAN] ScanSearchZoneTbls: (DieNo: 0) enter.
ZoneTblStartPage:16
ScanSearchZoneTbls: [SCAN] Found valid zone table 0 for die 0 at block 8, page 16.
[SCAN] ScanSearchZoneTbls: (DieNo: 0) out, ret 0
[INIT] INIT_CreateBlkTbls() out, ret 0.
##1.Reclaim: 6,6,brecsize:128KB
##2.Read Super:1, Readclaim:1
##3.Write Super:0, Wearleveling:1
##4.ECC_reclaim,1,overecc:1
##5.DataBlk:984,MultiPlane:0
##6.PageCache:0x8081a730,4
##7.NandDevInfo.PhyCache:0x8081b740:
FlashReadBuf:0x8081d450,FlashReadFileBuf:0x8081d650
FlashBuf_S:0x8081d850,D:0x8081f850

+++1> SystemSize:4e80, 1:0,2:0,3:0,4:7000, 5:0,6:0,7:0 +++

DIRItemsCheckSum:0xd269c0d2,0xd269c0d2

#get file :2,name:RECOVER BIN,res:1#
USE_UART = 1
—- bootdisplay test ddr cap 128M
1280 720
de input pixel format:5
runto:301
runto:304
runto:309
global_data.pic_data_addr:a5800000
exit display boot pic
1+:RECOVER BIN,      10,    7600,78720443 +
1+:FMCOVER BIN,      4b,    ea00,f35c3956 +
1+:WELCOME BIN,      c0,  1c2200,7f98d06f +
1+:COVER   BIN,     ed1,   ea800, 23daaeb +
1+:FAILED  BIN,    1625,   ea800,5203d2d4 +
1+:SUCCESS BIN,    1d79,   ea800,68f22e7f +
1+:LCM     BIN,    24cd,     200,9654ff88 +
1+:BACKLIGHBIN,    24ce,     200,457a1265 +
1+:GAMMA   BIN,    24cf,     600,3117a936 +
1+:GPIO    BIN,    24d2,     200,3358a264 +
1+:VERSION CON,    24d3,     200,13d7399c +
1+:SYSCFG  SYS,    24d4,  32a200,b0dc4e2d +
1+:INITRD  DAT,    3e25,  200000,73c64940 +
1+:BOOTARG TXT,    4e25,     200,c26c5066 +
system_code_check end 14392ms 0
system_code_check retrun 0
CheckSum:$4d66,e,e
###MBRC_Whole:14, code:13,55aa4d66!####
CheckSum:$4d66,e,e
CheckSum:$4d66,e,e
CheckSum:$4d66,e,e
mbrc_test_repair OK
CheckSum:$f46e,100,100
CheckSum:$f46e,100,100
CheckSum:$f46e,100,100
CheckSum:$f46e,100,100
brec_test_repair OK
SYSCFG  SYS
0: Size:0032a200 offset:000024d4
INITRD  DAT
1: Size:00200000 offset:00003e25
BOOTARG TXT
2: Size:00000200 offset:00004e25
No any more files
### new read mode fix ###
Kernel command line: rd_start=0x80400000 rd_size=0x00200000 reserved_mem=60M root=/dev/ram0 rw init=/linuxrc AM7X_PARTS=rootfs,user1,vram,udisk,reserve AM7X_ROOTFS=ext2 console=ttyS1,115200n8

Load 3318272 bytes (6481 sects) from 0x000024d4
BREC#syscfg.sys is loaded at 80003000, checksum32=0xb0dc4e2d
Load 2097152 bytes (4096 sects) from 0x00003e25
BREC#initrd.dat is loaded at 80400000, checksum32=0x73c64940
./../../../brec/nand_driver_entry.c-89 Brec nand exit!!
KERNEL checksum: 0xb0dc4e2d
INITRD checksum: 0x73c64940
Kernel command line: rd_start=0x80400000 rd_size=0x00200000 reserved_mem=60M root=/dev/ram0 rw init=/linuxrc AM7X_PARTS=rootfs,user1,vram,udisk,reserve AM7X_ROOTFS=ext2 console=ttyS1,115200n8
Kernel command line length: 171
rd_start: 0x80400000
CHIP_INFO1: 0xb40458d0
CHIP_INFO2: 0xb40458d0

Starting linux kernel at 0x80003400
board init
@cmdline length: 171@chipinfo: 0xb40458d0
AM: external initramfs
Linux version 2.6.27.29 (bink.li@srv-szmicro-sw) (gcc version 4.3.3 (Sourcery G++ Lite 4.3-154) ) #3 PREEMPT Tue Dec 30 15:23:21 CST 2014

AM7X LINUX started…
console [early0] enabled
CPU revision is: 5501964c (MIPS 24K)
Determined physical RAM map:
memory: 08000000 @ 00000000 (usable)
Initial ramdisk at: 0x80400000 (2097152 bytes)
Zone PFN ranges:
Normal   0x00000000 -> 0x00008000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00008000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: rd_start=0x80400000 rd_size=0x00200000 reserved_mem=60M root=/dev/ram0 rw init=/linuxrc AM7X_PARTS=rootfs,user1,vram,udisk,reserve AM7X_ROOTFS=ext2 console=ttyS1,115200n8
Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
Writing ErrCtl register=0007957e
Readback ErrCtl register=0007957e
PID hash table entries: 512 (order: 9, 2048 bytes)
<3>am: membase@0xb0190020, irq19
co1, baud=115200, parity=n, bits=8, flow=n
console handover: boot [early0] -> real [ttyS1]
printk okay!
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 62308k/131072k available (2572k kernel code, 68712k reserved, 518k data, 152k init, 0k highmem)
SLUB: Genslabs=6, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop… 321.53 BogoMIPS (lpj=643072)
Mount-cache hash table entries: 512
net_namespace: 588 bytes
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs…it isn’t (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 2048k freed
NTFS driver 2.1.29 [Flags: R/O].
msgmni has been set to 125
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
ActionsMicro AM7XXX serial driver version 0.14
<3>am: membase@0xb0160000, irq20
ttyS0 at MMIO 0x10160000 (irq = 20) is a AM
<3>am: membase@0xb0190020, irq19
ttyS1 at MMIO 0x10190020 (irq = 19) is a AM
brd: module loaded
loop: module loaded
Driver ‘sd’ needs updating – please use bus_type methods
Driver ‘sr’ needs updating – please use bus_type methods
usbmon: debugfs is not available
rtc-am7xxx rtc-am7xxx.0: rtc core: registered rtc-am7xxx as rtc0
nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
rtc-am7xxx rtc-am7xxx.0: hctosys: invalid date/time
blkdev_open
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 2048KiB [1 disk] into ram disk… done.
VFS: Mounted root (ext2 filesystem).
kernel_init:prepare_namespace ok
prom_free_prom_memory okay
Freeing unused kernel memory: 152k freed
write 48403 to b0190020
COM1 start up!
No such file: /bin/init
init_post:ramdisk_execute_command:<NULL>
init_post:execute_command:/linuxrc

init_am7x_nftl: CHIPINFO:  0xb40458d0
MU_REG1:0x00003e00
MU_REG2:0x00003e00
——— getcorepll() COREPLL val:492
##Set nand Flash:32800 Khz##
##CMU_COREPLL:0x388d94b ,NAND_CTL: 0x48901
###CMU_NANDCLK:0x50e,CLKCTL:0x9,NANDCTL48901###
###NandDMAChannel:0 ###
###4.User_Data_2Byte:0
###5.EIP_IRQ_MODE:1
###6.TEST_RB_CTL:0
##7.SPECIAL_DMA_Test:0
##8.PageBCH24 Read:0,Write:0
##9.PageBCH8 Read:0,Write:0
##10.pseudoNoise:0
mode32:0x608401a4,mode8:0x608001a4
mode32:0x1a46084,mode8:0x1a46080

====22 boot nand Flash CHIPID:0x9500f1ec ====
Flash ChipNo:0 CHIPID:9500f1ec
Flash ChipNo:1 CHIPID:0

===Set:0x0, NAND_ECCCTL:0x1,
AM1213 Set ECC type BCH8
NAND_ECCCTL:0x1 ==

——— getcorepll() COREPLL val:492
####run to :Set_TestBuf,842cfc00###
ScanSearchZoneTbls: [SCAN] Found valid zone table 0 for die 0 at block 8, page 16.
##1.Reclaim: 6,6,brecsize:128KB
##2.Read Super:1, Readclaim:1
##3.Write Super:1, Wearleveling:1
##4.ECC_reclaim,1,overecc:1
##5.DataBlk:984,MultiPlane:0
##6.PageCache:0xa400a000,4
##7.NandDevInfo.PhyCache:0xa4009000:

===NO:    0,Read Zone : 0, Blk:8,Pge:16===
kernel capacity is:0x7000 sectors
Partinfo:AM7X_PARTS=rootfs,user1,vram,udisk,reserve
NO:0,rootfs offset:80,Cap:20000 64MB
NO:1,user1 offset:20080,Cap:4000 8MB
NO:2,vram offset:24080,Cap:800 1MB
NO:3,udisk offset:24880,Cap:1f80 3MB
NO:4,reserve offset:26800,Cap:10000 32MB
==nand_get_cap:36800,109MB==
NFTL: whole cap 0x36800
NFTL: using C:54 H:128 S:32 (== 0x36000 sects)

### CmpBuf:0x84050000###
==nand_get_cap:36800,109MB==
nand_block:<6>Enter My PARTITION PARSER
sector_size=1
start: 0x00000080, size:0x00020000
nand_block1<6>start: 0x00020080, size:0x00004000
nand_block2<6>start: 0x00024080, size:0x00000800
nand_block3<6>start: 0x00024880, size:0x00001f80
nand_block4<6>start: 0x00026800, size:0x00010000
nand_block5<6>start: 0x00000000, size:0x00000000

***install ntfl block init OK***
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
fsck.fat -a vram
blkdev_open
>>>>>>vram_check_result=/dev/partitions/vram: 14 files, 14/2003 clusters
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Root filesystem on nand
Start AM7531 Console
>>>>>> check user1
in child process
ext2fs_check_if_mount: Can’t check if filesystem is mounted due to missing mtab file while determining whether /dev/partitions/user1 is mounted.
blkdev_open
blkdev_open
/dev/partitions/user1 was not cleanly unmounted, check forced.
This is `config.app’
[am_reg_init] start!
[am_reg_init]major =250

—————-graphics init
———-probe graphics
graph_major=30
pRTask=0x84214000
graph_init
module /lib/modules/2.6.27.29/am7x_graph inserted
/lib/modules/2.6.27.29/am7x_graph major = 30
node /dev/graph created
set node access to 666

hx170dec: module license ‘Proprietary’ taints kernel.
7190 kernel module sw build: 2
hx170dec: base_port=0x10080000 irq=0
hx170dec: Valid HW found at base 0x10080000 with ID# 0x72981010
hx170dec: module inserted. Major = 249
module /lib/modules/2.6.27.29/hx170dec inserted
/lib/modules/2.6.27.29/hx170dec major = 249
node /tmp/dev/hx170 created
set node access to 666

swtich usb otg state device —>host
act_readl(GPIO_MFCTL3)=============0x3f924ca4
/dev/partitions/user1: 378/1728 files (1.1% non-contiguous), 5470/8192 blocks
lcm probe
==============CMU_DEVCLKEN=0xa3f5c3f6
@@@@@@@@@@@ret 16 v 0 h 1 0 5
mount: mounting /dev/partitions/cdrom on /mnt/cdrom failed: No such file or directory
mount: mounting /dev/partitions/bak on /mnt/bak failed: No such file or directory

Please press Enter to activate this console. i2c ack timeout, ctl = 84,stat = 84
i2c-adapter i2c-0: unable to read EDID block.
i2c ack timeout, ctl = 84,stat = 84
i2c-adapter i2c-0: unable to read EDID block.
i2c ack timeout, ctl = 84,stat = 84
i2c-adapter i2c-0: unable to read EDID block.
Actions LCM DRV: ddc i2c read error
LCM Driver[HDMI Final] format= 5
insmod: can’t insert ‘/lib/modules/2.6.27.29/am7x_carddet.ko’: No such file or directory
aotg usb efuse reg value:0xf19d9998
EZCast-0 disable disconn detect
<am7x_uoc>@@— am7x_uoc: probe success!
EZCast-1 disable disconn detect
am7x_uoc: probe success!
insmod: can’t insert ‘/lib/modules/2.6.27.29/am7x_keys.ko’: No such file or directory
insmod: can’t insert ‘/lib/modules/2.6.27.29/am7x_tp.ko’: No such file or directory
dac init
dac major=14, minor=0
insmod: can’t insert ‘/lib/modules/2.6.27.29/am7x_battery.ko’: No such file or directory
am7x-cipher: module inserted. Major = 248
GlobalValue width=1280,height=720,default_color=0x0,format=5,display_mode=2
ds_conf.input.width = 1280 ds_conf.input.height = 720
am_dac_open reg
DACIO_SET_HDMI=17

am7x_cec_init
cec probe
switched to unregistered logical address
found physical address 1000
physical address: 1.0.0.0
querying logical address 4
line_pm:-1
<am7x_uoc><HOST>plug in
[am7x_uoc_next]<DEV>plug in
power adapter mode
using logical address 4
physical_address=0x1000 logical_address=4
am7x-cec: module inserted. Major = 247
physical_address=0x1000 logical_address=4
net.core.rmem_max = 1024000
normal termination
open key device failed
open touchpanel device failed
message collector id : 721896656
use default fui.app
application create err == 0, msgq_id=0
DACIO_SET_VOLUME=36

Board Power Key OFF is 0x7, ON is 60
IR Power Key OFF is 0x8, ON is 0x19
MINF[set_back_light-554]:backlight length is 21

MINF[_do_action-462]:Call do action to set env para  cmd=0
the file is not exist,backlight can’t be set
mempool():node:0x840dea00 returning 0x84400000(size:0x3982000),next: 0x88000000
ioctl  get :84400000
size:14722KB<7>mmap_mheap:961 pfnoff:0x0 mheap_start:0x84400000
filepathname: /am7x/case/data/msyh.ttf
stream->size: 4740948
GRAPH_IOCGHBASE
heap_base=0x4214000
heap_size=0x4000
init_2d:pRTask=0x2fdad000
init_2d ok
cb_display.put_display_task==0x413378
cb_display.get_current_display_addr==0x4133ec
open calibrate file failed
system resource init error
swfext_album_register
read /am7x/case/data/keymap/globalswfkey.bin error,please check whether it is exist
[2.079942] [ezFuiMain:960] Ok, thread(0x309eb4d0)!
Put Msg wp=0,Msgtype=0x414d375c,subtype=0x12,dataload=0x4
<media_hotplug.c 1889> reserved=a0
Get Msg rp=0,Msgtype===0x414d375c,subtype=0x12 ,dataload=0x4 reserved=0xa0
_do_process_usb,1402:<00> type=0x414d375c,subtype=12,dataload=4,usb_stat=2,reserved[0]=0xa0
<_deal_usb_msg 1053>msg->subtype=====12,msg->dataload=====4 reserved:a0
app_path =/am7x/case/scripts/usb_process.sh host_raw_in
Put Msg wp=1,Msgtype=0x414d375c,subtype=0x10,dataload=0x6
Unsupported Tag [77] Metadata
load hcd controller
driver aotg-usb-am7x-, Version1.0-Apirl-2007
line_pm:-1
EZCast-0 disable disconn detect
The font[ID: 5] has layout information
EZCASTPRO_MODE==0[4]
MainSWF.language=3[4]
uoc  host irq
[2.549012] [ezConfigInitSystem:391] System Info.
[2.552003] [ezConfigInitSystem:392] —
[2.555538] [ezConfigInitSystem:393]  UUID      – 9850c48e-c971-4e08-a7d4-05e7af1ae6b0
[2.563235] [ezConfigInitSystem:394]  Chip ID   – 3(1213)
[2.568365] [ezConfigInitSystem:395]  Processor – AM8251
[2.573406] [ezConfigInitSystem:396]  Memory    – 63/128 MB <am7x_uoc aotg_set_host >otgstatus=2e,otgstate=3,otgctrl=1 usbesta=e0
debug:usb_get_configuration 560 confignum=1
debug====usb_parse_configuration 336 cfgidx:0  bnuminterface:1
debug====usb_parse_configuration 383 inum:0 intfclass=0x09

[2.604925] [ezConfigInitSystem:397]  Firmware  – 13132
[2.608544] [ezConfigInitSystem:398]  Product   – EZ.BOX
[2.615855] [ezConfigInitSystem:399] —
[2.618377] [ezConfigInitMonitor:776] Monitor Info.
[2.623977] [ezConfigInitMonitor:777] —
[2.626281] [ezConfigInitMonitor:778]  Resolution   – 1280×720
[2.633084] [ezConfigInitMonitor:779]  Frame Rate   – 60 fps
[2.637256] [ezConfigInitMonitor:780]  Manufacturer – (none)
[2.642651] [ezConfigInitMonitor:781]  Model        – (none)
[2.648046] [ezConfigInitMonitor:782]  Year/Week    – 0/0
[2.653176] [ezConfigInitMonitor:783] —
[2.656913] [ezConfigInit:1845] Ok!
[2.660360] [ezConfigSetLanguage:1359] Set language(es)!
[Multilanguage.as]  _global.MainSWF.language_priv = -1[4]
setLanguage = es[4]
[sysinfo_check_ezmusic_flag][6390] — ezmusic_flag: 0
audioDecOpen

os_linux.c 268
os_linux.c 413 tid:240, pt tid:253, pt ptid:240
HDMI has been set

mixer_init,play_dev=0x3  (Earphone=0x1,HDMI=0x2,I2S=0x4,SPDIF2=0x8,SPDIF51=0x10)
os_linux.c 268
os_linux.c 413 tid:240, pt tid:254, pt ptid:240
audioDecCmd:SET_NOTIFY_FUNC
to load main_background.swf[4]
<am7x_hcd>@@@– <HCD_PROBE> usb probe successfully!
hcd mod ins ok
<00> usb host  in process
<media_hotplug.c 1889> reserved=a1
Get Msg rp=1,Msgtype===0x414d375c,subtype=0x10 ,dataload=0x6 reserved=0xa1
_do_process_usb_next,1617:<01> type=0x414d375c,subtype=10,dataload=6,usb_stat_next=2,reserved[0]=0xa1
apps_vram_store OK!
MINF[sysinfo_read_edid_bin-4337]:read_index==============0

de_info.screen_type= 1 5
MINF[sysinfo_read_edid_bin-4337]:read_index==============1

de_info.screen_type= 1 5
[ezcast_pay.c] — 332 — chip_id = 3
load firstSWF@@@@@@@@@@[4]
–usb type=45

Last UI is 2
last_ui = 2[4]
currentSWF[4]
strmiracast_lite.swf[4]
index=null[4]
currentSWF=miracast_lite.swf[4]
hostname_from_mnt====================EZCast lz-BD7D211Edirection=====================0
++++++++++++++++++++++++sysinfo_setgpio_for_usbswitch 3911
sysinfo_get_disauto_status: 0
check factory test status:[4]
Unsupported Tag [77] Metadata
hub_port_connect_change 3067<<<<<<<<portstatus:0x0001
Unsupported Tag [77] Metadata
The font[ID: 11] has layout information
Unsupported Tag [77] Metadata
The font[ID: 3] has layout information
now into background.swf !!!!!!!!!!!!!!!!!!!!!!!!!!!!![4]
EZCASTPRO_MODE==0[4]
::::::::::: iconMode: 2[4]
ae_set_file735:curr_file===/mnt/user1/ezdata/start.mp3
audio_status=0
file in local filesystem
audioDecCmd:SET_FILE

mixer_del
DACIO_SET_HDMI=17

DACIO_SET_I2S=0

mempool():node:0x84250a00 returning 0x87d82000(size:0x2c000),next: 0x88000000
ioctl  get :87d82000
size:44KB<7>mmap_mheap:961 pfnoff:0x0 mheap_start:0x87d82000
sb_init dac buf is 0x87d82000
DACIO_SET_PARA

HDMI_ACHST1=0x1204
HDMI_ACHST2=0xfa
dac LENTHTOTIME=1000

DAC_BUF_CONF1=0x7d82000
DAC_BUF_CONF2=0xa000ac44
DACIO_SET_ADDR:arg=0x87d82000,buf1=0x87d82000
music_dec.c 1136
dsp_status=2 status=1
mixer_new,ReSamplingType=0  (NoResample=0,Up=1,Down=2,Compress=3,Mono2Stereo=4)hub_port_init 2786<<<<<<<<send set address request
hub_set_address 2580 >>>>>>>>>>>>>>[setup set address request] retval=0

ori_sample_rate=44100,play_sample_rate=44100
dsp ERROR at -1
music_dec_write.c 278
music_dec.c 1368
music_dec.c 1377
audio file information ready
audioDecCmd GET_MEDIA_INFO
[ae_set_file]824, audio_setfile_ok=1, err_set=0hub_port_connect_change 3135 acount_usbdevice:1
debug:usb_get_configuration 560 confignum=1

[ae_play]665, audio_status=7debug====usb_parse_configuration 336 cfgidx:0  bnuminterface:1
debug====usb_parse_configuration 383 inum:0 intfclass=0xff

audioDecCmd:PLAY mode:0

DACIO START AND SEND HDMI FRAME

dac empty 1ms
usb 1-1: new usb device dev_num=2,product=802.11n NIC
usb 1-1: New USB device found, idVendor=0bda, idProduct=0179
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: New USB device configuration:ConfigurationsNum=1
usb 1-1: Product: 802.11n NIC
usb 1-1: Manufacturer: Realtek
usb 1-1: SerialNumber: 00E04C0001
<usb_idmatch >device speed:3
HIGH SPEED DEVICE
device config num=1
<usb_idmatch 372>multi interface usb device interfaceNum:1
interface Class[0] = 0xff
interface subClass[0] = 0xff
interface Protocol[0] = 0xff
usb_idmatch: idx:22,msg:a
usb_hotplug_msg 471  port_num:1 reserved[0]=a0
usb_hotplug_msg subtype:12 msg:a
Put Msg wp=2,Msgtype=0x414d375c,subtype=0x12,dataload=0xa
<media_hotplug.c 1889> reserved=a0
Get Msg rp=2,Msgtype===0x414d375c,subtype=0x12 ,dataload=0xa reserved=0xa0
_do_process_usb,1402:<00> type=0x414d375c,subtype=12,dataload=a,usb_stat=1,reserved[0]=0xa0
<_deal_usb_msg 1053>msg->subtype=====12,msg->dataload=====a reserved:a0
dongle_type_divided=================1
function:get_realtek_dongle_type,line:1064,vidpid_tmp:0xbda0179,dongle_tbl_length:20
dongle_tbl[i].driver_name=======8188eu.ko
function:dongle_in,line:1012,realtek_dongle_type_divided=============2
function:insmod_ko line:1307
koname=8188eu.ko,pos=9
[wifi_get_channel_region] vram not store channel region
[realtek_get_channel_plan 1293]=channel_plan:0c channel_2g_total:13 channel_5g_total:5
[insmod_ko 1325]============call_buf:modprobe  /lib/modules/2.6.27.29/8188eu.ko  rtw_channel_plan=0xc
RTL871X: module init start
rtl8188eu v4.3.0.6_12167.20140828
build time: Dec 30 2014 14:55:55
bFWReady == _FALSE call reset 8051…
RTL871X: rtw_ndev_init(wlan0)
RTL871X: rtw_ndev_init(wlan1)
RTL871X: module init ret=0
loadswf_callback, currentSWF: miracast_lite.swf[4]
==> rtl8188e_iol_efuse_patch
[ep_setup 570]ep_con:0x09
first_change_flag==============1
the call is ifconfig wlan1      > /tmp/ifconfig.info
mac_address_info============56:E4:BD:7D:21:1E
—address_info=BD7D211E  ssid=BD7D211E
-000005.350157- [ezremote_save_ssid:208] ssid: EZCast lz-BD7D211E, need change hostname?[false]
-000005.366512- [ezcastSetHostname:197] DLNA and Airplay ID: EZCast lz-BD7D211E
[5.372406] [ezConfigSetDlnaId:1167] Set Dlna (discover) ID(EZCast lz-BD7D211E)!
[5.379501] [ezConfigSetAirplayId:1130] Set Airplay (discover) ID(EZCast lz-BD7D211E)!
:::::: auto connect check!!! ::::::::[4]
[wifi_isLastRouterApExist][2345] — config file name: 227411de.conf
__________isLastApExist = 1[4]
[5.411144] [ezMemInit:255] Ok!
[5.473115] [ezCustomerInit:308] Ok!
[ezcast_pay.c] — createTrialKeyUuid — 27 — Create a new trial key uuid
@@@@@@@@@@@@@@@@@@@ broadcast_version: 13132
the call is ifconfig wlan1 > /tmp/ifconfig.info
function:get_mac_address_info line:336 ret:333
mask_get_from_ifconfig============56:E4:BD:7D:21:1E
half_address_info============56:E4:BD:7D:21:1E
mac_tmp: 56:E4:BD:7D:21:1E
MAC address is: 56E4BD7D211E
[ezcast_pay.c] — 332 — chip_id = 3
-000005.579546- [ota_get_vendor:389] name:
[ezCastGetVendor][308] — vendor is: ezcast
[ota_conf_init] [398] vendor: ezcast
the call is ifconfig wlan0 > /tmp/ifconfig.info
function:get_mac_address_info line:336 ret:322
mask_get_from_ifconfig============54:E4:BD:7D:21:1E
half_address_info============54:E4:BD:7D:21:1E
-000005.645060- [ezCastRouterCtlEnable:462] storage: 0
-000005.650262- [ezCastRouterCtlEnable:462] storage: 0
Algorithmics/MIPS FPU Emulator v1.5
[ep_setup 570]ep_con:0x09
realtek_dongle_type_divided=2 5g_num:5 2g_num:13
isMinFrameTotal====================5
function:best_channel_setting line:447 best_channel_get_from_proc:9
channel_temp===============9
<inti_concurrent_mode_best_channel 882>channel_int=9
<inti_concurrent_mode_best_channel 906> realtek wifi use 2.4GHZ band
start softap at EZCast!!!
cmd===============sh /am7x/case/scripts/wifi_softap_process.sh realtek_concurrent_softap_mode_EZCast
process  wifi client and softap mode server
realtek_concurrent_softap_mode_EZCast
killall: thttpd: no process killed
:::::: auto connect check!!! ::::::::[4]
__________isLastApExist = 1[4]
Configuration file: /etc/rtl_hostapd_01.conf
drv->ifindex=3
ioctl[SIOCGIFINDEX]: No such device
no br0 interface , let l2_sock_recv==l2_sock_xmit=0x0x48c790
+rtl871x_sta_deauth_ops, ff:ff:ff:ff:ff:ff is deauth, reason=2
rtl871x_set_encryption_ops
rtl871x_set_encryption_ops
rtl871x_set_encryption_ops
rtl871x_set_encryption_ops
rtl871x_set_beacon_ops
RTL871X: port switch – port0(wlan1), port1(wlan0)
RTL871X: assoc success
Using interface wlan1 with hwaddr 56:e4:bd:7d:21:1e and ssid ‘EZCast lz-BD7D211E’
rtl871x_set_wps_beacon_ie_ops
rtl871x_set_wps_probe_resp_ie_ops
rtl871x_set_encryption_ops
RTL871X: set group key camid:1, addr:00:00:00:00:00:00, kid:1, type:AES
rtl871x_set_beacon_ops

##########Init Wifi Remote Control thread##########

[8.073505] [ezFuiRemoteStart:427] –> Enter!
EZLog ‘EZDisplayCore’ started!
[8.080463] [ezConfigInitNetwork:510] Interface (wlan1) Info.
[8.085786] [ezConfigInitNetwork:511] —
[8.090262] [ezConfigInitNetwork:512]  HW addr. – 56e4.bd7d.211e
[8.095160] [ezConfigInitNetwork:513]  IP addr. – 192.168.203.1
[8.100822] [ezConfigInitNetwork:514] —
[8.105549] [ezConfigInitNetwork:615] Wi-Fi AP(wlan1) Info.
[8.109761] [ezConfigInitNetwork:616] —
[8.115966] [ezConfigInitNetwork:617]  ESSID   – EZCast lz-BD7D211E
[8.123964] [ezConfigInitNetwork:618]  PSK     – 34551158
[8.127755] [ezConfigInitNetwork:619]  Channel – 9
[8.135960] [ezConfigInitNetwork:620] —
[8.138318] [ezConfigSetDeviceId:1092] Set device ID(0x56e4.bd7d.211e)!
[8.148030] [ezWifiInit:764] Ok!
[8.149925] [ezTimerInit:148] Ok!
[8.167938] [ezCoreInit:1049] Ok, thread(0x316b84d0)!
[8.171310] [ezJrpcInit:417] Ok!
[8.185345] [ezReceiverStart:335] Ok, thread(0x31ab84d0)!
[8.190380] [ezRemoteStart:2679] Ok!
[8.192330] [ezReceiverReg:104] Register receiver.sockfd(29),count(0)!
[8.199010] [ezReceiverReg:104] Register receiver.sockfd(30),count(1)!
[htmlSettingStart] [299] — htmlSettingStart
app_path =/am7x/case/scripts/usb_process.sh host_sta_in
host sta in do nothing
##########info ap dongle in##&&&&&&
function:_update_usb_status line:379
[debug _update_usb_status 396] >>>>>>>>>>>wlan_in=1
@@@@Key================0xd0[4]
debug sysinfo_check_port_one_status 2062 udisk1_in:0
—————— io_flag = 0[4]
debug sysinfo_check_port_one_status 2062 udisk1_in:0
debug sysinfo_check_port_two_status 2070 udisk2_in:0
io_flag_tmp10[4]
io_flag_tmp20[4]
oldusbsta12[4]
oldusbsta22[4]
—————— io_flag = 0[4]
meidatype=5,plugtype=0,msg.type=0x414d3778,cardin_type=0
sysinfo_accept_hotplug_info 2374=========type:414d3778 subtype:0x13 reserved:a0
function:sysinfo_accept_hotplug_info,line:2375
Put Msg wp=3,Msgtype=0x414d3778,subtype=0x13,dataload=0x0
<media_hotplug.c 1889> reserved=a0
Get Msg rp=3,Msgtype===0x414d3778,subtype=0x13 ,dataload=0x0 reserved=0xa0
_do_process_usb,1402:<00> type=0x414d3778,subtype=13,dataload=0,usb_stat=0,reserved[0]=0xa0
DACIO_SET_STOP
DACIO STOP
dsp ERROR at -1
music_dec_write.c 278
ae_stop,980
ae_stop send Stop cmd!
audioDecCmd:STOP

Audio stop!audio_status=8
ae_stop,1008
ae_close,580
FUI/audio_engie.c file AUDIO_STOP_OK_MSG
audioDecCmd:TERMINAL
audioDecClose

music_dec.c 1961
music_dec.c 1963
mixer_del
_audio_clear_setfile_para22Close FileHandle=0x5373b8
ae_close,614
apps_vram_store OK!
:::::: auto connect check!!! ::::::::[4]
__________isLastApExist = 1[4]
wifi_start_fun  293>>>>>>> wifi_client_thread_is_running:0
dongle_get_device 1147 length:20
WIFIINF[wifi_start_fun-306]:device is wlan0
RTL871X: indicate disassoc
the call is ifconfig wlan0 0.0.0.0 up
[wifi_common.c]___pac system_________: ifconfig wlan0 0.0.0.0 up
the call is ifconfig lo up
[wifi_common.c]___pac system_________: ifconfig lo up
net_interface=========wlan0
conf_path=========/etc/wireless-tkip.conf
[wifi_common.c]___pac system_________: wpa_supplicant -B -i wlan0 -c /etc/wireless-tkip.conf
rfkill: Cannot open RFKILL control device
RTL871X: set bssid:840c5e5a
ioctl[SIOCSIWAP]: Operation not permitted
dongle_get_device 1147 length:20
wifi_start_fun >>>>>>> wifi_client_thread_is_running:0
wifi start OK
WIFIINF[wifi_startscan-552]:now is in wifi startscan
dongle_get_device 1147 length:20
checkscanres_timer=5[4]
:::::: auto connect check!!! ::::::::[4]
__________isLastApExist = 1[4]

****No:0x    0,Write_Zone  0 blk:8,Pge:16*****
###time:8 ms####
hostname_from_SWF==========================EZCast lz-BD7D211E
function:sysinfo_set_hostname line:3884 buf:EZCast lz-BD7D211E
function:sysinfo_set_hostname line:3886 ret:0
function:sysinfo_set_hostname line:3890 ret:0
:::::: auto connect check!!! ::::::::[4]
::::::::: wifi_select: -1 ::::::::[4]
:::::::: isLastApExist = 1 ::::::::[4]
connectCheckCount = 0[4]

****No:0x    1,Write_Zone  0 blk:8,Pge:20*****
###time:7 ms####
:::::: auto connect check!!! ::::::::[4]
::::::::: wifi_select: -1 ::::::::[4]
:::::::: isLastApExist = 1 ::::::::[4]
connectCheckCount = 1[4]
:::::: auto connect check!!! ::::::::[4]
::::::::: wifi_select: -1 ::::::::[4]
:::::::: isLastApExist = 1 ::::::::[4]
connectCheckCount = 2[4]
[Debug Info:auto_connect,731]:in the latest ap conf
[Debug Info:auto_connect,795]:temp_filename == /mnt/vram/wifi/227411de.conf
WIFIERR[wifi_thread-3179]:WIFI_CMD_CONNECT
[wifi_common.c]___pac system_________: killall udhcpc
killall: udhcpc: no process killed
_____the error no. is 0_______
[wifi_common.c]___pac system_________: killall wpa_supplicant
dongle_get_device 1147 length:20
the call is ifconfig wlan0 0.0.0.0 up
[wifi_common.c]___pac system_________: ifconfig wlan0 0.0.0.0 upRTL871X: set bssid:84341e5a

RTL871X: indicate disassoc
the call is ifconfig lo up
[wifi_common.c]___pac system_________: ifconfig lo up
net_interface=========wlan0
conf_path=========/mnt/vram/wifi/227411de.conf
[wifi_common.c]___pac system_________: wpa_supplicant -B -i wlan0 -c /mnt/vram/wifi/227411de.conf
rfkill: Cannot open RFKILL control device
RTL871X: set bssid:84327e5a
ioctl[SIOCSIWAP]: Operation not permitted
dongle_get_device 1147 length:20
:::::: auto connect check!!! ::::::::[4]
::::::::: wifi_select: -1 ::::::::[4]
:::::::: isLastApExist = 1 ::::::::[4]
connectCheckCount = 3[4]
error num is 1
[Main_net_common.as] [show_client_loading] connecting value: 2[4]
error num is 2
:::::: auto connect check!!! ::::::::[4]
::::::::: wifi_select: -1 ::::::::[4]
:::::::: isLastApExist = 1 ::::::::[4]
connectCheckCount = 4[4]
[Main_net_common.as] [show_client_loading] connecting value: 2[4]
error num is 3
RTL871X: set ssid [POROTO] fw_state=0x00000008
RTL871X: set bssid:83879e5a
RTL871X: start auth
RTL871X: auth success, start assoc
RTL871X: assoc success
RTL871X: send eapol packet
[ep_setup 570]ep_con:0x0b
RTL871X: send eapol packet
RTL871X: set pairwise key camid:4, addr:7c:05:07:f4:6d:19, kid:0, type:AES
RTL871X: set group key camid:5, addr:7c:05:07:f4:6d:19, kid:2, type:TKIP
[Main_net_common.as] [show_client_loading] connecting value: 3[4]
error num is 4
[debug info :wifi_status_check,2280]:connect completely!
[debug info :checkIPfileExist,4311]:
[debug info:checkIPfileExist,4326]:the ip file  is  not exist!
dongle_get_device 1147 length:20
killall: udhcpc: no process killed
the call is udhcpc -i wlan0 -t 10 -n
udhcpc (v1.15.1) started
copy dnsmasq configuration
cmd is deconfig
interface is wlan0
ip is
router is
domain is
dns is
NETMASK is
BROADCAST is broadcast 255.255.255.255
Setting IP address 0.0.0.0 on wlan0
Sending discover…
Sending select for 192.168.0.20…
:::::: auto connect check!!! ::::::::[4]
::::::::: wifi_select: 1 ::::::::[4]
[P±S][369] — Get IP error!!!
[sysinfo_get_ip][5494] — Get IP error!!!
:::::::: IP: error[4]
:::::::: isLastApExist = 1 ::::::::[4]
connectCheckCount = 5[4]
WIFIINF[wifi_startscan-552]:now is in wifi startscan
Lease of 192.168.0.20 obtained, lease time 3600
copy dnsmasq configuration
cmd is bound
interface is wlan0
ip is 192.168.0.20
router is 192.168.0.1
domain is
dns is 200.83.1.5 190.160.0.15 200.30.192.14
NETMASK is netmask 255.255.255.0
BROADCAST is broadcast 255.255.255.255
Setting IP address 192.168.0.20 on wlan0
Deleting routers
route: SIOCDELRT: No such process
Adding router 192.168.0.1
Recreating /mnt/vram/wifi/resolv.conf
dns is 200.83.1.5
Adding DNS server 200.83.1.5
dns is 190.160.0.15
Adding DNS server 190.160.0.15
dns is 200.30.192.14
Adding DNS server 200.30.192.14
[__get_kernel_gateway_info,2639] gateway ======== 192.168.0.1
wlan_current_status.router=======192.168.0.1
wlan_current_status.DNS_server=======200.83.1.5 190.160.0.15 200.30.192.14
wlan_current_status.ip_address  ========== 192.168.0.20
debug getAutoIP 2861++++++++++++++++
get auto ip address successfully
[wifi_common.c]___pac system_________: sh /am7x/case/scripts/iptalbes_nat.sh wlan0 wlan1 192.168.203.1/24
————- clear ip talbes
————— set ip tables
[wifi_common.c]___pac system_________: sh /am7x/case/scripts/dns_forward.sh
— start DNS server
killall: dnsmasq: no process killed
[Debug Info:save_latestAPconf,2101]:selected_filename == /mnt/vram/wifi/227411de.conf
dnsmasq: started, version 2.72 cachesize 1000
dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN no-DHCP no-TFTP no-conntrack no-ipset no-auth no-DNSSEC no-loop-detect
dnsmasq: using nameserver 200.30.192.14#53
dnsmasq: using nameserver 190.160.0.15#53
dnsmasq: using nameserver 200.83.1.5#53
dnsmasq: cleared cache
::::::::::: popStartTime: 24[4]
***************  check ota version, otaCheckDelayTime = null[4]
:::::: auto connect check!!! ::::::::[4]
::::::::: wifi_select: 1 ::::::::[4]
:::::::: IP: 192.168.0.20[4]

****No:0x    2,Write_Zone  0 blk:8,Pge:24*****
###time:6 ms####
[27.392348] [ezConfigInitNetwork:510] Interface (lo) Info.
[27.396257] [ezConfigInitNetwork:511] —
[27.399928] [ezConfigInitNetwork:512]  HW addr. – 0000.0000.0000
[27.405772] [ezConfigInitNetwork:513]  IP addr. – 127.0.0.1
[27.411168] [ezConfigInitNetwork:514] —
[27.414956] [ezConfigInitNetwork:510] Interface (wlan0) Info.
[27.420457] [ezConfigInitNetwork:511] —
[27.424193] [ezConfigInitNetwork:512]  HW addr. – 54e4.bd7d.211e
[27.435259] [ezConfigInitNetwork:513]  IP addr. – 192.168.0.20
[27.439588] [ezConfigInitNetwork:514] —
[27.443520] [ezConfigInitNetwork:510] Interface (wlan1) Info.
[27.448877] [ezConfigInitNetwork:511] —
[27.452590] [ezConfigInitNetwork:512]  HW addr. – 56e4.bd7d.211e
[27.458428] [ezConfigInitNetwork:513]  IP addr. – 192.168.203.1
[27.464187] [ezConfigInitNetwork:514] —
[27.468311] [ezConfigInitNetwork:615] Wi-Fi AP(wlan1) Info.
[27.473292] [ezConfigInitNetwork:616] —
[27.477820] [ezConfigInitNetwork:617]  ESSID   – EZCast lz-BD7D211E
[27.483107] [ezConfigInitNetwork:618]  PSK     – 34551158
[27.488327] [ezConfigInitNetwork:619]  Channel – 11
[27.493014] [ezConfigInitNetwork:620] —
[27.496764] [ezConfigInitNetwork:647] Wi-Fi interface(wlan0) connected, ESSID(POROTO)!
ota start
ota register ret=0
ota major=243, minor=0
kernel capacity is:0x7000<INFO>: BootDiskType: 0x38343646
boot media is NAND Flash
Partinfo:AM7X_PARTS=rootfs,user1,vram,udisk,reserve
NO:0,rootfs offset:80,Cap:20000 64MB
NO:1,user1 offset:20080,Cap:4000 8MB
NO:2,vram offset:24080,Cap:800 1MB
NO:3,udisk offset:24880,Cap:1f80 3MB
NO:4,reserve offset:26800,Cap:10000 32MB
firmware backup address is 0x2d800
<INFO>: CapInfo.Scodecap        : 0x4e80
<INFO>: CapInfo.Scodebakcap     : 0x0
<INFO>: CapInfo.Appinfocap      : 0x0
<INFO>: CapInfo.Liccap          : 0x0
<INFO>: CapInfo.Micap           : 0x7000
<INFO>: CapInfo.Dspcap          : 0x0
<INFO>: CapInfo.Udiskcap        : 0x0
<INFO>: CapInfo.Logicalcap      : 0x3d800
am_upgrade_open
system info.c ret==============0
init miracast to WLAN1!!![4]
init port: 1[4]
init P2P to port: 1[4]
initP2P >>>>>>>>>>>>>>>>[4]
random device name is EZCast lz-BD7D211E[4]
>>> device name is EZCast lz-BD7D211EModeChange: change mode to: 1[4]
-000028.459355- [wifi_direct_mixed_mode_change:5254] — mode: 1
-000028.464976- [mixed_mode_change:5137] — new_mode: 1
-000028.470043- [mixed_mode_change:5148] —
-000028.474085- [mixed_mode_change:5165] — Change to MIXED_MODE_CLIENT_P2P
-000028.480915- [wifi_direct_to_client_p2p:4993] — From MIXED_STATUS_P2P_SOFTAP or MIXED_STATUS_P2P_WLAN0 or MIXED_STATUS_P2P_WLAN1[-1]
-000028.493120- [wifi_direct_to_client_softap:4978] — From MIXED_STATUS_NULL[-1]
-000028.500444- [wifi_direct_to_client_p2p:4996] — From MIXED_STATUS_CLIENT_SOFTAP or MIXED_STATUS_P2P_SOFTAP or MIXED_STATUS_P2P_WLAN0 or MIXED_STATUS_P2P_WLAN1[-1]
kill the named process
dnsmasq: exiting on receipt of SIGTERM
————- clear ip talbes
RTL871X: port switch – port0(wlan0), port1(wlan1)
RsvdPageNum: 8
——–wifi_direct_choose_opch_from_apinfo—2126—–ap_info path is /proc/net/rtl8188eu/wlan0/ap_info——-
—wifi_direct_choose_opch_from_apinfo—2132—locate1 is cur_channel=11, cur_bwmode=0, cur_ch_offset=0
wireless_mode=0xb, rtsen=0, cts2slef=0
state=0x1, aid=10, macid=0, raid=0
qos_en=1, ht_en=1, init_rate=19
bwmode=0, ch_offset=0, sgi_20m=1,sgi_40m=0
ampdu_enable = 1
agg_enable_bitmap=0, candidate_tid_bitmap=0
ldpc_cap=0x0, stbc_cap=0x0, beamform_cap=0x0
tid=0, indicate_seq=7

—wifi_direct_choose_opch_from_apinfo—2137—locate is 11
—wifi_direct_choose_opch_from_apinfo—2139—bestChannelChosen is 11
-000028.993251- [wifi_direct_initialize_select:2329] wifi_p2p->op_ch: 11
>>> set profile:1cc:c3:ea:1c:c7:5521DIRECT-sm-XT1058_c9c4
>>> set profile:1cc:c3:ea:1c:c7:5521DIRECT-MT-XT1058_c9c4
>>> set profile:1ca:f7:33:8d:4d:9419DIRECT-UNATIVIA4299
[rtw_p2p_set_persistent] persistent_supported = 1
[rtw_p2p_set_sa] session available = 1
[31.524412] [ezConfigInitNetwork:510] Interface (lo) Info.
[31.528297] [ezConfigInitNetwork:511] —
[31.532003] [ezConfigInitNetwork:512]  HW addr. – 0000.0000.0000
[31.537846] [ezConfigInitNetwork:513]  IP addr. – 127.0.0.1
[31.543244] [ezConfigInitNetwork:514] —
[31.547039] [ezConfigInitNetwork:510] Interface (wlan0) Info.
[31.552532] [ezConfigInitNetwork:511] —
[31.556268] [ezConfigInitNetwork:512]  HW addr. – 54e4.bd7d.211e
[31.572154] [ezConfigInitNetwork:513]  IP addr. – 192.168.0.20
[31.576484] [ezConfigInitNetwork:514] —
RTL871X: SetHwReg8188E:(HW_VAR_CHECK_TXBUF)NOT empty(125) in 2004 ms
RTL871X: SetHwReg8188E:(HW_VAR_CHECK_TXBUF)0x200=0x009f0900, 0x204=0x009d0900 (0x009f0900, 0x009d0900)

****No:0x    3,Write_Zone  0 blk:8,Pge:28*****
###time:7 ms####
realtek_dongle_type_divided=2 5g_num:5 2g_num:13
isMinFrameTotal====================4
function:best_channel_setting line:447 best_channel_get_from_proc:8
channel_temp===============8
<inti_concurrent_mode_best_channel 882>channel_int=8
<inti_concurrent_mode_best_channel 906> realtek wifi use 2.4GHZ band
____________________ port: 1[4]
::::::::::: iconMode: 4[4]
::::::::::: popStartTime: 38[4]
EZCASTPRO_MODE==0[4]
>>>>>>>>>>>>>> display pin code:12345670
—-ret=0[4]
—-ret=0[4]
—-ret=0[4]
—-ret=0[4]
—-ret=0[4]
—-ret=0[4]
—-ret=0[4]
—-ret=0[4]
—-ret=0[4]
—-ret=0[4]
wifi display ON[4]
***************************** 1 *****************************[4]
—-vol get is 13
Hello Wifi Subdisplay!
[38.362395] [ezFuiWifiStart:205] –> Enter!
[38.380595] [ezFuiInit:595] Ok!
[38.382084] [ezDisplayNetInit:1578] –> Enter!
[38.386675] [ezConfigInitMonitor:776] Monitor Info.
[38.391019] [ezConfigInitMonitor:777] —
[38.394730] [ezConfigInitMonitor:778]  Resolution   – 1280×720
[38.400455] [ezConfigInitMonitor:779]  Frame Rate   – 60 fps
[38.405875] [ezConfigInitMonitor:780]  Manufacturer – (none)
[38.411360] [ezConfigInitMonitor:781]  Model        – (none)
[38.416844] [ezConfigInitMonitor:782]  Year/Week    – 0/0
[38.422062] [ezConfigInitMonitor:783] —
[38.441532] [ezDecodeInit:2913] Ok!
[38.454154] [ezOsdStart:2898] Ok!
[38.455853] [ezSessionInit:828] Ok!
[38.459116] [ezDisplayInit:137] Ok!
[38.462438] [ezGraphicsInit:2349] Ok!
[38.465842] [ezCacheInit:3990] Ok!
os_linux.c 268
os_linux.c 413 tid:240, pt tid:448, pt ptid:240
[38.522122] [ezPhotoInit:559] Ok!
[38.523817] [ezInputInit:1149] Ok!
[38.527647] [ezEventLooper:553] –> Enter!
[38.530896] [ezInputStart:1090] Ok, thread(input=0x33b234d0,event=0x33f234d0)!
[38.537985] [ezViewInit:3552] Ok!
[38.541062] [ezAudioInit:525] Ok!
[38.544149] [ezContentViewInit:76] Ok!
[38.547700] [ezSubtitleInit:559] Ok!
[38.551319] [ezCdgInit:636] Ok!
[38.554052] [ezPlayerInit:2136] Ok!
[38.557251] [ezStreamSimpleInit:1230] Ok!
[38.561324] [ezCurlStreamInit:3083] Ok, thread(0x343234d0)!
[38.566428] [ezHttpStreamInit:598] Ok!
[38.569989] [ezMediaInit:357] Ok!
[38.573063] [ezMetadbInit:649] Ok!
[38.576272] [ezDisplayNetStart:1711] –> Enter!
[38.580889] [ezAirplayStart:5012] Ok!
[38.584029] [ezReceiverReg:104] Register receiver.sockfd(46),count(2)!
[38.590615] [ezReceiverReg:104] Register receiver.sockfd(47),count(3)!
[38.597765] [ezAirtunesStart:3924] Ok, thread(audio=0x347234d0)!
[38.602608] [ezReceiverReg:104] Register receiver.sockfd(48),count(4)!
[38.609194] [ezReceiverReg:104] Register receiver.sockfd(49),count(5)!
[38.616443] [ezAirmirrorStart:2950] Ok, thread(net=0x34b234d0,video=0x34f234d0)!
[38.623819] [ezDiscoverLooper:171] avahi_server_new @ hostname(EZCast lz-BD7D211E)!
[38.636249] [ezDiscoverStart:953] Ok, thread(0x353234d0)!
[DMR MESSAGE]  (0:0:38) dlna_dmr_start:4640:
***** Dlna/Dmr Start *****

.
Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.0.20.
New relevant interface wlan0.IPv4 for mDNS.
Network interface enumeration completed.
Registering new address record for 192.168.0.20 on wlan0.IPv4.
title ============ EZCast lz-BD7D211E
UDN ============ eda2cfc8-1c6e-a76f-cdb1-3f57b15eb71f
[DMR MESSAGE]  (0:0:38) DMR_Init:2515: eth0: 192.168.0.20 .
[38.757532] [ezDlnaStart:1118] Ok, thread(0x35f334d0)!
[38.761219] [ezDisplayv1Start:4610] Ok!
[38.764693] [ezReceiverReg:104] Register receiver.sockfd(62),count(6)!
[38.771279] [ezReceiverReg:104] Register receiver.sockfd(26),count(7)!
[38.778638] [ezReceiverReg:104] Register receiver.sockfd(33),count(8)!
[38.784998] [ezNeighbourStart:1893] Ok!
[38.787432] [ezReceiverReg:104] Register receiver.sockfd(63),count(9)!
[38.794036] [ezReceiverReg:104] Register receiver.sockfd(27),count(10)!
[38.800532] [ezReceiverReg:104] Register receiver.sockfd(34),count(11)!
[38.808075] [ezMemDump:305] Memory Footprint
[38.810860] [ezMemDump:306] —
[38.813604] [ezMemDump:307]  Total chunk – 24
[38.817762] [ezMemDump:308]  Total size  – 1940
[38.822096] [ezMemDump:309]  malloc#  – 73
[38.825984] [ezMemDump:310]  realloc# – 0
[38.829790] [ezMemDump:311]  free#    – 49
[38.833681] [ezMemDump:312] —
wifiDisplayStart — MainSWF.isNetDisplayOn: true[4]
timer already deleted: 4
[DMR MESSAGE]  (0:0:38) FireGenaLastChangeEvent:2913: EVENT_VOLUME:state->Volume(50) .
[DMR MESSAGE]  (0:0:38) FireGenaLastChangeEvent:2929: EVENT_MUTE:state->Mute(FALSE) .
[ezcastCleanIconRect] [2070] — original w: 44, h: 45
[ezcastCleanIconRect] [2075] — clean icon in display, res_w = 1280, res_h = 720, \
x=1481, y=73, w=48, h=47
[ezcastShowIconInDisplay] [2050] — original w: 294, h: 114
[ezcastShowIconInDisplay] [2055] — show icon in display, res_w = 1280, res_h = 720, \
path = /mnt/user1/ezdata/ezcast_icon_pop.png, x=1279, y=128, w=297, h=116
os_linux.c 268
pthread_getschedparam: No such process
os_linux.c 413 tid:240, pt tid:459, pt ptid:240
os_linux.c 268
os_linux.c 413 tid:240, pt tid:460, pt ptid:240
[39.177694] [ezPhotoDecodePng:543] Get PNG image(294×114),output(294×114)!
[39.644446] [ez_create_services:718] AVAHI adding service ‘EZDiscover@56E4BD7D211E’!
[39.683273] [ezCustomerShowOverlayImg:1583] ezBitmapResize(294×114 –> 198×77).
[ezcastShowTextInDisplay] [2013] — original fontsize: 25
[ezcastShowTextInDisplay] [2017] — show text in display, res_w = 1280, res_h = 720, \
extstring = POROTO, x=1368, y=169, fontsize=26, A=0, R=201, G=201, B=201
—-ret=0[4]
[ezcastShowIconInDisplay] [2050] — original w: 44, h: 45
[ezcastShowIconInDisplay] [2055] — show icon in display, res_w = 1280, res_h = 720, \
path = /mnt/user1/ezdata/ezcast_icon_13.png, x=1481, y=73, w=47, h=47
os_linux.c 268
pthread_getschedparam: No such process
os_linux.c 413 tid:240, pt tid:461, pt ptid:240
os_linux.c 268
pthread_getschedparam: No such process
os_linux.c 413 tid:240, pt tid:462, pt ptid:240
[39.870730] [ezPhotoDecodePng:543] Get PNG image(45×45),output(45×45)!
[39.909224] [ezCustomerShowOverlayImg:1583] ezBitmapResize(45×45 –> 31×31).
timer already deleted: 6
timer already deleted: 6
—-ret=0[4]
[40.584552] [ez_group_callback:821] AVAHI service ‘EZDiscover@56E4BD7D211E’ successfully established.
—-ret=0[4]

****No:0x    4,Write_Zone  0 blk:8,Pge:32*****
###time:6 ms####
—-ret=0[4]
[ota_read_url][142] — str_len = 53, len = 1023, final_len = 53
-000042.213546- [ota_read_url:171] *ota_enforce: 1
[ota_get_url][1194] — url_cfg: http://www.iezvu.com/upgrade/ezcast/ezcast_13132.conf
-000042.230726- [ota_check_version:803] Config url:http://www.iezvu.com/upgrade/ezcast/ezcast_13132.conf
config file path is http://www.iezvu.com/upgrade/ezcast/ezcast_13132.conf
[DMR RECEIVED] (0:0:42) DMR_ProcessPOST:6124: DMR is going to do GetProtocolInfo .
STREAMING_HTTP_DBG[open_s1-1088]:open_s1

STREAMING_HTTP_DBG[open_s1-1090]:
STREAMING_HTTP_DBG[open_s1-1094]:
—-ret=0[4]
Server:Apache/2.4.7 (Ubuntu)!
STREAMING_HTTP_DBG[http_streaming_start-932]:http_hdr->status_code =========== 200

STREAMING_HTTP_DBG[open_s1-1102]:seekable ===================== 1

STREAMING_HTTP_DBG[open_s1-1103]:*file_format ===================== 0

STREAMING_HTTP_DBG[fixup_open-1057]:stream->streaming_ctrl->url->protocol ================= http

STREAMING_HTTP_DBG[fixup_open-1059]:is_ultravox ================= 0

STREAMING_HTTP_DBG[fixup_open-1067]:is_icy ================= 0

STREAMING_HTTP_DBG[fixup_open-1068]:is_ultravox ================= 0

STREAMING_HTTP_DBG[fixup_open-1079]:
[network.c,599] peer has been closed
[network.c,599] peer has been closed
function:stream_fill_buffer,line:396,len <= 0 return
finish downloading config file!
-000043.990561- [ota_check_version:819] server config:
vram = FALSE
-000044.025012- [ota_check_version:821] local config:
vram = FALSE
local_value=AM8251.DEMO.001     server_value=AM8251.DEMO.001
=========strcmp end
local_value=AM8251.QC.SZ&TP     server_value=AM8251.QC.SZ&TP
=========strcmp end
local_value=AM8251      server_value=AM8251
=========strcmp end
local_value=Actions-Microelectronics.Co.,Ltd.   server_value=Actions-Microelectronics.Co.,Ltd.
=========strcmp end
local_value=EZ.BOX      server_value=EZ.BOX
=========strcmp end
—-ret=1[4]
—-server_version=newest[4]
[DMR RECEIVED] (0:0:44) DMR_ProcessPOST:6124: DMR is going to do GetProtocolInfo .
::::::::::: currentTime: 54[4]
[ezcastCleanIcon] [2083]
[ezcastCleanIconRect] [2070] — original w: 44, h: 45
[ezcastCleanIconRect] [2075] — clean icon in display, res_w = 1280, res_h = 720, \
x=1481, y=73, w=48, h=47
[ezcastShowIconInDisplay] [2050] — original w: 44, h: 45
[ezcastShowIconInDisplay] [2055] — show icon in display, res_w = 1280, res_h = 720, \
path = /mnt/user1/ezdata/ezcast_icon_13.png, x=1481, y=73, w=47, h=47
os_linux.c 268
pthread_getschedparam: No such process
os_linux.c 413 tid:240, pt tid:469, pt ptid:240
os_linux.c 268
pthread_getschedparam: No such process
os_linux.c 413 tid:240, pt tid:470, pt ptid:240
[54.542570] [ezPhotoDecodePng:543] Get PNG image(45×45),output(45×45)!
[54.582266] [ezCustomerShowOverlayImg:1583] ezBitmapResize(45×45 –> 31×31).

****No:0x    5,Write_Zone  0 blk:8,Pge:36*****
###time:6 ms####

****No:0x    6,Write_Zone  0 blk:8,Pge:40*****
###time:8 ms####

****No:0x    7,Write_Zone  0 blk:8,Pge:44*****
###time:6 ms####



 

 

/ # uname -ra
Linux EZCast lz-BD7D211E 2.6.27.29 #3 PREEMPT Tue Dec 30 15:23:21 CST 2014 mips GNU/Linux
/ #

# ps w
PID USER       VSZ STAT COMMAND
1 root      3224 S    init
2 root         0 SW<  [kthreadd]
3 root         0 SW<  [ksoftirqd/0]
4 root         0 SW<  [events/0]
5 root         0 SW<  [khelper]
30 root         0 SW<  [kintegrityd/0]
31 root         0 SW<  [kblockd/0]
39 root         0 SW<  [ksuspend_usbd]
45 root         0 SW<  [khubd]
80 root         0 SW   [pdflush]
81 root         0 SW   [pdflush]
82 root         0 SW<  [kswapd0]
83 root         0 SW<  [aio/0]
106 root         0 SW<  [zd1211rw]
119 root         0 SW<  [Flash_Update_th]
158 root      6120 S    manager.app
172 root         0 DW<  [am_2d_thread]
208 root      3288 S    -/bin/sh
240 root      188m S    fui.app 0 4 6
244 root      2888 S    framectrl.app 13 16
277 root         0 SW   [RTW_CMD_THREAD]
307 root      2240 S    thttpd -C /etc/thttpd.conf -u root
345 root      2464 S    wpa_supplicant -B -i wlan0 -c /mnt/vram/wifi/227411de.conf
475 root      3288 R    ps w

# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/nftla1              62.1M     48.8M     13.3M  79% /
/dev/partitions/udisk
3.9M         0      3.9M   0% /mnt/udisk
/dev/partitions/vram   1001.5K      7.0K    994.5K   1% /mnt/vram
/dev/partitions/user1
7.8M      5.1M      2.7M  66% /mnt/user1

Bueno eso, no mucho mas que no se haya visto en xda o sitios similares, talvez exepto por los logs, aun asi sapeare más.

 

2015-02-03 02.19.39

ups…

3 Comments

  1. Hello, please tell us a UART used? PL2303HX? Is connected so: RX to TX UART, TX to RX UART, GND to GND UART ??? You can read more on how to connect !!!

Leave a Reply

Your email address will not be published. Required fields are marked *