neděle 24. června 2018

MiraScream

Procesor AM8258
FLASH: 25Q128 (16MB SPI FLASH)




test ddr 8258
enter ddr2_800hz_calibration
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
ok
ok
ok
ok
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
fail
ddr real cap is 128M
Leave test ddr 8258
Enter efuse_process
Enter brec_checksum
Enter board_init
CMU_BUSCLK:2b00438c
CMU_BUSCLK:2b004388
USE_UART = 0
CMU_BUSCLK:2b004388
GPIO_MFCTL3:0x0
Enter brec_main
key int mask 0
Enter load_kernel
SYSCFG  SYS
0x100000 read
Load 1676288 bytes from 0x00000010 succeed
checksum succeed
uncompress kernel succeed
Kernel command line: rd_start=0x80400000 rd_size=0 reserved_mem=61M noinitrd root=/dev/mtdblocka1 ro rootfstype=squashfs init=/sbin/init AM7X_PARTS=rootfs,vram AM7X_ROOTFS=squashfs console=ttyS0,115200n8


Starting linux kernel at 0x80003400
printk okay!
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 63844k/131072k available (2634k kernel code, 67136k reserved, 532k data, 152k init, 0k highmem)
SLUB: Genslabs=6, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 361.47 BogoMIPS (lpj=722944)
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
squashfs: version 3.4 (2008/08/26) Phillip Lougher
NTFS driver 2.1.29 [Flags: R/O].
msgmni has been set to 124
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
ActionsMicro AM7XXX serial driver version 0.14
ttyS0 at MMIO 0x10160000 (irq = 20) is a AM
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

&&&& fun:init_mtd,  389&&&&

&&&& fun:register_mtd_user,  141&&&&
---------hclk is 220,spi div is 110
---------hclk is 220,spi div is 5
m25p80 spi0.1: GX25Q128C (16384 Kbytes) sector_size:4096 opcode:20 4

&&&& fun:add_mtd_device,  48&&&&
dev->devnum is :0 mbr_pos is:0xdb8

&&&& fun:blktrans_open,  146&&&&
 mtdblocka:<6>Enter My PARTITION PARSER
sector_size=1
start: 0x00000080, size:0x00006d80
 mtdblocka1<6>start: 0x00006e00, size:0x00000400
 mtdblocka2<6>start: 0x00000000, size:0x00000000

&&&& blktrans_release,177&&&&

&&&& fun:add_mtd_device,  48&&&&
dev->devnum is :1 mbr_pos is:0x0

&&&& fun:blktrans_open,  146&&&&
 mtdblockb:<6>Enter My PARTITION PARSER
 unknown partition table
&&&& blktrans_release,177&&&&
am7x spi probe successs
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

&&&& fun:blktrans_open,  146&&&&
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 152k freed
COM0 start up!
init console OK...
fsck.fat -a vram
blkdev_open

&&&& fun:blktrans_open,  146&&&&
&&&& blktrans_release,177&&&&
>>>>>>vram_check_result=/dev/partitions/vram: 24 files, 41/985 clusters

&&&& fun:blktrans_open,  146&&&&
&&&& blktrans_release,177&&&&

&&&& fun:blktrans_open,  146&&&&
&&&& blktrans_release,177&&&&

&&&& fun:blktrans_open,  146&&&&
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Root filesystem on nand
Start AM7531 Console
>>>>>> check dev
**** mknod /dev/emmc_block      b    249    0
**** mknod /dev/emmc_block1      b    249    1
**** mknod /dev/emmc_block2      b    249    2
**** mknod /dev/ram1     b    1    1
**** mknod /dev/lcm      c   28    0
**** mknod /dev/nftla1   b   93    1
**** mknod /dev/nftla2   b   93    2
**** mknod /dev/nftla    b   93    0
**** mknod /dev/upgrade  c   240  0
**** mknod /dev/pmu        c   251  0
**** mknod /dev/sysmsg   c  252    0
**** mknod /dev/gpio     c  253    0
**** mknod /dev/DAC      c   14    0
Copy named config file
cp: cannot create '/mnt/user1/named/': No such file or directory

Please press Enter to activate this console. in child process
This is config.app'
kernel.panic = 10
kernel.panic_on_oops = 1
net.ipv4.route.max_size = 8192
net.ipv4.route.gc_elasticity = 4
[am_reg_init] start!
[am_reg_init]major =250

----------------graphics init
----------probe graphics
graph_major=30
pRTask=0x83dc4000
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

set the tcp paragram
set ok!

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)=============0x3e9248a4
lcm probe
drivers/char/lcm/lcm.c:CMU_DEVCLKEN=0xb3f5c7f6
stat config /mnt/vram/edid.bin fail -2
@@@@@@@@@@@ret -2 v 0 h 0 0 0
NOTICE:READ EDID CONFIG FILE ERROR
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/ambl.ko': No such file or directory
insmod: can't insert '/lib/modules/2.6.27.29/am7x_carddet.ko': No such file or directory
<am7x_uoc>@@--- am7x_uoc: probe success!
insmod: can't insert '/lib/modules/2.6.27.29/am7x_uoc_next.ko': No such file or directory
*********am_key_init************
input: AM Keyboard as /class/input/input0
am7x_keycode_open
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
line_pm:-1
<am7x_uoc><HOST>plug in
Sun Jun 24 09:40:54 UTC 2018
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=0x11

open HDMI audio
am7x_cec_init
cec probe
switched to unregistered logical address
found physical address 1000
physical address: 1.0.0.0
querying logical address 4
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
message collector id : 721896656
use default fui.app
open touchpanel device failed
[SHELL][141298856.663566] [main:61] read pipe: 5, write pipe: 6
application create err == 0, msgq_id=0
read pipe: 5, write pipe: 6
DACIO_SET_VOLUME=38

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

MINF[_do_action-531]:Call do action to set env para  cmd=0
the file is not exist,backlight can't be set
mempool():node:0x83d7bb00 returning 0x84300000(size:0x3c82000),next: 0x88000000
 ioctl  get :84300000
  size:15490KB<7>mmap_mheap:961 pfnoff:0x0 mheap_start:0x84300000
