• dm8127-内存分配


      在前天一直完车辆捕获算法和车牌识别算法之后,算法移植告一段落,五月份以来,总算有点欣慰了,可是cmos采集视频有点问题,主要是前端采集不是我接手,嵌入式部门的小宋和小李负责,据说是20多万没了图纸,防阿波罗的,做出来的相机,我只能说一般,dsp500mhz,arm700hz,冬天来临每次复位都是电击+脱线,我们算法部负责算法和产品开发,说到视频图像问题,现象是颜色反色——红变蓝,绿变蓝,还有图像180°倒转过来了,i2c_cmos搞得鬼,他的内存地址是0x5d,在算法link跑起来之后,在加载他们给的接口文件i2c_cmos之后视频编解码出现问题断了,后面康老大来乱搞了,每次乱搞之后都是残局,叫哥给他擦屁股,我无语了,欺负咋应届生啊!

      今天加班吧boot加载内存设置匹配后ok了:

      

    [m3video] 6533: SYSTEM : FREE SPACE : SR0 Heap = 28973952 B (27 MB)
    [m3video] 6533: SYSTEM : FREE SPACE : Frame Buffer = 110100352 B (104 MB)
    [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
    [m3video] Remote Debug Shared Memory @ 0xbff05020
    [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
    [m3video] 6533: SYSTEM : FREE SPACE : Bitstream Buffer = 68157312 B (64 MB)
    [c6xdsp ] 6524:pkf SYSTEM : System DSP Init in progress !!!
    [m3video] 6534: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
    [c6xdsp ] !!WARNING.Resource already registered:2
    [c6xdsp ] 6524: SYSTEM : 20131107 !!!
    [m3video] 6535: SYSTEM : FREE SPACE : Tiler Buffer = 64 B (0 MB) - TILER OFF
    [c6xdsp ] SYSTEM : System DSP Init start time =6525 ------------!!!
    [c6xdsp ] frame_start end !!!!!!!!
    [m3video] 6591: SYSTEM : Initializing Links ... DONE !!!
    [c6xdsp ] SYSTEM : System DSP Init Done end time=1 -----------!!!
    [c6xdsp ] 6525: SYSTEM : System DSP Init Done !!!
    mkdosfs 3.0.12 (29 Oct 2011)
    unable to get drive geometry, using default 255/63
    /dev/sbulla has 255 heads and 63 sectors per track,
    logical sector size is 512,
    using 0xf8 media descriptor, with 1024 sectors;
    file system has 2 12-bit FATs and 4 sectors per cluster.
    FAT size is 1 sector, and provides 247 clusters.
    There is 1 reserved sector.
    Root directory contains 512 slots and uses 32 sectors.
    Volume ID is b0e2fc98, no volume label.
    g_file_storage gadget: No serial-number string provided!
    g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
    g_file_storage gadget: Number of LUNs=1
    g_file_storage gadget-lun0: ro=0, nofua=0, file: /dev/sbulla
    amixer: Mixer attach default error: No such file or directory
    queue id:0
    [m3vpss ] I2C2: Passed for address 0x5d !!!
    [m3vpss ] 9260: SYSTEM : Device Init in progress DONE !!!
    [m3vpss ] 9288: SYSTEM : System VPSS Init Done !!!
    [m3vpss ] 9288: UTILS: DMA: HWI Create for INT62 !!!
    [m3vpss ] 9288: SYSTEM : Initializing Links !!!
    [m3vpss ] 9288: SYSTEM : FREE SPACE : System Heap = 5913144 B, Mbx = 10240 msgs)
    [m3vpss ] 9289: SYSTEM : FREE SPACE : SR0 Heap = 28973952 B (27 MB)
    [m3vpss ] 9289: SYSTEM : FREE SPACE : Frame Buffer = 105790336 B (100 MB)
    [m3vpss ] 9289: SYSTEM : FREE SPACE : Bitstream Buffer = 68157312 B (64 MB)
    [m3vpss ] 9289: SYSTEM : FREE SPACE : Tiler Buffer = 64 B (0 MB) - TILER OFF
    [m3vpss ] Received character 't'
    [m3vpss ] 9416: SYSTEM : Initializing Links ... DONE !!!
    [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
    [m3video] Remote Debug Shared Memory @ 0xbff05020
    [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
    [m3video] Received character 't'
    [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
    [m3video] Remote Debug Shared Memory @ 0xbff05020
    [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
    [c6xdsp ] Received character 't'
    DMA: Module install successful, device major num = 248
    DRV: Module install successful
    DRV: Module built on Nov 23 2013 03:02:00
    HDMI W1 rev 4.0
    HDMI CEC Spec version 1.2
    I2C Bus Low?

    ApproDrvInit: 3
    Creat queue id:131076
    queue id:131076

    [host]

    [host] ORG 0x46c00524: 0

    [host] NEW 0x46c00524: 2

    [host]

    [host] Application Start Completed

    [host] 0: SYSTEM: System Common Init in progress !!!

    [host] 1: SYSTEM: IPC init in progress !!!

    [host] 13: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!

    [host] 13: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!

    [host] 13: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!

    [host] 13: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!

    [host] 13: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...

    [host] 15: SYSTEM: Creating MsgQ [HOST_MSGQ] ...

    [host] 17: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] DMA: ChannelID allocated:4
    ...

    [host] DMA: ChannelID allocated:10
    18: SYSTEM: Opening MsgQ [DSP_MSGQ] ...

    [host] 19: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...

    [host] 19: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...

    [host] 20: SYSTEM: Notify register to [DSP] line 0, event 12 ...

    [host] 21: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ...

    [host] 22: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ...

    [host] 22: SYSTEM: IPC init DONE !!!

    [host] 23: SYSTEM: Creating ListMP [HOST_IPC_OUT_28] in region 0 ...

    [host] 25: SYSTEM: Creating ListMP [HOST_IPC_IN_28] in region 0 ...

    [host] 27: SYSTEM: ListElem Shared Addr = 0x404baa80

    [host] 28: SYSTEM: Creating ListMP [HOST_IPC_OUT_29] in region 0 ...

    [host] 30: SYSTEM: Creating ListMP [HOST_IPC_IN_29] in region 0 ...

    [host] 31: SYSTEM: ListElem Shared Addr = 0x404d4700

    [host] 33: SYSTEM: Creating ListMP [HOST_IPC_OUT_23] in region 0 ...

    [host] 35: SYSTEM: Creating ListMP [HOST_IPC_IN_23] in region 0 ...

    [host] 36: SYSTEM: ListElem Shared Addr = 0x404ee380

    [host] 37: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...

    [host] 39: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...

    [host] 41: SYSTEM: ListElem Shared Addr = 0x4050dd80

    [host] 42: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...

    [host] 44: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...

    [host] 45: SYSTEM: ListElem Shared Addr = 0x4052d780

    [host] 46: SYSTEM: System Common Init Done !!!

    [host] Vsys_allocBuf - addr = 0x4e183000,size = 65011712

    [host] MCFW_IPCBITS:App_streamSysInit:virt addr of 84600000 cir buffer is 4e183000
    ##########pInfo->totalsize 63897600

    [host] MemMng_memcpy_open:OSA_dmaOpen passed with ch id = 4

    [host] CacheMng_MemCpy_open:OSA_dmaOpen passed with ch id = 10
    queue id:131076
    queue id:65538

    [host] MCFW_IPCBITS:App_ipcBitsRecvStreamFxn:Entered...queue id:0
    queue id:32769

    [host]
    Enable RAW Frame Write


    [host] Before System_linkControl SYSTEM_M3VPSS_CMD_GET_DISPLAYCTRL_INIT

    [host]
    ********** FULL FEATURE USECASE ********

    [host] ********* Entered Tri Streaming usecase - H264 1080p @60fps + H264 D1 @30fps + MJPEG 1080p @5fps ********


    [host] 133: MCFW : CPU Revision [ES2.1] !!!

    [host] 133: MCFW : Detected [2x SIL1161A, 2x TVP7002 Catalog2x SIL1161A, 2x TVP7002 DVR] Board !!!

    [host] 133: MCFW : Base Board Revision [REV A] !!!

    [host] 133: MCFW : Daughter Card Revision [REV A] !!!

    [host] pcameroutprm->dataformat=system_df_yuv422i_uyvy!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    [host] ***********dupPrm[VA_DUP_IDX] DONE*****************
    [m3vpss ] VPS_DCTRL_INST_0
    [m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_OUTPUT SYSTEM_DC_VENC_DVO2
    [m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_OUTPUT SYSTEM_DC_VENC_HDMI
    [m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_OUTPUT SYSTEM_DC_VENC_SD
    [m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_CLK_SRC VPS_DC_VENC_HDMI | VPS_DC_VENC_DVO2
    [m3vpss ] 11064: CAMERA: Create in progress !!!
    [m3vpss ] 11064: CAMERA: VIP0 PortA camera mode is [ 8-bit, Non-mux Embedded Sync] !!!
    [m3vpss ] Capture : Sensor Create Failed
    [m3vpss ] 11068: CAMERA: VIP 0: VID DEC 268436736 (0x36): bebebebe:bebebebe:8ed59e78, AUD_STATUS -1094795586
    [m3vpss ] Stream ID 0: chId = 0 VpsUtils_queCreate.
    [m3vpss ] Stream ID 1: chId = 0 VpsUtils_queCreate.
    [m3vpss ] 11323: CAMERA: Create Done !!!
    [m3vpss ] 11432: CAMERA: Detect video in progress !!!
    [m3vpss ] 11433: CAMERA: Detect video Done !!!
    [m3vpss ] 11529: DUP : Create Done !!!
    [m3vpss ] 11530: NSF: Create in progress !!!
    [m3vpss ] NSF::HEAPID:0 USED:128
    [m3vpss ] NSF::HEAPID:1 USED:4928
    [m3vpss ] 11653: NSF: Create Done !!!
    [m3vpss ] 11659: DUP : Create Done !!!
    [m3vpss ] 11665: DUP : Create Done !!!
    [m3vpss ] 11667: MERGE : Create Done !!!
    [m3vpss ] DCC server task running
    [m3vpss ] {SWOSD} edma3Handle->tccVal = 36
    [m3vpss ] {SWOSD} edma3Handle->chId = 36
    [m3vpss ] {SWOSD} edma3Handle->tccVal = 37
    [m3vpss ] {SWOSD} edma3Handle->chId = 37
    [m3vpss ] {SWOSD} edma3Handle->tccVal = 38
    [m3vpss ] {SWOSD} edma3Handle->chId = 38
    [m3vpss ] 11642: SWOSD : Create Done !!!

    [host] yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
    [m3vpss ] 11738: DUP : Create Done !!!
    [m3vpss ] 11739: SCLR: Create in progress !!!
    [m3vpss ] 11744: SCLR : Loading Up-scaling Co-effs ...
    [m3vpss ] 11744: SCLR : Co-effs Loading ... DONE !!!

    [host] pkf 728: IPC_FRAMES_IN : Create in progress !!!

    [host] 728: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_24] ...

    [host] 730: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_24] ...

    [host] pkf 734: IPC_FRAMES_IN : Create Done !!!
    [m3video] 11761: IPC_IN_M3 : Create in progress !!!
    [m3vpss ] SCLR:HEAPID:0 USED:64
    [m3video] 11761: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
    [m3vpss ] SCLR:HEAPID:1 USED:5952
    [m3video] 11762: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
    [m3vpss ] 11745: SCLR: Create Done !!!
    [m3video] 11765: IPC_IN_M3 : Create Done !!!
    [m3vpss ] 11745: IPC_FRAMES_OUT : Create in progress !!!
    [m3video] 11765: ENCODE: Create in progress ... !!!

    [host] *********************************************frame_id=1*******************************************


    [host] getframe_memalloc()=====================shAddr = 1079298944

    [host] testaddr=4054cb80,and frame_addr=4054cb80!!!!!!!!!!!

    [host] *testaddr=----------shAddr=4054cb80--------phyaddr=bddf0b80-------------
    [m3vpss ] 11748: IPC_FRAMES_OUT : Create Done !!!
    [m3vpss ] 11668: FD : Alg Create Done !!!
    [m3vpss ] 11668: FD : Create Done !!!
    [m3vpss ] 11759: IPC_OUT_M3 : Create in progress !!!
    [m3vpss ] 11760: IPC_OUT_M3 : Create Done !!!

    [host] *********************************************frame_id=2*******************************************


    [host] *********************************************frame_id=3*******************************************


    [host] *********************************************frame_id=4*******************************************


    [host] *********************************************frame_id=5*******************************************

    [m3video] 11829: ENCODE: Creating CH0 of 1920 x 1080, pitch = (1920, 1920) [PROGRESSIVE] [NON-TILED ], bitrate = 8000 Kbps ...

    [host] *********************************************frame_id=6*******************************************


    [host] *********************************************frame_id=7*******************************************


    [host] *********************************************frame_id=8*******************************************


    [host] *********************************************frame_id=9*******************************************


    [host] *********************************************frame_id=10*******************************************


    [host] *********************************************frame_id=11*******************************************


    [host] *********************************************frame_id=12*******************************************

    [m3video] ENCLINK_H264:HEAPID:0 USED:13808
    [m3video] 11935: ENCODE: Creating CH1 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED ], bitrate = 8000 Kbps ...

    [host] *********************************************frame_id=13*******************************************


    [host] *********************************************frame_id=14*******************************************


    [host] *********************************************frame_id=15*******************************************


    [host] *********************************************frame_id=16*******************************************


    [host] *********************************************frame_id=17*******************************************


    [host] *********************************************frame_id=18*******************************************


    [host] IpcBitsInLink_tskMain:Entered
    [host] 1030: IPC_BITS_IN : Create in progress !!!

    [host] 1030: IPC_BITS_IN : ListMPOpen start !!!

    [host] 1030: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_28] ...

    [host] 1031: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_28] ...

    [host] 1033: IPC_BITS_IN : ListMPOpen done !!!

    [host] 1034: IPC_BITS_IN : System_linkGetInfo done !!!

    [host] 1034: IPC_BITS_IN : Create Done !!!

    [host] USECASE SETUP DONE

    [host] *********************************************frame_id=19*******************************************

    [m3vpss ] 12054: DISPLAY: Create in progress !!!
    [m3video] ENCLINK_H264:HEAPID:0 USED:11912
    [m3vpss ] DisplayId = 1,DataFormat = 7
    [m3video] 12042: ENCODE: Creating CH2 of 1920 x 1080, pitch = (1920, 1920) [PROGRESSIVE] [NON-TILED ], bitrate = 100 Kbps ...
    [m3vpss ] SC2 displayInstId = 6
    [m3vpss ] 12056: DISPLAY: Create Done !!!
    [m3vpss ] 12056: DISPLAY: Create in progress !!!
    [m3video] ENCLINK_JPEG:HEAPID:0 USED:4432
    [m3vpss ] DisplayId = 4,DataFormat = 7
    [m3video] 12043: ENCODE: All CH Create ... DONE !!!
    [m3vpss ] SD displayInstId = 2
    [m3vpss ] 12057: DISPLAY: Create Done !!!
    [m3vpss ] 12058: DISPLAY: Start in progress !!!
    [m3video] ENCLINK:HEAPID:0 USED:30472
    [m3video] 12046: ENCODE: Create ... DONE !!!
    [m3video] 11998: VSTAB : Alg Create Done !!!
    [m3video] 11998: VSTAB : Create Done !!!
    [m3video] 12047: IPC_BITS_OUT : Create in progress !!!

    [host] *********************************************frame_id=20*******************************************

    [m3video] 12049: IPC_BITS_OUT : Create Done !!!

    [host] *********************************************frame_id=21*******************************************


    [host] *********************************************frame_id=22*******************************************

    [m3vpss ] 12119: DISPLAY: Start Done !!!
    [m3vpss ] 12120: DISPLAY: AUX PATH: 32 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) !!!

    [host] *********************************************frame_id=23*******************************************

    [m3vpss ] 12120: DISPLAY: Start in progress !!!

    [host] *********************************************frame_id=24*******************************************


    [host] *********************************************frame_id=25*******************************************

    [m3vpss ] 12164: DISPLAY: Start Done !!!
    [m3vpss ] 12164: DISPLAY: SDDAC(SEC1): 22 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) !!!

    [host] *********************************************frame_id=26*******************************************

    [m3vpss ] 12076: CAMERA: Start in progress !!!
    [m3vpss ] 12077: CAMERA: Start Done !!!

    [host] *********************************************frame_id=27*******************************************


    [host] *********************************************frame_id=28*******************************************


    [host] *********************************************frame_id=29*******************************************


    [host] *********************************************frame_id=30*******************************************


    [host] *********************************************frame_id=31*******************************************


    [host] *********************************************frame_id=32*******************************************


    [host]
    Application Run Completed

    [host] *********************************************frame_id=33*******************************************


    [host] *********************************************frame_id=34*******************************************


    [host] *********************************************frame_id=35*******************************************


    [host] *********************************************frame_id=36*******************************************

    [m3vpss ] 12251: CAMERA: Fields = 2 (fps = 0), Total Resets = 0 (Avg 0 ms per reset)

    [host] *********************************************frame_id=37*******************************************


    [host] MCFW_IPCFRAMES: Callback function:App_ipcFramesInCbFxn
    [host] MCFW_IPCFRAMES:Received first frame notify...
    [host] MCFW_IPCFRAMES:App_ipcFramesSendRecvFxn:INFO: periodic print.. [m3vpss ] this is ipcframeout vpss!!!!!

    [host] MCFW_IPCBITS: Callback function:App_ipcBitsInCbFxn
    [host] MCFW_IPCBITS:App_ipcBitsRecvStreamFxn:INFO: periodic print.. [m3video] Channel:1 inputframerate:30 targetfps:60

    [host] *********************************************frame_id=38*******************************************


    [host] ITT server task running !!!

    [host]
    ITT ittServer_run

    [host] ITT Server Message initialization successful

    [host]
    ITT capture task created

    [host] DCC server Message ques is open succefully

    [host] Setting cmd <1> in message <40367100>

    [host] Posting message <40367100> in QId <20002>
    [m3video] Channel:0 inputframerate:60 targetfps:60
    [m3vpss ] Command 1 recived from HOST A8

    [host] Response from M3 is : 1

    [host] *********************************************frame_id=39*******************************************

    [m3video] Channel:2 inputframerate:60 targetfps:5

    [host] Response from M3 is : 1

    [host] Default parameters were sent sucessfully

    [host] Server Socket created with ID <22>
    [m3vpss ] Command 2 recived from HOST A8
    [m3vpss ] New DCC data of size <33603>
    [m3vpss ] Call to VNF_LINK_CMD_UPDATE_DCC -1

    [host] *********************************************frame_id=40*******************************************


    [host] *********************************************frame_id=41*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=42*******************************************


    [host] *********************************************frame_id=43*******************************************


    [host] *********************************************frame_id=44*******************************************


    [host] *********************************************frame_id=45*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=46*******************************************


    [host] *********************************************frame_id=47*******************************************


    [host] *********************************************frame_id=48*******************************************


    [host] *********************************************frame_id=49*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=50*******************************************


    [host] *********************************************frame_id=51*******************************************


    [host] *********************************************frame_id=52*******************************************


    [host] *********************************************frame_id=53*******************************************


    [host] *********************************************frame_id=54*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=55*******************************************


    [host] *********************************************frame_id=56*******************************************


    [host] *********************************************frame_id=57*******************************************


    [host] *********************************************frame_id=58*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=59*******************************************


    [host] *********************************************frame_id=60*******************************************


    [host] *********************************************frame_id=61*******************************************


    [host] *********************************************frame_id=62*******************************************


    [host] *********************************************frame_id=63*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=64*******************************************


    [host] *********************************************frame_id=65*******************************************


    [host] *********************************************frame_id=66*******************************************


    [host] *********************************************frame_id=67*******************************************


    [host] *********************************************frame_id=68*******************************************


    [host] *********************************************frame_id=69*******************************************


    [host] *********************************************frame_id=70*******************************************


    [host] *********************************************frame_id=71*******************************************


    [host] *********************************************frame_id=72*******************************************


    [host] *********************************************frame_id=73*******************************************

    queue id:0

    [host] *********************************************frame_id=74*******************************************


    [host] *********************************************frame_id=75*******************************************


    [host] *********************************************frame_id=76*******************************************


    [host] *********************************************frame_id=77*******************************************


    [host] *********************************************frame_id=78*******************************************


    [host] *********************************************frame_id=79*******************************************


    [host] *********************************************frame_id=80*******************************************


    [host] *********************************************frame_id=81*******************************************


    [host] *********************************************frame_id=82*******************************************


    [host] *********************************************frame_id=83*******************************************


    [host] *********************************************frame_id=84*******************************************


    [host] *********************************************frame_id=85*******************************************


    [host] *********************************************frame_id=86*******************************************


    [host] *********************************************frame_id=87*******************************************


    [host] *********************************************frame_id=88*******************************************


    [host] *********************************************frame_id=89*******************************************


    [host] *********************************************frame_id=90*******************************************


    [host] *********************************************frame_id=91*******************************************


    [host] *********************************************frame_id=92*******************************************


    [host] *********************************************frame_id=93*******************************************


    [host] *********************************************frame_id=94*******************************************


    [host] *********************************************frame_id=95*******************************************


    [host] *********************************************frame_id=96*******************************************


    [host] *********************************************frame_id=97*******************************************


    [host] *********************************************frame_id=98*******************************************


    [host] *********************************************frame_id=99*******************************************


    [host] *********************************************frame_id=100*******************************************


    [host] *********************************************frame_id=101*******************************************


    [host] *********************************************frame_id=102*******************************************


    [host] *********************************************frame_id=103*******************************************


    [host] *********************************************frame_id=104*******************************************


    [host] *********************************************frame_id=105*******************************************


    [host] buflist is not null!!!!!!!!!!!!

    [host] getfullvidioframes numbe=7----------------

    [host] p_image[0]=0 and p_image[5]=0------------------

    [host] YUV422P_Patch[0]=0 and YUV422P_Patch[5]=0------------------

    [host] *********************************************frame_id=106*******************************************


    [host] *********************************************frame_id=107*******************************************


    [host] *********************************************frame_id=108*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=109*******************************************


    [host] *********************************************frame_id=110*******************************************


    [host] buflist is not null!!!!!!!!!!!!

    [host] getfullvidioframes numbe=1----------------

    [host] p_image[0]=0 and p_image[5]=0------------------
    [m3vpss ] this is ipcframeout vpss!!!!!
    [m3vpss ] this is ipcframeout vpss!!!!!
    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] YUV422P_Patch[0]=0 and YUV422P_Patch[5]=0------------------

    [host] *********************************************frame_id=111*******************************************


    [host] *********************************************frame_id=112*******************************************


    [host] *********************************************frame_id=113*******************************************


    [host] *********************************************frame_id=114*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=115*******************************************


    [host] buflist is not null!!!!!!!!!!!!

    [host] getfullvidioframes numbe=4----------------

    [host] p_image[0]=0 and p_image[5]=0------------------
    [m3vpss ] this is ipcframeout vpss!!!!!
    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] YUV422P_Patch[0]=0 and YUV422P_Patch[5]=0------------------

    [host] *********************************************frame_id=116*******************************************


    [host] *********************************************frame_id=117*******************************************


    [host] *********************************************frame_id=118*******************************************


    [host] *********************************************frame_id=119*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=120*******************************************


    [host] buflist is not null!!!!!!!!!!!!

    [host] getfullvidioframes numbe=3----------------

    [host] p_image[0]=0 and p_image[5]=0------------------
    [m3vpss ] this is ipcframeout vpss!!!!!
    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] YUV422P_Patch[0]=0 and YUV422P_Patch[5]=0------------------

    [host] *********************************************frame_id=121*******************************************


    [host] *********************************************frame_id=122*******************************************


    [host] *********************************************frame_id=123*******************************************


    [host] *********************************************frame_id=124*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=125*******************************************


    [host] buflist is not null!!!!!!!!!!!!

    [host] getfullvidioframes numbe=3----------------

    [host] p_image[0]=0 and p_image[5]=0------------------
    [m3vpss ] this is ipcframeout vpss!!!!!
    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] YUV422P_Patch[0]=0 and YUV422P_Patch[5]=0------------------

    [host] *********************************************frame_id=126*******************************************


    [host] *********************************************frame_id=127*******************************************


    [host] *********************************************frame_id=128*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=129*******************************************


    [host] *********************************************frame_id=130*******************************************


    [host] buflist is not null!!!!!!!!!!!!

    [host] getfullvidioframes numbe=3----------------

    [host] p_image[0]=0 and p_image[5]=0------------------
    [m3vpss ] this is ipcframeout vpss!!!!!
    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] YUV422P_Patch[0]=0 and YUV422P_Patch[5]=0------------------

    [host] *********************************************frame_id=131*******************************************


    [host] *********************************************frame_id=132*******************************************


    [host] *********************************************frame_id=133*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=134*******************************************


    [host] *********************************************frame_id=135*******************************************


    [host] buflist is not null!!!!!!!!!!!!

    [host] getfullvidioframes numbe=3----------------

    [host] p_image[0]=0 and p_image[5]=0------------------
    [m3vpss ] this is ipcframeout vpss!!!!!
    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] YUV422P_Patch[0]=0 and YUV422P_Patch[5]=0------------------

    [host] *********************************************frame_id=136*******************************************


    [host] *********************************************frame_id=137*******************************************


    [host] *********************************************frame_id=138*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=139*******************************************


    [host] *********************************************frame_id=140*******************************************


    [host] buflist is not null!!!!!!!!!!!!

    [host] getfullvidioframes numbe=3----------------

    [host] p_image[0]=0 and p_image[5]=0------------------
    [m3vpss ] this is ipcframeout vpss!!!!!
    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] YUV422P_Patch[0]=0 and YUV422P_Patch[5]=0------------------

    [host] *********************************************frame_id=141*******************************************


    [host] *********************************************frame_id=142*******************************************


    [host] *********************************************frame_id=143*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=144*******************************************


    [host] *********************************************frame_id=145*******************************************


    [host] buflist is not null!!!!!!!!!!!!

    [host] getfullvidioframes numbe=3----------------

    [host] p_image[0]=0 and p_image[5]=0------------------
    [m3vpss ] this is ipcframeout vpss!!!!!
    [m3vpss ] this is ipcframeout vpss!!!!!
    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] YUV422P_Patch[0]=0 and YUV422P_Patch[5]=0------------------

    [host] *********************************************frame_id=146*******************************************


    [host] *********************************************frame_id=147*******************************************


    [host] *********************************************frame_id=148*******************************************


    [host] *********************************************frame_id=149*******************************************


    [host] *********************************************frame_id=150*******************************************


    [host] buflist is not null!!!!!!!!!!!!

    [host] getfullvidioframes numbe=4----------------

    [host] p_image[0]=0 and p_image[5]=0------------------
    [m3vpss ] this is ipcframeout vpss!!!!!
    [m3vpss ] this is ipcframeout vpss!!!!!
    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] YUV422P_Patch[0]=0 and YUV422P_Patch[5]=0------------------

    [host] *********************************************frame_id=151*******************************************


    [host] *********************************************frame_id=152*******************************************


    [host] *********************************************frame_id=153*******************************************


    [host] *********************************************frame_id=154*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=155*******************************************


    [host] buflist is not null!!!!!!!!!!!!

    [host] getfullvidioframes numbe=3----------------

    [host] p_image[0]=0 and p_image[5]=0------------------
    [m3vpss ] this is ipcframeout vpss!!!!!
    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] YUV422P_Patch[0]=0 and YUV422P_Patch[5]=0------------------

    [host] *********************************************frame_id=156*******************************************


    [host] *********************************************frame_id=157*******************************************


    [host] *********************************************frame_id=158*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=159*******************************************


    [host] *********************************************frame_id=160*******************************************


    [host] buflist is not null!!!!!!!!!!!!

    [host] getfullvidioframes numbe=3----------------

    [host] p_image[0]=0 and p_image[5]=0------------------
    [m3vpss ] this is ipcframeout vpss!!!!!
    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] YUV422P_Patch[0]=0 and YUV422P_Patch[5]=0------------------

    [host] *********************************************frame_id=161*******************************************


    [host] *********************************************frame_id=162*******************************************


    [host] *********************************************frame_id=163*******************************************

    [m3vpss ] this is ipcframeout vpss!!!!!

    [host] *********************************************frame_id=164*******************************************


    [host] *********************************************frame_id=165*******************************************


    [host] buflist is not null!!!!!!!!!!!!

    [host] getfullvidioframes numbe=3----------------


    U-Boot 2010.06 (Oct 09 2012 - 18:55:01) DM8127_IPNC_3.20.00

    TI8148-GP rev 2.1

    ARM clk: 600MHz
    DDR clk: 400MHz
    L3 clk: 200MHz
    IVA clk: 450MHz
    ISS clk: 400MHz
    DSP Default OFF
    DSS Default OFF

    DRAM: 512 MiB
    NAND: HW ECC BCH8 Selected
    256 MiB
    Using default environment

    The 2nd stage U-Boot will now be auto-loaded
    Please do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already flashed
    Hit any key to stop autoboot: 2

    U-Boot 2010.06 (Oct 09 2012 - 18:55:01) DM8127_IPNC_3.20.00

    TI8148-GP rev 2.1

    ARM clk: 600MHz
    DDR clk: 400MHz
    L3 clk: 200MHz
    IVA clk: 450MHz
    ISS clk: 400MHz
    DSP Default OFF
    DSS Default OFF

    DRAM: 512 MiB
    NAND: HW ECC BCH8 Selected
    256 MiB
    Using default environment

    The 2nd stage U-Boot will now be auto-loaded
    Please do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already flashed
    Hit any key to stop autoboot: 0

    NAND read: device 0 offset 0x20000, size 0x40000
    262144 bytes read: OK
    ## Starting application at 0x81000000 ...


    U-Boot 2010.06 (Oct 09 2012 - 18:55:46) DM8127_IPNC_3.20.00

    TI8148-GP rev 2.1

    ARM clk: 600MHz
    DDR clk: 400MHz
    L3 clk: 200MHz
    IVA clk: 450MHz
    ISS clk: 400MHz
    DSP Default OFF
    DSS Default OFF

    I2C: ready
    DRAM: 512 MiB
    NAND: HW ECC BCH8 Selected
    256 MiB
    MMC: OMAP SD/MMC: 0, ON-BOARD SDIO: 1
    .:;rrr;;.
    ,5#@@@@#####@@@@@@#2,
    ,A@@@hi;;;r5;;;;r;rrSG@@@A,
    r@@#i;:;s222hG;rrsrrrrrr;ri#@@r
    :@@hr:r;SG3ssrr2r;rrsrsrsrsrr;rh@@:
    B@H;;rr;3Hs;rrr;sr;;rrsrsrsrsrsr;;H@B
    @@s:rrs;5#;;rrrr;r#@H:;;rrsrsrsrsrr:s@@
    @@;;srs&X#9;r;r;;,2@@@rrr:;;rrsrsrsrr;;@@
    @@;;rrsrrs@MB#@@@@@###@@@@@@#rsrsrsrsrr;;@@
    G@r;rrsrsr;#X;SX25Ss#@@#M@#9H9rrsrsrsrsrs;r@G
    @9:srsrsrs;2@;:;;:.X@@@@@H::;rrsrsrsrsrsrr:3@
    X@;rrsrsrsrr;XAi;;:&@@#@Bs:rrsrsrsrsrsrsrsrr;@X
    @#;rsrsrsrsrr;r2ir@@@###::rrsrsrsrsrsrsrsrsr:@@
    @A:rrsrsrsrr;:2@29@@M@@@;:;rrrrsrsrsrsrsrsrs;H@
    @&;rsrsrsrr;A@@@@@@###@@@s::;:;;rrsrsrsrsrsr;G@
    @#:rrsrsrsr;G@5Hr25@@@#@@@#9XG9s:rrrrsrsrsrs:#@
    M@;rsrsrsrs;r@&#;::S@@@@@@@M@@@@Grr:;rsrsrsr;@#
    :@s;rsrsrsrr:M#Msrr;;&#@@@@@@@@@@H@@5;rsrsr;s@,
    @@:rrsrsrsr;S@rrrsr;:;r3MH@@#@M5,S@@irrsrr:@@
    @A:rrsrsrsrrrrrsrsrrr;::;@##@r:;rH@h;srr:H@
    ;@9:rrsrsrsrrrsrsrsrsr;,S@Hi@i:;s;MX;rr:h@;
    r@B:rrrrsrsrsrsrsrr;;sA@#i,i@h;r;S5;r:H@r
    ,@@r;rrrsrsrsrsrr;2BM3r:;r:G@:rrr;;r@@,
    B@Mr;rrrrsrsrsr@@S;;;rrr:5M;rr;rM@H
    .@@@i;;rrrrsrs2i;rrrrr;r@M:;i@@@.
    .A@@#5r;;;r;;;rrr;r:r#AsM@@H.
    ;&@@@@MhXS5i5SX9B@@@@G;
    :ihM#@@@@@##hs,

    Date: 2000-01-01 (Sunday) Time: 1:21:13
    Net: Detected MACID:0:17:eb:59:43:4c
    cpsw
    Hit any key to stop autoboot: 0
    TI8148_IPNC#

    呵呵有点乱

    1.问题:

    [hCMEMK Error: ioctl: failed to allocate heap buffer of size 0x3e00000
    ost] 16: SYSTEMCMEMK Error: get_phys: Unable to find phys addr for 0x00000000
    : Creating MsgQ CMEMK Error: get_phys: get_user_pages() failed: -14
    [HOST_ACK_MSGQ] CMEMK Error: GETPHYS: Failed to convert virtual 0x0 to physical.
    ...

    [host] 46: SYSTEM: System Common Init Done !!!
    CMEM Error: allocHeap: ioctl CMEM_IOCALLOCHEAP failed: -1
    CMEM Error: getPhys: Failed to get physical address of 0

    [host] Vsys_allocBuf - addr = 0x0,size = 65011712

    [host] MCFW_IPCBITS:App_streamSysInit:virt addr of 0 cir buffer is 0
    ##########pInfo->totalsize 63897600
    Encode Error: Memory manager init fail
    func:stream_init line:258

    [host] MCFW_IPCBITS:App_streamSysInit:stream_init failed

    [host] MCFW_IPCBITS:App_ipcBitsRecvStreamFxn:Entered...
    [host]
    Enable RAW Frame Write

    2.解决办法:

    Hit any key to stop autoboot: 0
    TI8148_IPNC#setenv bootcmd 'ipnc_ff_init 1;nboot 0x81000000 0 0x280000;bootm'
    TI8148_IPNC#setenv bootargs 'console=ttyO0,115200n8 root=/dev/nfs rw mem=70M vram=4M notifyk.vpssm3_sva=0xBFD00000 nfsroot=192.168.0.167:/home/DM8127/Source/ipnc_rdk/target/filesys,nolock eth=00:0C:0C:A0:07:66 ip=192.168.0.168 setenv cmemk.phys_start=0x84600000 cmemk.phys_end=0x88200000 cmemk.allowOverlap=1 earlyprintk'

    setenv bootargs 'console=ttyO0,115200n8 root=/dev/nfs rw mem=70M vram=4M notifyk.vpssm3_sva=0xBFD00000 nfsroot=192.168.0.167:/home/DM8127/Source/ipnc_rdk/target/filesys,nolock eth=00:0C:0C:A0:07:66 ip=192.168.0.168 setenv cmemk.phys_start=0x84600000 cmemk.phys_end=0x88600000 cmemk.allowOverlap=1 earlyprintk'

  • 相关阅读:
    07-2. A+B和C (15)
    07-1. 换个格式输出整数 (15)
    07-0. 写出这个数 (20)
    06-3. 单词长度(15)
    06-2. 字符串字母大小写转换(10)
    06-1. 简单计算器(20)
    06-0. 混合类型数据格式化输入(5)
    05-3. 求a的连续和(15)
    05-2. 念数字(15)
    05-1. 约分最简分式(15)
  • 原文地址:https://www.cnblogs.com/pengkunfan/p/3439428.html
Copyright © 2020-2023  润新知