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.

Component capture using TVP7002 in RDK 4.1

Other Parts Discussed in Thread: TVP7002

Hi,


We are doing 720P capture->display using TVP7002 in DVRRDK 4.1. We are able to do successful capture->display but on bottom of display we are getting a gray strip as shown in below snapshot.

We double-checked the TVP7002 register configuration and observed no issue with it. When we configure TVP7002 in same way and use SDK then we are not getting any gray strip and getting full video on display.

Anybody faced such issue, please provide some inputs.

Thanks,

Ronak

  • Share your usecase file and log of Vsys_printDetailedStatistics log. Also check if you see the line when you display a graphics plane using fbdev

  • Hi Badari,


    Please refer the attached detailed core statistics. Here we are doing two simultaneous capture one from another decoder and one from TVP7002. Only on captured video from TVP7002 we see only 705 lines.

    Thanks,

    Ronak

     [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 |    4866    4866       0     50    50     0 1280 / 1280  720 /  720       1       4865 0/0 (0/0)
     [m3vpss ]  200 |    4865    4865       0     50    50     0 1280 / 1280  705 /  705       1          0 0/0 (0/0)
     [m3vpss ]  
     [m3vpss ]  VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0 
     [m3vpss ]  VIP Capture Port 2 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0 
     [m3vpss ]  
     [m3vpss ]  *** Capture List Manager Advanced Statistics *** 
     [m3vpss ]  
     [m3vpss ]  List Post Count        : 24329 
     [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 = 982, 999) 
     [m3vpss ]  Descriptor miss found count : 0 
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  VIP and VPDMA registers, 
     [c6xdsp ]  
     [c6xdsp ]  *** SCD Statistics *** 
     [c6xdsp ]  
     [c6xdsp ]  Elasped Time           : 128 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 ]  ----------------------------------------------------------------
     [m3vpss ]  VIP0 : FIQ_STATUS  : 0x4810551c = 0x00000000
     [c6xdsp ]  
     [m3vpss ]  VIP1 : FIQ_STATUS  : 0x48105a1c = 0x00000000
     [m3vpss ]  VPDMA: LIST_BUSY   : 0x4810d00c = 0x00220000
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  125407: CAPTURE: Fields = 9727 (fps = 99, CPU Load = 0)
     [m3vpss ]  125407: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
     [m3vpss ]  125407: SYSTEM  : FREE SPACE : System Heap      = 243424 B, Mbx = 10238 msgs) 
     [m3vpss ]  125407: SYSTEM  : FREE SPACE : SR0 Heap         = 1438720 B (1 MB) 
     [m3vpss ]  125407: SYSTEM  : FREE SPACE : Frame Buffer     = 24030080 B (22 MB) 
     [m3vpss ]  125407: SYSTEM  : FREE SPACE : Bitstream Buffer = 81109376 B (77 MB) 
     [m3video]      131432: HDVICP-ID:0
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :2 %
     [m3video]               totalWait2Isr :8 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :8 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :11 %
     [m3video]               totalAcq2acqDelay :88 %
     [m3video]               totalElapsedTime in msec :  103235
     [m3video]               numAccessCnt:    4229
     [m3vpss ] TILER_STATS: CNT :8BIT
     [m3video]              IVA-FPS :      41
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    16384 x 5440
     [m3video]              Average time spent per frame in microsec:    1952
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
     [m3video]      131433: HDVICP-ID:1
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3video] All percentage figures are based off totalElapsedTime
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [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
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   89063424 (99 %)
     [m3video]              IVA-FPS :       0
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3video]              Average time spent per frame in microsec:       0
     [m3video]      131434: 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
     [m3vpss ] TILER_STATS: CNT :16BIT
     [m3video]              IVA-FPS :       0
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    32768 x 1344
     [m3video]              Average time spent per frame in microsec:       0
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344
     [m3video]  
     [m3video]  *** DECODE Statistics *** 
     [m3video]  
     [m3video]  Elasped Time           : 103 secs
     [m3video]  
     [m3video]  
     [m3video]  CH  | In Recv In User  Out 
     [m3video]  Num | FPS     Skip FPS FPS 
     [m3video]  -----------------------------------
     [m3video]    0 |      41        0  41
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3video]  
     [m3video] Multi Channel Decode Average Submit Batch Size 
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3video] Max Submit Batch Size : 24
     [m3video] IVAHD_0 Average Batch Size : 1
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   44040192 (100 %)
     [m3video] IVAHD_0 Max achieved Batch Size : 1
     [m3video]  
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3video] Multi Channel Decode Batch break Stats 
     [m3video] Total Number of Batches created: 4225 
     [m3vpss ]  125409: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
     [m3video] All numbers are based off total number of Batches created
     [m3video]       Batch breaks due to batch sizeexceeding limit: 0 %
     [m3vpss ]  125409: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
     [m3video]       Batch breaks due to ReqObj Que being empty: 100 %
     [m3video]       Batch breaks due to changed resolution class: 0 %
     [m3vpss ]  
     [m3vpss ]  *** [DEI2    ] DEI Statistics *** 
     [m3vpss ]  
     [m3vpss ]  Elasped Time           : 98 secs
     [m3vpss ]  Total Fields Processed : 9729 
     [m3vpss ]  Total Fields FPS       : 221 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] U
    ser 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 ]  -----------------------------------------------------------------------------------------------------------------------------------
    --------------------------------------------------------------------
     [m3video]       Batch breaks due to interlace and progressivecontent mix: 0 %
     [m3vpss ]    0 |      49         0         49      0     47      0      0      0          49           2           0           0           0  
             0           0           0           0           0  19 /  34
     [m3video]       Batch breaks due to channel repeat: 0 %
     [m3vpss ]    1 |      49         0         49      0     48      0      0      0          49           1           0           0           0  
             0           0           0           0           0  13 /  34
     [m3video]       Batch breaks due to different codec: 0 %
     [m3vpss ]  
     [m3video]  
     [m3vpss ]  
     [m3vpss ]  *** [SWMS0] Mosaic Driver Statistics *** 
     [m3vpss ] 0) *** Drv Inst [0], handle 9E22DA50, NON_DEI      
     [m3vpss ]  
     [m3vpss ]  *** [SWMS0] Mosaic Statistics *** 
     [m3vpss ]  
     [m3vpss ]  Elasped Time: 15 secs
     [m3vpss ]  
     [m3vpss ]  Output Request FPS   : 68 fps (1034 frames) 
     [m3vpss ]  Output Actual  FPS   : 62 fps (933 frames) 
     [m3vpss ]  Output Drop    FPS   : 6 fps (101 frames) 
     [m3vpss ]  Output Reject  FPS   : 0 fps (0 frames) 
     [m3vpss ]  Scaling Internal     : 14 ms 
     [m3vpss ]  Scaling Internal min : 15 ms 
     [m3vpss ]  Scaling Internal max : 15 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 |     62     10    0   51   51          0        0 (  0/255)         0          0      0  22 /  69         10         0 
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  *** [SWMS0] Mosaic Parameters *** 
     [m3vpss ]  
     [m3vpss ]  Output FPS: 60
     [m3vpss ]  
     [m3vpss ]  Win | Ch  | Input      | Input          | Input         | Input       | Output     |  Output         | Output        | Output      
    | Scan        | 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 
    | Fmt         | ON / OFF | Inst | Format| Frame |
     [m3vpss ]  -----------------------------------------------------------------------------------------------------------------------------------
    -------------------------------------------------
     [m3vpss ]    0 |   1 |    0,    0 |  1280 x    720 |  1280 /  1280 | NON-TILED   |    0,    0 |  1920 x   1080 |  3840 /      0 | NON-TILED   
    | PROGRESSIVE |      OFF |    0 |  420SP |   OFF |
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  125426: DISPLAY: HDDAC(BP0) : 59 fps, Latency (Min / Max) = ( 63 / 116 ), Callback Interval (Min / Max) = ( 16 / 17 ) DropCount:0 D
    ispLatency (Min / Max) = ( 49 / 99 ) !!! 
     [m3vpss ]  125426: DISPLAY DRV: HDDAC(BP0) : Q:[4256] Display:[5858], Repeat:[1607], DQ:[4250]
     [m3vpss ]  125426: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 5864, HDDAC(BP0) 0, DVO2(BP1) 5864, SDDAC(SEC1) 11898 
     [m3vpss ]  125426: SYSTEM  : FREE SPACE : System Heap      = 243424 B, Mbx = 10239 msgs) 
     [m3vpss ]  125427: SYSTEM  : FREE SPACE : SR0 Heap         = 1438720 B (1 MB) 
     [m3vpss ]  125427: SYSTEM  : FREE SPACE : Frame Buffer     = 24030080 B (22 MB) 
     [m3vpss ]  125427: SYSTEM  : FREE SPACE : Bitstream Buffer = 81109376 B (77 MB) 
     [m3video]  
     [m3video]  134941: LOAD: CPU: 6.3% HWI: 1.0%, SWI:1.2% 
     [m3video]  
     [m3video]  134941: LOAD: TSK: IPC_OUT_M30         : 0.8% 
     [m3vpss ] TILER_STATS: CNT :8BIT
     [m3video]  134941: LOAD: TSK: IPC_BITS_IN0        : 0.4% 
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    16384 x 5440
     [m3video]  134941: LOAD: TSK: DEC0                : 1.5% 
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
     [m3video]  134942: LOAD: TSK: DEC_PROCESS_TSK_0   : 1.0% 
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3video]  134942: LOAD: TSK: MISC                : 0.4% 
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3video]  
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   89063424 (99 %)
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
    
    

  • The Video Input Parser (VIP capture) is receiving only 705 height frame. This is an issue with capture source. Can you confirm you are not seeing the bottom strip if you display the capture output from VIP 0  which shows correct height.

  • Hi Badari,


    Correct, we are not observing gray strip if we capture from VIP0 using HDMI decoder. We are configuring both VIP instances in same way. Also, with same hardware if we use SDK then we are able to do capture-display without any strip on display for same resolution.


    Also, following is snippet showing our VIP ports configuration,


    capturePrm.numVipInst    = 2 * numSubChains;
    capturePrm.outQueParams[0].nextLink = gVcapModuleContext.deiId[0];                                            

    capturePrm.tilerEnable              = FALSE;
    capturePrm.enableSdCrop             = FALSE;
    capturePrm.maxBlindAreasPerCh       = 4;

    for(vipInstId=0; vipInstId<capturePrm.numVipInst; vipInstId++)
    {
        pCaptureInstPrm                     = &capturePrm.vipInst[vipInstId];
        if (vipInstId == 0)
        {
            /* Settings for SII9135*/
            pCaptureInstPrm->vipInstId          = SYSTEM_CAPTURE_INST_VIP0_PORTA;
            pCaptureInstPrm->videoDecoderId     = 0;
            pCaptureInstPrm->standard           = SYSTEM_STD_720P_60;
            pCaptureInstPrm->videoCaptureMode   = SYSTEM_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_EMBEDDED_SYNC;
            pCaptureInstPrm->videoIfMode        = SYSTEM_CAPT_VIDEO_IF_MODE_16BIT;
            pCaptureInstPrm->inDataFormat       = SYSTEM_DF_YUV422P;
        }
        else if(vipInstId == 1)
        {
            /* Settings for TVP7002*/
            pCaptureInstPrm->vipInstId          = SYSTEM_CAPTURE_INST_VIP1_PORTA;
            pCaptureInstPrm->videoDecoderId     = SYSTEM_DEVICE_VID_DEC_TVP7002_DRV;
            pCaptureInstPrm->standard           = SYSTEM_STD_720P_60;
            pCaptureInstPrm->videoCaptureMode   = SYSTEM_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_EMBEDDED_SYNC;
            pCaptureInstPrm->videoIfMode        = SYSTEM_CAPT_VIDEO_IF_MODE_16BIT;
            pCaptureInstPrm->inDataFormat       = SYSTEM_DF_YUV422P;
            pCaptureInstPrm->inScanFormat       = SYSTEM_SF_PROGRESSIVE;
        }

            pCaptureInstPrm->numOutput          = 1;
            pCaptureOutPrm                      = &pCaptureInstPrm->outParams[0];
            pCaptureOutPrm->dataFormat          = SYSTEM_DF_YUV420SP_UV;
            pCaptureOutPrm->scEnable            = FALSE;
            pCaptureOutPrm->scOutWidth          = 0;
            pCaptureOutPrm->scOutHeight         = 0;                                                     
            pCaptureOutPrm->outQueId            = 0;
    }

  • It is not issue with VIP configuration. Short frames are being received from external video source (705 height) . I am not familiar with SDK  but if possible try printing the capture driver advanced statistics and check the height reported by driver when using SDK.

  • Hi Badri,

    We use v4l2 driver to configure TVP7002. So via auto-detection functionality of driver we are seeing prints that detected resolution is 1280x720.

    In another experiment, we ran capture-display using SDK and took TVP7002 register dump and saved into a file. And again with RDK we took TVP7002 register dump and saved into a file. In both cases there is NO difference in register dump of TVP7002, it means decoder is getting configured in same way.

    I remember correctly that earlier also we observed this issue with RDK 3.5 but at that time changing highlighted line with 720 it got resolve,

    File  :  DVRRDK_03.50.00.05/dvr_rdk/mcfw/src_bios6/links_m3vpss/capture/captureLink_drv.c

     case FVID2_STD_720P_60:                      
         inScanFormat = FVID2_SF_PROGRESSIVE;     
                                                  
         {                                        
             pInst->maxWidth = 1280;              
             pInst->maxHeight = 748;              // Changed to 720
         }                                        

    Thanks,

    Ronak

  • Can you dump the 32-bit value at physical address

    0x48105530

    0x48105a30

    when running SDK and RDK.You can use mem_rdwr.out to read physical address.

  • Hi Badri,


    Sorry for delayed response,

    RDK: We ran our custom demo (captures two channels of 720P, one from SII9135 and another from TVP7002 and video blending on top of it)

    0x48105530: 050002D0
    0x48105a30: 050002C1

    SDK: We ran saLoopBackFbdev application.

    0x48105530: 050002D0
    0x48105a30: 00000000


    Thanks,

    Ronak

  • For RDK the VIP1 frame capture height is shown as 0x2C1 indicating incoming height is 705.(VIP0 height is shown correctly as 0x2D0 (720))

    For SDK VIP 1 is not being used for capture so no meaningful comparison is possible.

  • Hi Badri,

    On SDK too we observed the same issue.So, it's not specific to RDK/SDK and you are correct it's related to source.

    The real issue was in configuration of TVP7002. Following line needs to be changed in v4l2 driver of TVP7002. Now, we are able to see complete video.

    { TVP7002_VBLK_F_0_DURATION, 0x2D, TVP7002_WRITE },

    to

    { TVP7002_VBLK_F_0_DURATION, 0x1E, TVP7002_WRITE },

    Thanks a lot for your help.

    -Ronak

  • Hi Ronak Desai,


    I am working on Mistral DM8148 EVM, using DVR RDK 4.1.

    As you know DVR RDK doesn't support TVP7002 decoder.Could you please help me to out,  the procedure for configuration of TVP7002.

    I got struck from many days, please help me.

    Thanks in advance,

    Kiran S Patil

  • You can refer post RE: Capture Issue: "Overflow detected on VIP0" for tvp7002 with DVRRDK. Although it is for ti816x with EVM+XIO daughter card it could be useful reference.

  • Hi Badri,

    Thanks a lot for quick reply, that post helped me a lot.

    I want to capture 1080p30, need to configure TVP7002 registers right?

    I tried to change the register values but its not working,unable to understand what values to be written.

    Thanks and regards

    Kiran S Patil

  • You will have to refer to TVP7002 datasheet for correct settings http://www.ti.com/product/TVP7002/technicaldocuments

    There is also a separate forum for TVP7002 where you could get expert input

    http://e2e.ti.com/support/data_converters/videoconverters/f/376.aspx

  • Hi,

    All TVP7002 supported resolution/formats can be found in this link

    http://www.ti.com/cn/lit/zip/slec029

    there is register table.

    BR,

    Eason

  • Hi Eason Wang,

    Thanks a lot,it really helped me a lot.

    Thanks and regards,

    Kiran S Patil

  • Hi Badri,

    I am working on Mistral TI DM8148 EVM with DVR RDK4.1.

    In MCFW demos changed one of the application to perform single channel capture and display.

    As per logs it not at all capturing frames.Please help me..

    Please find the attached log file,tvp7002 configuration file and my application files.

    ./init.sh

    ./load.sh

    ./tvp_7002.sh(720p60)

    ./run.sh

    I am using i2cset utility to write to TVP7002 registers.

    Thanks in advance.

    Regards,

    Kiran S Patil

    i2cset -y 3 0x21 0x0f 0xCB
    i2cset -y 3 0x5d 0x01 0x67
    i2cset -y 3 0x5d 0x02 0x20
    i2cset -y 3 0x5d 0x03 0xa0
    i2cset -y 3 0x5d 0x04 0x16
    i2cset -y 3 0x5d 0x05 0x32
    i2cset -y 3 0x5d 0x06 0x20
    i2cset -y 3 0x5d 0x07 0x2C
    i2cset -y 3 0x5d 0x0B 0x80
    i2cset -y 3 0x5d 0x0C 0x90
    i2cset -y 3 0x5d 0x0D 0x80
    i2cset -y 3 0x5d 0x0E 0x3F
    i2cset -y 3 0x5d 0x0F 0x2E
    i2cset -y 3 0x5d 0x10 0x5D
    i2cset -y 3 0x5d 0x11 0x50
    i2cset -y 3 0x5d 0x12 0x00
    i2cset -y 3 0x5d 0x13 0x00
    i2cset -y 3 0x5d 0x15 0x47
    i2cset -y 3 0x5d 0x16 0x01
    i2cset -y 3 0x5d 0x17 0x00
    i2cset -y 3 0x5d 0x18 0x01
    i2cset -y 3 0x5d 0x19 0x00
    i2cset -y 3 0x5d 0x1A 0x8F
    i2cset -y 3 0x5d 0x40 0x47
    i2cset -y 3 0x5d 0x41 0x01
    i2cset -y 3 0x5d 0x42 0x4B
    i2cset -y 3 0x5d 0x43 0x06
    i2cset -y 3 0x5d 0x44 0x05
    i2cset -y 3 0x5d 0x45 0x00
    i2cset -y 3 0x5d 0x46 0x1E
    i2cset -y 3 0x5d 0x47 0x00
    i2cset -y 3 0x5d 0x48 0x00
    i2cset -y 3 0x5d 0x49 0x00
    i2cset -y 3 0x5d 0x34 0x12
    i2cset -y 3 0x5d 0x3F 0x0F
    i2cset -y 3 0x5d 0x31 0x5a

    Void VcapVencVdecVdis_start( Bool doProgressiveVenc, Bool enableSecondaryOut, int demoId)
    {
        VSYS_PARAMS_S vsysParams;
        VCAP_PARAMS_S vcapParams;
        VDIS_PARAMS_S vdisParams;
    
        gDemo_info.maxVcapChannels = 1;
        gDemo_info.maxVdisChannels = 1;
        gDemo_info.maxVencChannels = 0;
        gDemo_info.maxVdecChannels = 0;
    
        vcapParams.numChn = 1;
        vdisParams.numChannels = 1;
    
        Vsys_params_init(&vsysParams);
        vsysParams.systemUseCase = VSYS_USECASE_MULTICHN_PROGRESSIVE_VCAP_VDIS_VENC_VDEC;
        vsysParams.enableCapture = TRUE;
        vsysParams.enableNsf     = FALSE;
        vsysParams.enableNullSrc = FALSE;
        vsysParams.numDeis       = 0;
        vsysParams.numSwMs       = 0;
        vsysParams.numDisplays   = 1;
    
        printf ("--------------- CHANNEL DETAILS-------------\n");
        printf ("Capture Channels => %d\n", vcapParams.numChn);
        printf ("Disp Channels => %d\n", vdisParams.numChannels);
        printf ("-------------------------------------------\n");
    
        /* Override the context here as needed */
        Vsys_init(&vsysParams);
    
        Vcap_params_init(&vcapParams);
    
        /* Override the context here as needed */
        Vcap_init(&vcapParams);
    
        Vdis_params_init(&vdisParams);
    
        /* Override the context here as needed */
        vdisParams.deviceParams[VDIS_DEV_HDMI].resolution   = DEMO_HD_DISPLAY_DEFAULT_STD;
        /* Since HDCOMP and DVO2 are tied together they must have same resolution */
        vdisParams.deviceParams[VDIS_DEV_HDCOMP].resolution = DEMO_HD_DISPLAY_DEFAULT_STD;
        vdisParams.deviceParams[VDIS_DEV_DVO2].resolution   =
                                  vdisParams.deviceParams[VDIS_DEV_HDMI].resolution;
        vdisParams.deviceParams[VDIS_DEV_SD].resolution     = VSYS_STD_NTSC;
    
    	Vdis_tiedVencInit(VDIS_DEV_HDCOMP, VDIS_DEV_DVO2, &vdisParams);
       
    	Vdis_init(&vdisParams);
    
     	/* Configure display in order to start grpx before video */
     	Vsys_configureDisplay();
    
    #if USE_FBDEV
        grpx_init(GRPX_FORMAT_RGB565);
    #endif
    
        /* Create Link instances and connects compoent blocks */
        Vsys_create();
    
        /* Start components in reverse order */
        Vdis_start();
        Vcap_start();
    	
    	Vsys_printDetailedStatistics();
    }

    
    U-Boot 2010.06 (Oct 23 2013 - 12:52:42)
    
    TI8148-GP rev 2.1
    
    L3 clk         : 200MHz
    IVA clk        : 410MHz
    ISS clk        : 480MHz
    DSP clk        : 750MHz
    DSS clk        : 200MHz
    ARM clk        : 720MHz
    DDR clk        : 480MHz
    
    ------------ PLL Settings --------------
    OSC_0_FREQ    : 20MHz
    
    MODENA_N      : 1
    MODENA_M      : 72
    MODENA_M2     : 1
    
    L3_N          : 19
    L3_M          : 800
    L3_M2         : 4
    
    DSP_N         : 19
    DSP_M         : 750
    DSP_M2        : 1
    
    DSS_N         : 19
    DSS_M         : 800
    DSS_M2        : 4
    
    IVA_N         : 19
    IVA_M         : 820
    IVA_M2        : 2
    
    ISS_N         : 19
    ISS_M         : 960
    ISS_M2        : 2
    
    USB_N         : 19
    USB_M         : 960
    USB_M2        : 5
    
    DCO_HS2_MIN   : 500
    DCO_HS2_MAX   : 1000
    DCO_HS1_MIN   : 1000
    DCO_HS1_MAX   : 2000
    SELFREQDCO_HS2   : 2049
    SELFREQDCO_HS1   : 4097
    
    --------- DDR PLL ----------
    DDR_N             : 0x13
    DDR_M             : 0x3C0
    DDR_M2            : 0x2
    
    ----------EMIF Timings (identical for 0 & 1)-------
    DDR3_EMIF_READ_LATENCY : 0x170209
    DDR3_EMIF_TIM1         : 0xAAAD4DB
    DDR3_EMIF_TIM2         : 0x682F7FDA
    DDR3_EMIF_TIM3         : 0x501F82BF
    DDR3_EMIF_REF_CTRL     : 0xC30
    DDR3_EMIF_SDRAM_CONFIG : 0x61C011B2
    DDR3_EMIF_SDRAM_ZQCR   : 0x50074BE1
    
    ----------SW LEVEL Info (EMIF 0) -------
    DDR3_PHY_RD_DQS_CS0_BYTE0: 0x00000038
    DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000037
    DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000032
    DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000031
    
    DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000043
    DDR3_PHY_WR_DQS_CS0_BYTE1: 0x00000044
    DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000053
    DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050
    
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000E4
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x00000111
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000112
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x0000013D
    
    DDR3_PHY_WR_DATA_CS0_BYTE0: 0x00000085
    DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000083
    DDR3_PHY_WR_DATA_CS0_BYTE2: 0x00000085
    DDR3_PHY_WR_DATA_CS0_BYTE3: 0x0000007F
    
    ----------SW LEVEL Info (EMIF 1) -------
    DDR3_PHY_RD_DQS_CS0_BYTE0: 0x0000003A
    DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000036
    DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000037
    DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000033
    
    DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000049
    DDR3_PHY_WR_DQS_CS0_BYTE1: 0x0000004E
    DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000054
    DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050
    
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000D3
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x000000F7
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000109
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x00000135
    
    DDR3_PHY_WR_DATA_CS0_BYTE0: 0x0000008A
    DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000080
    DDR3_PHY_WR_DATA_CS0_BYTE2: 0x0000007F
    DDR3_PHY_WR_DATA_CS0_BYTE3: 0x00000085
    
    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:  3  2  1  0 
    
    NAND read: device 0 offset 0x20000, size 0x40000
     262144 bytes read: OK
    ## Starting application at 0x81000000 ...
    
    
    U-Boot 2010.06 (Oct 23 2013 - 12:56:58)
    
    TI8148-GP rev 2.1
    
    L3 clk         : 200MHz
    IVA clk        : 410MHz
    ISS clk        : 480MHz
    DSP clk        : 750MHz
    DSS clk        : 200MHz
    ARM clk        : 720MHz
    DDR clk        : 480MHz
    
    ------------ PLL Settings --------------
    OSC_0_FREQ    : 20MHz
    
    MODENA_N      : 1
    MODENA_M      : 72
    MODENA_M2     : 1
    
    L3_N          : 19
    L3_M          : 800
    L3_M2         : 4
    
    DSP_N         : 19
    DSP_M         : 750
    DSP_M2        : 1
    
    DSS_N         : 19
    DSS_M         : 800
    DSS_M2        : 4
    
    IVA_N         : 19
    IVA_M         : 820
    IVA_M2        : 2
    
    ISS_N         : 19
    ISS_M         : 960
    ISS_M2        : 2
    
    USB_N         : 19
    USB_M         : 960
    USB_M2        : 5
    
    DCO_HS2_MIN   : 500
    DCO_HS2_MAX   : 1000
    DCO_HS1_MIN   : 1000
    DCO_HS1_MAX   : 2000
    SELFREQDCO_HS2   : 2049
    SELFREQDCO_HS1   : 4097
    
    --------- DDR PLL ----------
    DDR_N             : 0x13
    DDR_M             : 0x3C0
    DDR_M2            : 0x2
    
    ----------EMIF Timings (identical for 0 & 1)-------
    DDR3_EMIF_READ_LATENCY : 0x170209
    DDR3_EMIF_TIM1         : 0xAAAD4DB
    DDR3_EMIF_TIM2         : 0x682F7FDA
    DDR3_EMIF_TIM3         : 0x501F82BF
    DDR3_EMIF_REF_CTRL     : 0xC30
    DDR3_EMIF_SDRAM_CONFIG : 0x61C011B2
    DDR3_EMIF_SDRAM_ZQCR   : 0x50074BE1
    
    ----------SW LEVEL Info (EMIF 0) -------
    DDR3_PHY_RD_DQS_CS0_BYTE0: 0x00000038
    DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000037
    DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000032
    DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000031
    
    DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000043
    DDR3_PHY_WR_DQS_CS0_BYTE1: 0x00000044
    DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000053
    DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050
    
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000E4
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x00000111
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000112
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x0000013D
    
    DDR3_PHY_WR_DATA_CS0_BYTE0: 0x00000085
    DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000083
    DDR3_PHY_WR_DATA_CS0_BYTE2: 0x00000085
    DDR3_PHY_WR_DATA_CS0_BYTE3: 0x0000007F
    
    ----------SW LEVEL Info (EMIF 1) -------
    DDR3_PHY_RD_DQS_CS0_BYTE0: 0x0000003A
    DDR3_PHY_RD_DQS_CS0_BYTE1: 0x00000036
    DDR3_PHY_RD_DQS_CS0_BYTE2: 0x00000037
    DDR3_PHY_RD_DQS_CS0_BYTE3: 0x00000033
    
    DDR3_PHY_WR_DQS_CS0_BYTE0: 0x00000049
    DDR3_PHY_WR_DQS_CS0_BYTE1: 0x0000004E
    DDR3_PHY_WR_DQS_CS0_BYTE2: 0x00000054
    DDR3_PHY_WR_DQS_CS0_BYTE3: 0x00000050
    
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE0: 0x000000D3
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE1: 0x000000F7
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE2: 0x00000109
    DDR3_PHY_RD_DQS_GATE_CS0_BYTE3: 0x00000135
    
    DDR3_PHY_WR_DATA_CS0_BYTE0: 0x0000008A
    DDR3_PHY_WR_DATA_CS0_BYTE1: 0x00000080
    DDR3_PHY_WR_DATA_CS0_BYTE2: 0x0000007F
    DDR3_PHY_WR_DATA_CS0_BYTE3: 0x00000085
    
    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:0:18:32:61:57:18
    cpsw
    Hit any key to stop autoboot:  3  2  1  0 
    
    NAND read: device 0 offset 0x280000, size 0x300000
     3145728 bytes read: OK
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    Error writing the chip. SII9022A not accessible or not present
    VPDMA Firmware Version = 0x4d0001ad
    
    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:    2794332 Bytes = 2.7 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    Linux version 2.6.37 (a0393400@bangvideoapps01) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Wed Oct 23 13:13:24 IST 2013
    
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    
    Machine: ti8148evm
    
    bootconsole [earlycon0] enabled
    
    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 2.1
    
    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  root=/dev/nfs nfsroot=192.168.1.5:/home/coreel/dvrrdk/DVRRDK_04.01.00.02/target/rfs_814x,nolock rw mem=128M ip=dhcp earlyprintk notifyk.vpssm3_sva=0xBFD00000 ddr_mem=512M vram=20M
    
    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: 102384k/102384k available, 28688k 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 - 0xc0042000   ( 232 kB)
    
          .text : 0xc0042000 - 0xc054c000   (5160 kB)
    
          .data : 0xc054c000 - 0xc05a2a00   ( 347 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... 719.25 BogoMIPS (lpj=3596288)
    
    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
    
    omap_mux_init: Add partition: #1: core, flags: 4
    
    NOR: Can't request GPMC CS
    
    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
    
    NSS Crypto DMA hardware revision 1.9 @ IRQ 116
    
    ti81xx_pcie: Invoking PCI BIOS...
    
    ti81xx_pcie: Setting up Host Controller...
    
    ti81xx_pcie: Register base mapped @0xc8830000
    
    ti81xx_pcie: forcing link width - x1
    
    ti81xx_pcie: Starting PCI scan...
    
    PCI: bus0: Fast back to back transfers enabled
    
    ti81xx_pcie: PCI scan done.
    
    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
    
    pcf857x 1-0021: gpios 128..143 on a pcf8575
    
    regulator: VRTC: 1800 mV 
    
    regulator: VIO: 1500 mV 
    
    regulator: VDD1: 600 <--> 1500 mV at 1100 mV 
    
    regulator: VDD2: 600 <--> 1500 mV at 1200 mV 
    
    regulator: VDDCTRL: 600 <--> 1400 mV at 1200 mV 
    
    regulator: LDO1: 1100 <--> 3300 mV at 1800 mV 
    
    regulator: LDO2: 1100 <--> 3300 mV at 1800 mV 
    
    regulator: LDO3: 1100 <--> 3300 mV at 3300 mV 
    
    regulator: LDO4: 1100 <--> 3300 mV at 1800 mV 
    
    regulator: LDO5: 1100 <--> 3300 mV at 3300 mV 
    
    regulator: LDO6: 1100 <--> 3300 mV at 3300 mV 
    
    regulator: LDO7: 1100 <--> 3300 mV at 3300 mV 
    
    regulator: LDO8: 1100 <--> 3300 mV at 1800 mV 
    
    tps65910 1-002d: No interrupt support, no core IRQ
    
    omap_i2c omap_i2c.3: bus 3 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(35 13 16)
    
    usb2phy: override computed values rxcalib(15)DACs(35 13 16)
    
    usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f71db86
    
    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(31 14 13)
    
    usb2phy: override computed values rxcalib(15)DACs(31 14 13)
    
    usb2phy_config: musb(1) rxcalib done, rxcalib read value 6f6fdd6e
    
    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 c882a800 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 199
    
    alg: No test for stdrng (krng)
    
    io scheduler noop registered
    
    io scheduler deadline registered
    
    io scheduler cfq registered (default)
    
    nss_rng nss_rng: NSS Random Number Generator ver. 2.0
    
    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, bootconsole disabled
    console [ttyO0] enabled, bootconsole disabled
    
    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
    ahci probe: devid name is ahci
    ahci CAP register dump =0x6726ff80
    Modified ahci CAP register dump =0x6f26ff80
    ahci ahci.0: forcing PORTS_IMPL to 0x1
    ahci: SSS flag set, parallel bus scan disabled
    ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    scsi0 : ahci_platform
    ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
    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
    d_can d_can: d_can device registered (irq=52, irq_obj=53)
    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
    ata1: SATA link down (SStatus 0 SControl 300)
    qt602240_ts 1-004a: Family ID: 128 Variant ID: 1 Version: 22 Build: 171
    qt602240_ts 1-004a: Matrix X Size: 18 Matrix Y Size: 12 Object Num: 17
    input: AT42QT602240/ATMXT224 Touchscreen as /devices/platform/omap/omap_i2c.1/i2c-1/1-004a/input/input0
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    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
    nss_aes_mod_init: loading NSS AES driver
    nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 0 @0x41140000)
    nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 1 @0x41141000)
    nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 2 @0x411a0000)
    nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 3 @0x411a1000)
    nss_aes_probe: probe() done
    nss_des_mod_init: loading NSS DES driver
    nss-des nss-des: NSS DES hw accel rev: 2.2 (context 0 @0x41160000)
    nss-des nss-des: NSS DES hw accel rev: 2.2 (context 1 @0x41161000)
    nss_des_probe: probe() done
    nss_sham_mod_init: loading NSS SHA/MD5 driver
    nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 0 @0x41100000)
    nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 1 @0x41101000)
    nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 2 @0x411c0000)
    nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 3 @0x411c1000)
    nss_sham_probe: probe() done
    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
    Registered tvp5158 audio codec
    *** Forcing SW CTS!
    asoc: tvp5158-hifi <-> davinci-mcasp.0 mapping ok
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
    asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok
    ALSA device list:
      #0: TI81XX SOUND0
      #1: TI81XX SOUND1
    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.
    Detected MACID=0:18:32:61:57:18
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    mmc0: host does not support reading read-only switch. assuming write-enable.
    mmc0: new high speed SDHC card at address e624
    mmcblk0: mmc0:e624 SD08G 7.40 GiB 
     mmcblk0: p1 p2
    
    CPSW phy found : id is : 0x4dd074
    
    CPSW phy found : id is : 0x4dd074
    Sending DHCP requests .
    PHY: 0:01 - Link is Up - 0/Half
    PHY: 0:01 - Link is Down
    .
    PHY: 0:00 - Link is Up - 1000/Full
    ., OK
    IP-Config: Got DHCP answer from 192.168.1.5, my address is 192.168.1.235
    IP-Config: Complete:
         device=eth0, addr=192.168.1.235, mask=255.255.255.0, gw=192.168.1.1,
         host=192.168.1.235, domain=, nis-domain=(none),
         bootserver=192.168.1.5, rootserver=192.168.1.5, rootpath=
    VFS: Mounted root (nfs filesystem) on device 0:15.
    devtmpfs: mounted
    Freeing init memory: 232K
    
    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 udev
    udev[114]: starting version 164
    EXT3-fs: barriers not enabled
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs (mmcblk0p2): using internal journal
    EXT3-fs (mmcblk0p2): recovery complete
    EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
    Starting Bootlog daemon: bootlogd.
    Applying sync command
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    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
    numid=1,iface=MIXER,name='PCM Playback Volume'
      ; type=INTEGER,access=rw---R--,values=2,min=0,max=127,step=0
      : values=127,127
      | dBscale-min=-63.50dB,step=0.50dB,mute=0
     [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:Aug 24 2014 Time:15:29:46
    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, 0x5a, 0x5c, 0x5e
     TI DVR    : TVP5158 device address : 0x58, 0x59, 0x5a, 0x5b
     
     Device found     : I2C (0xXX): 0x08 = 0x51
                        I2C (0xXX): 0x09 = 0x58
     
     Device NOT found : I2C (0xXX): Read ERROR !!! (reg[0x08], count = 2)
     
     I2C (0x58): Read ERROR !!! (reg[0x08], count = 2)
     I2C (0x5a): Read ERROR !!! (reg[0x08], count = 2)
     I2C (0x5c): 0x08 = 0x02 
     I2C (0x5c): 0x09 = 0x80 
     I2C (0x5e): Read ERROR !!! (reg[0x08], count = 2)
     I2C (0x59): Read ERROR !!! (reg[0x08], count = 2)
     I2C (0x5b): Read ERROR !!! (reg[0x08], count = 2)
     
     *** 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  : 480 MHz
    After Ipc_startcallback status [0x00000000]
     [m3vpss ] ***** VPSS Firmware build time 18:42:02 Sep 16 2014  EDG gcc 3.0 mode
     [m3vpss ] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 240000000
     [m3vpss ] notify_attach  rtnVal  0
     [m3vpss ] initProxyServer  rtnVal  0
     [m3vpss ]  
     [m3vpss ]  *** UTILS: CPU KHz = 480000 Khz ***
     [m3vpss ]  
     [m3vpss ]  43: SYSTEM  : System Common Init in progress !!!
     [m3vpss ]  44: SYSTEM: IPC init in progress !!!
     [m3vpss ]  44: SYSTEM: Attaching to [HOST] ... 
     [m3vpss ]  46: 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  : 480 MHz
     [m3video] ***** VIDEO Firmware build time 18:43:39 Sep 16 2014  EDG gcc 3.0 mode
     [m3video] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 240000000
     [m3video]  
     [m3video]  *** UTILS: CPU KHz = 480000 Khz ***
     [m3video]  
     [m3video]  175: SYSTEM  : System Common Init in progress !!!
     [m3video]  175: SYSTEM: IPC init in progress !!!
     [m3video]  175: SYSTEM: Attaching to [HOST] ... 
     [m3video]  179: 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  : 750 MHz
     [m3video]  278: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [m3vpss ]  280: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [m3video]  282: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [m3vpss ]  282: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [c6xdsp ] ***** VIDEO Firmware build time 18:39:54 Sep 16 2014  EDG gcc 3.0 mode
     [m3video]  282: SYSTEM: Creating MsgQ Heap [IPDMA: Module install successful, device major num = 251 
    C_MSGQ_MSG_HEAP_DRV: Module install successful
    1] ...
     [m3vpssDRV: Module built on Aug 24 2014 15:30:27 
     ]  282: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_2] ...
     [c6xdsp ] ***** SYSTEM  : Frequency <ORG> - 500000000, <NEW> - 750000000
     [m3video]  282: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
     [m3vpss ]  282: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
     [c6xdsp ]  
     [m3video]  283: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
     [m3vpss ]  282: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
     [c6xdsp ]  *** UTILS: CPU KHz = 750000 Khz ***
     [m3video]  284: SYSTEM: Notify register to [HOST] line 0, event 15 ... 
     [m3vpss ]  284: SYSTEM: Notify register to [HOST] line 0, event 15 ... 
     [c6xdsp ]  
     [m3video]  285: SYSTEM: Notify register to [DSP] line 0, event 15 ... 
     [m3vpss ]  285: SYSTEM: Notify register to [DSP] line 0, event 15 ... 
     [c6xdsp ]  1: SYSTEM  : System Common Init in progress !!!
     [m3video]  285: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... 
     [m3vpss ]  285: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 
     [c6xdsp ]  1: SYSTEM: IPC init in progress !!!
     [m3video]  285: SYSTEM: IPC init DONE !!!
     [m3vpss ]  285: SYSTEM: IPC init DONE !!!
     [c6xdsp ]  1: SYSTEM: Attaching to [HOST] ... 
     [c6xdsp ]  4: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [c6xdsp ]  5: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [c6xdsp ]  7: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [c6xdsp ]  7: 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 ]  8: SYSTEM: Notify register to [HOST] line 0, event 15 ... 
     [c6xdsp ]  8: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 
     [c6xdsp ]  8: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... 
     [c6xdsp ]  8: SYSTEM: IPC init DONE !!!
     [c6xdsp ]  10: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB) 
     [c6xdsp ]  10: MEM: ERROR: SharedRegion_setEntry (2, 0x8fcef2dc) FAILED !!!  (status=-1) 
     [m3video]  292: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB) 
     [m3vpss ]  292: MEM: Shared Region 2: Base = 0xb8000000, Length = 0x07000000 (112 MB) 
     [m3video]  293: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04f00000 (79 MB) 
     [m3vpss ]  292: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04f00000 (79 MB) 
     [m3video]  295: SYSTEM  : System Common Init Done !!!
     [m3vpss ]  295: SYSTEM  : System Common Init Done !!!
     [m3video]  295: SYSTEM  : System Video Init in progress !!!
     [m3vpss ]  295: SYSTEM  : System VPSS Init in progress !!!
     [m3video]  295: SYSTEM  : System Video Init Done !!!
     [m3vpss ]  295: SYSTEM: All VPDMA Free !!! 
     [m3video]  296: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
     [m3video]  296: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
     [m3video]  296: SYSTEM: ListElem Shared Addr = 0xbf173e00
     [m3video]  299: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
     [m3video]  299: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
     [m3video]  299: SYSTEM: ListElem Shared Addr = 0xbf177300
     [m3video]  306: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_19] in region 0 ...
     [m3video]  306: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_19] in region 0 ...
     [m3video]  307: SYSTEM: ListElem Shared Addr = 0xbf17a800
     [m3video]  310: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_20] in region 0 ...
     [m3video]  310: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_20] in region 0 ...
     [m3video]  310: SYSTEM: ListElem Shared Addr = 0xbf1a0000
     [m3video]  313: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_21] in region 0 ...
     [m3vpss ] === I2C0/2 Clk is active ===
     [m3video]  313: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_21] in region 0 ...
     [m3vpss ]  318: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...
     [m3video]  313: SYSTEM: ListElem Shared Addr = 0xbf1c5800
     [m3vpss ]  319: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
     [m3video]  330: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_24] in region 0 ...
     [m3vpss ]  319: SYSTEM: ListElem Shared Addr = 0xbf1eb000
     [m3video]  330: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_24] in region 0 ...
     [m3vpss ]  321: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
     [m3video]  331: SYSTEM: ListElem Shared Addr = 0xbf1f1a00
     [m3vpss ]  322: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
     [m3video]  333: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_25] in region 0 ...
     [m3vpss ]  322: SYSTEM: ListElem Shared Addr = 0xbf1ee500
     [m3video]  334: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_25] in region 0 ...
     [m3vpss ]  340: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_19] in region 0 ...
     [m3video]  334: SYSTEM: ListElem Shared Addr = 0xbf210480
     [m3vpss ]  340: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_19] in region 0 ...
     [m3video]  336: HDVICP: Doing PRCM for IVAHD[0] ... 
     [m3vpss ]  340: SYSTEM: ListElem Shared Addr = 0xbf22ef00
     [m3video]  336: HDVICP: PRCM for IVAHD[0] ... DONE.
     [m3vpss ]  343: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_20] in region 0 ...
     [m3video]  338: UTILS: DMA: HWI Create for INT62 !!!
     [m3vpss ]  343: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_20] in region 0 ...
     [m3video]  338: SYSTEM  : ISS Init in progress !!!
     [m3vpss ]  343: SYSTEM: ListElem Shared Addr = 0xbf254700
     [m3video]  338: SYSTEM  : ISS Power-ON in progress !!!
     [m3vpss ]  346: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_21] in region 0 ...
     [m3video]  348: SYSTEM  : ISS Power-ON in progress DONE !!!
     [m3vpss ]  347: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_21] in region 0 ...
     [m3video]  349: SYSTEM  : ISS Init in progress DONE !!!
     [m3vpss ]  347: SYSTEM: ListElem Shared Addr = 0xbf279f00
     [m3video]  349: VCOP BOOST BIT is Set
     [m3vpss ]  349: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_37
     [m3video]  349: SYSTEM  : VCOP Init in progress !!!
     [m3vpss ]  349: SYSTEM  : FVID2 Init in progress !!!
     [m3video]  349: SYSTEM  : VCOP needs 172 B of memory !!!
     [m3video]  351: SYSTEM  : VCOP Init in progress DONE !!!
     [m3video]  351: SYSTEM  : Initializing Links !!! 
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff10820
     [m3vpss ] Remote Debug Shared Memory @ 0xbff21040
     [m3video]  351: SYSTEM  : FREE SPACE : System Heap      = 6263296 B, Mbx = 10240 msgs) 
     [m3vpss ] TILER_STATS: CNT :8BIT
     [m3video]  351: SYSTEM  : FREE SPACE : SR0 Heap         = 6426368 B (6 MB) 
     [m3vpss ] TILER_STATS: CNT RESOLUTION:    16384 x 5440
     [m3video]  351: SYSTEM  : FREE SPACE : Frame Buffer     = 117440384 B (111 MB) 
     [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
     [m3video]  351: SYSTEM  : FREE SPACE : Bitstream Buffer = 82837376 B (78 MB) 
     [m3vpss ] TILER_STATS: NUM FREE BUCKETS:  1
     [m3video]  351: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     [m3vpss ] TILER_STATS: NUM USED BUCKETS:  0
     [m3video]  353: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
     [m3vpss ] TILER_STATS: TOTAL FREE AREA:   89063424 (99 %)
     [m3video]  354: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
     [m3vpss ] TILER_STATS: TOTAL USED AREA:   0 (0 %)
     [m3video]  413: SYSTEM  : Initializing Links ... DONE !!! 
     [m3vpss ] Received character 's'
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff10820
     [m3vpss ] Remote Debug Shared Memory @ 0xbff21040
     [m3video] Received character 's'
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff10820
     [m3vpss ] Remote Debug Shared Memory @ 0xbff21040
     [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 ]  429: SYSTEM  : FVID2 Init in progress DONE !!!
     [m3vpss ]  429: SYSTEM  : Device Init in progress !!!
     [m3vpss ]  517: SYSTEM  : Device Init in progress DONE !!!
     [m3vpss ] 	HDVPSS Freq  : 220 MHz
     [m3vpss ]  563: SYSTEM  : System VPSS Init Done !!!
     [m3vpss ]  564: UTILS: DMA: HWI Create for INT63 !!!
     [m3vpss ]  564: SYSTEM  : Initializing Links !!! 
     [m3vpss ]  565: SYSTEM  : FREE SPACE : System Heap      = 250280 B, Mbx = 10240 msgs) 
     [m3vpss ]  565: SYSTEM  : FREE SPACE : SR0 Heap         = 6426368 B (6 MB) 
     [m3vpss ]  565: SYSTEM  : FREE SPACE : Frame Buffer     = 113130368 B (107 MB) 
     [m3vpss ]  565: 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 ]  566: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
     [m3vpss ]  567: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
     [m3vpss ]  716: SYSTEM  : Initializing Links ... DONE !!! 
     [m3vpss ]  716: SYSTEM  : Set Static L3 pressure for HDVPSS as High
     [c6xdsp ]  1011: MEM: Shared Region 1: Base = 0x88000000, Length = 0x04f00000 (79 MB) 
     [c6xdsp ]  1011: SYSTEM  : System Common Init Done !!!
     [c6xdsp ]  1010: SYSTEM  : System DSP Init in progress !!!
     [c6xdsp ]  1010: SYSTEM  : RpeServer_init() done... Ret Val 0!!!
     [c6xdsp ]  1015: SYSTEM: Creating ListMP [DSP_IPC_OUT_19] in region 0 ...
     [c6xdsp ]  1015: SYSTEM: Creating ListMP [DSP_IPC_IN_19] in region 0 ...
     [c6xdsp ]  1015: SYSTEM: ListElem Shared Addr = 0xbf29f700
     [c6xdsp ]  1016: SYSTEM: Creating ListMP [DSP_IPC_OUT_20] in region 0 ...
     [c6xdsp ]  1016: SYSTEM: Creating ListMP [DSP_IPC_IN_20] in region 0 ...
     [c6xdsp ]  1016: SYSTEM: ListElem Shared Addr = 0xbf2c4f00
     [c6xd[module] vpss probe done.
    sp ]  1017: SYSTEM: Creating ListMP [DSP_IPC_OUT_21] in region 0 ...
     [c6xdsp ]  1017: SYSTEM: Creating ListMP [DSP_IPC_IN_21] in region 0 ...
     [c6xdsp ]  1017: SYSTEM: ListElem Shared Addr = 0xbf2ea700
     [c6xdsp ]  1018: SYSTEM: Creating ListMP [DSP_IPC[module] ti81xxfb probe done.
    _OUT_24] in region 0 ...
     [c6xdsp ]  1018: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ...
     [c6xdsp ]  1018: SYSTEM: ListElem Shared Addr = 0xbf30ff00
     [c6xdsp ]  1019: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ...
     [c6xdsp ]  1019: SYSTEM: Creating ListMP [DSP_IPCHDMI W1 rev 4.0
    _IN_25] in regioHDMI CEC Spec version 1.2
    n 0 ...
     [c6xdsp ]  1019: SYSTEM: ListElem Shared Addr = 0xbf32e980
     [c6xdsp ] !!WARNING.Resource already registered:2
     [c6xdsp ]  1019: SYSTEM  : Initializing Links !!! 
     [c6xdsp ]  1020: SYSTEM  : FREE SPACE : System Heap      = 6393472 B, Mbx = 10240 msgs) 
     [c6xdsp ] Received character 's'
    /opt/dvr_rdk/ti814x
     [c6xdsp ]  1032: SYSTEM  : Initializing Links ... DONE !!! 
     [c6xdsp ]  1032: SYSTEM  : System DSP Init Done !!!
     
     ORG 0x46c00524: 0
     NEW 0x46c00524: 2
     
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x21 0x0f 0xCB
    
    
    i2cset -y 3 0x5d 0x0B 0x80
    
    i2cset -y 3 0x5d 0x0C 0x90
    
    i2cset -y 3 0x5d 0x0D 0x80
    
    i2cset -y 3 0x5d 0x0E 0x3F
    
    i2cset -y 3 0x5d 0x0F 0x2E
    
    i2cset -y 3 0x5d 0x10 0x5D
    
    i2cset -y 3 0x5d 0x11 0x50
    
    i2cset -y 3 0x5d 0x12 0x00
    
    i2cset -y 3 0x5d 0x13 0x00
    
    i2cset -y 3 0x5d 0x15 0x47
    
    i2cset -y 3 0x5d 0x16 0x01
    
    i2cset -y 3 0x5d 0x17 0x00
    
    i2cset -y 3 0x5d 0x18 0x01
    
    i2cset -y 3 0x5d 0x19 0x00
    
    i2cset -y 3 0x5d 0x1A 0x8F
    
    i2cset -y 3 0x5d 0x40 0x47
    
    i2cset -y 3 0x5d 0x41 0x01
    
    i2cset -y 3 0x5d 0x42 0x4B
    
    i2cset -y 3 0x5d 0x43 0x06
    
    i2cset -y 3 0x5d 0x44 0x05
    
    i2cset -y 3 0x5d 0x45 0x00
    
    i2cset -y 3 0x5d 0x46 0x1E
    
    i2cset -y 3 0x5d 0x47 0x00
    
    i2cset -y 3 0x5d 0x48 0x00
    
    i2cset -y 3 0x5d 0x49 0x00
    
    i2cset -y 3 0x5d 0x34 0x12
    
    i2cset -y 3 0x5d 0x3F 0x0F
    
    i2cset -y 3 0x5d 0x31 0x5aroot@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x01 0x67
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x02 0x20
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x03 0xa0
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x04 0x16
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x05 0x32
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x06 0x20
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x07 0x2C
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x0B 0x80
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x0C 0x90
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x0D 0x80
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x0E 0x3F
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x0F 0x2E
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x10 0x5D
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x11 0x50
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x12 0x00
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x13 0x00
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x15 0x47
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x16 0x01
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x17 0x00
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x18 0x01
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x19 0x00
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x1A 0x8F
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x40 0x47
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x41 0x01
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x42 0x4B
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x43 0x06
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x44 0x05
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x45 0x00
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x46 0x1E
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x47 0x00
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x48 0x00
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x49 0x00
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x34 0x12
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x3F 0x0F
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x5d 0x31 0x5a
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# i2cset -y 3 0x21 0x0f 0xCB
    root@dm814x:/opt/dvr_rdk/ti814x# 
    root@dm814x:/opt/dvr_rdk/ti814x# ./init.sh         run.sh 
    
    
     =========
    
     Main Menu
    
     =========
    
    
    
     1: 4CH VCAP + VENC + VDEC + VDIS  - Progressive SD Encode + Decode
    
     2: 8CH <D1+CIF> VCAP + VENC + VDEC + VDIS  - Progressive SD Encode + Decode
    
     3: 16CH RT VCAP + VENC + VDEC + VDIS  - Progressive SD Encode + Decode
    
     4: 16CH NRT <D1+CIF> VCAP + VENC + VDEC + VDIS  - Progressive SD Encode + Decode
    
     5:               VDEC + VDIS  - SD/HD Decode ONLY
    
    
    
    
     e: Exit
    
    
    
     Enter Choice: 1
    --------------- CHANNEL DETAILS-------------
    Capture Channels => 1
    Disp Channels => 1
    -------------------------------------------
     0: SYSTEM: System Common Init in progress !!!
     0: SYSTEM: IPC init in progress !!!
     11: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!
     11: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!
     11: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!
     11: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!
     11: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_3] ...
     13: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
     15: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
     16: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
     17: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
     17: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     18: SYSTEM: Notify register to [DSP] line 0, event 15 ... 
     19: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 
     19: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... 
     20: SYSTEM: IPC init DONE !!!
     21: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
     22: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
     24: SYSTEM: ListElem Shared Addr = 0x40783680
     25: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
     26: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
     28: SYSTEM: ListElem Shared Addr = 0x407ba480
     29: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...
     31: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...
     32: SYSTEM: ListElem Shared Addr = 0x407f1280
     33: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
     35: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
     36: SYSTEM: ListElem Shared Addr = 0x40834580
     37: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
     39: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
     40: SYSTEM: ListElem Shared Addr = 0x40877880
     58: SYSTEM: System Common Init Done !!!
     [host] HDMI Ctrl :Initializing
    [HOST] 
    ThreadName:Vdis_hdmiControlThread_0,ThreadID:779
     [host] HDMI Ctrl :Initialized
     [host] HDMI Ctrl :Sink Connected
     [FBDEV] 
     [FBDEV] FB: Starting !!!
     [FBDEV] FB: Opened device [/dev/fb0] (fd=21) !!!
     [FBDEV] 
     [FBDEV] Fix Screen Info
     [FBDEV] ---------------
     [FBDEV] Line Length - 1600
     [FBDEV] Physical Address = 86a00000
     [FBDEV] Buffer Length = 2097152
     [FBDEV] 
     [FBDEV] 
     [FBDEV] Var Screen Info
     [FBDEV] ---------------
     [FBDEV] Xres - 800
     [FBDEV] Yres - 600
     [FBDEV] Xres Virtual - 800
     [FBDEV] Yres Virtual - 600
     [FBDEV] Bits Per Pixel - 16
     [FBDEV] Pixel Clk - 6734
     [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 1, sten en 0
     [FBDEV] tran en 1, type 0, key 16777215
     [FBDEV] blend 0, alpha 0
     [FBDEV] bb en 0, alpha 0
     [FBDEV] 
     [FBDEV] 
     [FBDEV] ### BUF SIZE = 960000 Bytes !!! 
     [FBDEV] 
     [FBDEV] 
     [FBDEV] Fix Screen Info
     [FBDEV] ---------------
     [FBDEV] Line Length - 1600
     [FBDEV] Physical Address = 86a00000
     [FBDEV] Buffer Length = 2097152
     [FBDEV] 
     [FBDEV] 
     [FBDEV] Var Screen Info
     [FBDEV] ---------------
     [FBDEV] Xres - 800
     [FBDEV] Yres - 600
     [FBDEV] Xres Virtual - 800
     [FBDEV] Yres Virtual - 600
     [FBDEV] Bits Per Pixel - 16
     [FBDEV] Pixel Clk - 6734
     [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 1, sten en 0
     [FBDEV] tran en 1, type 0, key 16777215
     [FBDEV] blend 0, alpha 0
     [FBDEV] bb en 0, alpha 0
     [FBDEV] 
     [FBDEV] 
     [FBDEV] ### BUF SIZE = 960000 Bytes !!! 
     [FBDEV] 
     [FBDEV] grpx_fb_draw ... 
     [FBDEV] grpx_fb_draw ... Done !!! 
     [FBDEV] FB: Start DONE !!!
     [FBDEV] 
    I came inside
     [m3vpss ]  88353: CAPTURE: Create in progress !!!
     [m3vpss ]  88385: CAPTURE: VIP0 PortA capture mode is [16-bit, Non-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:22579200
     [m3vpss ]  88485: CAPTURE: Create Done !!!
     [m3vpss ]  88485: DISPLAY: Create in progress !!!
     [m3vpss ]  88486: DISPLAY: Create Done !!!
     [m3vpss ]  88487: DISPLAY: Start in progress !!!
     [m3vpss ]  88526: DISPLAY: Start Done !!!
     [m3vpss ]  88526: DISPLAY: HDDAC(BP0) : 51 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) DropCount:0 DispLatency (Min / Max) = ( 8947 / 0 ) !!! 
     [m3vpss ]  88526: DISPLAY DRV: HDDAC(BP0) : Q:[2] Display:[2], Repeat:[1], DQ:[0]
     [m3vpss ]  88526: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 1, HDDAC(BP0) 0, DVO2(BP1) 1, SDDAC(SEC1) 1 
     [m3vpss ]  88526: SYSTEM  : FREE SPACE : System Heap      = 244256 B, Mbx = 10238 msgs) 
     [m3vpss ]  88526: SYSTEM  : FREE SPACE : SR0 Heap         = 2129920 B (2 MB) 
     [m3vpss ]  88527: SYSTEM  : FREE SPACE : Frame Buffer     = 90551168 B (86 MB) 
     [m3vpss ]  88527: 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 ]  88528: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
     [m3vpss ]  88529: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
     [m3vpss ]  89202: CAPTURE: Start in progress !!!
     [m3vpss ]  89301: CAPTURE: Enabled Time Stamping !!!
     [m3vpss ]  89309: CAPTURE: Start Done !!!
     [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 ]  
     [m3vpss ]  VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0 
     [m3vpss ]  
     [m3vpss ]  *** Capture List Manager Advanced Statistics *** 
     [m3vpss ]  
     [m3vpss ]  List Post Count        : 1 
     [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 = 994, 1000) 
     [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 ]  89312: CAPTURE: Fields = 0 (fps = 0, CPU Load = 0)
     [m3vpss ]  89312: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
     [m3vpss ]  89312: SYSTEM  : FREE SPACE : System Heap      = 244256 B, Mbx = 10239 msgs) 
     [m3vpss ]  89312: SYSTEM  : FREE SPACE : SR0 Heap         = 2129920 B (2 MB) 
     [m3vpss ]  89312: SYSTEM  : FREE SPACE : Frame Buffer     = 90551168 B (86 MB) 
     [m3vpss ]  89312: 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 ]  89314: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
     [m3vpss ]  89314: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
     [m3vpss ]  89314: DISPLAY: HDDAC(BP0) : 59 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 16 / 17 ) DropCount:0 DispLatency (Min / Max) = ( 8947 / 0 ) !!! 
     [m3vpss ]  89314: DISPLAY DRV: HDDAC(BP0) : Q:[2] Display:[49], Repeat:[48], DQ:[1]
     [m3vpss ]  89314: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 47, HDDAC(BP0) 0, DVO2(BP1) 47, SDDAC(SEC1) 50 
     [m3vpss ]  89315: SYSTEM  : FREE SPACE : System Heap      = 244256 B, Mbx = 10239 msgs) 
     [m3vpss ]  89315: SYSTEM  : FREE SPACE : SR0 Heap         = 2129920 B (2 MB) 
     [m3vpss ]  89315: SYSTEM  : FREE SPACE : Frame Buffer     = 90551168 B (86 MB) 
     [m3vpss ]  89315: 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 ]  89316: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89063424 B (84 MB)  - TILER ON 
     [m3vpss ]  89317: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON 
     [m3vpss ]  
     [m3vpss ]  98318: LOAD: CPU: 100.0% HWI: 0.0%, SWI:0.0% 
     [m3vpss ]  
     [m3vpss ]  98318: LOAD: TSK: MISC                : 100.0% 
     [m3vpss ]  
     [m3video]  
     [m3video]  98819: LOAD: CPU: 100.0% HWI: 0.0%, SWI:0.0% 
     [m3video]  
     [m3video]  98819: LOAD: TSK: MISC                : 100.0% 
     [m3video]  
     [c6xdsp ]  
     [c6xdsp ]  99047: LOAD: CPU: 100.0% HWI: 0.0%, SWI:0.0% 
     [c6xdsp ]  
     [c6xdsp ]  99047: LOAD: TSK: MISC                : 100.0% 
     [c6xdsp ]  
    [HOST] 
    ThreadName:Demo_run,ThreadID:766
    
    
     =============
    
     Run-Time Menu
    
     =============
    
    
    
     1: Capture Settings
    
     2: Encode  Settings
    
     3: Decode  Settings
    
     4: Display Settings
    
     5: Audio Capture <TVP5158> & Encode <AAC-LC, G711> demo
    
     6: Change Playback Channel <valid only if capture/playback is active>
    
     7: Audio encode demo <File In/Out>
    
     8: Audio decode demo <File In/Out>
    
    
    
     c: Change 8CH modes (8CH usecase ONLY!!!!)
    
     d: Change 16CH modes (16CH usecase ONLY!!!!)
    
    
    
     i: Print detailed system information
    
     s: Core Status: Active/In-active
    
    
    
     e: Stop Demo
    
    
    
     Enter Choice: [HOST] 
    ThreadName:SystemLink_tskMain_3000003f,ThreadID:778
     DEMO: HDMI TV/Monitor connected !!!
     DEMO: TV Detected - HDMI interface !!!
     DEMO: INFO : Resolution set to 1080P60 !!!
    

    /*******************************************************************************
     *                                                                             *
     * Copyright (c) 2009 Texas Instruments Incorporated - http://www.ti.com/      *
     *                        ALL RIGHTS RESERVED                                  *
     *                                                                             *
     ******************************************************************************/
    
    /* This usecase assumes that all 3 outputs - D1 <h.264> + CIF <h.264> + D1 <MJPEG> are enabled */
    /*------------------------------ D1 <h.264> + CIF <h.264> + D1 <MJPEG> -------------------------------------
    
    
                      Capture (YUV422I) 4CH D1 60fps
                                  |
                                  |
                                  |
                                  |
                                  DEI
                                  |+------------------------------------------------------------------------
                                  |                                            |                           |
                           (DEI-SC YUV422I)                              (VIP-SC YUV420 )            (VIP-SC1 YUV420 )
                                  D1                                        D1 |                        CIF|
                                  |                                            |                           |
                                  |                                            |                           |
                                  |                                            |                           |
                            -----------------                                  |                           |
                             D1_DUP_LINK_IDX                                   |                           |
                            -----------------                                  |                           |
                                  |     |                                      |                           |
                                  |     |                                      |                           |
                                  |     |                                      |                           |
                                  |    NSF                                     |                           |
                                  |  (YUV420)                                  |                           |
                                  |     |                                      |                           |
                                  |     |                                      |          |-----------------
                                  |     |-----------------------------         |          |
                                  |                                  |         |          |
                                  |                      <D1-MJPEG> 2|         |0         | 1
                                  |                                  |         |<D1-H.264>| <CIF-H.264>
                                  |                                  |         |          |
                                  |                                  |         |          |
                                  |                            ---------------------------------
                                  |                                   D1_CIF_MERGE_LINK_IDX
                                  |                            ---------------------------------
                                  |                                            |
                                  |                                            |
                                  |                                            |
                                  |                                     FRAMESOUT(VPSS)---------------<<<processLink>>>----FramesInDSP--------ALG_LINK <OSD, SCD Algs>
                                  |                                            |
                                  |                                            |
                                  |                                            |
                                  |                                            |
                                  |                                       IPCM3OUT(VPSS)------IPCM3IN(VID)----ENC-----IPCBITS_RTOSOUT(VID)-----IPCBITS_HLOSIN(HOST)-----FILEOUT
                                  |                                                                                                                                  |
                                  |                                                                                                                                  |
                                  |                                                                                                                                  |
                                  |                                                                                                                                  |
                                  |+--------------------------IPCM3IN(VPSS)---------IPCM3OUT(VID)---------DEC---------------IPCBITS_RTOSIN(VID)-----------IPCBITS_HLOSOUT(HOST)
                                  |
                                  |
                          LIVE_DECODE_MERGE_LINK_IDX
                                  |
                                  |
                                  |
                            LIVE_DECODE_DUP_LINK_IDX
                                 |||
                                 |||
                                 |||
                 +---------------+|+----------------+
                 |                                  |
                 |                                  |
              SW Mosaic 1                       SW Mosaic 0
             (SC2 YUV422I)                     (SC5 YUV422I)
                 |                                  |
                 |                                  |
                 |                                  |
                 |                                  |
                 |                                  |
                 |                                  |
           -------------                       -------------
              DISPLAY 1                           DISPLAY 0
           -------------                       -------------   <tied>
              <SDTV>                          <On-Chip HDMI> --------- <Off-Chip HDMI>
             PAL/NTSC                            1080p60                 1080p60
    
    
    */
    
    
    #include "mcfw/src_linux/mcfw_api/usecases/multich_common.h"
    #include "mcfw/src_linux/mcfw_api/usecases/multich_ipcbits.h"
    
    // Keeping TILER disabled for 4D1 usecase
    #define TILER_ENABLE    FALSE
    
    
    
    /* =============================================================================
     * Use case code
     * =============================================================================
     */
    #if 0
    static SystemVideo_Ivahd2ChMap_Tbl systemVid_encDecIvaChMapTbl =
    {
        .isPopulated = 1,
        .ivaMap[0] =
        {
            .EncNumCh  = 16,
            .EncChList = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 , 14, 15},
            .DecNumCh  = 16,
            .DecChList = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 , 14, 15},
        },
    
    };
    #endif
    // #define     ADD_NSF_AFTER_CAPTURE
    
    #define     NUM_MERGE_LINK                          2
    #define     D1_CIF_MERGE_LINK_IDX                  0
    #define     LIVE_DECODE_MERGE_LINK_IDX             1
    
    #define     NUM_DUP_LINK                            2
    #define     D1_DUP_LINK_IDX                         0
    #define     LIVE_DECODE_DUP_LINK_IDX                1
    
    #if(defined(TI_814X_BUILD) || defined(DDR_MEM_256M))
    #define     NUM_CAPTURE_BUFFERS          8
    #define     NUM_NSF_BUFFERS              4
    #define     NUM_ENCODE_D1_BUFFERS       4
    #define     NUM_ENCODE_CIF_BUFFERS       4
    #define     NUM_DECODE_BUFFERS           4
    #define     NUM_SWMS_MAX_BUFFERS         8
    #define     BIT_BUF_LENGTH_LIMIT_FACTOR_SD    4
    #else
    #define     NUM_CAPTURE_BUFFERS          8
    #define     NUM_NSF_BUFFERS              6
    #define     NUM_ENCODE_D1_BUFFERS       6
    #define     NUM_ENCODE_CIF_BUFFERS       6
    #define     NUM_DECODE_BUFFERS           6
    #define     NUM_SWMS_MAX_BUFFERS         8
    #define     BIT_BUF_LENGTH_LIMIT_FACTOR_SD    6
    #endif
    
    #define     MAX_BUFFERING_QUEUE_LEN_PER_CH    (50)
    
    
    #define     NUM_CAPTURE_DEVICES          1
    
    /* This usecase assumes CIF <secondary out>, MJPEG are enabled */
    Void MultiCh_createProgressive4D1VcapVencVdecVdis()
    {
    
    printf("I came inside\n");
        CaptureLink_CreateParams    capturePrm;
        DisplayLink_CreateParams    displayPrm[VDIS_DEV_MAX];
        CaptureLink_VipInstParams *pCaptureInstPrm;
        CaptureLink_OutParams     *pCaptureOutPrm;
    
    
        UInt32 vipInstId;
        UInt32 i;
    
        for (i = 0; i < VDIS_DEV_MAX; i++)
        {
            MULTICH_INIT_STRUCT(DisplayLink_CreateParams,displayPrm[i]);
        }
    
    
        System_linkControl(
            SYSTEM_LINK_ID_M3VPSS,
            SYSTEM_M3VPSS_CMD_RESET_VIDEO_DEVICES,
            NULL,
            0,
            TRUE
            );
    
        gVcapModuleContext.captureId    = SYSTEM_LINK_ID_CAPTURE;
        gVdisModuleContext.displayId[0] = SYSTEM_LINK_ID_DISPLAY_0; // ON CHIP HDMI
        gVdisModuleContext.displayId[1] = SYSTEM_LINK_ID_DISPLAY_1; // OFF CHIP HDMI
        gVdisModuleContext.displayId[2] = SYSTEM_LINK_ID_DISPLAY_2; // OFF CHIP HDMI
    
    #if 0    /* Enabling graphics only for ON CHIP HDMI an OFF CHIP HDMI*/
        grpxId[2]                       = SYSTEM_LINK_ID_GRPX_2;
    #endif
    
        CaptureLink_CreateParams_Init(&capturePrm);
    
        capturePrm.numVipInst    = 1;
        capturePrm.outQueParams[0].nextLink = gVcapModuleContext.nsfId[0];
    
        capturePrm.tilerEnable              = FALSE;
        capturePrm.enableSdCrop             = FALSE;
    
        for(vipInstId=0; vipInstId<capturePrm.numVipInst; vipInstId++)
        {
            pCaptureInstPrm                     = &capturePrm.vipInst[vipInstId];
    	pCaptureInstPrm->inScanFormat       = SYSTEM_SF_PROGRESSIVE;
    	pCaptureInstPrm->videoIfMode         = SYSTEM_CAPT_VIDEO_IF_MODE_16BIT;
    	pCaptureInstPrm->videoCaptureMode = SYSTEM_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_EMBEDDED_SYNC;
            pCaptureInstPrm->vipInstId          = (SYSTEM_CAPTURE_INST_VIP0_PORTA+vipInstId)%SYSTEM_CAPTURE_INST_MAX;
            pCaptureInstPrm->videoDecoderId     = 10;//other than SYSTEM_DEVICE_VID_DEC_TVP5158_DRV
            pCaptureInstPrm->inDataFormat       = SYSTEM_DF_YUV422P;
            pCaptureInstPrm->standard           = SYSTEM_STD_720P_60;
            pCaptureInstPrm->numOutput          = 1;
    
            pCaptureOutPrm                      = &pCaptureInstPrm->outParams[0];
            pCaptureOutPrm->dataFormat          = SYSTEM_DF_YUV422I_YUYV;
            pCaptureOutPrm->scEnable            = FALSE;
            pCaptureOutPrm->scOutWidth          = 0;
            pCaptureOutPrm->scOutHeight         = 0;
            pCaptureOutPrm->outQueId            = 0;
        }
    
        displayPrm[0].inQueParams[0].prevLinkId    = gVcapModuleContext.captureId;
        displayPrm[0].inQueParams[0].prevLinkQueId = 0;
        displayPrm[0].displayRes                = VSYS_STD_720P_60;
    
    
        System_linkCreate (gVcapModuleContext.captureId, &capturePrm, sizeof(capturePrm));
        System_linkCreate(gVdisModuleContext.displayId[0], &displayPrm[0], sizeof(displayPrm[0]));
    
    }
    
    Void MultiCh_deleteProgressive4D1VcapVencVdecVdis()
    {
        UInt32 i;
        Bool enableAlgLink = gVsysModuleContext.vsysConfig.enableOsd;
    
        UInt32 mergeId[NUM_MERGE_LINK];
        UInt32 dupId[NUM_DUP_LINK];
        UInt32 ipcOutVpssId, ipcInVpssId;
        UInt32 ipcOutVideoId, ipcInVideoId;
    
        mergeId[LIVE_DECODE_MERGE_LINK_IDX]     = SYSTEM_VPSS_LINK_ID_MERGE_0;
        mergeId[D1_CIF_MERGE_LINK_IDX]          = SYSTEM_VPSS_LINK_ID_MERGE_1;
    
        dupId[D1_DUP_LINK_IDX]              = SYSTEM_VPSS_LINK_ID_DUP_0;
        dupId[LIVE_DECODE_DUP_LINK_IDX]     = SYSTEM_VPSS_LINK_ID_DUP_1;
    
        ipcOutVpssId = SYSTEM_VPSS_LINK_ID_IPC_OUT_M3_0;
        ipcInVideoId = SYSTEM_VIDEO_LINK_ID_IPC_IN_M3_0;
        ipcOutVideoId= SYSTEM_VIDEO_LINK_ID_IPC_OUT_M3_0;
        ipcInVpssId  = SYSTEM_VPSS_LINK_ID_IPC_IN_M3_0;
    
        gVdecModuleContext.ipcBitsOutHLOSId = SYSTEM_HOST_LINK_ID_IPC_BITS_OUT_0;
        gVdecModuleContext.ipcBitsInRTOSId = SYSTEM_VIDEO_LINK_ID_IPC_BITS_IN_0;
    
        System_linkDelete(gVcapModuleContext.captureId);
    #ifdef     ADD_NSF_AFTER_CAPTURE
        System_linkDelete(gVcapModuleContext.nsfId[1]);
    #endif
        System_linkDelete(gVcapModuleContext.deiId[0]);
        System_linkDelete(gVcapModuleContext.nsfId[0]);
    
        System_linkDelete(ipcOutVpssId );
        System_linkDelete(ipcInVideoId );
    
        if(enableAlgLink)
        {
            System_linkDelete(gVcapModuleContext.dspAlgId[0]);
        }
    
        System_linkDelete(gVencModuleContext.encId);
        System_linkDelete(gVencModuleContext.ipcBitsOutRTOSId);
        System_linkDelete(gVencModuleContext.ipcBitsInHLOSId);
        System_linkDelete(gVdecModuleContext.ipcBitsOutHLOSId);
        System_linkDelete(gVdecModuleContext.ipcBitsInRTOSId);
        System_linkDelete(gVdecModuleContext.decId);
    
        System_linkDelete(ipcOutVideoId);
        System_linkDelete(ipcInVpssId  );
    
        for(i=0; i<2; i++)
            System_linkDelete(gVdisModuleContext.swMsId[i] );
    
        for(i=0; i<2; i++)
            System_linkDelete(gVdisModuleContext.displayId[i]);
    
        for(i=0; i<NUM_DUP_LINK; i++)
            System_linkDelete(dupId[i]);
    
        for(i=0; i<NUM_MERGE_LINK; i++)
        {
            if (mergeId[i] != SYSTEM_LINK_ID_INVALID )
               System_linkDelete(mergeId[i]);
        }
    
        /* Print the HWI, SWI and all tasks load */
        /* Reset the accumulated timer ticks */
        MultiCh_prfLoadCalcEnable(FALSE, TRUE, FALSE);
    
    }
    
    
    
    
    

  • Hi,

    You can refer to below link

    https://e2e.ti.com/support/dsp/davinci_digital_media_processors/davinci_rdk/f/876/t/321877.aspx

    It is talking about how to support TVP7002  by DVRRDK, on DM8168 EVM + Mistral IO Expansion Card.

    BR,

    Eason

  • Hi Eason Wang,

    Thanks for your quick reply.

    I am unable to refer the link,it is giving "Group Not Found", could you please give suggestion for my previous post.

    Please help me out to resolve the capture issue.

    Regards,

    Kiran S Patil

  • Hi Eason Wang,

    Thanks for your quick reply.

    I tried what ever the demo you have given,but still no frames are being captured.

    Is there anybody who tried DVR RDK on Mistral ti8148 EVM?

    In EVM i2c bus number is 3 and video inputs are muxed (TVP7002 and DVI In).

    Please help me out in selection of TVP7002.

    Regards,

    Kiran S Patil

  • Hi Ronak Desai,

    I am working on Mistral TI DM8148 EVM with DVR RDK4.1,in capture->display example,its not capturing any single frame.Could you please tell us about your set up.Please find demo files, TVP7002 configuration file and our display image.

    If you could help it will be very useful.Please help me i am struggling from past one week.

    Thanks in advance

    Regards,

    Kiran S Patil

    i2cset -y 3 0x21 0x0f 0xCB
    i2cset -y 3 0x5d 0x01 0x67
    i2cset -y 3 0x5d 0x02 0x20
    i2cset -y 3 0x5d 0x03 0xa0
    i2cset -y 3 0x5d 0x04 0x16
    i2cset -y 3 0x5d 0x05 0x32
    i2cset -y 3 0x5d 0x06 0x20
    i2cset -y 3 0x5d 0x07 0x2C
    i2cset -y 3 0x5d 0x0B 0x80
    i2cset -y 3 0x5d 0x0C 0x90
    i2cset -y 3 0x5d 0x0D 0x80
    i2cset -y 3 0x5d 0x0E 0x3F
    i2cset -y 3 0x5d 0x0F 0x2E
    i2cset -y 3 0x5d 0x10 0x5D
    i2cset -y 3 0x5d 0x11 0x50
    i2cset -y 3 0x5d 0x12 0x00
    i2cset -y 3 0x5d 0x13 0x00
    i2cset -y 3 0x5d 0x15 0x47
    i2cset -y 3 0x5d 0x16 0x01
    i2cset -y 3 0x5d 0x17 0x00
    i2cset -y 3 0x5d 0x18 0x01
    i2cset -y 3 0x5d 0x19 0x00
    i2cset -y 3 0x5d 0x1A 0x8F
    i2cset -y 3 0x5d 0x40 0x47
    i2cset -y 3 0x5d 0x41 0x01
    i2cset -y 3 0x5d 0x42 0x4B
    i2cset -y 3 0x5d 0x43 0x06
    i2cset -y 3 0x5d 0x44 0x05
    i2cset -y 3 0x5d 0x45 0x00
    i2cset -y 3 0x5d 0x46 0x1E
    i2cset -y 3 0x5d 0x47 0x00
    i2cset -y 3 0x5d 0x48 0x00
    i2cset -y 3 0x5d 0x49 0x00
    i2cset -y 3 0x5d 0x34 0x12
    i2cset -y 3 0x5d 0x3F 0x0F
    i2cset -y 3 0x5d 0x31 0x5a

    1220.demo.rar