filepathname: /am7x/case/data/msyh.ttf
stream->size: 30656
cb_display.put_display_task==0x414ec8
cb_display.get_current_display_addr==0x414f3c
open calibrate file failed
system resource init error
swfext_album_register
[0:0:7.972][ezFuiMain:1151] Ok, thread(0x312724d0)!
Put Msg wp=0,Msgtype=0x414d375c,subtype=0x12,dataload=0x4
<media_hotplug.c 2667> reserved=a0
Unsupported Tag [77] Metadata
Get Msg rp=0,Msgtype===0x414d375c,subtype=0x12 ,dataload=0x4 reserved=0xa0
_do_process_usb,2176:<00> type=0x414d375c,subtype=12,dataload=4,usb_stat=2,reserved[0]=0xa0
<_deal_usb_msg 1739>msg->subtype=====12,msg->dataload=====4 reserved:a0
app_path =/am7x/case/scripts/usb_process.sh host_raw_in
The font[ID: 3] has layout information
[0:0:8.215][EZ_ConfigInit:1423] Get memory total(62 MB)!
[0:0:8.219][EZ_ConfigInit:1442] Get product family(ezcast:1)!
[0:0:8.260][EZ_ConfigInit:1482] Get product type(ezcast:0)!
load hcd controller
driver aotg-usb-am7x-, Version1.0-Apirl-2007
EZCASTPRO_MODE==0[4]
ERROR[locale_engine.c-361]:Open Res Failed!
MINF[system_init_default_lang_idx-852]:Default Lang==-1
sys w b:0x7bed
sys w b:0x7bee
sys w b:0x7bef
sys w b:0x7bf0
apps_vram_store OK!
MINF[sysinfo_get_local_language-2044]:lang=-1
****ezcastprojector is 0[4]
EZCASTPRO_MODE: 0[4]
TEST_ENABLE: true[4]
EZCAST_LITE_ENABLE: false[4]
EZWILAN_ENABLE: false[4]
EZCAST5G_ENABLE: false[4]
LAN_ONLY: false[4]
IS_SNOR: true[4]
ln: /mnt/user1/thttpd/html/dongleInfo.json: No such file or directory
ln: /mnt/user1/thttpd/html/trialkey_uuid: No such file or directory
[ezcast_pay.c] -- createTrialKeyUuid -- 25 -- Create a new trial key uuid
line_pm:-1
[0:0:8.848][EZ_ConfigAirplayMirrorOnlySet:950] Set Airplay mirror-only(0)!
Unsupported External Call : sys_get_passcode_onoff
castCode: [4]
========= connectMode: 1[4]
[sysinfo_get_cpu_frequency][8036] -- Get cpu frequency
[sysinfo_get_cpu_frequency][8038] -- reg: 0x388d973
[sysinfo_get_cpu_frequency][8040] -- cpu frequency: 552
>>>>[Main] -- TEST_ENABLE: true, LAN_ONLY: false, EZCAST_LITE_ENABLE: false, EZWILAN_ENABLE: false[4]
audioDecOpen

os_linux.c 268
os_linux.c 413 tid:334, pt tid:351, pt ptid:334
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:334, pt tid:352, pt ptid:334
audioDecCmd:SET_NOTIFY_FUNC
<     8.988> [ezCastGetAutoplayVal:693] GET_AUTOPLAY_ENABLE: 1
use miracast.swf[4]
to load bg swf=main_customize.swf[4]
DACIO_SET_VOLUME=36

sys w b:0x7bed
sys w b:0x7bee
sys w b:0x7bef
sys w b:0x7bf0
apps_vram_store OK!
AUTO_STANDBY_ENABLE: false, AUTO_STANDBY_TIME: 3600[4]
now time: 1529833258[4]
load firstSWF@@@@@@@@@@[4]

        Last UI is 2
            last_ui = 2[4]
currentSWF[4]
strmiracast.swf[4]
index=null[4]
currentSWF=miracast.swf[4]
direction=====================0
++++++++++++++++++++++++sysinfo_setgpio_for_usbswitch 4733
sysinfo_get_disauto_status: 0
check factory test status:[4]
Unsupported Tag [77] Metadata
uoc  host irq
 <am7x_uoc aotg_set_host >otgstatus=2e,otgstate=3,otgctrl=1 usbesta=d0
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
The font[ID: 5] has layout information
Unsupported Tag [77] Metadata
<am7x_hcd>@@@-- <HCD_PROBE> usb probe successfully!
hcd mod ins ok
<00> usb host  in process
The font[ID: 6] has layout information
*********** Load background **********[4]
file: /am7x/case/data/Main_storage_bar.swf not found!
Failed to load Main_storage_bar.swf
*********** Load background end**********[4]
command from as is: MIRACAST_SWITCH_TO
send length is : -1
[wifi_isLastRouterApExist][2564] -- config file name: 22d3c34f.conf
__________isLastApExist = 1[4]
Unsupported Tag [77] Metadata
The font[ID: 3] has layout information
loadswf_callback, currentSWF: miracast.swf[4]
Main_top_bar :: initialization[4]
::::::::::: iconMode: 2[4]
hub_port_connect_change 3083<<<<<<<<portstatus:0x0001
ae_set_file735:curr_file===/usr/share/ezdata/start.mp3
audio_status=0
not local filesystem file
[am_stream_open]--> Open Low Level Stream Error!
audio_common.c,98:Open File Failed!
[ae_set_file]824, audio_setfile_ok=0, err_set=-1
ae_close,580
audioDecCmd:TERMINAL
audioDecClose

music_dec.c 1969
music_dec.c 1971
mixer_del
ae_close,614
>>>>>>>>>>>>> systemVolume: 14[4]
DACIO_SET_VOLUME=38

