This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

calculating dvr rdk image delay

Other Parts Discussed in Thread: TVP5158

When creating a demo on DVR RDK 04.00.00.03, how do we estimate the image delay from input to output?

For example, for a usecase as shown below,

    Capture (YUV422I) 4CH D1 60fps
                                  |
                                 DEI
                                  |
                                 Dup --------------------------+
                                  |                            |
                                  |        IPC Frames Out VPSS(M3) --<<process link>>--
                                  |                            |     IPC Frames In(DSP)--
                                  |                            |      ALGLINK SWOSD
                                  |                            |
                                  |                          SWMS
                                  |                            |
                                  |                       SDTV Display
                                  |
                            IPC Out VPSS M3
                                  |
                            IPC In Video M3
                                  |
                                ENC (H264)
                                  |
                         IPC Bits Out Video M3
                                  |
                        IPC Bits IN A8 ( FWRITE )


How do we calculate the image delay from capture to DSP on a 8148 evm?

Thanks,
Shilpa.

  • Delay from capture to when the frame is received on A8 by calculating difference between current Avsync_getWallTime and timestamp of the frame received. This gives total latency from capture .Refer

    Refer /dvr_rdk/demos/mcfw_api_demos/mcfw_demo/demo_vcap_venc_vdec_vdis_bits_rdwr.c

    Int32 VcapVencVdecVdis_updateStatistics(VCODEC_BITSBUF_S *pBuf)

    latency = Avsync_getWallTime() - (((UInt64)pBuf->upperTimeStamp << 32) |  (UInt64)pBuf->lowerTimeStamp);

    /dvr_rdk/demos/mcfw_api_demos/mcfw_demo/demo_vcap_venc_vdec_vdis_bits_rdwr.c

  • Hi Badri,

    Thanks.

    We have one more issue in our attached demo. On a fresh boot, the DEI outputs 30 fps. On stopping and restarting the demo, the DEI only output's 15 fps.

    Thankyou for your help. Shilpa.

    
    #include "mcfw/src_linux/mcfw_api/usecases/multich_common.h"
    
    #define NUM_CAPTURE_DEVICES        (1)
    
    static SystemVideo_Ivahd2ChMap_Tbl systemVid_encDecIvaChMapTbl =
    {
        .isPopulated = 1,
        .ivaMap[0] =
        {
            .EncNumCh  = 8,
            .EncChList = {0, 1, 2, 3, 4, 5, 6, 7, 0, 0, 0, 0, 0, 0, 0, 0},
            .DecNumCh  = 0,
            .DecChList = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
        }
    };
    
    Void MultiCh_createVcapVenc()
    {
        CaptureLink_CreateParams    capturePrm;
        DeiLink_CreateParams        deiPrm;
        DisplayLink_CreateParams    displayPrm;
        IpcFramesOutLinkRTOS_CreateParams  ipcFramesOutVpssPrm;
        IpcFramesInLinkRTOS_CreateParams    ipcFramesInDspPrm;
        AlgLink_CreateParams                dspAlgPrm;
        VCAP_DEVICE_CREATE_PARAM_S vidDecVideoModeArgs[NUM_CAPTURE_DEVICES];
        UInt32                      vipInstId;
        UInt32 i;
        int                                   chId;
        CaptureLink_VipInstParams *pCaptureInstPrm;
        CaptureLink_OutParams     *pCaptureOutPrm;
        UInt32                          dupId;
        DupLink_CreateParams            dupPrm;
        
        IpcLink_CreateParams                ipcOutVpssPrm;
        IpcLink_CreateParams                ipcInVideoPrm;
        EncLink_CreateParams                encPrm;
        IpcBitsOutLinkRTOS_CreateParams     ipcBitsOutVideoPrm;
        IpcBitsInLinkHLOS_CreateParams      ipcBitsInHostPrm;
        UInt32                              ipcOutVpssId, ipcInVideoId;
               
        SwMsLink_CreateParams           swMsPrm;    
        
        MULTICH_INIT_STRUCT(DeiLink_CreateParams, deiPrm);
        MULTICH_INIT_STRUCT(DisplayLink_CreateParams ,displayPrm);
        MULTICH_INIT_STRUCT(IpcFramesOutLinkRTOS_CreateParams,ipcFramesOutVpssPrm);  
        MULTICH_INIT_STRUCT(IpcFramesInLinkRTOS_CreateParams,ipcFramesInDspPrm);
        MULTICH_INIT_STRUCT(AlgLink_CreateParams, dspAlgPrm);
    
        MULTICH_INIT_STRUCT(IpcLink_CreateParams ,ipcOutVpssPrm);
        MULTICH_INIT_STRUCT(IpcLink_CreateParams ,ipcInVideoPrm);
        MULTICH_INIT_STRUCT(IpcBitsOutLinkRTOS_CreateParams,ipcBitsOutVideoPrm);
        MULTICH_INIT_STRUCT(IpcBitsInLinkHLOS_CreateParams,ipcBitsInHostPrm);
        MULTICH_INIT_STRUCT(EncLink_CreateParams, encPrm);     
        MULTICH_INIT_STRUCT(SwMsLink_CreateParams ,swMsPrm);    
        MultiCh_detectBoard();
    
        System_linkControl(
            SYSTEM_LINK_ID_M3VPSS,
            SYSTEM_M3VPSS_CMD_RESET_VIDEO_DEVICES,
            NULL,
            0,
            TRUE
            );
    
        System_linkControl(
            SYSTEM_LINK_ID_M3VIDEO,
            SYSTEM_COMMON_CMD_SET_CH2IVAHD_MAP_TBL,
            &systemVid_encDecIvaChMapTbl,
            sizeof(SystemVideo_Ivahd2ChMap_Tbl),
            TRUE
        );
    
        gVcapModuleContext.captureId             = SYSTEM_LINK_ID_CAPTURE;
        gVcapModuleContext.deiId[0]              = SYSTEM_LINK_ID_DEI_0;
        gVdisModuleContext.displayId[0]          = SYSTEM_LINK_ID_DISPLAY_2; // SDTV 
        gVcapModuleContext.ipcFramesOutVpssId[0] = SYSTEM_VPSS_LINK_ID_IPC_FRAMES_OUT_0;
        gVcapModuleContext.ipcFramesInDspId[0]   = SYSTEM_DSP_LINK_ID_IPC_FRAMES_IN_0;
        gVcapModuleContext.dspAlgId[0]           = SYSTEM_LINK_ID_ALG_0;
        dupId                                    = SYSTEM_VPSS_LINK_ID_DUP_0; 
        gVencModuleContext.encId                 = SYSTEM_LINK_ID_VENC_0;
        ipcOutVpssId                             = SYSTEM_VPSS_LINK_ID_IPC_OUT_M3_0;
        ipcInVideoId                             = SYSTEM_VIDEO_LINK_ID_IPC_IN_M3_0;
        gVencModuleContext.ipcBitsOutRTOSId      = SYSTEM_VIDEO_LINK_ID_IPC_BITS_OUT_0;
        gVencModuleContext.ipcBitsInHLOSId       = SYSTEM_HOST_LINK_ID_IPC_BITS_IN_0;      
        gVdisModuleContext.swMsId[0]             = SYSTEM_LINK_ID_SW_MS_MULTI_INST_0;   
        
        CaptureLink_CreateParams_Init(&capturePrm); 
        capturePrm.outQueParams[0].nextLink = gVcapModuleContext.deiId[0];//dei
        
        capturePrm.numVipInst    = NUM_CAPTURE_DEVICES;
        capturePrm.tilerEnable              = FALSE;
        capturePrm.enableSdCrop             = FALSE;
    
        for (vipInstId = 0; vipInstId < capturePrm.numVipInst; vipInstId++)
        {    
            pCaptureInstPrm                     = &capturePrm.vipInst[vipInstId];
            pCaptureInstPrm->vipInstId          = (SYSTEM_CAPTURE_INST_VIP0_PORTA+vipInstId)%SYSTEM_CAPTURE_INST_MAX;
            pCaptureInstPrm->videoDecoderId     = SYSTEM_DEVICE_VID_DEC_TVP5158_DRV;
            pCaptureInstPrm->inDataFormat       = SYSTEM_DF_YUV422P;
            pCaptureInstPrm->standard           = SYSTEM_STD_MUX_4CH_D1;
            pCaptureInstPrm->numOutput          = 1;
    
            pCaptureOutPrm                      = &pCaptureInstPrm->outParams[0];
            pCaptureOutPrm->dataFormat          = SYSTEM_DF_YUV422I_YUYV;
            pCaptureOutPrm->scEnable            = FALSE;
            pCaptureOutPrm->scOutWidth          = 0;
            pCaptureOutPrm->scOutHeight         = 0;
            pCaptureOutPrm->outQueId            = vipInstId;//0;
         }
        
        for (i = 0; i < NUM_CAPTURE_DEVICES; i++)
        {
            vidDecVideoModeArgs[i].vipInstId        = SYSTEM_CAPTURE_INST_VIP0_PORTA+i;
            vidDecVideoModeArgs[i].deviceId         = DEVICE_VID_DEC_TVP5158_DRV;
            vidDecVideoModeArgs[i].numChInDevice    = 4;
    
            vidDecVideoModeArgs[i].modeParams.videoIfMode            = DEVICE_CAPT_VIDEO_IF_MODE_8BIT;
            vidDecVideoModeArgs[i].modeParams.videoDataFormat        =  SYSTEM_DF_YUV422P;
            vidDecVideoModeArgs[i].modeParams.standard               = SYSTEM_STD_MUX_4CH_D1;
            vidDecVideoModeArgs[i].modeParams.videoCaptureMode       = DEVICE_CAPT_VIDEO_CAPTURE_MODE_MULTI_CH_PIXEL_MUX_EMBEDDED_SYNC;
            vidDecVideoModeArgs[i].modeParams.videoSystem            = DEVICE_VIDEO_DECODER_VIDEO_SYSTEM_AUTO_DETECT;
            vidDecVideoModeArgs[i].modeParams.videoCropEnable        = FALSE;
            vidDecVideoModeArgs[i].modeParams.videoAutoDetectTimeout = -1;
        }
        Vcap_configVideoDecoder(vidDecVideoModeArgs, NUM_CAPTURE_DEVICES); 
       
        DeiLink_CreateParams_Init(&deiPrm); 
        deiPrm.inQueParams.prevLinkId    =  gVcapModuleContext.captureId;//capture
    
        deiPrm.inQueParams.prevLinkQueId = 0;
    
        deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].scaleMode = DEI_SCALE_MODE_RATIO;
        deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.heightRatio.numerator = 1;
        deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.heightRatio.denominator = 1;
        deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.widthRatio.numerator = 1;
        deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.widthRatio.denominator = 1;
    
    
        for (i=1; i < DEI_LINK_MAX_CH; i++)
           deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][i] = deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0];
         
        deiPrm.enableOut[DEI_LINK_OUT_QUE_VIP_SC]                        = TRUE;  
        deiPrm.outQueParams[DEI_LINK_OUT_QUE_VIP_SC].nextLink            = dupId;
    
        deiPrm.tilerEnable[DEI_LINK_OUT_QUE_VIP_SC]          = FALSE;
        deiPrm.comprEnable                                   = FALSE;
        deiPrm.setVipScYuv422Format                          = FALSE;
        deiPrm.inputFrameRate[DEI_LINK_OUT_QUE_VIP_SC] = 60;
        deiPrm.outputFrameRate[DEI_LINK_OUT_QUE_VIP_SC] = 30;
        deiPrm.enableOut[DEI_LINK_OUT_QUE_DEI_SC]                = FALSE;
        deiPrm.enableOut[DEI_LINK_OUT_QUE_VIP_SC_SECONDARY_OUT]  = FALSE; 
          
        dupPrm.notifyNextLink = TRUE;
        dupPrm.inQueParams.prevLinkId = gVcapModuleContext.deiId[0];//dei
        dupPrm.inQueParams.prevLinkQueId = DEI_LINK_OUT_QUE_VIP_SC;
        dupPrm.numOutQue = 2;
        
        dupPrm.outQueParams[0].nextLink = gVcapModuleContext.ipcFramesOutVpssId[0];
        dupPrm.outQueParams[1].nextLink =  ipcOutVpssId;//ipc out m3
        
        ipcFramesOutVpssPrm.baseCreateParams.inQueParams.prevLinkId    = dupId;
        ipcFramesOutVpssPrm.baseCreateParams.inQueParams.prevLinkQueId    = 0;
        ipcFramesOutVpssPrm.baseCreateParams.numOutQue = 1;
    
        ipcFramesOutVpssPrm.baseCreateParams.outQueParams[0].nextLink = gVdisModuleContext.displayId[0];
        ipcFramesOutVpssPrm.baseCreateParams.processLink           = gVcapModuleContext.ipcFramesInDspId[0];
        ipcFramesOutVpssPrm.baseCreateParams.notifyNextLink = TRUE;
        ipcFramesOutVpssPrm.baseCreateParams.noNotifyMode               = FALSE;
        ipcFramesOutVpssPrm.baseCreateParams.notifyProcessLink          = TRUE;
    
        ipcFramesInDspPrm.baseCreateParams.inQueParams.prevLinkId = gVcapModuleContext.ipcFramesOutVpssId[0];
        ipcFramesInDspPrm.baseCreateParams.inQueParams.prevLinkQueId = 0;
        ipcFramesInDspPrm.baseCreateParams.numOutQue   = 1;
        ipcFramesInDspPrm.baseCreateParams.outQueParams[0].nextLink = gVcapModuleContext.dspAlgId[0];
        ipcFramesInDspPrm.baseCreateParams.notifyPrevLink = TRUE;
        ipcFramesInDspPrm.baseCreateParams.notifyNextLink = TRUE;
        ipcFramesInDspPrm.baseCreateParams.noNotifyMode   = FALSE;
    
        //mgchg dspAlgPrm.enableOSDAlg = TRUE;
        dspAlgPrm.enableSCDAlg = FALSE;
        dspAlgPrm.outQueParams[ALG_LINK_SCD_OUT_QUE].nextLink = SYSTEM_LINK_ID_INVALID;
    #if 1
        dspAlgPrm.enableHENRYAlg = TRUE;
        for(chId = 0; chId < ALG_LINK_HENRY_MAX_CH; chId++)
            {
                AlgLink_OsdChWinParams * chWinPrm = &dspAlgPrm.henryChCreateParams[chId].chDefaultParams;
    
                /* set osd window max width and height */
                dspAlgPrm.henryChCreateParams[chId].maxWidth  = 720;// EXAMPLE_OSD_WIN_MAX_WIDTH;
                dspAlgPrm.henryChCreateParams[chId].maxHeight = 480;//EXAMPLE_OSD_WIN_MAX_HEIGHT;
                chWinPrm->winPrm[0].format     = SYSTEM_DF_YUV420SP_UV;
                chWinPrm->chId = chId;
                //chWinPrm->numWindows = 1;
                chWinPrm->winPrm[0].enableWin = 0;
            }
        dspAlgPrm.henryChCreateParams[0].chDefaultParams.winPrm[0].enableWin = 1;
        dspAlgPrm.henryChCreateParams[0].chDefaultParams.numWindows = 1;
        dspAlgPrm.enableOSDAlg = FALSE;
    #else
        dspAlgPrm.enableOSDAlg = TRUE;
        dspAlgPrm.enableHENRYAlg = FALSE;
        for(chId = 0; chId < ALG_LINK_OSD_MAX_CH; chId++)
        {
            AlgLink_OsdChWinParams * chWinPrm =
              &dspAlgPrm.osdChCreateParams[chId].chDefaultParams;
            /* set osd window max width and height */
            dspAlgPrm.osdChCreateParams[chId].maxWidth  = EXAMPLE_OSD_WIN_MAX_WIDTH;
            dspAlgPrm.osdChCreateParams[chId].maxHeight = EXAMPLE_OSD_WIN_MAX_HEIGHT;
    
            chWinPrm->chId       = chId;
            chWinPrm->numWindows = 0;
        }
    #endif
    
        dspAlgPrm.inQueParams.prevLinkId = gVcapModuleContext.ipcFramesInDspId[0];
        dspAlgPrm.inQueParams.prevLinkQueId = 0;
    
        ipcOutVpssPrm.inQueParams.prevLinkId    = dupId ;//dup
    
        ipcOutVpssPrm.inQueParams.prevLinkQueId = 1;
        ipcOutVpssPrm.numOutQue                 = 1;
        ipcOutVpssPrm.notifyNextLink            = TRUE;
        ipcOutVpssPrm.notifyPrevLink            = TRUE;
        ipcOutVpssPrm.noNotifyMode              = FALSE;
        ipcOutVpssPrm.outQueParams[0].nextLink  = ipcInVideoId ;
    
        //ipcVpssOut to ipcBitsIn Video
        ipcInVideoPrm.inQueParams.prevLinkId    = ipcOutVpssId;
        ipcInVideoPrm.inQueParams.prevLinkQueId = 0;
        ipcInVideoPrm.numOutQue                 = 1;
        ipcInVideoPrm.notifyNextLink            = TRUE;
        ipcInVideoPrm.notifyPrevLink            = TRUE;
        ipcInVideoPrm.noNotifyMode              = FALSE;
        ipcInVideoPrm.outQueParams[0].nextLink  = gVencModuleContext.encId;
    
         {
            EncLink_ChCreateParams *pLinkChPrm;
            EncLink_ChDynamicParams *pLinkDynPrm;
            VENC_CHN_DYNAMIC_PARAM_S *pDynPrm;
            VENC_CHN_PARAMS_S *pChPrm;
    
            EncLink_CreateParams_Init(&encPrm);
    
            //encPrm.numBufPerCh[0] = 6;
    
            /* Primary Stream Params - D1 */
            for (i=0; i<gVencModuleContext.vencConfig.numPrimaryChn; i++)
            {
                pLinkChPrm  = &encPrm.chCreateParams[i];
                pLinkDynPrm = &pLinkChPrm->defaultDynamicParams;
    
                pChPrm      = &gVencModuleContext.vencConfig.encChannelParams[i];
                pDynPrm     = &pChPrm->dynamicParam;
    
                pLinkChPrm->format                  = IVIDEO_H264HP;
                pLinkChPrm->profile                 = gVencModuleContext.vencConfig.h264Profile[i];
                pLinkChPrm->dataLayout              = IVIDEO_FIELD_SEPARATED;
                pLinkChPrm->fieldMergeEncodeEnable  = FALSE;
                pLinkChPrm->enableAnalyticinfo      = pChPrm->enableAnalyticinfo;
                pLinkChPrm->enableWaterMarking      = pChPrm->enableWaterMarking;
                pLinkChPrm->maxBitRate              = pChPrm->maxBitRate;
                pLinkChPrm->encodingPreset          = pChPrm->encodingPreset;
                pLinkChPrm->rateControlPreset       = pChPrm->rcType;
                pLinkChPrm->enableSVCExtensionFlag  = pChPrm->enableSVCExtensionFlag;
                pLinkChPrm->numTemporalLayer        = pChPrm->numTemporalLayer;
    
                pLinkDynPrm->intraFrameInterval     = pDynPrm->intraFrameInterval;
                pLinkDynPrm->targetBitRate          = pDynPrm->targetBitRate;
                pLinkDynPrm->interFrameInterval     = 1;
                pLinkDynPrm->mvAccuracy             = IVIDENC2_MOTIONVECTOR_QUARTERPEL;
                pLinkDynPrm->inputFrameRate         = pDynPrm->inputFrameRate;
                pLinkDynPrm->rcAlg                  = pDynPrm->rcAlg;
                pLinkDynPrm->qpMin                  = pDynPrm->qpMin;
                pLinkDynPrm->qpMax                  = pDynPrm->qpMax;
                pLinkDynPrm->qpInit                 = pDynPrm->qpInit;
                pLinkDynPrm->vbrDuration            = pDynPrm->vbrDuration;
                pLinkDynPrm->vbrSensitivity         = pDynPrm->vbrSensitivity;
            }
            
            encPrm.inQueParams.prevLinkId   = ipcInVideoId;
            encPrm.inQueParams.prevLinkQueId= 0;
            encPrm.outQueParams.nextLink = gVencModuleContext.ipcBitsOutRTOSId;
        }
        
        // Encoder to ipcBitsOutVideo
        ipcBitsOutVideoPrm.baseCreateParams.inQueParams.prevLinkId = gVencModuleContext.encId;
        ipcBitsOutVideoPrm.baseCreateParams.inQueParams.prevLinkQueId = 0;
        ipcBitsOutVideoPrm.baseCreateParams.numOutQue                 = 1;
        ipcBitsOutVideoPrm.baseCreateParams.outQueParams[0].nextLink = gVencModuleContext.ipcBitsInHLOSId;
        MultiCh_ipcBitsInitCreateParams_BitsOutRTOS(&ipcBitsOutVideoPrm, TRUE);
    
        ipcBitsInHostPrm.baseCreateParams.inQueParams.prevLinkId = gVencModuleContext.ipcBitsOutRTOSId;
        ipcBitsInHostPrm.baseCreateParams.inQueParams.prevLinkQueId = 0;
        ipcBitsInHostPrm.baseCreateParams.outQueParams[0].nextLink   = SYSTEM_LINK_ID_INVALID;
        MultiCh_ipcBitsInitCreateParams_BitsInHLOS(&ipcBitsInHostPrm);
            
        swMsPrm.numSwMsInst = 1;
        swMsPrm.swMsInstId[0] = SYSTEM_SW_MS_SC_INST_SC5;
        swMsPrm.inQueParams.prevLinkId    = gVcapModuleContext.ipcFramesOutVpssId[0];
        swMsPrm.inQueParams.prevLinkQueId = 0;
        swMsPrm.outQueParams.nextLink     = gVdisModuleContext.displayId[0];
        swMsPrm.maxInputQueLen            = 4;  
        swMsPrm.maxOutRes  = VSYS_STD_PAL;
        swMsPrm.initOutRes = gVdisModuleContext.vdisConfig.deviceParams[VDIS_DEV_SD].resolution;
        swMsPrm.lineSkipMode = TRUE; // Double pitch not possible in tiler mode; so Line skip not possible
        swMsPrm.enableLayoutGridDraw = gVdisModuleContext.vdisConfig.enableLayoutGridDraw;
        swMsPrm.lineSkipMode = FALSE;
        swMsPrm.layoutPrm.outputFPS = 30;
        MultiCh_swMsGetDefaultLayoutPrm(VDIS_DEV_SD, &swMsPrm, FALSE /*TRUE*/);
        
        displayPrm.inQueParams[0].prevLinkId    = gVdisModuleContext.swMsId[0];
        displayPrm.inQueParams[0].prevLinkQueId = 0;
        displayPrm.displayRes            = gVdisModuleContext.vdisConfig.deviceParams[VDIS_DEV_SD].resolution;
        displayPrm.forceFieldSeparatedInputMode = FALSE;
        
        System_linkCreate(gVcapModuleContext.captureId, &capturePrm, sizeof(capturePrm));
        System_linkCreate(gVcapModuleContext.deiId[0], &deiPrm, sizeof(deiPrm));
        System_linkCreate(dupId, &dupPrm, sizeof(dupPrm));
        System_linkCreate(gVcapModuleContext.ipcFramesOutVpssId[0],&ipcFramesOutVpssPrm,sizeof(ipcFramesOutVpssPrm));
        System_linkCreate(gVcapModuleContext.ipcFramesInDspId[0],&ipcFramesInDspPrm,sizeof(ipcFramesInDspPrm));
        System_linkCreate(gVcapModuleContext.dspAlgId[0],&dspAlgPrm,sizeof(dspAlgPrm));
        System_linkCreate(ipcOutVpssId , &ipcOutVpssPrm , sizeof(ipcOutVpssPrm) );
        System_linkCreate(ipcInVideoId , &ipcInVideoPrm , sizeof(ipcInVideoPrm) );
        System_linkCreate(gVencModuleContext.encId, &encPrm, sizeof(encPrm));
        System_linkCreate(gVencModuleContext.ipcBitsOutRTOSId, &ipcBitsOutVideoPrm, sizeof(ipcBitsOutVideoPrm));
        System_linkCreate(gVencModuleContext.ipcBitsInHLOSId, &ipcBitsInHostPrm, sizeof(ipcBitsInHostPrm));  
        System_linkCreate(gVdisModuleContext.swMsId[0],&swMsPrm, sizeof(swMsPrm));     
        System_linkCreate(gVdisModuleContext.displayId[0], &displayPrm, sizeof(displayPrm)); 
    
         MultiCh_memPrintHeapStatus();
    }
    
    Void MultiCh_deleteVcapVenc()
    {
        UInt32 ipcOutVpssId, ipcInVideoId;
        
        ipcOutVpssId = SYSTEM_VPSS_LINK_ID_IPC_OUT_M3_0;
        ipcInVideoId = SYSTEM_VIDEO_LINK_ID_IPC_IN_M3_0;
    
        System_linkDelete(gVcapModuleContext.captureId);
        System_linkDelete(gVcapModuleContext.deiId[0]); 
         System_linkDelete(SYSTEM_VPSS_LINK_ID_DUP_0);
        System_linkDelete(gVcapModuleContext.ipcFramesOutVpssId[0]);
        System_linkDelete(gVcapModuleContext.ipcFramesInDspId[0]);
        System_linkDelete(gVcapModuleContext.dspAlgId[0]);
    
        System_linkDelete(ipcOutVpssId );
        System_linkDelete(ipcInVideoId );
    
        System_linkDelete(gVencModuleContext.encId);
        System_linkDelete(gVencModuleContext.ipcBitsOutRTOSId);
        System_linkDelete(gVencModuleContext.ipcBitsInHLOSId);
        System_linkDelete(gVdisModuleContext.swMsId[0] );
        System_linkDelete(gVdisModuleContext.displayId[0]);  
        
        /* Print the HWI, SWI and all tasks load */
        /* Reset the accumulated timer ticks */
        MultiCh_prfLoadCalcEnable(FALSE, TRUE, FALSE);
    }
    

  • Confirm every link you are creating is being deleted in the usecase. You can figure out if you are not deleting any link by stopping the usecase and trying to execute ./unload.sh. Once you have confirmed all links are deleted and you still see the issue share logs of Vsys_printDetailedStatistics collected 3 times at 1 min interval when issue occurs.

  •  Badri,

    The demo randomly works on boot. Attached are the working and non-working logs. The only difference between the logs that I see are the shared memory addresses allocated.  Can you please take a look at them and let me know your opinion on the issue?

    Thanks,

    Shilpa

    U-Boot 2010.06 (Aug 02 2013 - 12:19:30)
    
    TI8148-GP rev 3.0
    
    L3 clk         : 200MHz
    IVA clk        : 266MHz
    ISS clk        : 400MHz
    DSP clk        : 500MHz
    DSS clk        : 200MHz
    ARM clk        : 600MHz
    DDR clk        : 400MHz
    
    DRAM:  1 GiB
    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 (Aug 02 2013 - 12:20:03)
    
    TI8148-GP rev 3.0
    
    L3 clk         : 200MHz
    IVA clk        : 266MHz
    ISS clk        : 400MHz
    DSP clk        : 500MHz
    DSS clk        : 200MHz
    ARM clk        : 600MHz
    DDR clk        : 400MHz
    
    I2C:   ready
    DRAM:  1 GiB
    NAND:  HW ECC BCH8 Selected
    256 MiB
    MMC:   OMAP SD/MMC: 0
                              .:;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,                
    
    Net:   Detected MACID:84:7e:40:7e:eb:de
    cpsw
    Hit any key to stop autoboot:  0 
    
    NAND read: device 0 offset 0x580000, size 0x300000
     3145728 bytes read: OK
    ## Booting kernel from Legacy Image at 81000000 ...
       Image Name:   Linux-2.6.37
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2714708 Bytes = 2.6 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Linux version 2.6.37 (omap@omap-HP-Compaq-dc5800-Microtower) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Thu Jun 27 13:40:35 CDT 2013
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti8148evm
    vram size = 20971520 at 0x0
    ti81xx_reserve: ### Reserved DDR region @87f00000
    reserved size = 20971520 at 0x0
    FB: Reserving 20971520 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8148 3.0
    SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 27136
    Kernel command line: console=ttyO0,115200n8 rootwait root=/dev/nfs nfsroot=10.0.3.18:/home/omap/netra/rfs_814x rw rootdelay=15 mem=128M ip=10.0.3.28:10.0.3.18:10.0.0.1:255.255.0.0::eth0:off notifyk.vpssm3_sva=0xBFD00000 ddr_mem=512M
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 106MB 1MB = 107MB total
    Memory: 102580k/102580k available, 28492k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xc8800000 - 0xf8000000   ( 760 MB)
        lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc003a000   ( 200 kB)
          .text : 0xc003a000 - 0xc0525000   (5036 kB)
          .data : 0xc0526000 - 0xc0571480   ( 302 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:407
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    Total of 128 interrupts on 1 active controller
    GPMC revision 6.0
    Trying to install interrupt handler for IRQ400
    Trying to install interrupt handler for IRQ401
    Trying to install interrupt handler for IRQ402
    Trying to install interrupt handler for IRQ403
    Trying to install interrupt handler for IRQ404
    Trying to install interrupt handler for IRQ405
    Trying to install interrupt handler for IRQ406
    Trying to install type control for IRQ407
    Trying to set irq flags for IRQ407
    OMAP clockevent source: GPTIMER1 at 20000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 599.65 BogoMIPS (lpj=2998272)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    TI81XX: Map 0x87f00000 to 0xfe500000 for dram barrier
    TI81XX: Map 0x40300000 to 0xfe600000 for sram barrier
    omap_voltage_early_init: voltage driver support not added
    regulator: core version 0.5
    regulator: dummy: 
    NET: Registered protocol family 16
    omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    omap_voltage_add_dev: VDD specified does not exist!
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    clk get on i2c3 fck failed
    Cannot clk_get ck_32
    Debugfs: Only enabling/disabling deep sleep and wakeup timer is supported now
    registered ti81xx_vpss device
    registered ti81xx_vidout device
    registered ti81xx on-chip HDMI device
    registered ti81xx_fb device
    registered ti81xx_vin device
    bio: create slab <bio-0> at 0
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    USBSS revision 4ea2080b
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz
    omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Switching to clocksource gp timer
    musb-hdrc: version 6.0, host, debug=0
    musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    MUSB controller-0 revision 4ea20800
    usb2phy: computed values rxcalib(15)DACs(25 14 15)
    usb2phy: override computed values rxcalib(15)DACs(25 14 15)
    usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f6cdd7e
    musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: MUSB HDRC host driver
    usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
    usb usb1: SerialNumber: musb-hdrc.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.0: USB Host mode controller at c881e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    usb2phy: computed values rxcalib(15)DACs(38 14 14)
    usb2phy: override computed values rxcalib(15)DACs(38 14 14)
    usb2phy_config: musb(1) rxcalib done, rxcalib read value 6f735d76
    musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
    usb usb2: SerialNumber: musb-hdrc.1
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.1: USB Host mode controller at c8828800 using DMA, IRQ 19
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    NetWinder Floating Point Emulator V0.97 (double precision)
    PMU: registered new PMU device of type 0
    omap-iommu omap-iommu.0: ducati registered
    omap-iommu omap-iommu.1: sys registered
    JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
    msgmni has been set to 200
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    console [ttyO0] enabled
    omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    brd: module loaded
    loop: module loaded
    omap2-nand driver initializing
    ONFI param page 0 valid
    ONFI flash detected
    NAND device: Maf ID: 0x2c, Chip ID: 0xca (Micron, NAND 256MiB 3,3V 16-bit)
     erasesize: 0x20000, writesize: 2048, oobsize: 64
    omap2-nand: detected x16 NAND flash 
    Creating 7 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000020000 : "U-Boot-min"
    0x000000020000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x000000580000 : "U-Boot Logo"
    0x000000580000-0x0000009c0000 : "Kernel"
    0x0000009c0000-0x00000d1e0000 : "File System"
    0x00000d1e0000-0x000010000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffffc
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    CAN device driver interface
    CAN bus driver for Bosch D_CAN controller 1.0
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    usbcore: registered new interface driver cdc_acm
    cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    rtc-ds1307 1-0068: rtc core: registered ds1340 as rtc0
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc1
    i2c /dev entries driver
    Linux video capture interface: v2.00
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v1.0.0)
    OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0xbfd00000
    usbcore: registered new interface driver snd-usb-audio
    ALSA device list:
      No soundcards found.
    TCP cubic registered
    NET: Registered protocol family 17
    can: controller area network core (rev 20090105 abi 8)
    NET: Registered protocol family 29
    can: raw protocol (rev 20090105)
    can: broadcast manager protocol (rev 20090105 t)
    Registering the dns_resolver key type
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    Power Management for TI81XX.
    deviceless supply mpu not found, using dummy regulator
    Detected MACID=84:7e:40:7e:eb:de
    Detected MACID=84:7e:40:7e:eb:df
    rtc-ds1307 1-0068: setting system clock to 2013-09-26 22:41:06 UTC (1380235266)
    
    CPSW phy found : id is : 0x4dd074
    IP-Config: Complete:
         device=eth0, addr=10.0.3.28, mask=255.255.0.0, gw=10.0.0.1,
         host=10.0.3.28, domain=, nis-domain=(none),
         bootserver=10.0.3.18, rootserver=10.0.3.18, rootpath=
    Waiting 15sec before mounting root device...
    PHY: 0:00 - Link is Up - 1000/Full
    VFS: Mounted root (nfs filesystem) on device 0:15.
    devtmpfs: mounted
    Freeing init memory: 200K
    INIT: version 2.88 booting
     Mounting /dev/shm              :  Mounting /dev/pts          :  Mounting other filesystems :  Mounting /dev/sda1              : mount: mounting /dev/sda1 on /media/sda1 failed: No such file or directory
    Sync command ...Error opening /dev/fb0: No such file or directory
    Starting Bootlog daemon: 
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org dm814x ttyO0
    
    Arago 2012.10 dm814x ttyO0
    
    dm814x login: root
    root@dm814x:~# cd /opt
    opt/     opt.zip  
    root@dm814x:~# cd /opt/dvr_rdk/ti814x/
    root@dm814x:/opt/dvr_rdk/ti814x# ./init.sh 
    *** Bootargs Validated for mem param ***
    *** Bootargs Validated for notifyk.vpssm3 params ***
    Kernel bootargs validated
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff10820
     [m3vpss ] Remote Debug Shared Memory @ 0xbff21040
    SysLink version : 2.20.02.20
    SysLink module created on Date:Sep 26 2013 Time:12:04:34
    Trace enabled
    Trace SetFailureReason enabled
     Setting DMM priority for [DUCATI  ] to [0] ( 0x4e000624 = 0x08000000 )
     Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
     
     *** TVP5158 probe : START ***
     
     TI VS EVM : TVP5158 device address : 0x58, 0x59
     
     Device found     : I2C (0xXX): 0x08 = 0x51
                        I2C (0xXX): 0x09 = 0x58
     
     Device NOT found : I2C (0xXX): Read ERROR !!! (reg[0x08], count = 2)
     
     I2C (0x58): 0x08 = 0x51 
     I2C (0x58): 0x09 = 0x58 
     I2C (0x59): 0x08 = 0x51 
     I2C (0x59): 0x09 = 0x58 
     
     *** TVP5158 probe : END ***
     
    /opt/dvr_rdk/ti814x
    root@dm814x:/opt/dvr_rdk/ti814x# ./load.sh 
    Attached to slave procId 2.
    Loaded file ../firmware/dvr_rdk_fw_m3vpss_512M_128M.xem3 on slave procId 2.
    Started slave procId 2.
    After Ipc_loadcallback status [0x00000000]
     [m3vpss ]      ISS Freq  : 400 MHz
    After Ipc_startcallback status [0x00000000]
     [m3vpss ] ***** VPSS Firmware build time 22:37:18 Sep 26 2013  EDG gcc 3.0 mode
     [m3vpss ] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 200000000
     [m3vpss ] notify_attach  rtnVal  0
     [m3vpss ] initProxyServer  rtnVal  0
     [m3vpss ]  
     [m3vpss ]  *** UTILS: CPU KHz = 400000 Khz ***
     [m3vpss ]  
     [m3vpss ]  51: SYSTEM  : System Common Init in progress !!!
     [m3vpss ]  52: SYSTEM: IPC init in progress !!!
     [m3vpss ]  52: SYSTEM: Attaching to [HOST] ... 
     [m3vpss ]  55: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
    Attached to slave procId 1.
    Loaded file ../firmware/dvr_rdk_fw_m3video_512M_128M.xem3 on slave procId 1.
    Started slave procId 1.
    After Ipc_loadcallback status [0x00000000]
    After Ipc_startcallback status [0x00000000]
     [m3video]      ISS Freq  : 400 MHz
     [m3video] ***** VIDEO Firmware build time 22:38:24 Sep 26 2013  EDG gcc 3.0 mode
     [m3video] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 200000000
     [m3video]  
     [m3video]  *** UTILS: CPU KHz = 400000 Khz ***
     [m3video]  
     [m3video]  197: SYSTEM  : System Common Init in progress !!!
     [m3video]  198: SYSTEM: IPC init in progress !!!
     [m3video]  198: SYSTEM: Attaching to [HOST] ... 
     [m3video]  201: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
    Attached to slave procId 0.
    Loaded file ../firmware/dvr_rdk_fw_c6xdsp_512M_128M.xe674 on slave procId 0.
    Started slave procId 0.
    After Ipc_loadcallback status [0x00000000]
     [c6xdsp ]      DSP Freq  : 500 MHz
    After Ipc_startcallback status [0x00000000]
     [m3video]  319: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [m3vpss ]  321: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [c6xdsp ] ***** VIDEO Firmware build time 22:35:48 Sep 26 2013  EDG gcc 3.0 mode
     [m3video]  323: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [m3vpss ]  323: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [c6xdsp ] ***** SYSTEM  : Frequency <ORG> - 500000000, <NEW> - 500000000
     [m3video]  323: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_1] ...DMA: Module install successful, device major num = 251 
    
     [m3vpss ]  32DRV: Module install successful
    3: SYSTEM: CreatDRV: Module built on Sep 26 2013 12:05:01 
    ing MsgQ Heap [IPC_MSGQ_MSG_HEAP_2] ...
     [c6xdsp ]  
     [m3video]  323: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
     [m3vpss ]  323: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
     [c6xdsp ]  *** UTILS: CPU KHz = 500000 Khz ***
     [m3video]  324: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
     [m3vpss ]  324: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
     [c6xdsp ]  
     [m3video]  326: SYSTEM: Notify register to [HOST] line 0, event 15 ... 
     [m3vpss ]  326: SYSTEM: Notify register to [HOST] line 0, event 15 ... 
     [c6xdsp ]  1: SYSTEM  : System Common Init in progress !!!
     [m3video]  326: SYSTEM: Notify register to [DSP] line 0, event 15 ... 
     [m3vpss ]  326: SYSTEM: Notify register to [DSP] line 0, event 15 ... 
     [c6xdsp ]  1: SYSTEM: IPC init in progress !!!
     [m3video]  326: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... 
     [m3vpss ]  326: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 
     [c6xdsp ]  1: SYSTEM: Attaching to [HOST] ... 
     [m3video]  327: SYSTEM: IPC init DONE !!!
     [m3vpss ]  327: SYSTEM: IPC init DONE !!!
     [c6xdsp ]  4: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [c6xdsp ]  7: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [c6xdsp ]  9: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [c6xdsp ]  9: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_0] ...
     [c6xdsp ]  9: SYSTEM: Creating MsgQ [DSP_MSGQ] ...
     [c6xdsp ]  9: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ...
     [c6xdsp ]  10: SYSTEM: Notify register to [HOST] line 0, event 15 ... 
     [c6xdsp ]  10: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 
     [c6xdsp ]  10: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
     [c6xdsp ]  10: SYSTEM: IPC init DONE !!!
     [c6xdsp ]  13: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB) 
     [c6xdsp ]  13: MEM: ERROR: SharedRegion_setEntry (2, 0x8fcca21c) FAILED !!!  (status=-1) 
     [m3video]  335: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB) 
     [m3vpss ]  335: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB) 
     [m3video]  336: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04f00000 (79 MB) 
     [m3vpss ]  336: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04f00000 (79 MB) 
     [m3video]  338: SYSTEM  : System Common Init Done !!!
     [m3vpss ]  338: SYSTEM  : System Common Init Done !!!
     [m3video]  338: SYSTEM  : System Video Init in progress !!!
     [m3vpss ]  338: SYSTEM  : System VPSS Init in progress !!!
     [m3video]  339: SYSTEM  : System Video Init Done !!!
     [m3video]  339: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
     [m3video]  340: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
     [m3video]  340: SYSTEM: ListElem Shared Addr = 0xbf173e00
     [m3video]  343: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
     [m3video]  343: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
     [m3video]  343: SYSTEM: ListElem Shared Addr = 0xbf177300
     [m3video]  352: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_19] in region 0 ...
     [m3video]  352: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_19] in region 0 ...
     [m3video]  352: SYSTEM: ListElem Shared Addr = 0xbf17a800
     [m3video]  356: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_20] in region 0 ...
     [m3video]  356: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_20] in region 0 ...
     [m3video]  356: SYSTEM: ListElem Shared Addr = 0xbf1a0000
     [m3video]  360: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_21] in region 0 ...
     [m3vpss ] === I2C0/2 Clk is active ===
     [m3video]  360: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_21] in region 0 ...
     [m3vpss ] PLATFORM: UNKNOWN CPU detected, defaulting to VPS_PLATFORM_CPU_REV_2_1
     [m3video]  360: SYSTEM: ListElem Shared Addr = 0xbf1c5800
     [m3vpss ]  362: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...
     [m3video]  380: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_24] in region 0 ...
     [m3vpss ]  363: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
     [m3video]  381: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_24] in region 0 ...
     [m3vpss ]  363: SYSTEM: ListElem Shared Addr = 0xbf1eb000
     [m3video]  381: SYSTEM: ListElem Shared Addr = 0xbf1f1a00
     [m3vpss ]  366: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
     [m3video]  384: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_25] in region 0 ...
     [m3vpss ]  367: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
     [m3video]  385: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_25] in region 0 ...
     [m3vpss ]  367: SYSTEM: ListElem Shared Addr = 0xbf1ee500
     [m3video]  385: SYSTEM: ListElem Shared Addr = 0xbf20f500
     [m3vpss ]  388: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_19] in region 0 ...
     [m3video]  387: HDVICP: Doing PRCM for IVAHD[0] ... 
     [m3vpss ]  388: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_19] in region 0 ...
     [m3video]  388: HDVICP: PRCM for IVAHD[0] ... DONE.
     [m3vpss ]  388: SYSTEM: ListElem Shared Addr = 0xbf22d000
     [m3video]  389: UTILS: DMA: HWI Create for INT62 !!!
     [m3vpss ]  392: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_20] in region 0 ...
     [m3video]  390: SYSTEM  : ISS Init in progress !!!
     [m3vpss ]  392: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_20] in region 0 ...
     [m3video]  390: SYSTEM  : ISS Power-ON in progress !!!
     [m3vpss ]  392: SYSTEM: ListElem Shared Addr = 0xbf252800
     [m3video]  399: SYSTEM  : ISS Power-ON in progress DONE !!!
     [m3vpss ]  396: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_21] in region 0 ...
     [m3video]  400: SYSTEM  : ISS Init in progress DONE !!!
     [m3vpss ]  396: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_21] in region 0 ...
     [m3video]  400: VCOP BOOST BIT is Set
     [m3vpss ]  396: SYSTEM: ListElem Shared Addr = 0xbf278000
     [m3video]  400: SYSTEM  : VCOP Init in progress !!!
     [m3vpss ]  399: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_37
     [m3video]  400: SYSTEM  : VCOP needs 172 B of memory !!!
     [m3vpss ]  399: SYSTEM  : FVID2 Init in progress !!!
     [m3video]  402: SYSTEM  : VCOP Init in progress DONE !!!
     [m3video]  402: SYSTEM  : Initializing Links !!! 
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff10820
     [m3vpss ] Remote Debug Shared Memory @ 0xbff21040
     [m3video]  402: SYSTEM  : FREE SPACE : System Heap      = 6263296 B, Mbx = 10240 msgs) 
     [m3vpss ] TILER_STATS: CNT :8BIT
     [m3video]  402: SYSTEM  : FREE SPACE : SR0 Heap         = 6434304 B (6 MB) 
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    16384 x 5440
     [m3video]  402: SYSTEM  : FREE SPACE : Frame Buffer     = 117440384 B (111 MB) 
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
     [m3video]  402: SYSTEM  : FREE SPACE : Bitstream Buffer = 82837376 B (78 MB) 
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3video]  403: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     [m3video]  405: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3video]  405: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   89063424 (99 %)
     [m3video]  474: SYSTEM  : Initializing Links ... DONE !!! 
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3vpss ] TILER_STATS: CNT :16BIT
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    32768 x 1344
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344
     [m3vpss ] Received character 's'
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff10820
     [m3vpss ] Remote Debug Shared Memory @ 0xbff21040
     [m3video] Received character 's'
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   44040192 (100 %)
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff10820
     [m3vpss ] Remote Debug Shared Memory @ 0xbff21040
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3vpss ] PLATFORM: UNKNOWN CPU detected, defaulting to VPS_PLATFORM_CPU_REV_2_1
     [m3vpss ]  488: SYSTEM  : FVID2 Init in progress DONE !!!
     [m3vpss ]  488: SYSTEM  : Device Init in progress !!!
     [m3vpss ]  588: SYSTEM  : Device Init in progress DONE !!!
     [m3vpss ]      HDVPSS Freq  : 220 MHz
     [m3vpss ]  644: SYSTEM  : System VPSS Init Done !!!
     [m3vpss ]  645: UTILS: DMA: HWI Create for INT63 !!!
     [m3vpss ]  646: SYSTEM  : Initializing Links !!! 
     [m3vpss ]  646: SYSTEM  : FREE SPACE : System Heap      = 250280 B, Mbx = 10240 msgs) 
     [m3vpss ]  646: SYSTEM  : FREE SPACE : SR0 Heap         = 6434304 B (6 MB) 
     [m3vpss ]  646: SYSTEM  : FREE SPACE : Frame Buffer     = 113130368 B (107 MB) 
     [m3vpss ]  646: SYSTEM  : FREE SPACE : Bitstream Buffer = 82837376 B (78 MB) 
     [m3vpss ] TILER_STATS: CNT :8BIT
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    16384 x 5440
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   89063424 (99 %)
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3vpss ] TILER_STATS: CNT :16BIT
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    32768 x 1344
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   44040192 (100 %)
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3vpss ]  648: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
     [m3vpss ]  648: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
     [m3vpss ]  822: SYSTEM  : Initializing Links ... DONE !!! 
     [m3vpss ]  823: SYSTEM  : Set Static L3 pressure for HDVPSS as High
     [c6xdsp ]  1013: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04f00000 (79 MB) 
     [c6xdsp ]  1014: SYSTEM  : System Common Init Done !!!
     [c6xdsp ]  1012: SYSTEM  : System DSP Init in progress !!!
     [c6xdsp ]  1013: SYSTEM  : RpeServer_init() done... Ret Val 0!!!
     [c6xdsp ]  1018: SYSTEM: Creating ListMP [DSP_IPC_OUT_19] in region 0 ...
     [c6xdsp ]  1018: SYSTEM: Creating ListMP [DSP_IPC_IN_19] in region 0 ...
     [c6xdsp ]  1019: SYSTEM: ListElem Shared Addr = 0xbf29d800
     [c6xdsp ]  1020: SYSTEM: Creating ListMP [DSP_IPC_OUT_20] in region 0 ...
     [c6xdsp ]  1020: SYSTEM: Creating ListMP [DSP_IPC_IN_20] in region 0 ...
     [c6xdsp ]  1020: SYSTEM: ListElem Shared Addr = 0xbf2c3000
     [c6xdsp ]  1021: SYSTEM: Creating ListMP [DSP_IPC_OUT_21] in region 0 ...
     [c6xdsp ]  1021: SYSTEM: Creating ListMP [DSP_IPC_IN_21] in region 0 ...
     [c6xdsp ]  1021: SYSTEM: ListElem Shared Addr = 0xbf2e8800
     [c6xdsp ]  1022: [module] vpss probe done.
    SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 ...
     [c6xdsp ]  1023: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ...
     [c6xdsp ]  1023: SYSTEM: ListElem Shared Addr = 0xbf30e000
     [c6xdsp ]  1024: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ...
     [c6xdsp ]  1024: [module] ti81xxfb probe done.
    SYSTEM: Creating ListMP [DSP_IPC_IN_25] in region 0 ...
     [c6xdsp ]  1024: SYSTEM: ListElem Shared Addr = 0xbf32bb00
     [c6xdsp ] !!WARNING.Resource already registered:2
     [c6xdsp ]  1023: SYSTEM  : Initializing Links !!! 
     [c6xdsp ]  1025: SYSTEM  : FREE SPACE : System Heap      = 6393472 B, Mbx = 10240 msgs) 
     [c6xdsp ]  1040: SYSTEM  : Initializing Links ... DONE !!! 
     [c6xdsp ] Received character 's'
    /opt/dvr_rdk/ti814x
     [c6xdsp ]  1040: SYSTEM  : System DSP Init Done !!!
    root@dm814x:/opt/dvr_rdk/ti814x# ./bin/trafficware_demo.out 
    
     =========
     Main Menu
     =========
    
     1: 4CH VCAP + VENC - Encode + Save
    
    
     e: Exit
    
     Enter Choice: 1
    ----found ini stuff
    --------------- CHANNEL DETAILS-------------
    Capture Channels => 4
    ---------------------- :) ---------------------
     0: SYSTEM: System Common Init in progress !!!
     0: SYSTEM: IPC init in progress !!!
     12: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!
     12: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!
     12: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!
     12: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!
     12: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_3] ...
     15: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
     17: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
     19: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
     19: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
     20: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     21: SYSTEM: Notify register to [DSP] line 0, event 15 ... 
     21: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 
     22: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... 
     22: SYSTEM: IPC init DONE !!!
     24: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
     26: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
     27: SYSTEM: ListElem Shared Addr = 0x40f91880
     28: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
     30: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
     31: SYSTEM: ListElem Shared Addr = 0x40fc6a80
     33: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...
     35: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...
     37: SYSTEM: ListElem Shared Addr = 0x40ffbc80
     38: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
     40: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
     41: SYSTEM: ListElem Shared Addr = 0x4103ef80
     42: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
     44: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
     46: SYSTEM: ListElem Shared Addr = 0x41082280
     68: SYSTEM: System Common Init Done !!!
     
     Enable file write (YES - y / NO - n) : n
     
     File write DISABLED !!!
     
    
     [host] MCFW_IPCFRAMES:VcapVenc_ipcFramesSendRecvFxn:Entered... 2799: MCFW  : CPU Revision [ES2.1] !!! 
     VCAP: DEVICE-0 (0x58): Chip ID 0x5158, Rev 0x0002, Firmware 0x0000 !!!
     VCAP: DEVICE-0 (0x58): Detected video (720x240@59Hz, 1) !!!
     TVP5158: 0x58: NO Patch downloaded, using ROM firmware.
     TVP5158: 0x58: 5158:0002:0000
     [m3vpss ]  14076: CAPTURE: Create in progress !!!
     [m3vpss ]  14113: CAPTURE: VIP0 PortA capture mode is [ 8-bit, Pixel-mux Embedded Sync] !!! 
     [m3vpss ]  UTILS: DMA: Allocated CH (TCC) = 58 (58)
     [m3vpss ]  UTILS: DMA: 0 of 4: Allocated PaRAM = 58 (0x49004740)
     [m3vpss ]  UTILS: DMA: 1 of 4: Allocated PaRAM = 64 (0x49004800)
     [m3vpss ]  UTILS: DMA: 2 of 4: Allocated PaRAM = 65 (0x49004820)
     [m3vpss ]  UTILS: DMA: 3 of 4: Allocated PaRAM = 66 (0x49004840)
     [m3vpss ] CAPTURE::HEAPID:0    USED:328
     [m3vpss ] CAPTURE::HEAPID:4    USED:21104640
     [m3vpss ]  14225: CAPTURE: Create Done !!!
     [m3vpss ]  14226: DEI    : Create in progress !!!
     [m3vpss ]  14288: DEI     : Loading Up-scaling Co-effs
     [m3vpss ]  14288: DEI     : Co-effs Loading ... DONE !!!
     [c6xdsp ]  13987: IPC_FRAMES_IN   : Create in progress !!!
     [c6xdsp ]  13987: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_19] ...
     [m3vpss ] DEI:HEAPID:0 USED:64
     [c6xdsp ]  13988: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_19] ...
     [m3vpss ] DEI:HEAPID:1 USED:9600
     [c6xdsp ]  13989: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     [m3vpss ] DEI:HEAPID:4 USED:9000960
     [m3vpss ]  14289: DEI    : Create Done !!!
     [m3vpss ]  14295: DUP   : Create Done !!!
     [c6xdsp ] IPC_FRAMES_IN:HEAPID:0       USED:304
     [m3vpss ]  14296: IPC_FRAMES_OUT   : Create in progress !!!
     [c6xdsp ]  13990: IPC_FRAMES_IN   : Create Done !!!
     [c6xdsp ]  ALG : Create to progress 000!!!
     [m3vpss ]  14299: IPC_FRAMES_OUT   : Create Done !!!
     [c6xdsp ]  13991: ALG : Create in progress !!!
     [c6xdsp ] =======now 0 0 , 480 0
     [m3video]  14319: IPC_IN_M3   : Create in progress !!!
     [m3vpss ]  14317: IPC_OUT_M3   : Create in progress !!!
     [c6xdsp ] ------------HEY it created it...4 
     [m3video]  14319: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
     [m3vpss ]  14318: IPC_OUT_M3   : Create Done !!!
     [c6xdsp ] -------------------setChwinprm 0 0 0 7 0 0 0 0
     [m3video]  14320: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
     [c6xdsp ] -------------------setChwinprm 1 0 0 0 7 0 0 0
     [m3video]  14323: IPC_IN_M3   : Create Done !!!
     [c6xdsp ] -------------------setChwinprm 2 480 0 0 0 7 0 0
     [c6xdsp ] -------------------setChwinprm 3 720 0 0 0 0 7 0
     [m3video]  14323: ENCODE: Create in progress ... !!!
     [c6xdsp ] ALGLINK:HEAPID:0     USED:2616
     [c6xdsp ] ALGLINK:HEAPID:1     USED:12328
     [c6xdsp ] ALGLINK:HEAPID:6     USED:233728
     [c6xdsp ]  14003: ALG : Create Done !!!
     [m3video]  14359: ENCODE: Creating CH0 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ... 
     [m3video] ENCLINK_H264:HEAPID:0        USED:13808
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  14372: ENCODE: Creating CH1 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ... 
    
     [host] IpcBitsInLink_tskMain:Entered
     [host]  3205: IPC_BITS_IN   : Create in progress !!!
    
     [host]  3205: IPC_BITS_IN   : ListMPOpen start !!!
    
     [host]  3205: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_24] ...
     3207: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_24] ...
    
     [host]  3209: IPC_BITS_IN   : ListMPOpen done !!!
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  14383: ENCODE: Creating CH2 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ... 
    
     [host]  3210: IPC_BITS_IN   : System_linkGetInfo done !!!
    
     [host]  3210: IPC_BITS_IN   : Create Done !!!
     [m3vpss ]  14416: SWMS: Create in progress !!!
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  14395: ENCODE: Creating CH3 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ... 
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3vpss ]  UTILS: DMA: Allocated CH (TCC) = 59 (59)
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3vpss ]  UTILS: DMA: 0 of 1: Allocated PaRAM = 59 (0x49004760)
     [m3video]  14406: ENCODE: All CH Create ... DONE !!!
     [m3vpss ] SWMS: instance 0, sc id 5, start win 0 end win 17
     [m3vpss ]  14450: SWMS0    : Loading Vertical Co-effs (UPSCALE)x ... 
     [m3video] ENCLINK:HEAPID:0     USED:49584
     [m3vpss ]  14450: SWMS0    : Loading Horizontal Co-effs (UPSCALE)x ... 
     [m3video] ENCLINK:HEAPID:2     USED:4976640
     [m3vpss ]  14451: SWMS    : Co-effs Loading ... DONE !!!
     [m3video] ENCLINK:HEAPID:3     USED:6045696
     [m3video]  14407: ENCODE: Create ... DONE !!!
     [m3vpss ] AVSYNC:WARNING!! Application wrongly configureddisplayID[-1]. Reseting to correct displayID[2]
     [m3video]  14408: IPC_BITS_OUT   : Create in progress !!!
     [m3vpss ]  14452: SWMS    : ******* Configuring clock 30 secs... 
     [m3vpss ]  14452: SWMS0    : Loading Vertical Co-effs (UPSCALE)x ... 
     [m3vpss ]  14452: SWMS0    : Loading Horizontal Co-effs (UPSCALE)x ... 
     [m3video]  14411: IPC_BITS_OUT   : Create Done !!!
     [m3vpss ]  14452: SWMS    : Co-effs Loading ... DONE !!!
     [m3vpss ]  
     [m3vpss ]  *** [SWMS0] Mosaic Parameters *** 
     [m3vpss ]  
     [m3vpss ]  Output FPS: 30
     [m3vpss ]  
     [m3vpss ]  Win | Ch  | Input      | Input          | Input         | Input       | Output     |  Output         | Output        | Output      | Low Cost | SWMS | Data  | Blank |
     [m3vpss ]  Num | Num | Start X, Y | Width x Height | Pitch Y / C   | Memory Type | Start X, Y |  Width x Height | Pitch Y / C   | Memory Type | ON / OFF | Inst | Format| Frame |
     [m3vpss ]  ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |   0 |    0,    0 |   720 x    240 |  1440 /  1440 | NON-TILED   |    0,    0 |   720 x    480 |  1472 /      0 | NON-TILED   |       ON |    0 |  420SP |   OFF |
     [m3vpss ]  
    --------- 4 do it mg 16
     [m3vpss ] SWMS:HEAPID:0        USED:224
     [m3vpss ] SWMS:HEAPID:1        USED:47296
     [m3vpss ] SWMS:HEAPID:4        USED:3391488
     [m3vpss ]  14454: SWMS: Create Done !!!
     [m3vpss ]  14454: DISPLAY: Create in progress !!!
     [m3vpss ]  14456: DISPLAY: Create Done !!!
     [FBDEV] 
     [FBDEV] Fix Screen Info
     [FBDEV] ---------------
     [FBDEV] Line Length - 2880
     [FBDEV] Physical Address = 86c00000
     [FBDEV] Buffer Length = 1048576
     [FBDEV] 
     [FBDEV] 
     [FBDEV] Var Screen Info
     [FBDEV] ---------------
     [FBDEV] Xres - 720
     [FBDEV] Yres - 364
     [FBDEV] Xres Virtual - 720
     [FBDEV] Yres Virtual - 364
     [FBDEV] Bits Per Pixel - 32
     [FBDEV] Pixel Clk - 18518
     [FBDEV] Rotation - 0
     [FBDEV] 
     [FBDEV] 
     [FBDEV] Reg Params Info
     [FBDEV] ---------------
     [FBDEV] region 0, postion 0 x 0, prioirty 1
     [FBDEV] first 1, last 1
     [FBDEV] sc en 0, sten en 0
     [FBDEV] tran en 0, type 0, key 0
     [FBDEV] blend 0, alpha 0
     [FBDEV] bb en 0, alpha 0
     [FBDEV] 
     [FBDEV] 
     [FBDEV] ### BUF SIZE = 1048320 Bytes !!! 
     [FBDEV] 
     [FBDEV] 
     [FBDEV] Fix Screen Info
     [FBDEV] ---------------
     [FBDEV] Line Length - 1440
     [FBDEV] Physical Address = 86c00000
     [FBDEV] Buffer Length = 1048576
     [FBDEV] 
     [FBDEV] 
     [FBDEV] Var Screen Info
     [FBDEV] ---------------
     [FBDEV] Xres - 720
     [FBDEV] Yres - 480
     [FBDEV] Xres Virtual - 720
     [FBDEV] Yres Virtual - 480
     [FBDEV] Bits Per Pixel - 16
     [FBDEV] Pixel Clk - 18518
     [FBDEV] Rotation - 0
     [FBDEV] 
     [FBDEV] 
     [FBDEV] Reg Params Info
     [FBDEV] ---------------
     [FBDEV] region 0, postion 0 x 0, prioirty 1
     [FBDEV] first 1, last 1
     [FBDEV] sc en 0, sten en 0
     [FBDEV] tran en 1, type 0, key 0
     [FBDEV] blend 0, alpha 0
     [FBDEV] bb en 0, alpha 0
     [FBDEV] 
     [FBDEV] 
     [FBDEV] ### BUF SIZE = 691200 Bytes !!! 
     [FBDEV] 
    FB2: mmap() Trying !!!
    ---------w=0, chid 0======
    ---------Calld vcap stuff  20 20 536870945
    ---------Calld to do henry duty
     [c6xdsp ] -------------------setChwinprm 0 10 1 1900096 1c20096 1c200fa 19000fa 0
     [m3vpss ]  14843: DISPLAY: Start in progress !!!
     [m3vpss ]  14905: DISPLAY: Start Done !!!
     [m3vpss ]  14905: DISPLAY: SDDAC(SEC1): 16 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) DropCount:0 DispLatency (Min / Max) = ( 10737 / 0 ) !!! 
     [m3vpss ]  14906: SWMS: Start in Progress !!!
     [m3vpss ]  14906: SWMS: Start Done !!!
     [m3vpss ]  14906: DISPLAY DRV: SDDAC(SEC1): Q:[2] Display:[1], Repeat:[0], DQ:[0]
     [m3vpss ]  14908: CAPTURE: Start in progress !!!
     [m3vpss ]  15008: CAPTURE: Enabled Time Stamping !!!
    
     =============
     Run-Time Menu
     =============
    
     1: Capture Settings
     2: Encode  Settings
     3: Display  Settings
    
     i: Print detailed system information
     s: Core Status: Active/In-active
    
     e: Stop Demo
    
     Enter Choice:  [m3vpss ]  15016: CAPTURE: Start Done !!!
     [c6xdsp ]  14746: SYSTEM: Opening MsgQ [HOST_MSGQ] ...
    
    
     =============
     Run-Time Menu
     =============
    
     1: Capture Settings
     2: Encode  Settings
     3: Display  Settings
    
     i: Print detailed system information
     s: Core Status: Active/In-active
    
     e: Stop Demo
    
     Enter Choice: i
     
     DEMO:  0: Detected video at CH [0,0] (720x240@59Hz, 1)!!!
     DEMO:  1: No video detected at CH [0,1] !!!
     DEMO:  2: No video detected at CH [0,2] !!!
     DEMO:  3: No video detected at CH [0,3] !!!
     
     [m3vpss ]  
     [m3vpss ]  *** Capture Driver Advanced Statistics *** 
     [m3vpss ]  
     [m3vpss ]  VIP Parser Reset Count : 0
     [m3vpss ]  
     [m3vpss ]      |   Total    Even     Odd  Total  Even   Odd  Min /  Max  Min /  Max Dropped Fid Repeat Frame Error Y/C
     [m3vpss ]  CH  |  Fields  Fields  Fields    FPS   FPS   FPS       Width      Height  Fields      Count (Desc Error Y/C)
     [m3vpss ]  ------------------------------------------------------------------------------------------------------------
     [m3vpss ]  000 |     823     412     411     63    31    31  720 /  720  243 /  244       1          1 0/0 (0/0)
     [m3vpss ]  001 |     820     407     413     63    31    31  720 /  720  243 /  288       1          9 0/0 (0/0)
     [m3vpss ]  002 |     821     408     413     63    31    31  720 /  720  243 /  288       1          8 0/0 (0/0)
     [m3vpss ]  003 |     820     407     413     63    31    31  720 /  720  243 /  288       1          9 0/0 (0/0)
     [m3vpss ]  
     [m3vpss ]  VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0 
     [m3vpss ]  
     [m3vpss ]  *** Capture List Manager Advanced Statistics *** 
     [m3vpss ]  
     [m3vpss ]  List Post Count        : 1718 
     [m3vpss ]  List Stall Count       : 0 
     [m3vpss ]  List Post Time (ms)    : Max = 0, Min = 0, Avg = 0, Total = 0 
     [m3vpss ]  INTC Timeout Count     : (0, 0) (Min timeout value = 979, 991) 
     [m3vpss ]  Descriptor miss found count : 0 
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  VIP and VPDMA registers, 
     [m3vpss ]  VIP0 : FIQ_STATUS  : 0x4810551c = 0x00000000
     [m3vpss ]  VIP1 : FIQ_STATUS  : 0x48105a1c = 0x00000000
     [m3vpss ]  VPDMA: LIST_BUSY   : 0x4810d00c = 0x00020000
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  28755: CAPTURE: Fields = 3280 (fps = 238, CPU Load = 0)
     [m3vpss ]  28755: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
     [m3vpss ]  28755: SYSTEM  : FREE SPACE : System Heap      = 243936 B, Mbx = 10239 msgs) 
     [m3vpss ]  28756: SYSTEM  : FREE SPACE : SR0 Heap         = 2160128 B (2 MB) 
     [m3vpss ]  28756: SYSTEM  : FREE SPACE : Frame Buffer     = 73587584 B (70 MB) 
     [m3vpss ]  28756: SYSTEM  : FREE SPACE : Bitstream Buffer = 77860736 B (74 MB) 
     [m3vpss ] TILER_STATS: CNT :8BIT
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    16384 x 5440
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   89063424 (99 %)
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3vpss ] TILER_STATS: CNT :16BIT
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    32768 x 1344
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   44040192 (100 %)
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3vpss ]  28759: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
     [m3vpss ]  28759: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
     [m3vpss ]  
     [m3vpss ]  *** [DEI2    ] DEI Statistics *** 
     [m3vpss ]  
     [m3vpss ]  Elasped Time           : 14 secs
     [m3vpss ]  Total Fields Processed : 3257 
     [m3vpss ]  Total Fields FPS       : 587 FPS
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  CH  | In Recv In Reject In Process Out[0] Out[1] Out[2] Out[3] Out[4] Skip Out[0] Skip Out[1] Skip Out[2] Skip Out[3] Skip Out[4] User Out[0] User Out[1] User Out[2] User Out[3] User Out[4] Latency   
     [m3vpss ]  Num | FPS     FPS       FPS        FPS    FPS    FPS    FPS    FPS       FPS         FPS         FPS         FPS         FPS       Skip FPS    Skip FPS    Skip FPS    Skip FPS    Skip FPS   Min / Max 
     [m3vpss ]  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |      58         0         58      0     29      0      0      0          58           0           0           0           0           0          29           0           0           0  15 /  32
     [m3vpss ]    1 |      58         0         57      0     29      0      0      0          57           0           0           0           0           0          28           0           0           0  14 /  32
     [m3vpss ]    2 |      58         0         58      0     29      0      0      0          58           0           0           0           0           0          29           0           0           0  14 /  32
     [m3vpss ]    3 |      58         0         57      0     29      0      0      0          57           0           0           0           0           0          28           0           0           0  14 /  32
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  *** [SWMS0] Mosaic Statistics *** 
     [m3vpss ]  
     [m3vpss ]  Elasped Time: 13 secs
     [m3vpss ]  
     [m3vpss ]  Output Request FPS   : 35 fps (459 frames) 
     [m3vpss ]  Output Actual  FPS   : 31 fps (413 frames) 
     [m3vpss ]  Output Drop    FPS   : 3 fps (46 frames) 
     [m3vpss ]  Output Reject  FPS   : 0 fps (0 frames) 
     [m3vpss ]  Scaling Internal     : 29 ms 
     [m3vpss ]  Scaling Internal min : 29 ms 
     [m3vpss ]  Scaling Internal max : 31 ms 
     [m3vpss ]  
     [m3vpss ]  Win | Window Repeat Drop Recv Que  FID Invlid Acc Event          Invalid   Que Reject Reject Latency   OutBufCopy InBufCopy
     [m3vpss ]  Num | FPS    FPS    FPS  FPS  FPS  FPS        Count (Max/Min)    CH Frames Frames     Frames Min / Max FPS        FPS      
     [m3vpss ]  ---------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |     31      0    0   31   31          0        0 (  0/255)         0          0      0  38 /  85          0         0 
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  *** [SWMS0] Mosaic Parameters *** 
     [m3vpss ]  
     [m3vpss ]  Output FPS: 30
     [m3vpss ]  
     [m3vpss ]  Win | Ch  | Input      | Input          | Input         | Input       | Output     |  Output         | Output        | Output      | Low Cost | SWMS | Data  | Blank |
     [m3vpss ]  Num | Num | Start X, Y | Width x Height | Pitch Y / C   | Memory Type | Start X, Y |  Width x Height | Pitch Y / C   | Memory Type | ON / OFF | Inst | Format| Frame |
     [m3vpss ]  ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |   0 |    0,    0 |   720 x    240 |  1440 /  1440 | NON-TILED   |    0,    0 |   720 x    480 |  1472 /      0 | NON-TILED   |       ON |    0 |  420SP |   OFF |
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  28769: DISPLAY: SDDAC(SEC1): 29 fps, Latency (Min / Max) = ( 93 / 133 ), Callback Interval (Min / Max) = ( 33 / 34 ) DropCount:0 DispLatency (Min / Max) = ( 66 / 100 ) !!! 
     [m3vpss ]  28769: DISPLAY DRV: SDDAC(SEC1): Q:[415] Display:[416], Repeat:[3], DQ:[412]
     [m3vpss ]  
     [m3vpss ]  *** IpcFramesOutRTOS Statistics *** 
     [m3vpss ]  
     [m3vpss ]  Elasped Time           : 14 secs
     [m3vpss ]  Total Fields Processed : 1630 
     [m3vpss ]  Total Fields FPS       : 116 FPS
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  CH  | In Recv In Process In Skip
     [m3vpss ]  Num | FPS     FPS        FPS    
     [m3vpss ]  --------------------------------
     [m3vpss ]    0 |      29         29       0
     [m3vpss ]    1 |      29         29       0
     [m3vpss ]    2 |      29         29       0
     [m3vpss ]    3 |      29         29       0
     [m3vpss ]  
     [c6xdsp ]  
     [c6xdsp ]  *** SCD Statistics *** 
     [c6xdsp ]  
     [c6xdsp ]  Elasped Time           : 32 secs
     [c6xdsp ]  Total Fields Processed : 0 
     [c6xdsp ]  Total Fields FPS       : 0 FPS
     [c6xdsp ]  
     [c6xdsp ]  
     [c6xdsp ]  CH  | In Recv In Process User Skip Process Skip In Process Time 
     [c6xdsp ]  Num | FPS     FPS        FPS       FPS          per frame (msec)
     [c6xdsp ]  ----------------------------------------------------------------
     [c6xdsp ]  
     [m3video]      34781: HDVICP-ID:0
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :5 %
     [m3video]               totalWait2Isr :52 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :52 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :57 %
     [m3video]               totalAcq2acqDelay :42 %
     [m3video]               totalElapsedTime in msec :   19716
     [m3video]               numAccessCnt:    2342
     [m3video]              IVA-FPS :     123
     [m3video]              Average time spent per frame in microsec:    4377
     [m3video]      34782: HDVICP-ID:1
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :0 %
     [m3video]               totalWait2Isr :0 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :0 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :0 %
     [m3video]               totalAcq2acqDelay :0 %
     [m3video]               totalElapsedTime in msec :       0
     [m3video]               numAccessCnt:       0
     [m3video]              IVA-FPS :       0
     [m3video]              Average time spent per frame in microsec:       0
     [m3video]      34783: HDVICP-ID:2
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :0 %
     [m3video]               totalWait2Isr :0 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :0 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :0 %
     [m3video]               totalAcq2acqDelay :0 %
     [m3video]               totalElapsedTime in msec :       0
     [m3video]               numAccessCnt:       0
     [m3video]              IVA-FPS :       0
     [m3video]              Average time spent per frame in microsec:       0
     [m3video]  
     [m3video]  *** ENCODE Statistics *** 
     [m3video]  
     [m3video]  Elasped Time           : 19 secs
     [m3video]  
     [m3video]  
     [m3video]  CH  | In Recv In Skip In User  Out Latency  
     [m3video]  Num | FPS     FPS     Skip FPS FPS Min / Max
     [m3video]  --------------------------------------------
     [m3video]    0 |      30       0        0  30 255 / 11307
     [m3video]    1 |      30       0        0  30 255 / 11319
     [m3video]    2 |      30       0        0  30 255 / 11319
     [m3video]    3 |      30       0        0  30 255 / 11319
     [m3video]  
     [m3video] Multi Channel Encode Average Submit Batch Size 
     [m3video] Max Submit Batch Size : 24
     [m3video] IVAHD_0 Average Batch Size : 1
     [m3video] IVAHD_0 Max achieved Batch Size : 3
     [m3video]  
     [m3video] Multi Channel Encode Batch break Stats 
     [m3video] Total Number of Batches created: 1478 
     [m3video] All numbers are based off total number of Batches created
     [m3video]       Batch breaks due to batch sizeexceeding limit: 0 %
     [m3video]       Batch breaks due to ReqObj Que being empty: 100 %
     [m3video]       Batch breaks due to changed resolution class: 0 %
     [m3video]       Batch breaks due to interlace and progressivecontent mix: 0 %
     [m3video]       Batch breaks due to channel repeat: 0 %
     [m3video]       Batch breaks due to different codec: 0 %
     [m3vpss ]  
     [m3vpss ]  37787: LOAD: CPU: 16.4% HWI: 3.0%, SWI:1.9% 
     [m3vpss ]  
     [m3vpss ]  37787: LOAD: TSK: IPC_OUT_M30         : 1.0% 
     [m3vpss ]  37788: LOAD: TSK: IPC_FRAMES_OUT0     : 1.2% 
     [m3vpss ]  37788: LOAD: TSK: CAPTURE             : 1.2% 
     [m3vpss ]  37788: LOAD: TSK: DEI2                : 3.3% 
     [m3vpss ]  37788: LOAD: TSK: DISPLAY2            : 0.4% 
     [m3vpss ]  37788: LOAD: TSK: DUP0                : 0.4% 
     [m3vpss ]  37788: LOAD: TSK: SWMS0               : 1.2% 
     [m3vpss ]  37789: LOAD: TSK: MISC                : 2.8% 
     [m3vpss ]  
     [m3video]  
     [m3video]  38289: LOAD: CPU: 10.9% HWI: 1.0%, SWI:1.1% 
     [m3video]  
     [m3video]  38290: LOAD: TSK: IPC_IN_M30          : 0.6% 
     [m3video]  38290: LOAD: TSK: IPC_BITS_OUT0       : 1.5% 
     [m3video]  38290: LOAD: TSK: ENC0                : 2.5% 
     [m3video]  38290: LOAD: TSK: ENC_PROCESS_TSK_0   : 3.7% 
     [m3video]  38290: LOAD: TSK: MISC                : 0.5% 
     [m3video]  
     [c6xdsp ]  
     [c6xdsp ]  38484: LOAD: CPU: 30.0% HWI: 0.3%, SWI:0.1% 
     [c6xdsp ]  
     [c6xdsp ]  38484: LOAD: TSK: IPC_FRAMES_IN0      : 0.4% 
     [c6xdsp ]  38484: LOAD: TSK: ALG0                : 28.9% 
     [c6xdsp ]  38485: LOAD: TSK: MISC                : 0.3% 
     [c6xdsp ]  
    
     =============
     Run-Time Menu
     =============
    
     1: Capture Settings
     2: Encode  Settings
     3: Display  Settings
    
     i: Print detailed system information
     s: Core Status: Active/In-active
    
     e: Stop Demo
    
     Enter Choice: 
    
     =============
     Run-Time Menu
     =============
    
     1: Capture Settings
     2: Encode  Settings
     3: Display  Settings
    
     i: Print detailed system information
     s: Core Status: Active/In-active
    
     e: Stop Demo
    
     Enter Choice: e
     [m3vpss ]  54959: CAPTURE: Stop in progress !!!
    
     [host]  43798: IPC_BITS_IN   : Stop Done !!!
     [m3vpss ]  55001: CAPTURE: Stop Done !!!
     [m3video]  55003: ENCODE: CH-1: 
     [m3video] Stop in progress !!!
     [m3vpss ]  55002: DEI    : Stop in progress, 0 requests pending !!!
     [m3vpss ]  55003: DEI    : Stop Done !!!
     [m3video]  55003: ENCODE: CH-1: 
     [m3video] Stop done !!!
     [m3vpss ]  55004: SWMS: Stop in Progress !!!
     [m3vpss ]  55004: SWMS: Stop Done !!!
     [m3vpss ]  55004: DISPLAY: Stop in progress !!!
     [m3vpss ]  55045: DISPLAY: Stop Done !!!
     [m3vpss ]  
     [m3video]  55058: IPC_IN_M3   : Delete in progress !!!
     [m3vpss ]  *** Capture Driver Advanced Statistics *** 
     [c6xdsp ] 54744: IPCFRAMESIN:Link[16]:
     [c6xdsp ] RECV:4746    FREE:4746,DROPPED:0,AVGLATENCY:9
     [c6xdsp ]  54745: IPC_FRAMES_IN   : Delete in progress !!!
     [m3video]  55058: IPC_IN_M3   : Delete Done !!!
     [c6xdsp ]  54745: IPC_FRAMES_IN   : Delete Done !!!
     [m3vpss ]  
     [c6xdsp ]  54745: ALG : Delete in progress !!!
     [m3video]  55059: ENCODE: CH-1: 
     [m3video] Stop in progress !!!
     [c6xdsp ]  54745: ALG : Delete Done !!!
     [m3vpss ]  VIP Parser Reset Count : 0
     [m3video]  55059: ENCODE: CH-1: 
     [m3video] Stop done !!!
     [m3vpss ]  
     [m3video]  55059: ENCODE: CH-1: 
     [m3video]  ENC    : Delete in progress !!!
     [m3video] MemoryLeak:STAGE:0   HEAPNUM:0       ALLOC=13808     FREED=11912
     [m3vpss ]      |   Total    Even     Odd  Total  Even   Odd  Min /  Max  Min /  Max Dropped Fid Repeat Frame Error Y/C
    
     [host] 43860: IPCBITSIN:Link[3000001a]:
     [host] RECV:4746       FREE:4746,DROPPED:0,AVGLATENCY:0,AVG_APP_CB_TIME:0
     [host]  43860: IPC_BITS_IN   : Delete in progress !!!
    
     [host]  43861: IPC_BITS_IN   : Delete Done !!!
     [m3vpss ]  CH  |  Fields  Fields  Fields    FPS   FPS   FPS       Width      Height  Fields      Count (Desc Error Y/C)
     [m3video]  55062: ENCODE: CH-1: 
     [m3video]  ENC    : Delete done !!!
     [m3video]  55062: IPC_BITS_OUT   : Delete in progress !!!
     [m3vpss ]  ------------------------------------------------------------------------------------------------------------
     43867: SYSTEM: System Common De-Init in progress !!!
    
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress...
     [host] OSA_tskDelete:In progress... 43873: SYSTEM: IPC de-init in progress !!!
     [c6xdsp ]  
     [m3video] 55063: IPCBITSOUT:Link[10000018]:
     [m3video] RECV:4746    FREE:4746,DROPPED:0,AVGLATENCY:14
     [m3video]  55063: PRF : IPC_BITS_OUT0 : t: 154 ms, c: 2996, f: 4746, fps: 30818, fpc: 1 
     [m3vpss ]  000 |    2394    1198    1196     61    30    30  720 /  720  243 /  244       1          1 0/0 (0/0)
     [c6xdsp ]  54760: LOAD: CPU: 33.3% HWI: 0.3%, SWI:0.2% 
     [c6xdsp ]  
     [m3video]  55063: IPC_BITS_OUT   : Delete Done !!!
     [m3vpss ]  001 |    2387    1184    1203     61    30    30  720 /  720  243 /  288       1         22 0/0 (0/0)
     [m3video]  
     [m3video]  55071: LOAD: CPU: 10.9% HWI: 1.0%, SWI:1.2% 
     [m3vpss ]  002 |    2387    1184    1203     61    30    30  720 /  720  243 /  288       1         22 0/0 (0/0)
     [m3video]  
     [m3vpss ]  003 |    2387    1184    1203     61    30    30  720 /  720  243 /  288       1         22 0/0 (0/0)
     43885: SYSTEM: IPC de-init DONE !!!
     43885: SYSTEM: System Common De-Init Done !!!
    
     =========
     Main Menu
     =========
    
     1: 4CH VCAP + VENC - Encode + Save
    
    
     e: Exit
    
     Enter Choice:  [m3vpss ]  
     [m3vpss ]  VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0 
     [m3vpss ]  
     [m3vpss ]  *** Capture List Manager Advanced Statistics *** 
     [m3vpss ]  
     [m3vpss ]  List Post Count        : 4993 
     [m3vpss ]  List Stall Count       : 0 
     [m3vpss ]  List Post Time (ms)    : Max = 0, Min = 0, Avg = 0, Total = 0 
     [m3vpss ]  INTC Timeout Count     : (0, 0) (Min timeout value = 977, 990) 
     [m3vpss ]  Descriptor miss found count : 0 
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  VIP and VPDMA registers, 
     [m3vpss ]  VIP0 : FIQ_STATUS  : 0x4810551c = 0x00000000
     [m3vpss ]  VIP1 : FIQ_STATUS  : 0x48105a1c = 0x00000000
     [m3vpss ]  VPDMA: LIST_BUSY   : 0x4810d00c = 0x00020000
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  55049: CAPTURE: Fields = 9551 (fps = 238, CPU Load = 0)
     [m3vpss ]  55050: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
     [m3vpss ]  55050: SYSTEM  : FREE SPACE : System Heap      = 243936 B, Mbx = 10239 msgs) 
     [m3vpss ]  55050: SYSTEM  : FREE SPACE : SR0 Heap         = 2160128 B (2 MB) 
     [m3vpss ]  55050: SYSTEM  : FREE SPACE : Frame Buffer     = 73587584 B (70 MB) 
     [m3vpss ]  55050: SYSTEM  : FREE SPACE : Bitstream Buffer = 77860736 B (74 MB) 
     [m3vpss ] TILER_STATS: CNT :8BIT
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    16384 x 5440
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   89063424 (99 %)
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3vpss ] TILER_STATS: CNT :16BIT
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    32768 x 1344
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   44040192 (100 %)
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3vpss ]  55052: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
     [m3vpss ]  55052: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
     [m3vpss ]  55052: CAPTURE: Delete in progress !!!
     [m3vpss ]  UTILS: DMA: Free'ed CH (TCC) = 58 (58)
     [m3vpss ]  55053: CAPTURE: Delete Done !!!
     [m3vpss ]  55053: DEI    : Fields = 9488 (fps = 587), !!!
     [m3vpss ]  55054: DEI    : Delete in progress !!!
     [m3vpss ]  55055: DEI    : Delete Done !!!
     [m3vpss ]  55055: DUP   : Delete Done !!!
     [m3vpss ]  55055: IPC_FRAMES_OUT   : Delete in progress !!!
     [m3vpss ] 55056: IPCFRAMESOUT:Link[20000013]:
     [m3vpss ] RECV:4746    FORWARD:4746,DROPPED:0,AVGLATENCY:9
     [m3vpss ]  55056: PRF : IPC_FRAMES_OUT0 : t: 156 ms, c: 1807, f: 4746, fps: 30423, fpc: 2 
     [m3vpss ]  55056: IPC_FRAMES_OUT   : Delete Done !!!
     [m3vpss ]  55057: IPC_OUT_M3   : Delete in progress !!!
     [m3vpss ]  55058: IPC_OUT_M3   : Delete Done !!!
     [m3vpss ]  55067: SWMS: Frames = 1197 (fps = 798) !!!
     [m3vpss ]  55067: SWMS: Delete in progress !!!
     [m3vpss ]  UTILS: DMA: Free'ed CH (TCC) = 59 (59)
     [m3vpss ]  55068: SWMS: Delete Done !!!
     [m3vpss ]  55069: DISPLAY: Frames = 1199 (fps = 29) !!!
     [m3vpss ]  55069: DISPLAY: Delete in progress !!!
     [m3vpss ]  55069: DISPLAY: Delete Done !!!
     [m3vpss ]  
     [m3vpss ]  55070: LOAD: CPU: 15.8% HWI: 3.1%, SWI:1.9% 
     [m3vpss ]  
     [m3vpss ]  55073: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 2497, HDDAC(BP0) 0, DVO2(BP1) 2497, SDDAC(SEC1) 2402 
    
    
     =========
     Main Menu
     =========
    
     1: 4CH VCAP + VENC - Encode + Save
    
    
     e: Exit
    
     Enter Choice: e
    root@dm814x:/opt/dvr_rdk/ti814x# 
    
    

    U-Boot 2010.06 (Aug 02 2013 - 12:19:30)
    
    TI8148-GP rev 3.0
    
    L3 clk         : 200MHz
    IVA clk        : 266MHz
    ISS clk        : 400MHz
    DSP clk        : 500MHz
    DSS clk        : 200MHz
    ARM clk        : 600MHz
    DDR clk        : 400MHz
    
    DRAM:  1 GiB
    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 (Aug 02 2013 - 12:20:03)
    
    TI8148-GP rev 3.0
    
    L3 clk         : 200MHz
    IVA clk        : 266MHz
    ISS clk        : 400MHz
    DSP clk        : 500MHz
    DSS clk        : 200MHz
    ARM clk        : 600MHz
    DDR clk        : 400MHz
    
    I2C:   ready
    DRAM:  1 GiB
    NAND:  HW ECC BCH8 Selected
    256 MiB
    MMC:   OMAP SD/MMC: 0
                              .:;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,                
    
    Net:   Detected MACID:84:7e:40:7e:eb:de
    cpsw
    Hit any key to stop autoboot:  0 
    
    NAND read: device 0 offset 0x580000, size 0x300000
     3145728 bytes read: OK
    ## Booting kernel from Legacy Image at 81000000 ...
       Image Name:   Linux-2.6.37
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2714708 Bytes = 2.6 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Linux version 2.6.37 (omap@omap-HP-Compaq-dc5800-Microtower) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Thu Jun 27 13:40:35 CDT 2013
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti8148evm
    vram size = 20971520 at 0x0
    ti81xx_reserve: ### Reserved DDR region @87f00000
    reserved size = 20971520 at 0x0
    FB: Reserving 20971520 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8148 3.0
    SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 27136
    Kernel command line: console=ttyO0,115200n8 rootwait root=/dev/nfs nfsroot=10.0.3.18:/home/omap/netra/rfs_814x rw rootdelay=15 mem=128M ip=10.0.3.28:10.0.3.18:10.0.0.1:255.255.0.0::eth0:off notifyk.vpssm3_sva=0xBFD00000 ddr_mem=512M
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 106MB 1MB = 107MB total
    Memory: 102580k/102580k available, 28492k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xc8800000 - 0xf8000000   ( 760 MB)
        lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc003a000   ( 200 kB)
          .text : 0xc003a000 - 0xc0525000   (5036 kB)
          .data : 0xc0526000 - 0xc0571480   ( 302 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:407
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    Total of 128 interrupts on 1 active controller
    GPMC revision 6.0
    Trying to install interrupt handler for IRQ400
    Trying to install interrupt handler for IRQ401
    Trying to install interrupt handler for IRQ402
    Trying to install interrupt handler for IRQ403
    Trying to install interrupt handler for IRQ404
    Trying to install interrupt handler for IRQ405
    Trying to install interrupt handler for IRQ406
    Trying to install type control for IRQ407
    Trying to set irq flags for IRQ407
    OMAP clockevent source: GPTIMER1 at 20000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 599.65 BogoMIPS (lpj=2998272)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    TI81XX: Map 0x87f00000 to 0xfe500000 for dram barrier
    TI81XX: Map 0x40300000 to 0xfe600000 for sram barrier
    omap_voltage_early_init: voltage driver support not added
    regulator: core version 0.5
    regulator: dummy: 
    NET: Registered protocol family 16
    omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    omap_voltage_add_dev: VDD specified does not exist!
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    clk get on i2c3 fck failed
    Cannot clk_get ck_32
    Debugfs: Only enabling/disabling deep sleep and wakeup timer is supported now
    registered ti81xx_vpss device
    registered ti81xx_vidout device
    registered ti81xx on-chip HDMI device
    registered ti81xx_fb device
    registered ti81xx_vin device
    bio: create slab <bio-0> at 0
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    USBSS revision 4ea2080b
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz
    omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Switching to clocksource gp timer
    musb-hdrc: version 6.0, host, debug=0
    musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    MUSB controller-0 revision 4ea20800
    usb2phy: computed values rxcalib(15)DACs(25 14 15)
    usb2phy: override computed values rxcalib(15)DACs(25 14 15)
    usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f6cdd7e
    musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: MUSB HDRC host driver
    usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
    usb usb1: SerialNumber: musb-hdrc.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.0: USB Host mode controller at c881e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    usb2phy: computed values rxcalib(15)DACs(37 14 14)
    usb2phy: override computed values rxcalib(15)DACs(37 14 14)
    usb2phy_config: musb(1) rxcalib done, rxcalib read value 6f72dd76
    musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
    usb usb2: SerialNumber: musb-hdrc.1
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.1: USB Host mode controller at c8828800 using DMA, IRQ 19
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    NetWinder Floating Point Emulator V0.97 (double precision)
    PMU: registered new PMU device of type 0
    omap-iommu omap-iommu.0: ducati registered
    omap-iommu omap-iommu.1: sys registered
    JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
    msgmni has been set to 200
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    console [ttyO0] enabled
    omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    brd: module loaded
    loop: module loaded
    omap2-nand driver initializing
    ONFI param page 0 valid
    ONFI flash detected
    NAND device: Maf ID: 0x2c, Chip ID: 0xca (Micron, NAND 256MiB 3,3V 16-bit)
     erasesize: 0x20000, writesize: 2048, oobsize: 64
    omap2-nand: detected x16 NAND flash 
    Creating 7 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000020000 : "U-Boot-min"
    0x000000020000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x000000580000 : "U-Boot Logo"
    0x000000580000-0x0000009c0000 : "Kernel"
    0x0000009c0000-0x00000d1e0000 : "File System"
    0x00000d1e0000-0x000010000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffffc
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    CAN device driver interface
    CAN bus driver for Bosch D_CAN controller 1.0
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    usbcore: registered new interface driver cdc_acm
    cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    rtc-ds1307 1-0068: rtc core: registered ds1340 as rtc0
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc1
    i2c /dev entries driver
    Linux video capture interface: v2.00
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v1.0.0)
    OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0xbfd00000
    usbcore: registered new interface driver snd-usb-audio
    ALSA device list:
      No soundcards found.
    TCP cubic registered
    NET: Registered protocol family 17
    can: controller area network core (rev 20090105 abi 8)
    NET: Registered protocol family 29
    can: raw protocol (rev 20090105)
    can: broadcast manager protocol (rev 20090105 t)
    Registering the dns_resolver key type
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    Power Management for TI81XX.
    deviceless supply mpu not found, using dummy regulator
    Detected MACID=84:7e:40:7e:eb:de
    Detected MACID=84:7e:40:7e:eb:df
    rtc-ds1307 1-0068: setting system clock to 2013-09-26 23:02:22 UTC (1380236542)
    
    CPSW phy found : id is : 0x4dd074
    IP-Config: Complete:
         device=eth0, addr=10.0.3.28, mask=255.255.0.0, gw=10.0.0.1,
         host=10.0.3.28, domain=, nis-domain=(none),
         bootserver=10.0.3.18, rootserver=10.0.3.18, rootpath=
    Waiting 15sec before mounting root device...
    PHY: 0:00 - Link is Up - 1000/Full
    VFS: Mounted root (nfs filesystem) on device 0:15.
    devtmpfs: mounted
    Freeing init memory: 200K
    INIT: version 2.88 booting
     Mounting /dev/shm              :  Mounting /dev/pts          :  Mounting other filesystems :  Mounting /dev/sda1              : mount: mounting /dev/sda1 on /media/sda1 failed: No such file or directory
    Sync command ...Error opening /dev/fb0: No such file or directory
    Starting Bootlog daemon: 
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org dm814x ttyO0
    
    Arago 2012.10 dm814x ttyO0
    
    dm814x login: root
    root@dm814x:~# cd /opt/dvr_rdk/ti814x/
    root@dm814x:/opt/dvr_rdk/ti814x# ./init.sh 
    *** Bootargs Validated for mem param ***
    *** Bootargs Validated for notifyk.vpssm3 params ***
    Kernel bootargs validated
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff10820
     [m3vpss ] Remote Debug Shared Memory @ 0xbff21040
    SysLink version : 2.20.02.20
    SysLink module created on Date:Sep 26 2013 Time:12:04:34
    Trace enabled
    Trace SetFailureReason enabled
     Setting DMM priority for [DUCATI  ] to [0] ( 0x4e000624 = 0x08000000 )
     Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
     
     *** TVP5158 probe : START ***
     
     TI VS EVM : TVP5158 device address : 0x58, 0x59
     
     Device found     : I2C (0xXX): 0x08 = 0x51
                        I2C (0xXX): 0x09 = 0x58
     
     Device NOT found : I2C (0xXX): Read ERROR !!! (reg[0x08], count = 2)
     
     I2C (0x58): 0x08 = 0x51 
     I2C (0x58): 0x09 = 0x58 
     I2C (0x59): 0x08 = 0x51 
     I2C (0x59): 0x09 = 0x58 
     
     *** TVP5158 probe : END ***
     
    /opt/dvr_rdk/ti814x
    root@dm814x:/opt/dvr_rdk/ti814x# ./load.sh 
    Attached to slave procId 2.
    Loaded file ../firmware/dvr_rdk_fw_m3vpss_512M_128M.xem3 on slave procId 2.
    Started slave procId 2.
    After Ipc_loadcallback status [0x00000000]
     [m3vpss ]      ISS Freq  : 400 MHz
    After Ipc_startcallback status [0x00000000]
     [m3vpss ] ***** VPSS Firmware build time 22:37:18 Sep 26 2013  EDG gcc 3.0 mode
     [m3vpss ] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 200000000
     [m3vpss ] notify_attach  rtnVal  0
     [m3vpss ] initProxyServer  rtnVal  0
     [m3vpss ]  
     [m3vpss ]  *** UTILS: CPU KHz = 400000 Khz ***
     [m3vpss ]  
     [m3vpss ]  52: SYSTEM  : System Common Init in progress !!!
     [m3vpss ]  52: SYSTEM: IPC init in progress !!!
     [m3vpss ]  52: SYSTEM: Attaching to [HOST] ... 
     [m3vpss ]  55: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
    Attached to slave procId 1.
    Loaded file ../firmware/dvr_rdk_fw_m3video_512M_128M.xem3 on slave procId 1.
    Started slave procId 1.
    After Ipc_loadcallback status [0x00000000]
     [m3video]      ISS Freq  : 400 MHz
    After Ipc_startcallback status [0x00000000]
     [m3video] ***** VIDEO Firmware build time 22:38:24 Sep 26 2013  EDG gcc 3.0 mode
     [m3video] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 200000000
     [m3video]  
     [m3video]  *** UTILS: CPU KHz = 400000 Khz ***
     [m3video]  
     [m3video]  198: SYSTEM  : System Common Init in progress !!!
     [m3video]  198: SYSTEM: IPC init in progress !!!
     [m3video]  198: SYSTEM: Attaching to [HOST] ... 
     [m3video]  201: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
    Attached to slave procId 0.
    Loaded file ../firmware/dvr_rdk_fw_c6xdsp_512M_128M.xe674 on slave procId 0.
    Started slave procId 0.
    After Ipc_loadcallback status [0x00000000]
    After Ipc_startcallback status [0x00000000]
     [c6xdsp ]      DSP Freq  : 500 MHz
     [m3video]  319: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [m3video]  323: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [m3vpss ]  321: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [c6xdsp ] ***** VIDEO Firmware build time 22:35:48 Sep 26 2013  EDG gcc 3.0 mode
     [m3video]  323: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_1] ...
     [m3vpss ]  323: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [c6xdsp ] ***** SYSTEM  : Frequency <ORG> - 500000000, <NEW> - 500000000
     [m3video] DMA: Module install successful, device major num = 251 
     324: SYSTEM: CrDRV: Module install successful
    eating MsgQ [VIDDRV: Module built on Sep 26 2013 12:05:01 
    EO-M3_MSGQ] ...
     [m3vpss ]  323: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_2] ...
     [c6xdsp ]  
     [m3video]  324: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
     [m3vpss ]  324: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
     [c6xdsp ]  *** UTILS: CPU KHz = 500000 Khz ***
     [m3video]  326: SYSTEM: Notify register to [HOST] line 0, event 15 ... 
     [m3vpss ]  324: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
     [c6xdsp ]  
     [m3video]  326: SYSTEM: Notify register to [DSP] line 0, event 15 ... 
     [m3vpss ]  326: SYSTEM: Notify register to [HOST] line 0, event 15 ... 
     [c6xdsp ]  1: SYSTEM  : System Common Init in progress !!!
     [m3video]  327: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... 
     [m3vpss ]  326: SYSTEM: Notify register to [DSP] line 0, event 15 ... 
     [c6xdsp ]  1: SYSTEM: IPC init in progress !!!
     [m3video]  327: SYSTEM: IPC init DONE !!!
     [m3vpss ]  327: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 
     [c6xdsp ]  1: SYSTEM: Attaching to [HOST] ... 
     [m3vpss ]  327: SYSTEM: IPC init DONE !!!
     [c6xdsp ]  4: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [c6xdsp ]  6: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [c6xdsp ]  8: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [c6xdsp ]  8: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_0] ...
     [c6xdsp ]  8: SYSTEM: Creating MsgQ [DSP_MSGQ] ...
     [c6xdsp ]  8: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ...
     [c6xdsp ]  9: SYSTEM: Notify register to [HOST] line 0, event 15 ... 
     [c6xdsp ]  9: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 
     [c6xdsp ]  9: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... 
     [c6xdsp ]  9: SYSTEM: IPC init DONE !!!
     [c6xdsp ]  12: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB) 
     [c6xdsp ]  12: MEM: ERROR: SharedRegion_setEntry (2, 0x8fcca21c) FAILED !!!  (status=-1) 
     [m3video]  336: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB) 
     [m3vpss ]  335: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB) 
     [m3video]  336: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04f00000 (79 MB) 
     [m3vpss ]  336: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04f00000 (79 MB) 
     [m3video]  338: SYSTEM  : System Common Init Done !!!
     [m3vpss ]  338: SYSTEM  : System Common Init Done !!!
     [m3video]  339: SYSTEM  : System Video Init in progress !!!
     [m3vpss ]  338: SYSTEM  : System VPSS Init in progress !!!
     [m3video]  339: SYSTEM  : System Video Init Done !!!
     [m3video]  340: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
     [m3video]  340: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
     [m3video]  340: SYSTEM: ListElem Shared Addr = 0xbf173e00
     [m3video]  343: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
     [m3video]  343: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
     [m3video]  344: SYSTEM: ListElem Shared Addr = 0xbf177300
     [m3video]  352: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_19] in region 0 ...
     [m3video]  352: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_19] in region 0 ...
     [m3video]  353: SYSTEM: ListElem Shared Addr = 0xbf17a800
     [m3video]  356: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_20] in region 0 ...
     [m3vpss ] === I2C0/2 Clk is active ===
     [m3video]  356: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_20] in region 0 ...
     [m3vpss ] PLATFORM: UNKNOWN CPU detected, defaulting to VPS_PLATFORM_CPU_REV_2_1
     [m3video]  357: SYSTEM: ListElem Shared Addr = 0xbf1a0000
     [m3vpss ]  363: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...
     [m3video]  360: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_21] in region 0 ...
     [m3vpss ]  363: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
     [m3video]  360: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_21] in region 0 ...
     [m3vpss ]  363: SYSTEM: ListElem Shared Addr = 0xbf1eb000
     [m3video]  361: SYSTEM: ListElem Shared Addr = 0xbf1c5800
     [m3video]  381: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_24] in region 0 ...
     [m3vpss ]  366: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
     [m3video]  381: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_24] in region 0 ...
     [m3vpss ]  367: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
     [m3video]  381: SYSTEM: ListElem Shared Addr = 0xbf1f1a00
     [m3vpss ]  367: SYSTEM: ListElem Shared Addr = 0xbf1ee500
     [m3video]  385: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_25] in region 0 ...
     [m3vpss ]  388: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_19] in region 0 ...
     [m3video]  385: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_25] in region 0 ...
     [m3vpss ]  388: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_19] in region 0 ...
     [m3video]  385: SYSTEM: ListElem Shared Addr = 0xbf20f500
     [m3vpss ]  388: SYSTEM: ListElem Shared Addr = 0xbf22d000
     [m3video]  388: HDVICP: Doing PRCM for IVAHD[0] ... 
     [m3vpss ]  392: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_20] in region 0 ...
     [m3video]  388: HDVICP: PRCM for IVAHD[0] ... DONE.
     [m3vpss ]  392: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_20] in region 0 ...
     [m3video]  389: UTILS: DMA: HWI Create for INT62 !!!
     [m3vpss ]  393: SYSTEM: ListElem Shared Addr = 0xbf252800
     [m3video]  390: SYSTEM  : ISS Init in progress !!!
     [m3vpss ]  396: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_21] in region 0 ...
     [m3video]  390: SYSTEM  : ISS Power-ON in progress !!!
     [m3vpss ]  396: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_21] in region 0 ...
     [m3video]  400: SYSTEM  : ISS Power-ON in progress DONE !!!
     [m3vpss ]  397: SYSTEM: ListElem Shared Addr = 0xbf278000
     [m3video]  400: SYSTEM  : ISS Init in progress DONE !!!
     [m3vpss ]  399: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_37
     [m3video]  400: VCOP BOOST BIT is Set
     [m3vpss ]  399: SYSTEM  : FVID2 Init in progress !!!
     [m3video]  400: SYSTEM  : VCOP Init in progress !!!
     [m3video]  400: SYSTEM  : VCOP needs 172 B of memory !!!
     [m3video]  402: SYSTEM  : VCOP Init in progress DONE !!!
     [m3video]  402: SYSTEM  : Initializing Links !!! 
     [m3vpss ] TILER_STATS: CNT :8BIT
     [m3video]  402: SYSTEM  : FREE SPACE : System Heap      = 6263296 B, Mbx = 10240 msgs) 
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    16384 x 5440
     [m3video]  403: SYSTEM  : FREE SPACE : SR0 Heap         = 6434304 B (6 MB) 
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
     [m3video]  403: SYSTEM  : FREE SPACE : Frame Buffer     = 117440384 B (111 MB) 
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3video]  403: SYSTEM  : FREE SPACE : Bitstream Buffer = 82837376 B (78 MB) 
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3video]  403: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     [m3video]  406: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   89063424 (99 %)
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff10820
     [m3vpss ] Remote Debug Shared Memory @ 0xbff21040
     [m3video]  406: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3video]  474: SYSTEM  : Initializing Links ... DONE !!! 
     [m3vpss ] TILER_STATS: CNT :16BIT
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    32768 x 1344
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   44040192 (100 %)
     [m3vpss ] Received character 's'
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff10820
     [m3vpss ] Remote Debug Shared Memory @ 0xbff21040
     [m3video] Received character 's'
     [m3vpss ] PLATFORM: UNKNOWN CPU detected, defaulting to VPS_PLATFORM_CPU_REV_2_1
     [m3vpss ]  488: SYSTEM  : FVID2 Init in progress DONE !!!
     [m3vpss ]  488: SYSTEM  : Device Init in progress !!!
     [m3vpss ]  589: SYSTEM  : Device Init in progress DONE !!!
     [m3vpss ]      HDVPSS Freq  : 220 MHz
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff10820
     [m3vpss ] Remote Debug Shared Memory @ 0xbff21040
     [m3vpss ]  644: SYSTEM  : System VPSS Init Done !!!
     [m3vpss ]  645: UTILS: DMA: HWI Create for INT63 !!!
     [m3vpss ]  646: SYSTEM  : Initializing Links !!! 
     [m3vpss ]  646: SYSTEM  : FREE SPACE : System Heap      = 250280 B, Mbx = 10240 msgs) 
     [m3vpss ]  646: SYSTEM  : FREE SPACE : SR0 Heap         = 6434304 B (6 MB) 
     [m3vpss ]  646: SYSTEM  : FREE SPACE : Frame Buffer     = 113130368 B (107 MB) 
     [m3vpss ]  647: SYSTEM  : FREE SPACE : Bitstream Buffer = 82837376 B (78 MB) 
     [m3vpss ] TILER_STATS: CNT :8BIT
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    16384 x 5440
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   89063424 (99 %)
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3vpss ] TILER_STATS: CNT :16BIT
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    32768 x 1344
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   44040192 (100 %)
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3vpss ]  648: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
     [m3vpss ]  648: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
     [m3vpss ]  823: SYSTEM  : Initializing Links ... DONE !!! 
     [m3vpss ]  823: SYSTEM  : Set Static L3 pressure for HDVPSS as High
     [c6xdsp ]  1012: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04f00000 (79 MB) 
     [c6xdsp ]  1013: SYSTEM  : System Common Init Done !!!
     [c6xdsp ]  1011: SYSTEM  : System DSP Init in progress !!!
     [c6xdsp ]  1012: SYSTEM  : RpeServer_init() done... Ret Val 0!!!
     [c6xdsp ]  1017: SYSTEM: Creating ListMP [DSP_IPC_OUT_19] in region 0 ...
     [c6xdsp ]  1017: SYSTEM: Creating ListMP [DSP_IPC_IN_19] in region 0 ...
     [c6xdsp ]  1018: SYSTEM: ListElem Shared Addr = 0xbf29d800
     [c6xdsp ]  1019: SYSTEM: Creating ListMP [DSP_IPC_OUT_20] in region 0 ...
     [c6xdsp ]  1019: SYSTEM: Creating ListMP [DSP_IPC_IN_20] in region 0 ...
     [c6xdsp ]  1019: SYSTEM: ListElem Shared Addr = 0xbf2c3000
     [c6xdsp ]  1020: SYSTEM: Creating ListMP [DSP_IPC_OUT_21] in region 0 ...
     [c6xdsp ]  1020: SYSTEM: Creating ListMP [DSP_IPC_IN_21] in region 0 ...
     [c6xdsp ]  1020: SYSTEM: ListElem Shared Addr = 0xbf2e8800
     [c6xdsp ]  1021: [module] vpss probe done.
    SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 ...
     [c6xdsp ]  1022: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ...
     [c6xdsp ]  1022: SYSTEM: ListElem Shared Addr = 0xbf30e000
     [c6xdsp ]  1023: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ...
     [c6xdsp ]  1023: [module] ti81xxfb probe done.
    SYSTEM: Creating ListMP [DSP_IPC_IN_25] in region 0 ...
     [c6xdsp ]  1023: SYSTEM: ListElem Shared Addr = 0xbf32bb00
     [c6xdsp ] !!WARNING.Resource already registered:2
     [c6xdsp ]  1022: SYSTEM  : Initializing Links !!! 
     [c6xdsp ]  1024: SYSTEM  : FREE SPACE : System Heap      = 6393472 B, Mbx = 10240 msgs) 
     [c6xdsp ]  1039: SYSTEM  : Initializing Links ... DONE !!! 
     [c6xdsp ] Received character 's'
    /opt/dvr_rdk/ti814x
     [c6xdsp ]  1039: SYSTEM  : System DSP Init Done !!!
    root@dm814x:/opt/dvr_rdk/ti814x# ./bin/trafficware_demo.out 
    
     =========
     Main Menu
     =========
    
     1: 4CH VCAP + VENC - Encode + Save
    
    
     e: Exit
    
     Enter Choice: 1
    ----found ini stuff
    --------------- CHANNEL DETAILS-------------
    Capture Channels => 4
    ---------------------- :) ---------------------
     0: SYSTEM: System Common Init in progress !!!
     0: SYSTEM: IPC init in progress !!!
     12: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!
     12: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!
     12: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!
     12: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!
     12: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_3] ...
     15: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
     16: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
     18: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
     19: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
     19: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     20: SYSTEM: Notify register to [DSP] line 0, event 15 ... 
     21: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 
     21: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... 
     22: SYSTEM: IPC init DONE !!!
     23: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
     25: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
     27: SYSTEM: ListElem Shared Addr = 0x40ed5880
     27: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
     29: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
     31: SYSTEM: ListElem Shared Addr = 0x40f0aa80
     33: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...
     35: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...
     36: SYSTEM: ListElem Shared Addr = 0x40f3fc80
     37: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
     39: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
     41: SYSTEM: ListElem Shared Addr = 0x40f82f80
     41: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
     44: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
     45: SYSTEM: ListElem Shared Addr = 0x40fc6280
     68: SYSTEM: System Common Init Done !!!
     
     Enable file write (YES - y / NO - n) : n
     
     File write DISABLED !!!
     
    
     [host] MCFW_IPCFRAMES:VcapVenc_ipcFramesSendRecvFxn:Entered... 2287: MCFW  : CPU Revision [ES2.1] !!! 
     VCAP: DEVICE-0 (0x58): Chip ID 0x5158, Rev 0x0002, Firmware 0x0000 !!!
     VCAP: DEVICE-0 (0x58): Detected video (720x240@59Hz, 1) !!!
     TVP5158: 0x58: NO Patch downloaded, using ROM firmware.
     TVP5158: 0x58: 5158:0002:0000
     [m3vpss ]  12315: CAPTURE: Create in progress !!!
     [m3vpss ]  12353: CAPTURE: VIP0 PortA capture mode is [ 8-bit, Pixel-mux Embedded Sync] !!! 
     [m3vpss ]  UTILS: DMA: Allocated CH (TCC) = 58 (58)
     [m3vpss ]  UTILS: DMA: 0 of 4: Allocated PaRAM = 58 (0x49004740)
     [m3vpss ]  UTILS: DMA: 1 of 4: Allocated PaRAM = 64 (0x49004800)
     [m3vpss ]  UTILS: DMA: 2 of 4: Allocated PaRAM = 65 (0x49004820)
     [m3vpss ]  UTILS: DMA: 3 of 4: Allocated PaRAM = 66 (0x49004840)
     [m3vpss ] CAPTURE::HEAPID:0    USED:328
     [m3vpss ] CAPTURE::HEAPID:4    USED:21104640
     [m3vpss ]  12464: CAPTURE: Create Done !!!
     [m3vpss ]  12465: DEI    : Create in progress !!!
     [m3vpss ]  12527: DEI     : Loading Up-scaling Co-effs
     [m3vpss ]  12528: DEI     : Co-effs Loading ... DONE !!!
     [c6xdsp ]  12225: IPC_FRAMES_IN   : Create in progress !!!
     [c6xdsp ]  12225: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_19] ...
     [m3vpss ] DEI:HEAPID:0 USED:64
     [c6xdsp ]  12226: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_19] ...
     [m3vpss ] DEI:HEAPID:1 USED:9600
     [c6xdsp ]  12227: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     [m3vpss ] DEI:HEAPID:4 USED:9000960
     [m3vpss ]  12528: DEI    : Create Done !!!
     [m3vpss ]  12535: DUP   : Create Done !!!
     [m3vpss ]  12535: IPC_FRAMES_OUT   : Create in progress !!!
     [m3video]  12558: IPC_IN_M3   : Create in progress !!!
     [m3vpss ]  12538: IPC_FRAMES_OUT   : Create Done !!!
     [c6xdsp ] IPC_FRAMES_IN:HEAPID:0       USED:304
     [m3video]  12558: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
     [m3vpss ]  12556: IPC_OUT_M3   : Create in progress !!!
     [c6xdsp ]  12228: IPC_FRAMES_IN   : Create Done !!!
     [m3video]  12559: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
     [m3vpss ]  12557: IPC_OUT_M3   : Create Done !!!
     [c6xdsp ]  ALG : Create to progress 000!!!
     [c6xdsp ]  12229: ALG : Create in progress !!!
     [c6xdsp ] =======now 0 0 , 480 0
     [c6xdsp ] ------------HEY it created it...4 
     [c6xdsp ] -------------------setChwinprm 0 0 0 7 0 0 0 0
     [c6xdsp ] -------------------setChwinprm 1 0 0 0 7 0 0 0
     [c6xdsp ] -------------------setChwinprm 2 480 0 0 0 7 0 0
     [c6xdsp ] -------------------setChwinprm 3 720 0 0 0 0 7 0
     [m3video]  12562: IPC_IN_M3   : Create Done !!!
     [c6xdsp ] ALGLINK:HEAPID:0     USED:2616
     [m3video]  12562: ENCODE: Create in progress ... !!!
     [c6xdsp ] ALGLINK:HEAPID:1     USED:12328
     [c6xdsp ] ALGLINK:HEAPID:6     USED:233728
     [c6xdsp ]  12241: ALG : Create Done !!!
     [m3video]  12598: ENCODE: Creating CH0 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ... 
     [m3video] ENCLINK_H264:HEAPID:0        USED:13808
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  12611: ENCODE: Creating CH1 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ... 
    
     [host] IpcBitsInLink_tskMain:Entered
     [host]  2694: IPC_BITS_IN   : Create in progress !!!
    
     [host]  2694: IPC_BITS_IN   : ListMPOpen start !!!
    
     [host]  2694: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_24] ...
     2696: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_24] ...
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  12622: ENCODE: Creating CH2 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ... 
    
     [host]  2697: IPC_BITS_IN   : ListMPOpen done !!!
    
     [host]  2699: IPC_BITS_IN   : System_linkGetInfo done !!!
    
     [host]  2699: IPC_BITS_IN   : Create Done !!!
     [m3vpss ]  12655: SWMS: Create in progress !!!
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  12634: ENCODE: Creating CH3 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ... 
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3vpss ]  UTILS: DMA: Allocated CH (TCC) = 59 (59)
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3vpss ]  UTILS: DMA: 0 of 1: Allocated PaRAM = 59 (0x49004760)
     [m3video]  12645: ENCODE: All CH Create ... DONE !!!
     [m3vpss ] SWMS: instance 0, sc id 5, start win 0 end win 17
     [m3video] ENCLINK:HEAPID:0     USED:49584
     [m3vpss ]  12689: SWMS0    : Loading Vertical Co-effs (UPSCALE)x ... 
     [m3video] ENCLINK:HEAPID:2     USED:4976640
     [m3vpss ]  12690: SWMS0    : Loading Horizontal Co-effs (UPSCALE)x ... 
     [m3video] ENCLINK:HEAPID:3     USED:6045696
     [m3vpss ]  12690: SWMS    : Co-effs Loading ... DONE !!!
     [m3video]  12646: ENCODE: Create ... DONE !!!
     [m3video]  12647: IPC_BITS_OUT   : Create in progress !!!
     [m3vpss ] AVSYNC:WARNING!! Application wrongly configureddisplayID[-1]. Reseting to correct displayID[2]
     [m3vpss ]  12691: SWMS    : ******* Configuring clock 30 secs... 
     [m3vpss ]  12691: SWMS0    : Loading Vertical Co-effs (UPSCALE)x ... 
     [m3video]  12649: IPC_BITS_OUT   : Create Done !!!
     [m3vpss ]  12691: SWMS0    : Loading Horizontal Co-effs (UPSCALE)x ... 
     [m3vpss ]  12691: SWMS    : Co-effs Loading ... DONE !!!
     [m3vpss ]  
     [m3vpss ]  *** [SWMS0] Mosaic Parameters *** 
     [m3vpss ]  
     [m3vpss ]  Output FPS: 30
     [m3vpss ]  
     [m3vpss ]  Win | Ch  | Input      | Input          | Input         | Input       | Output     |  Output         | Output        | Output      | Low Cost | SWMS | Data  | Blank |
     [m3vpss ]  Num | Num | Start X, Y | Width x Height | Pitch Y / C   | Memory Type | Start X, Y |  Width x Height | Pitch Y / C   | Memory Type | ON / OFF | Inst | Format| Frame |
     [m3vpss ]  ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |   0 |    0,    0 |   720 x    240 |  1440 /  1440 | NON-TILED   |    0,    0 |   720 x    480 |  1472 /      0 | NON-TILED   |       ON |    0 |  420SP |   OFF |
     [m3vpss ]  
    --------- 4 do it mg 16
     [m3vpss ] SWMS:HEAPID:0        USED:224
     [m3vpss ] SWMS:HEAPID:1        USED:47296
     [m3vpss ] SWMS:HEAPID:4        USED:3391488
     [m3vpss ]  12693: SWMS: Create Done !!!
     [m3vpss ]  12694: DISPLAY: Create in progress !!!
     [m3vpss ]  12696: DISPLAY: Create Done !!!
     [FBDEV] 
     [FBDEV] Fix Screen Info
     [FBDEV] ---------------
     [FBDEV] Line Length - 2880
     [FBDEV] Physical Address = 86c00000
     [FBDEV] Buffer Length = 1048576
     [FBDEV] 
     [FBDEV] 
     [FBDEV] Var Screen Info
     [FBDEV] ---------------
     [FBDEV] Xres - 720
     [FBDEV] Yres - 364
     [FBDEV] Xres Virtual - 720
     [FBDEV] Yres Virtual - 364
     [FBDEV] Bits Per Pixel - 32
     [FBDEV] Pixel Clk - 18518
     [FBDEV] Rotation - 0
     [FBDEV] 
     [FBDEV] 
     [FBDEV] Reg Params Info
     [FBDEV] ---------------
     [FBDEV] region 0, postion 0 x 0, prioirty 1
     [FBDEV] first 1, last 1
     [FBDEV] sc en 0, sten en 0
     [FBDEV] tran en 0, type 0, key 0
     [FBDEV] blend 0, alpha 0
     [FBDEV] bb en 0, alpha 0
     [FBDEV] 
     [FBDEV] 
     [FBDEV] ### BUF SIZE = 1048320 Bytes !!! 
     [FBDEV] 
     [FBDEV] 
     [FBDEV] Fix Screen Info
     [FBDEV] ---------------
     [FBDEV] Line Length - 1440
     [FBDEV] Physical Address = 86c00000
     [FBDEV] Buffer Length = 1048576
     [FBDEV] 
     [FBDEV] 
     [FBDEV] Var Screen Info
     [FBDEV] ---------------
     [FBDEV] Xres - 720
     [FBDEV] Yres - 480
     [FBDEV] Xres Virtual - 720
     [FBDEV] Yres Virtual - 480
     [FBDEV] Bits Per Pixel - 16
     [FBDEV] Pixel Clk - 18518
     [FBDEV] Rotation - 0
     [FBDEV] 
     [FBDEV] 
     [FBDEV] Reg Params Info
     [FBDEV] ---------------
     [FBDEV] region 0, postion 0 x 0, prioirty 1
     [FBDEV] first 1, last 1
     [FBDEV] sc en 0, sten en 0
     [FBDEV] tran en 1, type 0, key 0
     [FBDEV] blend 0, alpha 0
     [FBDEV] bb en 0, alpha 0
     [FBDEV] 
     [FBDEV] 
     [FBDEV] ### BUF SIZE = 691200 Bytes !!! 
     [FBDEV] 
    FB2: mmap() Trying !!!
    ---------w=0, chid 0======
    ---------Calld vcap stuff  20 20 536870945
    ---------Calld to do henry duty
     [c6xdsp ] -------------------setChwinprm 0 10 1 1900096 1c20096 1c200fa 19000fa 0
     [m3vpss ]  13076: DISPLAY: Start in progress !!!
     [m3vpss ]  13137: DISPLAY: Start Done !!!
     [m3vpss ]  13138: DISPLAY: SDDAC(SEC1): 16 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) DropCount:0 DispLatency (Min / Max) = ( 10737 / 0 ) !!! 
     [m3vpss ]  13138: SWMS: Start in Progress !!!
     [m3vpss ]  13138: SWMS: Start Done !!!
     [m3vpss ]  13138: DISPLAY DRV: SDDAC(SEC1): Q:[2] Display:[1], Repeat:[0], DQ:[0]
     [m3vpss ]  13141: CAPTURE: Start in progress !!!
     [m3vpss ]  13241: CAPTURE: Enabled Time Stamping !!!
     [m3vpss ]  13249: CAPTURE: Start Done !!!
    
     =============
     Run-Time Menu
     =============
    
     1: Capture Settings
     2: Encode  Settings
     3: Display  Settings
    
     i: Print detailed system information
     s: Core Status: Active/In-active
    
     e: Stop Demo
    
     Enter Choice: i
     
     DEMO:  0: Detected video at CH [0,0] (720x240@59Hz, 1)!!!
     DEMO:  1: No video detected at CH [0,1] !!!
     DEMO:  2: No video detected at CH [0,2] !!!
     DEMO:  3: No video detected at CH [0,3] !!!
     
     [m3vpss ]  
     [m3vpss ]  *** Capture Driver Advanced Statistics *** 
     [m3vpss ]  
     [m3vpss ]  VIP Parser Reset Count : 0
     [m3vpss ]  
     [m3vpss ]      |   Total    Even     Odd  Total  Even   Odd  Min /  Max  Min /  Max Dropped Fid Repeat Frame Error Y/C
     [m3vpss ]  CH  |  Fields  Fields  Fields    FPS   FPS   FPS       Width      Height  Fields      Count (Desc Error Y/C)
     [m3vpss ]  ------------------------------------------------------------------------------------------------------------
     [m3vpss ]  000 |     549     275     274     61    30    30  720 /  720  243 /  244       1          1 0/0 (0/0)
     [m3vpss ]  001 |     548     273     275     60    30    30  720 /  720  243 /  288       1          5 0/0 (0/0)
     [m3vpss ]  002 |     547     272     275     60    30    30  720 /  720  243 /  288       1          6 0/0 (0/0)
     [m3vpss ]  003 |     548     273     275     60    30    30  720 /  720  243 /  288       1          5 0/0 (0/0)
     [m3vpss ]  
     [m3vpss ]  VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0 
     [m3vpss ]  
     [m3vpss ]  *** Capture List Manager Advanced Statistics *** 
     [m3vpss ]  
     [m3vpss ]  List Post Count        : 1146 
     [m3vpss ]  List Stall Count       : 0 
     [m3vpss ]  List Post Time (ms)    : Max = 0, Min = 0, Avg = 0, Total = 0 
     [m3vpss ]  INTC Timeout Count     : (0, 0) (Min timeout value = 978, 993) 
     [m3vpss ]  Descriptor miss found count : 0 
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  VIP and VPDMA registers, 
     [m3vpss ]  VIP0 : FIQ_STATUS  : 0x4810551c = 0x00000000
     [m3vpss ]  VIP1 : FIQ_STATUS  : 0x48105a1c = 0x00000000
     [m3vpss ]  VPDMA: LIST_BUSY   : 0x4810d00c = 0x00020000
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  22414: CAPTURE: Fields = 2184 (fps = 238, CPU Load = 0)
     [m3vpss ]  22415: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
     [m3vpss ]  22415: SYSTEM  : FREE SPACE : System Heap      = 243936 B, Mbx = 10239 msgs) 
     [m3vpss ]  22415: SYSTEM  : FREE SPACE : SR0 Heap         = 2160128 B (2 MB) 
     [m3vpss ]  22415: SYSTEM  : FREE SPACE : Frame Buffer     = 73587584 B (70 MB) 
     [m3vpss ]  22415: SYSTEM  : FREE SPACE : Bitstream Buffer = 77860736 B (74 MB) 
     [m3vpss ] TILER_STATS: CNT :8BIT
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    16384 x 5440
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   89063424 (99 %)
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3vpss ] TILER_STATS: CNT :16BIT
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    32768 x 1344
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   44040192 (100 %)
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3vpss ]  22417: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
     [m3vpss ]  22417: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
     [m3vpss ]  
     [m3vpss ]  *** [DEI2    ] DEI Statistics *** 
     [m3vpss ]  
     [m3vpss ]  Elasped Time           : 9 secs
     [m3vpss ]  Total Fields Processed : 2175 
     [m3vpss ]  Total Fields FPS       : 572 FPS
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  CH  | In Recv In Reject In Process Out[0] Out[1] Out[2] Out[3] Out[4] Skip Out[0] Skip Out[1] Skip Out[2] Skip Out[3] Skip Out[4] User Out[0] User Out[1] User Out[2] User Out[3] User Out[4] Latency   
     [m3vpss ]  Num | FPS     FPS       FPS        FPS    FPS    FPS    FPS    FPS       FPS         FPS         FPS         FPS         FPS       Skip FPS    Skip FPS    Skip FPS    Skip FPS    Skip FPS   Min / Max 
     [m3vpss ]  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |      60         0         60      0      0      0      0      0          60          60           0           0           0           0           0           0           0           0  27 /  31
     [m3vpss ]    1 |      60         0         60      0      0      0      0      0          60          59           0           0           0           0           0           0           0           0  17 /  32
     [m3vpss ]    2 |      60         0         60      0      0      0      0      0          60          59           0           0           0           0           0           0           0           0  17 /  32
     [m3vpss ]    3 |      60         0         60      0      0      0      0      0          60          59           0           0           0           0           0           0           0           0  17 /  32
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  *** [SWMS0] Mosaic Statistics *** 
     [m3vpss ]  
     [m3vpss ]  Elasped Time: 9 secs
     [m3vpss ]  
     [m3vpss ]  Output Request FPS   : 34 fps (307 frames) 
     [m3vpss ]  Output Actual  FPS   : 30 fps (277 frames) 
     [m3vpss ]  Output Drop    FPS   : 3 fps (30 frames) 
     [m3vpss ]  Output Reject  FPS   : 0 fps (0 frames) 
     [m3vpss ]  Scaling Internal     : 29 ms 
     [m3vpss ]  Scaling Internal min : 30 ms 
     [m3vpss ]  Scaling Internal max : 31 ms 
     [m3vpss ]  
     [m3vpss ]  Win | Window Repeat Drop Recv Que  FID Invlid Acc Event          Invalid   Que Reject Reject Latency   OutBufCopy InBufCopy
     [m3vpss ]  Num | FPS    FPS    FPS  FPS  FPS  FPS        Count (Max/Min)    CH Frames Frames     Frames Min / Max FPS        FPS      
     [m3vpss ]  ---------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |      0     30    0    0    0          0        0 (  0/255)         0          0      0 65535 /   0         30         0 
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  *** [SWMS0] Mosaic Parameters *** 
     [m3vpss ]  
     [m3vpss ]  Output FPS: 30
     [m3vpss ]  
     [m3vpss ]  Win | Ch  | Input      | Input          | Input         | Input       | Output     |  Output         | Output        | Output      | Low Cost | SWMS | Data  | Blank |
     [m3vpss ]  Num | Num | Start X, Y | Width x Height | Pitch Y / C   | Memory Type | Start X, Y |  Width x Height | Pitch Y / C   | Memory Type | ON / OFF | Inst | Format| Frame |
     [m3vpss ]  ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |   0 |    0,    0 |   720 x    240 |  1440 /  1440 | NON-TILED   |    0,    0 |   720 x    480 |  1472 /      0 | NON-TILED   |       ON |    0 |  420SP |    ON |
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  22433: DISPLAY: SDDAC(SEC1): 29 fps, Latency (Min / Max) = ( 94 / 134 ), Callback Interval (Min / Max) = ( 33 / 34 ) DropCount:0 DispLatency (Min / Max) = ( 65 / 100 ) !!! 
     [m3vpss ]  22433: DISPLAY DRV: SDDAC(SEC1): Q:[279] Display:[280], Repeat:[3], DQ:[276]
     [m3vpss ]  
     [m3vpss ]  *** IpcFramesOutRTOS Statistics *** 
     [m3vpss ]  
     [m3vpss ]  Elasped Time           : 9 secs
     [m3vpss ]  Total Fields Processed : 16 
     [m3vpss ]  Total Fields FPS       : 1 FPS
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  CH  | In Recv In Process In Skip
     [m3vpss ]  Num | FPS     FPS        FPS    
     [m3vpss ]  --------------------------------
     [m3vpss ]    0 |       0          0       0
     [m3vpss ]    1 |       0          0       0
     [m3vpss ]    2 |       0          0       0
     [m3vpss ]    3 |       0          0       0
     [m3vpss ]  
    
    
    

  • From the logs it appears the algLink on DSP is not responding to msgs which could be because the c674 dsp has crashed.You will have to connect to c674 target using CCS when issue occurs to examine the state and determine reason for hang.

  • Hi Badri,

    Thank you very much for your help. We were able to trace the crash to c674 DSP.

    We have one more question:Is it possible that the auto-contrast or noise filters are turned on in the TVP5158 by default?

    We have the  DSP calculate the dispersion for a zone.  this value is then compared to the next adjacent frame.  if the frames don't change this compare would be 0. There is an obvious oscillation after an image moves through the zone.  Attached is the graph that shows the oscillation.

    What do you think is causing the oscillation? Any help is appreciated.

    Thanks,

    Shilpa.



  • Badri,

    To debug the oscillation issue, we created a 13 second test pattern video with an impulse for about 10 frames at the 7th second.In our custom DSP link, all we do is collect and print a small window of framedata to syslog.This data is difference between two frames.

    Sample Data without oscillation
    -------------------------------
    0.010000 0.140000 0.110000 0.010000 0.130000
     0.200000 0.260000 0.070000 0.190000 0.040000
     0.010000 0.020000 0.190000 0.040000 0.120000
     0.010000 0.050000 0.080000 0.050000 0.070000
     0.020000 0.000000 0.100000 0.110000 0.060000
     0.050000 0.100000 0.040000 0.040000 0.040000
     0.070000 0.020000 0.030000 0.130000 0.080000
     0.030000 0.020000 0.020000 0.010000 50.810001
     1.980000 11.730000 64.400002 0.030000 0.050000
     0.290000 0.230000 0.030000 0.110000 0.010000
     0.120000 0.030000 0.080000 0.000000 0.010000
     0.000000 0.050000 0.090000 0.160000 0.030000
     0.070000 0.070000 0.020000 0.030000 0.060000
     0.180000 0.080000 0.160000 0.020000 0.040000
     0.160000 0.130000 0.190000 0.340000 0.030000

    Sample Data with oscillation
    ----------------------------
      0.330000 0.340000 0.440000 0.380000 0.100000
      0.030000 0.140000 0.370000 0.230000 0.190000
      0.500000 0.260000 0.000000 0.190000 0.020000
      0.020000 0.320000 0.200000 0.010000 0.030000
      0.050000 0.260000 0.260000 0.040000 0.040000
      0.120000 0.110000 0.220000 0.480000 0.210000
      0.000000 0.140000 0.020000 0.040000 0.110000
      0.060000 0.050000 0.070000 0.010000 0.020000
      0.030000 0.130000 0.190000 0.010000 0.030000
      0.010000 0.150000 0.080000 0.090000 0.050000
     0.050000 0.040000 0.140000 65.190002 1.080000
     13.570000 50.480000 0.070000 0.120000 6.030000
     5.970000 0.040000 0.010000 4.300000 4.440000
     0.000000 0.020000 2.740000 2.410000 0.230000
     0.030000 2.530000 2.500000 0.030000 0.130000
     2.700000 2.700000 0.090000 0.060000 2.820000
      2.790000 0.000000 0.010000 2.690000 2.570000
      0.120000 0.000000 2.820000 2.750000 0.100000
      0.030000 0.140000 0.120000 0.080000 0.160000
      0.070000 0.050000 0.050000 0.050000 0.100000
      0.130000 0.060000 0.000000 0.040000 0.070000
      0.000000 0.040000 0.020000 0.030000 0.090000
      0.010000 0.030000 0.010000 0.010000 0.040000

    The problem we are seeing is that after the impulse occurs, the buffer data oscillates before it is stable. This is totally random. We are assuming that we are not setting some parameter in the chain correctly but we donot know which one and on which link. Thank you for your help.

    Thanks,
    Shilpa.

  • Badri,

    We found out that the problem was a cache coherency issue. We were not invalidating the D-cache at our DSP link  after copying the frame data. Thanks for all your help.

    Shilpa