挖坑网/填坑网 DebugDump Forum

别人挖坑默默填上,自己挖坑含泪填上。天下没有填不了的坑,只有不会填坑的人。来吧,加入我们,挖坑行,填坑你更行! 站长QQ: 516333132 点击这里给我发消息

您尚未登录。

#1 2018-03-10 15:24:53

晕哥
Administrator
注册时间: 1970-01-01
累计发帖: 2,482

GM8135s入坑记录

参考链接1: GM8136S_GM8135S_Data_Sheet_V0.3.pdf 手册
参考链接2: gm8136s_lqfp128_evb_1v0.pdf 开发板原理图

1. 第一步当然是去淘宝买摄像头: 捷高智源升迈GM8135S 1135 130万960P大拿平台百万高清网络模组 目前39元.

2. 焊上4pin串口端子,接上串口线.

3. 接上网线端子,接入局域网, 下载软件,测试出厂固件和镜头。

4. 下载GM8135s/GM8136s SDK(本站网友积分30以上可免费获取),编译下载.

5. 烧录自产固件,开始愉快的DIY。

离线

#2 2018-03-11 22:33:59

晕哥
Administrator
注册时间: 1970-01-01
累计发帖: 2,482

Re: GM8135s入坑记录

QQ20180311222822.jpg

QQ20180311222827.jpeg

已到货。

离线

#3 2018-03-11 22:58:31

晕哥
Administrator
注册时间: 1970-01-01
累计发帖: 2,482

Re: GM8135s入坑记录

发现配送的线(电源和地线)与端子不匹配, 根本插不进去, 算了,改天再折腾.

离线

#4 2018-03-12 14:35:04

晕哥
Administrator
注册时间: 1970-01-01
累计发帖: 2,482

Re: GM8135s入坑记录

QQ20180312143318.jpg

终于把电源线给搞定了,
超级暖手宝,板子都是烫手的。
300mA@5V

离线

#5 2018-03-13 08:57:32

晕哥
Administrator
注册时间: 1970-01-01
累计发帖: 2,482

Re: GM8135s入坑记录

QQ20180313090250.jpg

QQ20180313085752.png

\0\0?\0\0鴡鏋鴨\0声mode 4
NSVersion V1.0.2
   STXWAMODE: RAO=0, STMWA=0
SPI NOR ID code:0xef 0x40 0x17
SPI jump setting is 3 bytes mode
Boot image offset: 0x10000. size: 0x40000. Booting Image .....


U-Boot 2013.01-svn4265 (Nov 03 2016 - 14:13:45)

I2C:   ready
DRAM:  64 MiB
ROM CODE has enable I cache
SPI mode
SF: Got idcodes
00000000: ef 40 17 00    .@..
SF: Detected W25Q64 with page size 64 KiB, total 8 MiB
flash is 3byte mode
In:    serial
Out:   serial
Err:   serial

-------------------------------
ID: 8136110
AC: 200  HC: 200  P1: 712  P2: 600  P3: 540
C6: 712  DR: 950
J: 237   H1: 237
-------------------------------
Net:   GMAC set RMII mode
reset PHY
eth0
  Sensor I2C Probe 0x60 is SC1135
  Bootargs Rtc is NONE