sys w b:0x7bed
sys w b:0x7bee
sys w b:0x7bef
sys w b:0x7bf0
apps_vram_store OK!
hub_port_init 2802<<<<<<<<send set address request
hub_set_address 2596 >>>>>>>>>>>>>>[setup set address request] retval=0
hub_port_connect_change 3151 acount_usbdevice:1
debug:usb_get_configuration 560 confignum=1
debug====usb_parse_configuration 336 cfgidx:0  bnuminterface:1
debug====usb_parse_configuration 383 inum:0 intfclass=0xff
usb 1-1: new usb device dev_num=2,product=802.11n
usb 1-1: New USB device found, idVendor=0bda, idProduct=f179
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
usb 1-1: Manufacturer: Realtek
usb 1-1: SerialNumber: D0C0BFD87B5F
<usb_idmatch >device speed:3
HIGH SPEED DEVICE
device config num=1
<usb_idmatch 516>multi interface usb device interfaceNum:1
interface Class[0] = 0xff
interface subClass[0] = 0xff
interface Protocol[0] = 0xff
usb_idmatch: idx:33,msg:a
usb_hotplug_msg 627  port_num:1 reserved[0]=a0
usb_hotplug_msg subtype:12 msg:a
Put Msg wp=1,Msgtype=0x414d375c,subtype=0x12,dataload=0xa
<media_hotplug.c 2667> reserved=a0
Get Msg rp=1,Msgtype===0x414d375c,subtype=0x12 ,dataload=0xa reserved=0xa0
_do_process_usb,2176:<00> type=0x414d375c,subtype=12,dataload=a,usb_stat=1,reserved[0]=0xa0
<_deal_usb_msg 1739>msg->subtype=====12,msg->dataload=====a reserved:a0
function:dongle_in line:2099 vidpid=198898041
dongle_type_divided=================1
function:get_realtek_dongle_type,line:2254,vidpid_tmp:0xbdaf179,dongle_tbl_length:37
dongle_tbl[i].driver_name=======8188fu.ko
function:dongle_in,line:2119,realtek_dongle_type_divided=============6
function:insmod_ko line:2508
koname=8188fu.ko,pos=9
RTL871X: module init start
RTL871X: rtl8188fu v4.3.23.1_16377.20151216
RTL871X: build time: Jan  6 2018 17:36:44
RTL871X: hal_com_config_channel_plan chplan:0x20
RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=d0:c0:bf:d8:7b:5f
RTL871X: rtw_ndev_init(wlan1) if2 mac_addr=d2:c0:bf:d8:7b:5f
RTL871X: module init ret=0
miracast HomePage on[4]
[ep_setup 596]ep_con:0x09
first_change_flag==============1
<    12.786> [change_wifi_softap_defalut_ssid:5181] ----------=================---------------+++++++++++++++==========--------------
---the call is--- ifconfig wlan1        > /tmp/ifconfig.info to get mac addresss
mac_address_info============D2:C0:BF:D8:7B:5F
---address_info=BFD87B5F  ssid=Mirascreen BFD87B5F
ssid end: BFD87B5F
<    12.842> [ezremote_save_ssid:272] ssid: Mirascreen BFD87B5F
<    12.848> [ezcastSetDevName:182] Set Hostname to Device name:
[0:0:12.854][EZ_ConfigAliasnameSet:598] Set alias-name(Mirascreen BFD87B5F)!
<    12.862> [ezcastSetDevName:188] DLNA and Airplay ID: Mirascreen BFD87B5F
[0:0:12.898][EZ_DlnaHostidSet:284] Set dlna-hostId(Mirascreen BFD87B5F)!
[0:0:12.904][EZ_AirplayHostidSet:408] Set Airplay-hostId(Mirascreen BFD87B5F)!
@@@@@@@@@@@@@@@@@@@ broadcast_version: 16523001
the call is ifconfig wlan1 > /tmp/ifconfig.info
function:get_mac_address_info line:352 ret:325
mask_get_from_ifconfig============D2:C0:BF:D8:7B:5F
half_address_info============D2:C0:BF:D8:7B:5F
mac_tmp: D2:C0:BF:D8:7B:5F
MAC address is: D2C0BFD87B5F
<    12.957> [ota_get_vendor:544] name:
[ezCastGetVendor][321] -- vendor is: 8258b_mirawifi_v2
        [ota_conf_init] [418] vendor: 8258b_mirawifi_v2
the call is ifconfig wlan0 > /tmp/ifconfig.info
function:get_mac_address_info line:352 ret:322
mask_get_from_ifconfig============D0:C0:BF:D8:7B:5F
half_address_info============D0:C0:BF:D8:7B:5F
<    13.008> [ezCastSetAutoplay:735] info.enable: 1
<    13.011> [ezCastSetAutoplay:737] info.volume: 12
<    13.016> [ezCastSetAutoplay:739] info.waitime: 30
<    13.021> [ezCastSetAutoplay:741] info.playlist: 1
<    13.026> [ezCastSetAutoplay:743] info.progressive: 1
<    13.031> [ezCastSetAutoplay:745] info.host_ap: 1
chmod: /sbin/iwlist: Read-only file system
Algorithmics/MIPS FPU Emulator v1.5
[ep_setup 596]ep_con:0x09
miracast HomePage on[4]
realtek_dongle_type_divided=6 5g_num:0 2g_num:0
isMinFrameTotal====================3
function:best_channel_setting line:814 best_channel_get_from_proc:10
channel_temp===============10
<inti_concurrent_mode_best_channel 1558>channel_int=10
[HT40-]channel_int=10
<inti_concurrent_mode_best_channel 1661> realtek wifi use 2.4GHZ band
sys w b:0x7be4
sys w b:0x7be5
sys w b:0x7be6
sys w b:0x7beb
sys w b:0x7bf2
sys w b:0x7bf3
sys w b:0x7bf5
sys w b:0x7bf6
sys w b:0x7bb9
sys w b:0x7bbc
sys w b:0x7be2
--checkAndRecoverForConcurrent--mode==2
--ln softap to /etc--
start softap at EZCast!!!
cmd===============sh /am7x/case/scripts/wifi_softap_process.sh realtek_concurrent_softap_mode_EZCast
[wifi_common.c]___pac system_________: 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
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
miracast HomePage on[4]
rtl871x_set_beacon_ops
RTL871X: port switch - port0(wlan1), port1(wlan0)
RTL871X: assoc success
Using interface wlan1 with hwaddr d2:c0:bf:d8:7b:5f and ssid 'Mirascreen BFD87B5F'
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
killall: udhcpd: no process killed
--checkAndRecoverForConcurrent--mode==2
--ln softap to /etc--



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