Hit any key to stop autoboot:  3  2  1  0 
SF: Got idcodes
00000000: ef 40 17 00    .@..
SF: Detected W25Q64 with page size 64 KiB, total 8 MiB
flash is 3byte mode
Disable watchdog!
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-3.3.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1425224 Bytes = 1.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
: mem=64M gmmem=30M console=ttyS0,115200 user_debug=31 init=/squashfs_init root=/dev/mtdblock3 rootfstype=squashfs mtdparts=nor-flash:0x40000@0x10000(sf-bootloader),0x10000@0x50000(sf-bootenv),0x170000@0x60000(sf-kernel),0x210000@0x1D0000(sf-rootfs),0x370000@0x3E0000(sf-ipcfs),0xB0000@0x750000(sf-miscfs) sensor=SC1135 cpu=GM8135S ddr=SINGLE64M flash=SF rtc=NONE device_id=22000425146 ethaddr=00:66:78:06:7c:ba devinfo=jcoxa201704281b149fe11599f15e1be93fec5fe6366e000577h1ia8

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.3.0 (root@nomadzhao-ubuntu) (gcc version 4.4.0 20100318 (experimental) (Buildroot 2012.02) ) #1 PREEMPT Fri Nov 4 16:47:32 CST 2016
CPU: FA6 [66056263] revision 3 (ARMv5TE), cr=0000397f
CPU VIPT aliasing data cache, unknown instruction cache
Machine: Grain-Media GM8136 series
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: mem=64M gmmem=30M console=ttyS0,115200 user_debug=31 init=/squashfs_init root=/dev/mtdblock3 rootfstype=squashfs mtdparts=nor-flash:0x40000@0x10000(sf-bootloader),0x10000@0x50000(sf-bootenv),0x170000@0x60000(sf-kernel),0x210000@0x1D0000(sf-rootfs),0x370000@0x3E0000(sf-ipcfs),0xB0000@0x750000(sf-miscfs) sensor=SC1135 cpu=GM8135S ddr=SINGLE64M flash=SF rtc=NONE device_id=22000425146 ethaddr=00:66:78:06:7c:ba devinfo=jcoxa201704281b149fe11599f15e1be93fec5fe6366e000577h1ia8
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 62136k/62136k available, 3400k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0x84800000 - 0xff000000   (1960 MB)
    lowmem  : 0x80000000 - 0x84000000   (  64 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x80281a74   (2535 kB)
      .init : 0x80282000 - 0x8029b000   ( 100 kB)
      .data : 0x8029c000 - 0x802ae700   (  74 kB)
       .bss : 0x802ae724 - 0x802b9648   (  44 kB)
NR_IRQS:64
gm_jiffies_init, system HZ: 100, pClk: 100000000 
console [ttyS0] enabled
Calibrating delay loop... 709.42 BogoMIPS (lpj=3547136)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x1e1bb8 - 0x1e1c00
devtmpfs: initialized
FMEM: 7680 pages(0x1e00000 bytes) from bank0 are reserved for Frammap. 
FMEM: Logical memory ends up at 0x84000000, init_mm:0x80004000(0x4000), PAGE_OFFSET:0x80000000(0x0), 
FMEM: FA726 Test and Debug Register: 0x0 
NET: Registered protocol family 16
PMU: Mapped at 0xfe000000 
IC: GM8135, version: 0x1 
iotable: VA: 0xfe000000, PA: 0x90c00000, Length: 4096 
iotable: VA: 0xfe001000, PA: 0x90700000, Length: 4096 
iotable: VA: 0xfe002000, PA: 0x90800000, Length: 4096 
iotable: VA: 0xfe003000, PA: 0x90900000, Length: 4096 
iotable: VA: 0xfe004000, PA: 0x90d00000, Length: 4096 
iotable: VA: 0xfe005000, PA: 0x96000000, Length: 4096 
bio: create slab <bio-0> at 0
Switching to clocksource fttmr010:1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
Video Timer(timer3) Max 42000ms in 0xfa56ea00 HZ.
ftdmac020 ftdmac020.0: DMA engine driver: irq 1, mapped at 0x84804000
GM CPU frequency driver
CPUFREQ support for gm initialized
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 121
io scheduler noop registered
io scheduler deadline registered (default)
gpiochip_add: registered GPIOs 0 to 31 on device: ftgpio010.0
probe ftgpio010.0 OK, at 0x84856000
gpiochip_add: registered GPIOs 32 to 63 on device: ftgpio010.1
probe ftgpio010.1 OK, at 0x84858000
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xfe001000 (irq = 21) is a 16550A
serial8250: ttyS1 at I/O 0xfe002000 (irq = 22) is a 16550A
serial8250: ttyS2 at I/O 0xfe003000 (irq = 25) is a 16550A

Welcome to use sar_adc_drv VER:2.0
 * module_init_func
 * register_driver
 * driver_probe
 * dev_data_alloc_specific done
 * ADDA paddr=90b00000 vaddr=8485c000 tve paddr=93500000 vaddr=8485e000
 * set_pinmux set as 0xB8 0xFFECF008 OK
 * register_cdev
driver_probe done, io_vadr 0x8485A000, io_padr 0x90A00000 0x8363A9A0
driver_probe done,runmod:0x0,0x0,0x0,0x0
loop: module loaded
SPI020 init
SPI020 uses AHB DMA mode
FTSPI020 enable DMA handshake 0x3
SPI020 gets DMA channel 0
ftspi020 ftspi020.0: Faraday FTSPI020 Controller at 0x92300000(0x84860000) irq 54.
spi spi0.0: setup: bpw 8 mode 0
CLK div field set 1, clock = 30000000Hz
ERASE SECTOR 64K
SPI NAME: w25Q64F 
SPI_FLASH spi0.0: w25Q64F (8192 Kbytes)
6 cmdlinepart partitions found on MTD device nor-flash
Creating 6 MTD partitions on "nor-flash":
0x000000010000-0x000000050000 : "sf-bootloader"
0x000000050000-0x000000060000 : "sf-bootenv"
0x000000060000-0x0000001d0000 : "sf-kernel"
0x0000001d0000-0x0000003e0000 : "sf-rootfs"
0x0000003e0000-0x000000750000 : "sf-ipcfs"
0x000000750000-0x000000800000 : "sf-miscfs"
Probe FTSPI020 SPI Controller at 0x92300000 (irq 54)
ftgmac: Loading version 2.0 ...
ftgmac: Tx queue number = 128, Rx queue number = 128
ftgmac100-0-mdio: probed
ftgmac100-0 ftgmac100-0.0: eth0: 1 tx queue used (max: 2)
ftgmac100-0 ftgmac100-0.0: eth0: 1 rx queue used (max: 1)
ftgmac100-0 ftgmac100-0.0: eth0: irq 3, mapped at 84862000
ethaddr parsed from commandline: 00:66:78:06:7c:ba
i2c /dev entries driver
ftiic010 ftiic010.0: irq 18, mapped at 84864000
I2C hangs detection thread started!
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
Registering the dns_resolver key type
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
devtmpfs: mounted
Freeing init memory: 100K
Failed to execute /squashfs_init.  Attempting defaults...

       _                          _____          _
      (_)   ___    ___           |_   _|   ___  | | __  
      | |  / __|  / _ \   _____    | |    / _ \ | |/ /  
      | | | (__  | (_) | |_____|   | |   |  __/ |   <   
     _/ |  \___|  \___/            |_|    \___| |_|\_\ 
    |__/                                                


HW reset
hwclock: can't open '/dev/misc/rtc': No such file or directory
--- mount squashfs succ! ---
--- mount jfss2 succ! ---
Auto login as root ...
grain-media login: PATH: /ipc/bin:/bin:/sbin:/usr/bin:/usr/sbin
LD_LIBRARY_PATH: /ipc/lib:/lib
----
------ insmod /drivers/frammap.ko --------
Frammap: DDR0: memory base=0x1800000, memory size=0x1e00000, align_size = 4K. 
Frammap: version 1.1.2, and the system has 1 DDR.
Frammap: fail to open /mnt/mtd/config_8136, /tmp/template_8136 is created.
------ insmod /drivers/log.ko mode=0 log_ksize=24 --------
log: module license 'GM' taints kernel.
Disabling lock debugging due to kernel taint
log.ko: Jan 13 2015 18:00:07 (mmap 0x81230000 size 0xc000)

LOG base 0x849bd000 size 24K (start pointer 0x7f00b114)
PAGE_OFFSET(0x80000000) VMALLOC START(0x84800000) HZ(100)
------ insmod /drivers/ms.ko --------
ms.ko v1.0_clear_non16align Sep 16 2015 17:33:57
phy speed is 10, half duplex
HW reset
------ insmod /drivers/em.ko --------
em.ko v0.27_transcode Sep 14 2015 15:40:53
em_user v0.6 Sep 14 2015 15:40:53

EM Module Service Starting (callback_period = 3ms)
Start EM thread 2(em_callback:2) with nice -20
Start EM thread 1(em_callback:1) with nice -20
Start EM thread 0(em_callback:0) with nice -20
------ insmod /drivers/think2d.ko --------
think2d_module_init
** T2D VER:2.4 ** think2d_drv_probe done, vbase 0x84B2C000, pbase 0x92200000 0x837ABF20 (1)
------ insmod /drivers/ftgpio_functions.ko --------

FTGPIO Functions Driver registered success
------ insmod /ipc/drv/fe_common.ko --------
fe_common version 140714
------ insmod /ipc/drv/adda308.ko input_mode=0 output_mode=1 single_end=1 --------
platform_init
ADDA308 current use MCLK=24568965
adda308_init_one [0] version 150324
------ insmod /drivers/ft3dnr200.ko config_path=/tmp src_yc_swap=1 dst_yc_swap=1 ref_yc_swap=1 --------
FT3DNR200 Version 2015_0107_1008
request IRQ42 with ft3dnr_interrupt() ok!
FT3DNR sp.0 buf size 0x4200 width 1280 height 1024 phy addr 0x1810000
FT3DNR mot.0 buf size 0x210 width 1280 height 1024 phy addr 0x1815000
FT3DNR mot.1 buf size 0x210 width 720 height 576 phy addr 0x1816000
FT3DNR var.0 buf size 0x1b8 width 1280 height 1024 phy addr 0x1817000
FT3DNR var.1 buf size 0x90 width 720 height 576 phy addr 0x1818000
FT3DNR ref.0 buf size 0x280000 width 1280 height 1024 phy addr 0x1819000
FT3DNR ref.1 buf size 0xca800 width 720 height 576 phy addr 0x1a99000
------ insmod /ipc/drv/fisp328.ko cfg_path=/ipc/isp/isp328_sc1135.cfg --------
ISP328 v1.43, built @ Oct  3 2016 22:29:57
USE_DMA_CMD: TRUE
------ insmod /ipc/drv/fisp_algorithm.ko pwr_freq=1 --------
ISP Alogrithm v1.20
Register [0][GM_AE]
Register [1][GM_AWB]
Register [2][GM_AF]
------ insmod /ipc/drv/fisp_sc1135.ko sensor_w=1280 sensor_h=960 fps=25 mirror=1 flip=1 --------
EXT_CLK output ==> 27000000Hz
CAP driving capacity = 16
[SC1135] init start 
[SC1135]adjust_vblk fps=25 frame_len_lines=1200
[SC1135]set_exp=1 exp_line=3
[SC1135] init done 
------ insmod /drivers/vcap300_common.ko --------
[VCAP_INFO]: VCAP300 Version: 0.3.7
------ insmod /drivers/vcap0.ko vi_mode=0,1 ext_irq_src=1 --------
------ insmod /drivers/vcap300_isp.ko ch_id=0 range=1 --------
[ISP_INFO]: Found [GM_AE]
[ISP_INFO]: Found [GM_AWB]
[ISP_INFO]: Found [GM_AF]
[VCAP_INFO]: Register ISP Input Device
------ insmod /ipc/drv/favc_enc.ko config_path=/tmp h264e_max_b_frame=0 h264e_one_ref_buf=1 h264e_tight_buf=1 h264e_max_chn=2 h264e_max_width=1280 h264e_max_height=960 h264e_slice_offset=1 --------
FAVC Encoder v0.1.127.9, built @ Nov 18 2016 11:17:16 (GM8136)
[SC1135]set_exp=8 exp_line=24
------ insmod /ipc/drv/favc_rc.ko --------
H264 rate control(VG) version: 1.1.12[SC1135]set_exp=59 exp_line=177
.11, built @ Nov  9 2016 11:36:58
------ insmod /drivers/decoder.ko --------
[SC1135]set_exp=400 exp_line=1196
Decoder v1.0.3, built @ Mar 17 2015 14:12:14
------ insmod /drivers/sw_osg.ko --------
osg canvas is dynammic allocate mode
SWOSG ver 0.0.1
------ insmod /drivers/fscaler300.ko max_vch_num=3 max_minors=3 temp_width=0 temp_height=0 --------
SCALER version 141119, temp_width: 0, temp_height: 0 
fscaler300_init_one [0] NCNB
------ insmod /drivers/osd_dispatch.ko --------
------ insmod /ipc/drv/codec.ko --------
------ insmod /ipc/drv/audio_drv.ko audio_ssp_num=0,1 audio_ssp_chan=1,1 bit_clock=400000,400000 sample_rate=8000,8000 audio_out_enable=1,0 --------
audio_init: audio driver is inserted, minor version: 0224_1619
Record(SSP:0): stream->dma_buffer = 1554000(ffdec000), size:800, dma_ch: 1 
Playback(SSP:0): stream->dma_buffer = 1558000(ffde8000), size:800, dma_ch: 2
------ insmod /drivers/gs.ko reserved_ch_cnt=1 alloc_unit_size=65536 flow_mode=1 --------
gs.ko v1.5_fixed_timestamp_order Sep 15 2015 17:11:33
GS driver, log: level(0) category(0) bmp width(64)
------ insmod /drivers/loop_comm.ko --------
loop_comm.ko v0.5 Jan 13 2015 18:00:08
------ insmod /drivers/vpd_slave.ko config_path=/tmp vpslv_dbglevel=0 ddr0_sz=0 ddr1_sz=0 usr_func=0 usr_param=0 datain_minors=4 dataout_minors=8 --------
vpd_slave.ko v1.6_fixup_layout_rmmod Sep 14 2015 15:29:38
config_path="/tmp"
loopcomm slave init: Bus(101) getcp_bus(103) query_bs_bus(105) pack_membus(107)
Parsing CAP vg_info version: 0.3.7
vplib v2.0 Sep 14 2015 15:29:40
config_init v0.18 Sep 14 2015 15:29:48 /tmp/gmlib.cfg
-----------------------------------------------------------------------------------
; GM8136_1M(Tiny Memory) Product Configuration (Without LCD, MPEG4, Scaler Substream, Encode Switching)
[VERSION]
VERSION = 0.1

[GRAPH_TYPE]
; graph type: 1(DVR with display 3DI), 2(IPCAM)
graph_type = 2

[DISPLAY_GROUP]
; GROUP0 = lcd_vch0, lcd_vch1
; Display group method:
;   0(FRAME), 2(2FRAME), 3(2FRAME_2FRAME), 4(FRAME_FRAME)
GROUP0 = 0
METHOD0 = 0

[BITRATE]
min_compressed_ratio = 30
max_bitrate = 8M/10240K, 3M/8192K, 2M/4096K, 720P/4096K, D1/1024K, CIF/512K

[PLAYBACK]
; CONFIG1 = resolution_keywords/channels/total_fps/ddr_channel, ...
; default resolution keywords: 8M, 5M, 4M, 3M, 2M, 1.3M, 1M, nHD, 1080P, 720P, D1, VGA, CIF, QCIF

[PLAYBACK_3DI]
; CONFIG1 = resolution_keywords/channels/total_fps/ddr_channel, ...

[ENCODE_STREAMS]
; CONFIG1 = resolution_keywords/channels/total_fps/ddr_channel, ...
CONFIG1 = 1.3M/1/30/0, D1/1/30/0

[ENCODE_CAPTURE]
; CONFIG1 = resolution_keywords/channels/total_fps/ddr_channel, ...
CONFIG1 = 1.3M/1/30/0, D1/1/30/0

[ENCODE_SCALER]
; CONFIG1 = resolution keywords = channels/total_fps/ddr_channel, ...
;CONFIG1 = CIF/1/30/0

[ENCODE_DIDN]
; CONFIG1 = resolution_keywords/channels/total_fps/ddr_channel, ...
CONFIG1 = 1.3M/1/30/0, D1/1/30/0

[RAW_OUT]
; CONFIG1 = channels/total_fps/ddr_channel, ...

[LDC_OUT]
; CONFIG1 = channels/total_fps/ddr_channel, ...

[AUDIO]
; CONFIG1 = audio_keyword/channels/sample_rate/stereo/bits/ddr_vch
CONFIG1 = au_grab/1/16K/mono/16/0, au_render/1/16K/mono/16/0
max_frame_samples = 2048
grab_buffer_time = 768
render_buffer_time = 768

[BUFFER_DISPLAY]
; Display count lcd_vch/count/ddr_channel, lcd_vch/count/ddr_channel, ...
display_count = 0/0/0

; Playback 3DI input buffer count per channel
playback_3di_input_count = 0

; Playback scaler input buffer count per channel
playback_scaler_input_count = 0

[BUFFER_BITSTREAM]
; Playback bitstream data buffer: time/ddr_vch
datain_buffer_time = 0/0

; Record bitstream data buffer: time/ddr_vch
dataout_buffer_time = 231/0

[BUFFER_CAPTURE]
; Encode capture buffer three slop: fps/count, fps/count, fps/count
CONFIG2 = 1.3M/30/3, 1.3M/15/3, 1.3M/5/2
CONFIG3 = D1/30/3, D1/15/3, D1/5/2
capture_max_fps = 30

[BUFFER_ENCODE_DIDN]
; Encode substream scaler out buffer time
encode_didn_out_buffer_count = 2

[BUFFER_SUBSTREAM]
; Encode substream scaler out buffer time
encode_scaler_out_buffer_count = 0

[BUFFER_RAW]
raw_out_buffer_count = 0

[BUFFER_LDC]
ldc_out_buffer_count = 0

[ENCODE_MOTION]
; Enable motion data under specified resolution by "motion_resolution = D1, CIF..."
; motion_resolution = CIF

[SNAPSHOT]
yuv_max_width = 1
yuv_max_height = 1
max_bitstream_size = 1

[RESERVED_BUFFER]
; Reserved buffer ratio for seamless switching usage, such as 4CH 720P->4CH 1080P without any stop
; To reduce memory usage, set reserved_ratio = 0
reserved_ratio = 0

No support encode motion data information
-----------------------------------------------------------------------------------
   8M  3840x2160  max_frame: 3732480  average:  43690  motion:      0
   7M  3264x2176  max_frame: 3196108  average: 118374  motion:      0
   6M  3072x2048  max_frame: 2831155  average: 104857  motion:      0
   5M  2592x1952  max_frame: 2276812  average:  84326  motion:      0
   4M  2304x1728  max_frame: 1791590  average:  66355  motion:      0
   3M  2048x1536  max_frame: 1415577  average:  34952  motion:      0
1080P  1920x1088  max_frame:  940032  average:  17476  motion:      0
 1.3M  1280x1024  max_frame:  589824  average:  21845  motion:      0
 1.2M  1280x 960  max_frame:  552960  average:  20480  motion:      0
1080I  1920x 544  max_frame:  470016  average:  17408  motion:      0
   1M  1280x 800  max_frame:  460800  average:  17066  motion:      0
 720P  1280x 720  max_frame:  414720  average:  17476  motion:      0
 960H   960x 576  max_frame:  248832  average:   9216  motion:      0
 SVGA   800x 608  max_frame:  218880  average:   8106  motion:      0
 720I  1280x 368  max_frame:  211968  average:   7850  motion:      0
   D1   720x 576  max_frame:  186624  average:   4369  motion:      0
  VGA   640x 480  max_frame:  138240  average:   5120  motion:      0
  nHD   640x 368  max_frame:  105984  average:   3925  motion:      0
 2CIF   368x 608  max_frame:  100684  average:   3729  motion:      0
  HD1   720x 288  max_frame:   93312  average:   3456  motion:      0
  CIF   368x 288  max_frame:   47692  average:   2184  motion:      0
 QCIF   176x 144  max_frame:   20480  average:   2048  motion:      0

-----------------------------------------------------------------------------------
  disp0_in DDR0 0x0, method(0)
    (0KB x 1 + 0KB x 0)  x 0
    ==> 0KB (ddr0)

  enc_cap_out DDR0 1280x1024 1CH fps(30) factor(100)
           total_fps(30) aver(1CH/30fps/3)
  enc_cap_out DDR0 720x576 1CH fps(30) factor(100)
           total_fps(30) aver(1CH/30fps/3)
    2560KB x 3
    810KB x 3
    ==> 10122KB (ddr0)

  enc_out DDR0 1280x1024 1CH fps(30) time(33) aver_sz(21845) max_sz(589824) count(5)
  enc_out DDR0 720x576 1CH fps(30) time(33) aver_sz(4369) max_sz(186624) count(5)
    1734KB x 1 (win=576KB x2 aver=21KB x5)
    552KB x 1 (win=182KB x2 aver=4KB x5)
    ==> 2286KB (ddr0)

  enc_didn_out DDR0 1280x1024 1CH decuple(20)
  enc_didn_out DDR0 720x576 1CH decuple(20)
    2560KB x 2
    810KB x 2
    ==> 6748KB (ddr0)

  au_grab_out DDR0 1CH 16K tracks(1) bits(16) samples(2048) latency(768) count(6)
    8KB x 6
    ==> 60KB (ddr0)

  au_render_in DDR0 1CH 16K tracks(1) bits(16) samples(2048) latency(768) count(6)
    4KB x 6
    ==> 60KB (ddr0)

-----------------------------------------------------------------------------------
  Reserved buffer ratio=0
  DDR0 size=19276KB
-----------------------------------------------------------------------------------
#### Capture Count ####
 RES/FPS  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 40 45 50 55 60
3840x2160 0 0 0 0 0 0 0 0 0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
3264x2176 0 0 0 0 0 0 0 0 0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
3072x2048 0 0 0 0 0 0 0 0 0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
2592x1952 0 0 0 0 0 0 0 0 0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
2304x1728 0 0 0 0 0 0 0 0 0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
2048x1536 0 0 0 0 0 0 0 0 0  0  0  0  0  0  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1
1920x1088 1 1 1 1 1 1 1 1 1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1
1280x1024 2 2 2 2 2 2 2 2 2  2  2  2  2  2  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
1280x 960 2 2 2 2 2 2 2 2 2  2  2  2  2  2  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
1920x 544 2 2 2 2 2 2 2 2 2  2  2  2  2  2  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
1280x 800 2 2 2 2 2 2 2 2 2  2  2  2  2  2  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
1280x 720 2 2 2 2 2 2 2 2 2  2  2  2  2  2  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
 960x 576 2 2 2 2 2 2 2 2 2  2  2  2  2  2  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
 800x 608 2 2 2 2 2 2 2 2 2  2  2  2  2  2  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
1280x 368 2 2 2 2 2 2 2 2 2  2  2  2  2  2  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
 720x 576 2 2 2 2 2 2 2 2 2  2  2  2  2  2  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
 640x 480 2 2 2 2 2 2 2 2 2  2  2  2  2  2  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
 640x 368 2 2 2 2 2 2 2 2 2  2  2  2  2  2  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
 368x 608 2 2 2 2 2 2 2 2 2  2  2  2  2  2  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
 720x 288 2 2 2 2 2 2 2 2 2  2  2  2  2  2  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
 368x 288 2 2 2 2 2 2 2 2 2  2  2  2  2  2  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
 176x 144 2 2 2 2 2 2 2 2 2  2  2  2  2  2  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3  3
-----------------------------------------------------------------------------------
bufferSea_ddr0     19276 KB + 0 KB(reserved)
                   (cacheable)
-----------------------------------------------------------------------
enc_cap_out 10122 KB (DDR0)
                  fill enc_cap_out pattern 0x10801080
                  DDR0 pool free size 9154KB.
 enc_bs_out  2286 KB (DDR0)
                  DDR0 pool free size 6868KB.
enc_3di_out  6748 KB (DDR0)
                  DDR0 pool free size 120KB.
au_grab_out    60 KB (DDR0)
                  DDR0 pool free size 60KB.
au_render_in    60 KB (DDR0)
                  DDR0 pool free size 0KB.
datain v0.2 Sep 14 2015 15:29:47
dataout v0.6 Sep 14 2015 15:29:52
osd_mg_database_init......osd_type:0
osd_mg_database_init......osd_type:1
osd_mg_database_init......osd_type:2
usr_decode v0.1 Sep 14 2015 15:29:59
usr_snapshot v0.18 Sep 14 2015 15:29:59 (1x1, 0KB)
usr_getraw v0.5 Sep 14 2015 15:30:00
usr_cap_source v0.5 Sep 14 2015 15:30:00
usr_osg v1.9 Sep 14 2015 15:30:01
usr_osg: (ch_table) 4 ,-1 ,
usr_process v0.1 Sep 14 2015 15:29:56
------ insmod /drivers/vpd_master.ko vpd_dbglevel=0 gmlib_dbglevel=0 --------
videograph ioctl v0.44
vpd_master.ko v1.2_fixup_rmmod Sep 14 2015 15:29:32
vpd_master: chipnr=0.
loopcomm master init: pack_membus(8106)
Slave 0:1 is ready(1).
vpslv set vpslv_dbglevel=0
------ insmod /drivers/gd25q.ko --------
gd25q Device Driver OK

Frammap: 1207 pages in DDR0 are freed. 
Set EM debug level(0) (0:quiet 1:get/put 2:property 3:semaphore)

Set GraphService debug level(0). (0 for error, 1 for flow, 2 for detail.)
Set MemoryService debug level(0).
Set datain debug level(0)
Set dataout debug level(0)
vpslv set vpslv_dbglevel=0
Set VPD debug level(0).
Debug Level:0

        +------------------------------------------------+
             Hello Server World @1970-01-01.00:00:10!!
        +------------------------------------------------+
        
<log_0> [j_schedule.c:80]:init sche_thread:0x30e1a0
[j_schedule.c:   67] start sche_thread:0x30e1a0 pid:204 ppid:52
<log_0> [j_event.c:437]:new event loop:0x30e280
<log_0> [j_schedule.c:195]:new sched:0x30e140
[ctrl/system_main.cpp:  117] init support str_dev_type:base str_platform:danale ...
[-DBG-] [ctrl/system_ctrl.c:  522] systemType:secure=1 sensor=15 cpufreq=715
[-DBG-] [conf/jconfig.cpp: 4999] config init
[ctrl/system_main.cpp:  126] init JCPCMD...
[jcp/jcpService.cpp:   60] success create socket (socket:8)
I am recving: ethcfg -act list
[ctrl/system_main.cpp:  130] init Encode...
[-ENC-] [encode/system/encode_system.c:  111] --- gstVencSystem:[8] 
[-ENC-] [encode/isp/encode_isp.c: 1186] --- dwChipId:0x8136  dwDriverVer:0x10403 dwInputInfVer:0x10000 dwAlgInfVer:0x10000 
[-DBG-] [src/pthread_manage.cpp:   92] Init pthreadManage...
[src/pthread_manage.cpp:   74] pthread_info [capture_audio_thread] ppid:222 pid:203
[-DBG-] [src/pthread_manage.cpp:   75] thread begin = capture_audio_thread, pid = 222
[-ENC-] [encode/audio/encode_captureaudio.c:  298] --- Now audio_process is start 
[src/pthread_manage.cpp:   74] pthread_info [play_audio_process] ppid:223 pid:203
[-DBG-] [src/pthread_manage.cpp:   75] thread begin = play_audio_process, pid = 223
[-ENC-] [encode/audio/encode_playaudio.c:  329] --- Now play_audio_process is start 
[-ENC-] [encode/encode/encode_encode.c: 1084] --- gm_system framerate:25 
[-ENC-] [encode/encode/encode_encode.c: 1085] --- gm_system width:1280 
[-ENC-] [encode/encode/encode_encode.c: 1086] --- gm_system height:960 
[-ENC-] [encode/stream/encode_stream.c:   62] --- encode_stream_init is OK 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:0 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:1 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:2 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:3 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:4 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:5 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:6 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:7 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:8 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:9 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:0 
[-ENC-] [encode/osd/encode_osd.c:  474] --- Font register Before 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:: 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:- 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:= 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:K 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:F 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:R 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:B 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:T 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:E 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:S 
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/osd/encode_osd.c:  458] --- dwText:  
[-ENC-] [encode/osd/encode_osd.c:  478] --- Font register Now 
[-ENC-] [encode/encode/encode_encode.c: 1103] --- encode_encode_init is OK!
[-ENC-] [encode/message/encode_message.c:  967] --- Enter message Init...
[-ENC-] [encode/message/encode_message.c:   73] --- cb video chage of profile
[src/pthread_manage.cpp:   74] pthread_info [encode_process_thread] ppid:226 pid:203
[-DBG-] [src/pthread_manage.cpp:   75] thread begin = encode_process_thread, pid = 226
gm_poll: No vaild bindfd! num_fds = 2.
  Not existed bindfd list (maybe already removed):
    0,0,
[*ERR*] [encode/encode/encode_encode.c:  957] *** gm_poll error=-1
[src/pthread_manage.cpp:   74] pthread_info [timer_thread] ppid:225 pid:203
[-DBG-] [src/pthread_manage.cpp:   75] thread begin = timer_thread, pid = 225
[-ENC-] [encode/timer/encode_timer.c:   24] --- Now timer_process is start 
[-ENC-] [encode/isp/encode_isp.c: 1673] --- eDayNightType:1 
[src/pthread_manage.cpp:   74] pthread_info [imagetune_process_thread] ppid:224 pid:203
[-DBG-] [src/pthread_manage.cpp:   75] thread begin = imagetune_process_thread, pid = 224
[-ENC-] [encode/imagetune/encode_imagetune.c:  765] --- imagetune_server_init 
gm_poll: No vaild bindfd! num_fds = 2.
  Not existed bindfd list (maybe already removed):
    0,0,
[*ERR*] [encode/encode/encode_encode.c:  957] *** gm_poll error=-1
gm_poll: No vaild bindfd! num_fds = 2.
  Not existed bindfd list (maybe already removed):
    0,0,
[*ERR*] [encode/encode/encode_encode.c:  957] *** gm_poll error=-1
[-ENC-] [encode/message/encode_message.c:  193] --- gnum:2 
[-ENC-] [encode/message/encode_message.c:  197] --- id:0 
[-ENC-] [encode/message/encode_message.c:  198] --- enable:1 
[-ENC-] [encode/message/encode_message.c:  199] --- codec:2 
[-ENC-] [encode/message/encode_message.c:  200] --- vencsize:8 
[-ENC-] [encode/message/encode_message.c:  201] --- standard:0 
[-ENC-] [encode/message/encode_message.c:  202] --- fps:25 
[-ENC-] [encode/message/encode_message.c:  203] --- bps:3072 
[-ENC-] [encode/message/encode_message.c:  204] --- gop:25 
[-ENC-] [encode/message/encode_message.c:  205] --- fixfps:1 
[-ENC-] [encode/message/encode_message.c:  206] --- fixbps:0 
[-ENC-] [encode/message/encode_message.c:   53] --- vencsize:[8] profile:[0] 
[-ENC-] [encode/message/encode_message.c:  197] --- id:1 
[-ENC-] [encode/message/encode_message.c:  198] --- enable:1 
[-ENC-] [encode/message/encode_message.c:  199] --- codec:2 
[-ENC-] [encode/message/encode_message.c:  200] --- vencsize:7 
[-ENC-] [encode/message/encode_message.c:  201] --- standard:0 
[-ENC-] [encode/message/encode_message.c:  202] --- fps:15 
[-ENC-] [encode/message/encode_message.c:  203] --- bps:512 
[-ENC-] [encode/message/encode_message.c:  204] --- gop:15 
[-ENC-] [encode/message/encode_message.c:  205] --- fixfps:1 
[-ENC-] [encode/message/encode_message.c:  206] --- fixbps:0 
[-ENC-] [encode/message/encode_message.c:   53] --- vencsize:[7] profile:[0] 
[-ENC-] [encode/message/encode_message.c:   77] --- cb video chage of videocfg
[-ENC-] [encode/message/encode_message.c:  193] --- gnum:2 
[-ENC-] [encode/message/encode_message.c:  197] --- id:0 
[-ENC-] [encode/message/encode_message.c:  198] --- enable:1 
[-ENC-] [encode/message/encode_message.c:  199] --- codec:2 
[-ENC-] [encode/message/encode_message.c:  200] --- vencsize:8 
[-ENC-] [encode/message/encode_message.c:  201] --- standard:0 
[-ENC-] [encode/message/encode_message.c:  202] --- fps:25 
[-ENC-] [encode/message/encode_message.c:  203] --- bps:3072 
[-ENC-] [encode/message/encode_message.c:  204] --- gop:25 
[-ENC-] [encode/message/encode_message.c:  205] --- fixfps:1 
[-ENC-] [encode/message/encode_message.c:  206] --- fixbps:0 
[-ENC-] [encode/message/encode_message.c:   53] --- vencsize:[8] profile:[0] 
[-ENC-] [encode/message/encode_message.c:  197] --- id:1 
[-ENC-] [encode/message/encode_message.c:  198] --- enable:1 
[-ENC-] [encode/message/encode_message.c:  199] --- codec:2 
[-ENC-] [encode/message/encode_message.c:  200] --- vencsize:7 
[-ENC-] [encode/message/encode_message.c:  201] --- standard:0 
[-ENC-] [encode/message/encode_message.c:  202] --- fps:15 
[-ENC-] [encode/message/encode_message.c:  203] --- bps:512 
[-ENC-] [encode/message/encode_message.c:  204] --- gop:15 
[-ENC-] [encode/message/encode_message.c:  205] --- fixfps:1 
[-ENC-] [encode/message/encode_message.c:  206] --- fixbps:0 
[-ENC-] [encode/message/encode_message.c:   53] --- vencsize:[7] profile:[0] 
[-ENC-] [encode/message/encode_message.c:  351] --- ----------------------Mask----------------------------
[-ENC-] [encode/message/encode_message.c:  352] --- gnum:8 
[-ENC-] [encode/message/encode_message.c:  355] --- id:0 
[-ENC-] [encode/message/encode_message.c:  356] --- enable:0 
[-ENC-] [encode/message/encode_message.c:  357] --- color:0 
[-ENC-] [encode/message/encode_message.c:  358] --- x0:0 
[-ENC-] [encode/message/encode_message.c:  359] --- y0:0 
[-ENC-] [encode/message/encode_message.c:  360] --- x1:0 
[-ENC-] [encode/message/encode_message.c:  361] --- y1:0 
[-ENC-] [encode/message/encode_message.c:  355] --- id:1 
[-ENC-] [encode/message/encode_message.c:  356] --- enable:0 
[-ENC-] [encode/message/encode_message.c:  357] --- color:0 
[-ENC-] [encode/message/encode_message.c:  358
##### Apply #1 #####
] --- x0:0 
[-ENC-] [encode/message/encode_message.c:  359] --- y0:0 
[-ENC-] [encode/message/encode_message.c:  360] --- x1:0 
[-ENC-] [encode/message/encod
##### Apply #2 #####
e_message.c:  361] --- y1:0 
[-ENC-] [encode/message/encode_message.c:  355] --- id:2 
[-ENC-] [encode/message/encode_message.c:  356] --- enable:0 
[-ENC-] [encode/message/encode_message.c:  357] --- color:0 
[-ENC-] [encode/message/encode_message.c:  358] --- x0:0 
[-ENC-] [encode/message/encode_message.c:  359] --- y0:0 
[-ENC-] [encode/message/encode_message.c:  360] --- x1:0 
[-ENC-] [encode/message/encode_message.c:  361] --- y1:0 
[-ENC-] [encode/message/encode_message.c:  355] --- id:3 
[-ENC-] [encode/message/encode_message.c:  356] --- enable:0 
[-ENC-] [encode/message/encode_message.c:  357] --- color:0 
[-ENC-] [encode/message/encode_message.c:  358] --- x0:0 
[-ENC-] [encode/message/encode_message.c:  359] --- y0:0 
[-ENC-] [encode/message/encode_message.c:  360] --- x1:0 
[-ENC-] [encode/message/encode_message.c:  361] --- y1:0 
[-ENC-] [encode/message/encode_message.c:  355] --- id:4 
[-ENC-] [encode/message/encode_message.c:  356] --- enable:0 
[-ENC-] [encode/message/encode_message.c:  357] --- color:0 
[-ENC-] [encode/message/encode_message.c:  358] --- x0:0 
[-ENC-] [encode/message/encode_message.c:  359] --- y0:0 
[-ENC-] [encode/message/encode_message.c:  360] --- x1:0 
[-ENC-] [encode/message/encode_message.c:  361] --- y1:0 
[-ENC-] [encode/message/encode_message.c:  355] --- id:5 
[-ENC-] [encode/message/encode_message.c:  356] --- enable:0 
[-ENC-] [encode/message/encode_message.c:  357] --- color:0 
[-ENC-] [encode/message/encode_message.c:  358] --- x0:0 
[-ENC-] [encode/message/encode_message.c:  359] --- y0:0 
[-ENC-] [encode/message/encode_message.c:  360] --- x1:0 
[-ENC-] [encode/message/encode_message.c:  361] --- y1:0 
[-ENC-] [encode/message/encode_message.c:  355] --- id:6 
[-ENC-] [encode/message/encode_message.c:  356] --- enable:0 
[-ENC-] [encode/message/encode_message.c:  357] --- color:0 
[-ENC-] [encode/message/encode_message.c:  358] --- x0:0 
[-ENC-] [encode/message/encode_message.c:  359] --- y0:0 
[-ENC-] [encode/message/encode_message.c:  360] --- x1:0 
[-ENC-] [encode/message/encode_message.c:  361] --- y1:0 
[-ENC-] [encode/message/encode_message.c:  355] --- id:7 
[-ENC-] [encode/message/encode_message.c:  356] --- enable:0 
[-ENC-] [encode/message/encode_message.c:  357] --- color:0 
[-ENC-] [encode/message/encode_message.c:  358] --- x0:0 
[-ENC-] [encode/message/encode_message.c:  359] --- y0:0 
[-ENC-] [encode/message/encode_message.c:  360] --- x1:0 
[-ENC-] [encode/message/encode_message.c:  361] --- y1:0 
[-ENC-] [encode/message/encode_message.c:  363] --- -----------------------------------------------------
[-ENC-] [encode/encode/encode_encode.c:  623] --- ptVideoEnc:[0][1][2][8][0][25][3072][25][1][0][0][40][1]
[-ENC-] [encode/encode/encode_encode.c:  623] --- ptVideoEnc:[1][1][2][7][0][15][512][15][1][0][0][40][1]
Error set_rec_for_3di, encode type(1) cap->di(0x0)
Error set_rec_for_3di, encode type(1) cap->di(0x0)
Error set_rec_for_3di, encode type(1) cap->di(0x0)
[-ENC-] [encode/encode/encode_encode.c:  634] --- encode message is change ok
[-ENC-] [encode/message/encode_message.c:  248] --- motion detect enable:0 thresh:50 
[-ENC-] [encode/encode/encode_encode.c:  674] --- MB:enable:0 thresh:0 mbdesc:
[-ENC-] [encode/motion/encode_motion.c:  207] --- encode_motion_set_param is Start 
[-ENC-] [encode/message/encode_message.c:  249] --- mbdesc:0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000, 
input_mode = 1
[SC1135]set_exp=400 exp_line=1196
[-ENC-] [encode/motion/encode_motion.c:  182] --- Motion Dectect thresh:15 
[-ENC-] [encode/motion/encode_motion_alg.c:   50] --- dwWinNumber:32 
[-ENC-] [encode/motion/encode_motion.c:  213] --- encode_motion_set_param is OK 
[-ENC-] [encode/encode/encode_encode.c:  701] --- ptVideoMask [8][-0-][0][0][0][0][0][0][-1-][0][0][0][0][[SC1135]set_exp=400 exp_line=1196
0][0]
[-ENC-] [encode/message/encode_message.c:  304] --- VideoLoss:[0][1]
[-ENC-] [encode/infrared/encode_infrared.c:  272] --- eInfraredMode:0 dwTurnOnLux:50 
[-ENC-] [encode/message/encode_message.c:  659] --- video 3a ae:0 awb:0 blc:0 redgain:128 bluegain:128 lowlightEnhance:0
[-ENC-] [encode/encode/encode_encode.c:  722] --- ptOsdInfo [1][20][16][1][20][60][0][20][440][default]
[-ENC-] [encode/encode/encode_encode.c:  738] --- ptOsdStyle [0][0][48][48]
[-ENC-] [encode/encode/encode_encode.c:  757] --- ptOsdExpand [0][0][0][0][0][0][custom]
[-ENC-] [encode/common/encode_common.c:  310] --- [msec:3000]  [count=1] 
[-ENC-] [encode/encode/encode_encode.c:  674] --- MB:enable:0 thresh:50 mbdesc:0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,
[-ENC-] [encode/motion/encode_motion.c:  207] --- encode_motion_set_param is Start 
[-ENC-] [encode/infrared/encode_infrared.c:   44] --- encode_ircut_red_glass 
[SC1135]set_exp=400 exp_line=1196
[SC1135]adjust_vblk fps=25 frame_len_lines=1200
[SC1135]set_exp=398 exp_line=1195
[SC1135]set_exp=400 exp_line=1196
[-ENC-] [encode/motion/encode_motion.c:  182] --- Motion Dectect thresh:7 
[-ENC-] [encode/motion/encode_motion_alg.c:   50] --- dwWinNumber:32 
[-ENC-] [encode/motion/encode_motion.c:  213] --- encode_motion_set_param is OK 
[-ENC-] [encode/encode/encode_encode.c:  773] --- ptCapture [5][5][1][0]
[-ENC-] [encode/message/encode_me[SC1135]set_exp=400 exp_line=1196
ssage.c:  726] --- denoise enable:1 mode:50 
[-ENC-] [encode/audio/encode_playaudio.c:  243] --- audioport:8004
[-ENC-] [encode/isp/encode_isp.c:  377] --- isp set fps=25
[SC1135]adjust_vblk fps=25 frame_len_lines=1200
[SC1135]set_exp=398 exp_line=1195
[SC1135]set_exp=400 exp_line=1196
[SC1135]set_exp=400 exp_line=1196
[-ENC-] [encode/isp/encode_isp.c:  409] --- isp set exp=400 realfps=25
[SC1135]adjust_vblk fps=25 frame_len_lines=1200
[SC1135]set_exp=398 exp_line=1195
[SC1135]set_exp=400 exp_line=1196
[-ENC-] [encode/message/encode_message.c:  747] --- [ROI] gnum:8 
[-ENC-] [encode/message/encod[SC1135]adjust_vblk fps=25 frame_len_lines=1200
e_message.c:  760] --- [ROI] id:[SC1135]set_exp=398 exp_line=1195
0 qp:95 interval:0 enable:0 left:0 top:0 right:0 bottom:0
[-ENC-] [encode/message/encode_message.c:  760] --- [ROI] id:1 qp:95 interval:0 enable:0 left:0 top:0 right:0 bottom:0
[-ENC-] [encode/message/encode_message.c:  760] --- [ROI] id:2 qp:95 interval:0 enable:0 left:0 top:0 right:0 bottom:0
[-ENC-] [encode/messa
##### Apply #3 #####
ge/encode_message.c:  760] --- [ROI] id:3 qp:95 interval:0 enable:0 left:0 top:0 right:0 bottom:0
[-ENC-] [enco[SC1135]set_exp=400 exp_line=1196
de/message/encode_message.c:  760] --- [ROI] id:4 qp:95 interval:0 enable:0 left:0 top:0 right:0 bottom:0
[-ENC-] [encode/message/encode_message.c:  760] --- [ROI] id:5 qp:95 interval:0 enable:0 left:0 top:0 right:0 bottom:0
[-ENC-] [encode/message/encode_message.c:  760] --- [ROI] id:6 qp:95 interval:0 enable:0 left:0 top:0 right:0 bottom:0
[-ENC-] [encode/message/encode_message.c:  760] --- [ROI] id:7 qp:95 interval:0 enable:0 left:0 top:0 right:0 bottom:0
[-ENC-] [encode/message/encode_message.c:  794] --- bright:128 
[-ENC-] [encode/message/encode_message.c:  795] --- contrast:128 
[-ENC-] [encode/message/encode_message.c:  796] --- hue:128 
[-ENC-] [encode/message/encode_message.c:  797] --- saturation:128 
[-ENC-] [encode/message/encode_message.c:  798] --- sharpness:128 
[-ENC-] [encode/message/encode_message.c:  799] --[SC1135]adjust_vblk fps=25 frame_len_lines=1200
- lampfrequency:1 
[-ENC-] [enc[SC1135]set_exp=398 exp_line=1195
ode/message/encode_message.c:  800] --- reverse:0 
[-ENC-] [encode/message/encode_message.c:  801] --- gain:128 
[-ENC-] [encode/message/encode_message.c:  802] --- nightluma:35 
[-ENC-] [encode/message/encode_message.c:  803] --- contrast enhance enable:0
[-ENC-] [encode/message/encode_message.c:  804] --- brightlevel:3
[-ENC-] [encode/encode/encode_encode.c:  271] --- ROI: gnum=8 bEnable=0 vencsize=8
[-ENC-] [encode/encode/encode_encode.c:  271] --- ROI: gnum=8 bEnable=0 vencsize=7
Error set_rec_for_3di, encode type(1) cap->di(0x[SC1135]set_exp=400 exp_line=1196
0)
Error set_rec_for_3di, encode type(1) cap->di(0x0)
[-ENC-] [encode/isp/encode_isp.c:  377] --- isp set fps=25
[SC1135]set_exp=400 exp_line=1196
[-ENC-] [encode/isp/encode_isp.c:  409] --- isp set exp=400 realfps=25
[-ENC-] [encode/message/encode_message.c:  275] --- MaskAlarm:[0][50]
[-ENC-] [encode/message/encode_message.c:  841] --- [BlackMargin]width:0 height:0 posx:0 posy:0 
[-ENC-] [encode/message/encode_message.c:  875] --- [LensSCS]eLSCMode:1[SC1135]set_exp=400 exp_line=1196
 ratio:0 
[ctrl/system_main.cpp:  133] init Stream...
[ctrl/system_main.cpp:  136] init HttpOnvif...
[stream/mediaServer/StreamMediaServer.cpp:   27] thread: stream_thread_fun, ppid: 242, pid: 203
[-DBG-] [stream/mediaServer/RealtimeRTSPServer.cpp:  210] fAuthType: 0
[-DBG-] [stream/mediaServer/RealtimeRTSPServer.cpp:  174] enccig.gnum: 2
[-DBG-] [stream/mediaServer/RealtimeRTSPServer.cpp:  198] faudio codetype:2 amrbps:2
[-DBG-] [http/http_main.c:   75] ---- shm_cache_reader_init start -----
[-DBG-] [http/http_main.c:   88] ---- shm_cache_reader_init over  -----
[*ERR*] [http/onvif_new/onvifprofile.cpp:  123] getIpaddrAndMac failed
[http/onvif_new/discover.cpp:  213] thread: COnvifDiscover Run, ppid: 245, pid: 203
[-DBG-] [http/onvif_new/onvifprofile.cpp:  331] InitCapabilities() inited success
[http/thttpd.c:  350] thread: thttpd_main, ppid: 244, pid: 203
[-DBG-] [http/thttpd.c:  399] ++++++++++++++++++++sysconf port:80
[-ENC-] [encode/common/encode_common.c:  310] --- [msec:3000]  [count=74] 
[conf/conf_nand.c:  554] can't find maxheight= in mem=64M gmmem=30M console=ttyS0,115200 user_debug=31 init=/squashfs_init root=/dev/mtdblock3 rootfstype=squashfs mtdparts=nor-flash:0x40000@0x10000(sf-bootloader),0x10000@0x50000(sf-bootenv),0x170000@0x60000(sf-kernel),0x210000@0x1D0000(sf-rootfs),0x370000@0x3E0000(sf-ipcfs),0xB0000@0x750000(sf-miscfs) sensor=SC1135 cpu=GM8135S ddr=SINGLE64M flash=SF rtc=NONE device_id=22000425146 ethaddr=00:66:78:06:7c:ba devinfo=jcoxa201704281b149fe11599f15e1be93fec5fe6366e000577h1ia8

[conf/conf_nand.c:  554] can't find lensIRCut= in mem=64M gmmem=30M console=ttyS0,115200 user_debug=31 init=/squashfs_init root=/dev/mtdblock3 rootfstype=squashfs mtdparts=nor-flash:0x40000@0x10000(sf-bootloader),0x10000@0x50000(sf-bootenv),0x170000@0x60000(sf-kernel),0x210000@0x1D0000(sf-rootfs),0x370000@0x3E0000(sf-ipcfs),0xB0000@0x750000(sf-miscfs) sensor=SC1135 cpu=GM8135S ddr=SINGLE64M flash=SF rtc=NONE device_id=22000425146 ethaddr=00:66:78:06:7c:ba devinfo=jcoxa201704281b149fe11599f15e1be93fec5fe6366e000577h1ia8

[conf/conf_nand.c:  933] read sensor[SC1135] and maxheight[960]
[-DBG-] [http/onvif_new/onvifutils.cpp:   72] maxheight = 960
[-DBG-] [http/onvif_new/onvifutils.cpp:  104] Max : 1280*960
[-DBG-] [http/onvif_new/onvifprofile.cpp:  360] availableSize num : 7
[-DBG-] [http/onvif_new/onvifprofile.cpp:  381] sys_msg_cmd_get_vechn veChnSize=2
[-DBG-] [http/onvif_new/onvifprofile.cpp:  419] sys_msg_cmd_get_veparam cameraid=0, veChn=8, width=1280, height=960, bps=3072, fps=25, gop=25
[-DBG-] [http/onvif_new/onvifutils.cpp:  255] packBase64 : zwA=
[-DBG-] [http/onvif_new/onvifprofile.cpp:  419] sys_msg_cmd_get_veparam cameraid=0, veChn=7, width=640, height=480, bps=512, fps=15, gop=15
[-DBG-] [http/onvif_new/onvifutils.cpp:  255] packBase64 : zwA=
[-DBG-] [http/onvif_new/onvifprofile.cpp:  813] LoadProfiles() inited success
[-DBG-] [http/onvif_new/eventhandle.cpp:  133] new a EventHandle ......!!!
[*ERR*] [http/onvif_new/discover.cpp:  382] getIpaddrAndMac failed
[http/onvif_new/eventhandle.cpp:  160] thread: EventHandle Run, ppid: 247, pid: 203
[ctrl/system_main.cpp:  146] init timezone...
[-DBG-] [src/time_call.cpp:   31] new time engine:0x38da38
[src/time_call.cpp:   62] [getpid():203 pid:249] time call main loop...
[record/record_delay_email.cpp:   49] delay_email_handle_exec: syscall(SYS_gettid):248, getpid():203
[-DBG-] [src/time_call.cpp:   31] new time engine:0x38dae0
[src/time_call.cpp:   62] [getpid():203 pid:250] time call main loop...
[ctrl/system_main.cpp:  157] init Alarm...
[-ENC-] [encode/infrared/encode_infrared.c:  319] --- eDayOrNight:4 change to night:1 
[-ENC-] [encode/encode/encode_encode.c:  674] --- MB:enable:0 thresh:50 mbdesc:0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,0000000000000000000000,
[-ENC-] [encode/motion/encode_motion.c:  207] --- encode_motion_set_param is Start 
[-ENC-] [encode/motion/encode_motion.c:  182] --- Motion Dectect thresh:7 
[-ENC-] [encode/motion/encode_motion_alg.c:   50] --- dwWinNumber:32 
[-ENC-] [encode/motion/encode_motion.c:  213] --- encode_motion_set_param is OK 
Error set_rec_for_3di, encode type(1) cap->di(0x0)
Error set_rec_for_3di, encode type(1) cap->d
##### Apply #4 #####
i(0x0)
Error set_rec_for_3di, encode type(1) cap->di(0x0)
Error set_rec_for_3di, encode type(1) cap->di(0x0)
[-DBG-] [src/JTimeCallService.h:   41] new time call:Capacity Check
[-DBG-] [alarm/alarm_service.cpp:   87] init_link_param
[-DBG-] [alarm/alarm_service.cpp:  473] event type = 31
[-DBG-] [alarm/alarm_service.cpp:  481] JEvent_VideoLossLinkCfgChg
[-DBG-] [alarm/alarm_service.cpp:  473] event type = 32
[-DBG-] [alarm/alarm_service.cpp:  489] JEvent_MotionDetLinkCfgChg
[-DBG-] [alarm/alarm_service.cpp:  473] event type = 33
[-DBG-] [alarm/alarm_service.cpp:  499] JEvent_AlarmInLinkCfgChg
[-DBG-] [alarWDT base virtual address = 85344000
m/alarm_service.ftwdt010dog_ioctl, watchdog is disabled! 
cpp:  473] eventftwdt010dog_ioctl, watchdog is enabled! timeout: 60s
 type = 58
[-DBG-] [alarm/alarm_service.cpp:  507] JEvent_IpConflictCfgChg
[-DBG-] [alarm/alarm_service.cpp:  473] event type = 59
[-DBG-] [alarm/alarm_service.cpp:  515] JEvent_IpBrokenCfgChg
[-DBG-] [alarm/alarm_service.cpp:  473] event type = 22
[-DBG-] [alarm/alarm_service.cpp:  523] JEvent_MotionDetectCfgChg
[-DBG-] [alarm/alarm_service.cpp:  473] event type = 23
[-DBG-] [alarm/alarm_service.cpp:  531] JEvent_AlarmInCfgChg
[-DBG-] [alarm/alarm_service.cpp:  473] event type = 25
[-DBG-] [alarm/alarm_service.cpp:  539] JEvent_AlarmInCfgChg
[-DBG-] [alarm/alarm_service.cpp:  473] event type = 95
[-DBG-] [alarm/alarm_service.cpp:  547] JEvent_DiskAlarmCfgChg
[-DBG-] [alarm/alarm_service.cpp:  473] event type = 96
[-DBG-] [alarm/alarm_service.cpp:  555] JEvent_DiskErrorLinkCfg
[-DBG-] [alarm/alarm_service.cpp:  473] event type = 97
[-DBG-] [alarm/alarm_service.cpp:  563] JEvent_DiskFullLinkCfg
[-DBG-] [alarm/alarm_service.cpp:  473] event type = 98
[-DBG-] [alarm/alarm_service.cpp:  571] JEvent_VMaskAlarmCfg
[-DBG-] [alarm/alarm_service.cpp:  473] event type = 99
[-DBG-] [alarm/alarm_service.cpp:  579] JEvent_VMaskAlarmLinkCfg
<log_0> [j_schedule.c:80]:init sche_thread:0x38e160
[j_schedule.c:   67] start sche_thread:0x38e160 pid:253 ppid:52
<log_0> [j_event.c:437]:new event loop:0x38e240
<log_0> [j_schedule.c:195]:new sched:0x38e100
[ctrl/system_main.cpp:  160] init client wdt log config
[-DBG-] [ctrl/system_ctrl.c:  275] timeout = 5
[-DBG-] [ctrl/system_ctrl.c:  279] timeout = 60
[-DBG-] [ctrl/system_ctrl.c:  282] 0
[-DBG-] [ctrl/system_ctrl.c:  285] 0
[-DBG-] [src/JTimeCallService.h:   41] new time call:watch dog
[-DBG-] [src/JTimeCallService.h:   41] new time call:log_client_sync
[-DBG-] [src/JTimeCallService.h:   41] new time call:confSyncHanding
[ctrl/system_main.cpp:  166] init client autoreboot
[-DBG-] [src/JTimeCallService.h:   41] new time call:watch auto reboot
[ctrl/system_main.cpp:  169] init client default
[ctrl/system_main.cpp:  172] init client iplink
[-DBG-] [src/JTimeCallService.h:   41] new time call:net_link_status
[-DBG-] [net/net_check.cpp:  122] eth0 (our ip) = 192.168.1.217
[-DBG-] [net/net_check.cpp:  130] interfaces:eth0 dapter index 2
[-DBG-] [net/net_check.cpp:  139] interfaces:eth0 adapter hardware address 00:66:78:06:7c:ba
[-DBG-] [src/JTimeCallService.h:   41] new time call:ip_conflict
<log_0> [j_schedule.c:80]:init sche_thread:0x391d48
[j_schedule.c:   67] start sche_thread:0x391d48 pid:254 ppid:52
<log_0> [j_event.c:437]:new event loop:0x391e28
<log_0> [j_schedule.c:195]:new sched:0x391ce8
[ctrl/system_main.cpp:  175] init client ntp
[-DBG-] [time/time_config.c:  407] PORT = 123
[ctrl/system_main.cpp:  178] init client upnp
[ctrl/system_main.cpp:  181] init client ddns
[ctrl/system_main.cpp:  184] init client pppoe
[-DBG-] [src/JTimeCallService.h:   41] new time call:cpu usage
[ctrl/system_main.cpp:  191] init server update...
[ctrl/system_main.cpp:  194] init server search...
<log_0> [j_schedule.c:80]:init sche_thread:0x3a2da0
[j_schedule.c:   67] start sche_thread:0x3a2da0 pid:255 ppid:52
<log_0> [j_event.c:437]:new event loop:0x3a2ea8
<log_0> [j_schedule.c:195]:new sched:0x3a2d40
[-DBG-] [net/net_check.cpp:  122] eth0 (our ip) = 192.168.1.217
[-DBG-] [net/net_check.cpp:  130] interfaces:eth0 dapter index 2
[-DBG-] [net/net_check.cpp:  139] interfaces:eth0 adapter hardware address 00:66:78:06:7c:ba
<log_0> [j_schedule.c:80]:init sche_thread:0x3a3cb8
[j_schedule.c:   67] start sche_thread:0x3a3cb8 pid:257 ppid:52
<log_0> [j_event.c:437]:new event loop:0x3a3d98
<log_0> [j_schedule.c:195]:new sched:0x3a3c68

##### Apply #5 #####
[-DBG-] [danale/danale_server.c:  108] create thread success
[danale/danale_server.c:   78] thread: danale_server,	tid: 261, pid : 203
[-ENC-] [encode/common/encode_common.c:  310] --- [msec:3000]  [count=61] 
[-DBG-] [net/net_check.cpp:  549] ip can use, nTimeStable=24
[-ENC-] [encode/common/encode_common.c:  310] --- [msec:3000]  [count=76] 
[upgrade/update_service.cpp:  138] success create socket (socket:54)
[upgrade/update_service.cpp:  160] bind (port:8006)
[upgrade/update_service.cpp:  172] Start listening.................
[upgrade/update_service.cpp:   74] create listening succ
[-ENC-] [encode/common/encode_common.c:  310] --- [msec:3000]  [count=76] 
[-ENC-] [encode/common/encode_common.c:  310] --- [msec:3000]  [count=76] 
[-ENC-] [encode/common/encode_common.c:  310] --- [msec:3000]  [count=75] 
[-DBG-] [net/net_check.cpp:  549] ip can use, nTimeStable=12
[-ENC-] [encode/common/encode_common.c:  310] --- [msec:3000]  [count=75] 
[-ENC-] [encode/common/encode_common.c:  310] --- [msec:3000]  [count=76] 

把串口线焊上,电脑插入usb转ttl线,串口输出正常了.

从输出的日志来看,官网是这个了: http://www.cnjabsco.com/

离线

#6 2018-04-09 18:37:55

sunwei
会员
注册时间: 2018-04-09
累计发帖: 58

Re: GM8135s入坑记录

国科GK7102  rt-thread-3.0.3\rt-thread-3.0.3\bsp\gkipc 这个也可以整一整

离线

#7 2018-04-09 18:39:45

sunwei
会员
注册时间: 2018-04-09
累计发帖: 58

离线

#8 2018-04-09 21:50:37

晕哥
Administrator
注册时间: 1970-01-01
累计发帖: 2,482

Re: GM8135s入坑记录

厉害了我的国产cpu,厉害了我的国产RTOS,
居然只要28元,
28元你买不吃亏,你买不了上当 。。。

离线

#9 2018-04-09 21:52:40

晕哥
Administrator
注册时间: 1970-01-01
累计发帖: 2,482

Re: GM8135s入坑记录

sunwei 说:

国科GK7102  rt-thread-3.0.3\rt-thread-3.0.3\bsp\gkipc 这个也可以整一整

源码在 github 上面吗?

离线

#10 2018-04-10 00:24:28

sunwei
会员
注册时间: 2018-04-09
累计发帖: 58

Re: GM8135s入坑记录

在 github 搜rt-thread

离线

#11 2018-04-10 00:25:58

sunwei
会员
注册时间: 2018-04-09
累计发帖: 58

Re: GM8135s入坑记录

实际的价格会是什么样。是不是真要用时,价格会翻倍。

离线

#12 2018-04-10 00:28:23

sunwei
会员
注册时间: 2018-04-09
累计发帖: 58

Re: GM8135s入坑记录

GM8136S_GM8135S 的芯片什么价格

离线

#13 2018-04-10 00:32:38

sunwei
会员
注册时间: 2018-04-09
累计发帖: 58

Re: GM8135s入坑记录

晶心科技 低功耗。刚开始。还没出多少芯片,如果想长期在芯片发展,也可整整

离线

页脚