<    17.297> [htmlSettingStart:303] -- htmlSettingStart
<    17.320> [htmlSettingStart:309] -- Create pthread htmlsettingCmdLooper
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:447
[debug _update_usb_status 464] >>>>>>>>>>>wlan_in=1
@@@@whichKeyKey================0xd0[4]
debug sysinfo_check_port_one_status 2147 udisk1_in:0
------------------ io_flag = 0[4]
debug sysinfo_check_port_one_status 2147 udisk1_in:0
debug sysinfo_check_port_two_status 2155 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 2459=========type:414d3778 subtype:0x13 reserved:a0
function:sysinfo_accept_hotplug_info,line:2460
Put Msg wp=2,Msgtype=0x414d3778,subtype=0x13,dataload=0x0
<media_hotplug.c 2667> reserved=a0
Get Msg rp=2,Msgtype===0x414d3778,subtype=0x13 ,dataload=0x0 reserved=0xa0
_do_process_usb,2176:<00> type=0x414d3778,subtype=13,dataload=0,usb_stat=0,reserved[0]=0xa0
****** wifi dongle plug in******[4]
miracast HomePage on[4]
[wifi_isLastRouterApExist][2564] -- config file name: 22d3c34f.conf
wifi_start_fun  326>>>>>>> wifi_client_thread_is_running:0
dongle_get_device 2345 length:37
WIFIINF[wifi_start_fun-346]: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
--wlan_conf callbuf=wpa_supplicant -B -i wlan0 -c /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:81d73e5a
ioctl[SIOCSIWAP]: Operation not permitted
dongle_get_device 2345 length:37
--dongle_get_ctrl_iface device=wlan0openCtrlConnection,581 ctrl_iface=[/tmp/wpa_supplicant/wlan0]
wifi_start_fun >>>>>>> wifi_client_thread_is_running:0
wifi start OK
WIFIINF[wifi_startscan-484]:now is in wifi startscan
dongle_get_device 2345 length:37
checkscanres_timer=1[4]
miracast HomePage on[4]
[0:0:19.873][HAL_NetworkUpdate:1095] Interface (wlan1) Info.
[0:0:19.877][HAL_NetworkUpdate:1096] --
[0:0:19.881][HAL_NetworkUpdate:1097]  HW addr. - d2c0.bfd8.7b5f
[0:0:19.886][HAL_NetworkUpdate:1098]  IP addr. - 192.168.203.1
[0:0:19.896][HAL_NetworkUpdate:1099] --
[0:0:19.901][EZ_SocketRxInit:350] EZ_Socket<fd:30> rx registered!
[0:0:20.044][EZ_AnalyticsPostEvent:395] Analytics (event) response(0), FIXME!
[0:0:20.051][HAL_NetworkUpdate:1312] Wi-Fi hostAP(wlan1) Info.
[0:0:20.055][HAL_NetworkUpdate:1313] --
[0:0:20.059][HAL_NetworkUpdate:1314]  ESSID   - Mirascreen BFD87B5F
[0:0:20.065][HAL_NetworkUpdate:1315]  PSK     - 36653638
[0:0:20.070][HAL_NetworkUpdate:1316]  Channel - 10
[0:0:20.075][HAL_NetworkUpdate:1317] --
[0:0:20.079][EZ_ConfigDevidSet:197] Set devId(0xD2C0.BFD8.7B5F)!
miracast HomePage on[4]
miracast HomePage on[4]
miracast HomePage on[4]
[wifi_common.c][2574]:cp -f /mnt/user1/softap/latestAP.conf /mnt/vram/wifi/latestAP.conf
[rebak_latestAPconf,2576]recover /mnt/vram/wifi/latestAP.conf ok!!
sys w b:0x7bf7
sys w b:0x7be1
sys w b:0x7bbf
sys w b:0x7bbc
sys w b:0x7bb9
[Debug Info:auto_connect,1080]:in the latest ap conf
[Debug Info:auto_connect,1149]:temp_filename == /mnt/vram/wifi/22d3c34f.conf
WIFIERR[wifi_thread-3811]:WIFI_CMD_CONNECT
[wifi_common.c]___pac system_________: killall udhcpc
killall: udhcpc: no process killed
_____the error no. is 2_______
[wifi_common.c]___pac system_________: killall wpa_supplicant
dongle_get_device 2345 length:37
the call is ifconfig wlan0 0.0.0.0 up
[wifi_common.c]___pac system_________: ifconfig wlan0 0.0.0.0 up
RTL871X: set bssid:81d97e5a
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/22d3c34f.conf
--wlan_conf callbuf=wpa_supplicant -B -i wlan0 -c /mnt/vram/wifi/22d3c34f.conf[wifi_common.c]___pac system_________: wpa_supplicant -B -i wlan0 -c /mnt/vram/wifi/22d3c34f.conf
miracast HomePage on[4]
rfkill: Cannot open RFKILL control device
RTL871X: set bssid:81dc5e5a
ioctl[SIOCSIWAP]: Operation not permitted
dongle_get_device 2345 length:37
--dongle_get_ctrl_iface device=wlan0openCtrlConnection,581 ctrl_iface=[/tmp/wpa_supplicant/wlan0]
error num is 1
RTL871X: set ssid [xxx] fw_state=0x00000008
RTL871X: set bssid:81dc9e5a
[Main_net_common.as] [show_client_loading] connecting value: 2[4]
RTL871X: start auth
RTL871X: auth success, start assoc
RTL871X: assoc success
RTL871X: recv eapol packet
RTL871X: send eapol packet
[ep_setup 596]ep_con:0x0b
RTL871X: recv eapol packet
RTL871X: send eapol packet
miracast HomePage on[4]
error num is 2
[debug info :wifi_status_check,2856]:connect completely!
access /etc/udhcpd_01.conf ok
option dns 192.168.203.1 # appened to above DNS servers for a total of 3
<    30.230> [restart_udhcpd_with_dns:403] Restart udhcpd!!
[wifi_common.c]___pac system_________: killall -9 udhcpd
[wifi_common.c]___pac system_________: udhcpd /tmp/udhcpd_01.conf
--checkAndRecoverForConcurrent--mode==2
--ln softap to /etc--
start softap at EZCast!!!
cmd===============sh /am7x/case/scripts/wifi_softap_process.sh realtek_concurrent_softap_mode_EZCast
[wifi_common.c]___pac system_________: 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
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
<    30.698> [ezcastReadDevName:361] Read hostname for device name!!!
devName=Mirascreen BFD87B5F
WIFIINF[wifi_startscan-484]:now is in wifi startscan
RTL871X: set pairwise key camid:4, addr:00:1a:92:7e:26:4d, kid:0, type:AES
RTL871X: set group key camid:5, addr:00:1a:92:7e:26:4d, kid:2, type:TKIP
RTL871X: port switch - port0(wlan0), port1(wlan1)
miracast HomePage on[4]
isLastApExist = 1[4]
connectCheckCount = 0[4]
otaCheck = false[4]
connect error!!![4]
RTL871X: port switch - port0(wlan1), port1(wlan0)
RTL871X: assoc success
Using interface wlan1 with hwaddr d2:c0:bf:d8:7b:5f and ssid 'Mirascreen BFD87B5F'
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
udhcpd_dns_enable  call realtek_softap_func
[debug info :checkIPfileExist,5455]:
[debug info:checkIPfileExist,5470]:the ip file  is  not exist!
dongle_get_device 2345 length:37
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.1.168...
Lease of 192.168.1.168 obtained, lease time 43200
copy dnsmasq configuration
cmd is bound
interface is wlan0
ip is 192.168.1.168
router is 192.168.1.3
domain is lan
dns is 192.168.1.3
NETMASK is netmask 255.255.255.0
BROADCAST is broadcast 192.168.1.255
Setting IP address 192.168.1.168 on wlan0
Deleting routers
route: SIOCDELRT: No such process
Adding router 192.168.1.3
Recreating /mnt/vram/wifi/resolv.conf
dns is 192.168.1.3
 Adding DNS server 192.168.1.3
[__get_kernel_gateway_info,3266] gateway ======== 192.168.1.3
wlan_current_status.router=======192.168.1.3
wlan_current_status.DNS_server=======192.168.1.3
wlan_current_status.ip_address  ========== 192.168.1.168
debug getAutoIP 3488++++++++++++++++
get auto ip address successfully
cp: cannot stat '/mnt/bak/named.conf': No such file or directory
[checkAndRecoverForwardFile,89]recover named.conf error!!
Try time.google.com...OK
sys w b:0x7bf8
::::::::::: popStartTime: 1529833282[4]
sys w b:0x7be1
***************  check ota version, otaCheckDelayTime = null[4]
sys w b:0x7bbf
sys w b:0x7bbc
sys w b:0x7bb9
function:write_dns_forward_file line:134 errno:2
cp: cannot stat '/mnt/bak/named.conf': No such file or directory
[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,2535]:selected_filename == /mnt/vram/wifi/22d3c34f.conf
sys w b:0x7bfd
sys w b:0x7bfe
sys w b:0x7be0
sys w b:0x7be1
sys w b:0x7be2
sys w b:0x7bb9
miracast HomePage on[4]
isLastApExist = 1[4]
connectCheckCount = 1[4]
otaCheck = false[4]
connect error!!![4]
sys w b:0x7bbc
dnsmasq: started, version 2.72 cachesize 1000
dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect
dnsmasq: using nameserver 192.168.1.3#53
dnsmasq: cleared cache
[0:0:34.933][HAL_NetworkUpdate:1095] Interface (wlan0) Info.
[0:0:34.937][HAL_NetworkUpdate:1096] --
[0:0:34.941][HAL_NetworkUpdate:1097]  HW addr. - d0c0.bfd8.7b5f
[0:0:34.947][HAL_NetworkUpdate:1098]  IP addr. - 192.168.1.168
[0:0:34.952][HAL_NetworkUpdate:1099] --
[0:0:35.715][HAL_NetworkUpdate:1375] Wi-Fi interface(wlan0) connected, ESSID(xxx)!
miracast HomePage on[4]
isLastApExist = 1[4]
connectCheckCount = 2[4]
otaCheck = false[4]
<    35.854> [_ota_entry_main:1453] If it's snor flash, insmod am7x_ota_upgrade.ko while upgrade.
<    35.861> [_ota_entry_main:1467] luoyuping test mode=4.
[ota_get_url][1269] -- otaServer: https://www.iezvu.com/upgrade/ota_rx.php
system info.c ret==============0
----ret=0[4]
[ota_read_url][185] -- str_len = 87, len = 1023, final_len = 87
<    37.582> [ota_read_url:214] *ota_enforce: 1
[ota_get_url][1276] -- url_cfg: http://cdn.iezvu.com/upgrade/8258b_mirawifi_v2/official/8258b_mirawifi_v2-16523000.conf
<    37.597> [ota_check_version:872] Config url:http://cdn.iezvu.com/upgrade/8258b_mirawifi_v2/official/8258b_mirawifi_v2-16523000.conf
config file path is http://cdn.iezvu.com/upgrade/8258b_mirawifi_v2/official/8258b_mirawifi_v2-16523000.conf
STREAMING_HTTP_DBG[open_s1-1088]:open_s1

STREAMING_HTTP_DBG[open_s1-1090]:
STREAMING_HTTP_DBG[open_s1-1094]:
Server:nginx/1.14.0!
STREAMING_HTTP_DBG[http_streaming_start-932]:http_hdr->status_code =========== 200

http_streaming_start:Content-Type: [application/octet-stream]
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]:
miracast HomePage on[4]
isLastApExist = 1[4]
connectCheckCount = 3[4]
otaCheck = true[4]
______otaCheck = true[4]
_________clearcheckotaversion[4]
<    37.799> [_ota_entry_main:1453] If it's snor flash, insmod am7x_ota_upgrade.ko while upgrade.
[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!
<    37.821> [ota_check_version:887] server config:
<    37.818> [_ota_entry_main:1467] luoyuping test mode=4.
system info.c ret==============0
vram = FALSE
<    37.859> [ota_check_version:889] 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
local_value=3   server_value=3
=========strcmp end
local_value=128 server_value=128
=========strcmp end
[EZMirror First]server_version: error[4]
internet_ap_txt.text============null[4]
Set system busy[4]
kill the named process
dnsmasq: exiting on receipt of SIGTERM
------------- clear ip talbes
Selected interface 'wlan0'
OK
[wifi_stop_process 527] sta autoconnect disable
[wifi_common.c]___pac system_________: killall udhcpc
killall: udhcpc: no process killed
_____the error no. is 4_______
[wifi_common.c]___pac system_________: killall wpa_supplicant
RTL871X: indicate disassoc
RTL871X: set bssid:81dc9e5a
RTL871X: clear key for addr:00:1a:92:7e:26:4d, camid:4
RTL871X: clear key for addr:00:1a:92:7e:26:4d, camid:5
wifi stop  OK
RTL871X: set bssid:81dc9e5a
---------- wifi_direct.c 2232 role:1
RTL871X: indicate disassoc
<    39.198> [wifi_direct_initialize:2290] ------ copy normal config
---- copy /udhcpd.conf config
<    39.247> [wifi_direct_init:1154] p->dev_name:
>>> default hostname :iEZVu
<    39.252> [wifi_direct_init:1156] hostname: iEZVu
>>> device name is Mirascreen BFD87B5F>>>>>>>>>>>>>> display pin code:12345670
sys w b:0x7bed
sys w b:0x7bee
sys w b:0x7bef
sys w b:0x7bf0
ntpd: send failed: Network is unreachable
apps_vram_store OK!
miracast_ssid.text===================Mirascreen BFD87B5F[4]
>>> set profile:1ee:d0:9f:22:f0:fa15DIRECT-TE-Redmi
>>> set profile:158:63:56:63:b8:ab28DIRECT-EDDESKTOP-5CHDILIgX8U
>>> set profile:126:db:30:d8:b0:bb21DIRECT-ZIMAMCA-HPXJXU
[rtw_p2p_set_persistent] persistent_supported = 1
[rtw_p2p_set_sa] session available = 1
ntpd: send failed: Network is unreachable
::::::::::: currentTime: 1529833298[4]
ntpd: send failed: Network is unreachable
ntpd: send failed: Network is unreachable
ntpd: send failed: Network is unreachable
ntpd: send failed: Network is unreachable
ntpd: send failed: Network is unreachable
ntpd: send failed: Network is unreachable
ntpd: send failed: Network is unreachable
Alarm clock
Sync time with time.google.com fail!
Try pool.ntp.org...Fail
Try ntp.ubuntu.com...Fail
---wifi_p2p_get_device_name---3220-- p->peer_devaddr is 16:DB:30:D8:B0:BB--parse is

N=MAMCA-HP
>>>>>>>>>>>>>>>req_cm:pbc
>>>>>> peer cm:pbc
---wifi_p2p_get_device_name---3220-- p->peer_devaddr is 16:DB:30:D8:B0:BB--parse is

N=MAMCA-HP
<wifi_direct_polling_status 1858>Please push b to accept:
>>>>>> PBC:[4]
<   158.222> [pthread_do_nego:6094] do nego, cm = 0
[wifi_direct.c:__dump_p2p:195]-[Jan  6 2018-17:36:17]-[zhoudayuan-2015615]
********************** begin dump ****************
**ifname:wlan0
**status:8
**dev_name:Mirascreen BFD87B5F
**intent:0
**listen_ch:6
**wps_info:0
**wpsing:0
**pin:12345670
**role:0
**start_role:1
**apd_ssid:DIRECT-RT
**peer_devaddr:16:DB:30:D8:B0:BB
**peer_ifaddr:00:00:00:00:00:00
**mac_connect_ok:00:00:00:00:00:00
**op_ch:11
**wpa_open:0
**ap_open:0
**pthread:854684880
**pthread_go:0
**pthread_msg:837608656
**pbc_flag:1
**pthread_runing:0
**pthread_go_runing:0
**phtread_msg_runing:1
**thread_poll_gc:1
**thread_go_gc:0
**thread_msg_gc:0
**ap_total:0
**scan_ok_flag:0
**connect_go:0
**polling_status_flage:1
**no_sta_connected:0
**connect_flag:0
**prov_req_cm:1000
********************** end dump ****************
__wifi_direct_do_negotiation 4509 ---------------role:2 status:22
>>> start wifi direct negotiation:16:DB:30:D8:B0:BB
>>>>>>>>>>>>>>start nego
>>>>>>>>>>>>>>the count_nego is 0
wifi direct handle ok role=2
wifi_direct_get_ifaddr 4253 ---bluse------ifname:wlan0 cmd:
MAC 26:DB:30:D8:B0:BB
wifi_direct_get_ifaddr 4253 ---bluse------ifname:wlan0 cmd:
MAC 26:DB:30:D8:B0:BB
P2P[_wifi_client 3883]:start wpa_supplicant:26:DB:30:D8:B0:BB

D0:C0:BF:D8:7B:5F
[wifi_direct.c:_start_wpa_conf:3864] [Jan  6 2018--17:36:17] zhoudayuan callbuf=wpa_supplicant -B -iwlan0 -c /tmp/25eb547f.conf
rfkill: Cannot open RFKILL control device
RTL871X: set bssid:81de7e5a
ioctl[SIOCSIWAP]: Operation not permitted
---wifi_direct_wps 3376 ap_open:0 wpa_open:1 wpa_info:3
P2P[wifi_direct_wps 3386]:wps_info=3 connect_go=0 peer_ifaddr=26:DB:30:D8:B0:BB

widi_connect_status 3724 path:/tmp/wpa_supplicant/wlan0
RTL871X: set ssid [DIRECT-YDMAMCA-HPPFWK] fw_state=0x00000108
RTL871X: set bssid:81dd7e5a
RTL871X: start auth
RTL871X: auth success, start assoc
RTL871X: assoc success
RTL871X: port switch - port0(wlan0), port1(wlan1)
widi_connect_status 3724 path:/tmp/wpa_supplicant/wlan0
RTL871X: send eapol packet
RTL871X: recv eapol packet
RTL871X: send eapol packet
RTL871X: recv eapol packet
widi_connect_status 3724 path:/tmp/wpa_supplicant/wlan0
RTL871X: send eapol packet
RTL871X: recv eapol packet
RTL871X: send eapol packet
RTL871X: recv eapol packet
RTL871X: send eapol packet
RTL871X: recv eapol packet
RTL871X: send eapol packet
RTL871X: recv eapol packet
RTL871X: send eapol packet
RTL871X: recv eapol packet
RTL871X: indicate disassoc
RTL871X: set bssid:81dd7e5a
widi_connect_status 3724 path:/tmp/wpa_supplicant/wlan0
RTL871X: set ssid [DIRECT-YDMAMCA-HPPFWK] fw_state=0x00000008
RTL871X: set bssid:81dd7e5a
RTL871X: start auth
RTL871X: auth success, start assoc
RTL871X: assoc success
RTL871X: recv eapol packet
RTL871X: send eapol packet
RTL871X: recv eapol packet
RTL871X: send eapol packet
RTL871X: set pairwise key camid:4, addr:26:db:30:d8:b0:bb, kid:0, type:AES
RTL871X: set group key camid:5, addr:26:db:30:d8:b0:bb, kid:2, type:AES
widi_connect_status 3724 path:/tmp/wpa_supplicant/wlan0
widi_status_check 3819 connect completely!
Selected interface 'wlan0'
OK
[widi_status_check 3829] sta autoconnect disable
the call is udhcpc -b -t 5 -i wlan0
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.137.62...
Lease of 192.168.137.62 obtained, lease time 86400
copy dnsmasq configuration
cmd is bound
interface is wlan0
ip is 192.168.137.62
router is 192.168.137.1
domain is
dns is
NETMASK is netmask 255.255.255.0
BROADCAST is broadcast 255.255.255.255
Setting IP address 192.168.137.62 on wlan0
Deleting routers
route: SIOCDELRT: No such process
Adding router 192.168.137.1
Recreating /mnt/vram/wifi/resolv.conf
Try time.google.com...Fail
sys w b:0x7bff
sys w b:0x7be0
Try pool.ntp.org...Fail
sys w b:0x7be1
Try ntp.ubuntu.com...Fail
sys w b:0x7bbc
sys w b:0x7bb9
sys w b:0x7bbc
sys w b:0x7bb9
sys w b:0x7c00
sys w b:0x7c18
wifi_direct_get_ifaddr 4253 ---bluse------ifname:wlan0 cmd:
MAC 26:DB:30:D8:B0:BB
>>>>>> will check get peer IP status[4]
intf=wlan0,gw=192.168.137.1,
>>> _wifi_direct_get_source_ip_address:peer ip is 192.168.137.1
>>>>>> will start RTSP[4]
Decrypt HDCP Key Ok
:::::::::::: miracast running :::::::::::::::[4]
>>>>>>>>>> 761,__get_source_ip_address
>>>>>>>>>>buf=192.168.137.1,bufsize=13,size=20
>>>>>>>>>>>> set dynamic edid ok
[sample_rtsp_sink.c] [1064] -- HDCP ENABLE
SHA256 fail.
NULL HASH
0xe3 0xb0 0xc4 0x42 0x98 0xfc 0x1c 0x14 0x9a 0xfb 0xf4 0xc8 0x99 0x6f 0xb9 0x24 0x27 0xae 0x41 0xe4 0x64 0x9b 0x93 0x4c 0xa4 0x95 0x99 0x1b 0x78 0x52 0xb8 0x55
COMPUTED HASH
0x42 0x57 0xb3 0xc6 0xb1 0x24 0x17 0xcd 0x65 0xbc 0x62 0xe 0x85 0xf8 0x6c 0x96 0x80 0x13 0x6f 0xb4 0xcf 0x7d 0x1a 0x22 0xef 0x11 0xa5 0x3a 0x31 0x34 0x6 0x1d
[0:2:47.250][HAL_NetworkUpdate:1095] Interface (wlan0) Info.
[0:2:47.254][HAL_NetworkUpdate:1096] --
[0:2:47.258][HAL_NetworkUpdate:1097]  HW addr. - d0c0.bfd8.7b5f
[0:2:47.264][HAL_NetworkUpdate:1098]  IP addr. - 192.168.137.62
[0:2:47.270][HAL_NetworkUpdate:1099] --
[0:2:47.291][EZ_AnalyticsPostEvent:395] Analytics (event) response(0), FIXME!
[0:2:47.296][HAL_NetworkUpdate:1375] Wi-Fi interface(wlan0) connected, ESSID(DIRECT-YDMAMCA-HPPFWK)!
SHA256 fail.
NULL HASH
0xe3 0xb0 0xc4 0x42 0x98 0xfc 0x1c 0x14 0x9a 0xfb 0xf4 0xc8 0x99 0x6f 0xb9 0x24 0x27 0xae 0x41 0xe4 0x64 0x9b 0x93 0x4c 0xa4 0x95 0x99 0x1b 0x78 0x52 0xb8 0x55
COMPUTED HASH
0x69 0xb8 0x32 0x71 0x98 0x68 0xfe 0x9a 0x51 0x29 0x59 0x41 0x9d 0xb 0x91 0xb3 0x1b 0x61 0xcd 0x96 0xa4 0xba 0xd6 0xd0 0x3 0x58 0x32 0xe0 0x23 0x2a 0x74 0x17
SHA256 fail.
NULL HASH
0xe3 0xb0 0xc4 0x42 0x98 0xfc 0x1c 0x14 0x9a 0xfb 0xf4 0xc8 0x99 0x6f 0xb9 0x24 0x27 0xae 0x41 0xe4 0x64 0x9b 0x93 0x4c 0xa4 0x95 0x99 0x1b 0x78 0x52 0xb8 0x55
COMPUTED HASH
0x8e 0x5e 0xd3 0x26 0x53 0xc7 0x50 0x9 0x50 0xaf 0x32 0x8 0x23 0xdc 0xdc 0x96 0xf1 0xaa 0x1e 0xde 0x7a 0xfa 0x6a 0xc9 0x3e 0x9b 0x66 0xa3 0xd9 0x45 0x55 0x83
[_miracast_rtsp_loop]: receive MIRACAST_CMD_PLAY command,port:42030
[_miracast_rtsp_loop]: get heap ok,0x2cba7040,0x84902040,0x2800000
###defualt color!
ezMiraOpen,292
os_linux.c 268
os_linux.c 413 tid:613, pt tid:693, pt ptid:613
######################/RD/luoyuping/AMLSDK/am12xx/sdk/library/midware/mmm_video/src/av_stream.c 2439 vp->event_tid=5958304
_vPlayerOpen,205
_vPlayerSendCmd,85, cmd=0
[video_event_loop]cmd=0x0
ezMiraSetFile,250
ezMiraSetParam,272
mirartpStreamStart,106,w=1280,h=720
ezMiraPlay,329
_vPlayerSendCmd,85, cmd=14
[video_event_loop]cmd=0xe
os_linux.c 268
_vPlayerSendCmd,85, cmd=2
_vPlayerSendCmd,85, cmd=5
ezMiraPlay,343
ezMiraPlay,346
mirartpStreamStart,113
os_linux.c 413 tid:693, pt tid:694, pt ptid:693
######################/RD/luoyuping/AMLSDK/am12xx/sdk/library/midware/mmm_video/src/av_stream.c 1318 is->parse_tid=5894280
MiraPlay MSG: FILE_INFO_READY_MSG
[video_event_loop]cmd=0x2
OSmmap heap[0]:bus=0x4903000,vir=0x33f74000,size=0x27ff000
[video_event_loop]cmd=0x5
os_linux.c 268
os_linux.c 413 tid:693, pt tid:695, pt ptid:693
######################/RD/luoyuping/AMLSDK/am12xx/sdk/library/midware/mmm_video/src/av_codec.c 628 is->audio_tid=5933944
os_linux.c 268
os_linux.c 413 tid:693, pt tid:696, pt ptid:693
######################/RD/luoyuping/AMLSDK/am12xx/sdk/library/midware/mmm_video/src/av_codec.c 634 is->video_tid=5934160
_mirartpStreamOpen,44
/RD/luoyuping/AMLSDK/am12xx/sdk/library/midware/mmm_video/src/av_iobuf.c 559 s->seekable=0
/RD/luoyuping/AMLSDK/am12xx/sdk/library/midware/mmm_video/src/av_probe.c 267demuxname=lib_ts.so
ts isStream=1, V_BUF_SIZE = 0x100000
/RD/luoyuping/AMLSDK/am12xx/sdk/library/midware/mmm_video/src/av_probe.c 311 pInfo->seekable=0
audio_index= 1 video_index= 0
LOAD libwav.so
audio_dec_init
A BUF SIZE [1258176]
LOAD lib_h264.so
V BUF SIZE [3774528]
aqN=0,vqN=5
>>quickLose!
audio get wait pkt!
dpb size = 8
h264_dec.c dec_info->multiBuffPpSize:2
[de_init_dpb_fifo]g_lcm_fd=46
Use DE FIFO to display!maxLen=32
os_linux.c 268
os_linux.c 413 tid:693, pt tid:697, pt ptid:693
>>quickLose end!pts=900000
aqN=0,vqN=5
>>quickLose!
audio get wait pkt!
>>quickLose end!pts=4633000
aqN=0,vqN=5
>>quickLose!
audio get wait pkt!
>>quickLose end!pts=6800000
aqN=0,vqN=5
>>quickLose!
audio get wait pkt!
>>quickLose end!pts=11366000
aqN=0,vqN=5
>>quickLose!
audio get wait pkt!
>>quickLose end!pts=14600000
drop packets:2319-2319
calc framerate = 30 fps
videoinfo error:frame_height=720 sample_rate=0
sys w b:0x7bbf
sys w b:0x7be1

pátek 22. června 2018

IPBox99 reverzní inženýrství

IR přijímač - Posílá 8052ka Tučnákovi

Menu 01 05 80 7F FB
Ok 01 05 40 BF FB
Stop 01 05 20 DF FB
Vol_down 01 05 10 EF FB
Vol_up 01 05 02 FD FB
Ch_up 01 05 08 F7 FB
Ch_down 01 05 04 FB FB
Power 01 05 01 FE FB

SoC patrně STi7109

sobota 2. června 2018

Orange Pi Plus

HW:

Procesor: Allwinner H3 Quad-core Cortex-A7 H.265/HEVC 4K
GPU: Mali400MP2 GPU @600MHz
RAM: 1GB DDR3 (shared with GPU)
FLASH: TF card (Max. 32GB) / MMC card slot + 8GB EMMC Flash

http://dl.linux-sunxi.org/A20/A20%20User%20Manual%202013-03-22.pdf
http://linux-sunxi.org/images/4/4b/Allwinner_H3_Datasheet_V1.2.pdf
http://linux-sunxi.org/H3

Obsah SD karty

SD Card Layout
startsizeusage
08KBUnused, available for partition table etc.
824KBInitial SPL loader
32512KBu-boot
544128KBenvironment
672352KBreserved
1024-Free for partitions

http://www.orangepi.org/Docs/Settingup.html

pátek 1. června 2018

Reverní inženýrství dumpnutého souboru z FLASH paměti

Jako příklad nám tentokrát poslouží testovací image (SD.img), ten se skládám z úvodní FAT ze které startuje jádro a druhé EXT4, kde jsou uložena uživatelská data:

root@Jenda:/home/jenda/Dokumenty# file SD.img 
SD.img: DOS/MBR boot sector;
partition 1 : ID=0xb, start-CHS (0x0,32,33), end-CHS (0x4,85,17), startsector 2048, 67584 sectors;
partition 2 : ID=0x7, start-CHS (0x4,85,18), end-CHS (0x8,105,33), startsector 69632, 65536 sectors;
partition 3 : ID=0x82, start-CHS (0x8,105,34), end-CHS (0xc,125,49), startsector 135168, 65536 sectors;
partition 4 : ID=0x5, start-CHS (0xc,125,50), end-CHS (0x3ff,254,63), startsector 200704, 30248960 sectors

oot@Jenda:/home/jenda/Dokumenty# fdisk -l SD.img 
Disk SD.img: 360 MiB, 377487360 bytes, 737280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8dbcd0fa

Device     Boot  Start      End  Sectors  Size Id Type
SD.img1           2048    69631    67584   33M  b W95 FAT32
SD.img2          69632   135167    65536   32M  7 HPFS/NTFS/exFAT
SD.img3         135168   200703    65536   32M 82 Linux swap / Solaris
SD.img4         200704 30449663 30248960 14,4G  5 Extended
SD.img5         202752   268287    65536   32M 83 Linux
SD.img6         270336   335871    65536   32M 83 Linux
SD.img7         337920   403455    65536   32M 83 Linux
SD.img8         405504   471039    65536   32M 83 Linux
SD.img9         602112   667647    65536   32M 83 Linux

root@Jenda:/home/jenda/Dokumenty# strings -10 os.img | head
/media/jenda/62ca0b6d-6291-4c40-b1fd-11bc291e4a38
@${:@${:45
/proc/kcore
/proc/self/fd
libfakeroot-tcp.so
libasn1-samba4.so.8.0.0
libcom_err-samba4.so.0.25
libgssapi-samba4.so.2.0.0
libhcrypto-samba4.so.5.0.1
libheimbase-samba4.so.1.0.0

root@Jenda:/home/jenda/Dokumenty# file os.img 
os.img: Linux rev 1.0 ext4 filesystem data, UUID=62ca0b6d-6291-4c40-b1fd-11bc291e4a38 (needs journal recovery) (extents) (64bit) (large files)