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.

DM8168 DVR RDK decode and display lag

Hi,

I am testing on the 8168 with RDK demo program. I found that when I use the option to decode and display the h.264 local file. The overall time to play the file is 8:7 longer than the video time. I found if I change the timestamp to 1/8 short of the original timestamp, the displaying speed is correct. Any idea for this?

Thanks!

 

  • The demo uses rough values for timestamp and always assumes frame duration is 33 ms which is not correct.

    Can you modify /dvr_rdk/demos/mcfw_api_demos/mcfw_demo/demo_vdec_vdis_bits_rd.c , VdecVdis_setFrameTimeStamp to set the real timestamp associated with a frame and check if you still see the issue.

  • Hi,

    I understand the part you mentioned but the scenario I saw is not relative to this. For example, I prepared the video file with 30fps as the source. For demo program, I should get the output 30fps. I add the frame rate counter in the program with the timer 100 seconds. The frame rate I got is all around 26.7fps. That was close to the total playback length extending to 8:7 I mentioned. 

  • Which RDK version are you using ? Also can you share the log of "i" cmd (Vsys_printDetailedStatistics) and "a" cmd (Vdis_printAvsyncStatistics()) after playback has started and running for atleast 30 secs.

    Regards

    Badri

     

  • Hi,

    RDK version: 03.00.00.00


    The following is the print out:



    AVSYNC:PlayerTimer Stats
    AVSYNC:PlayerTimer Stats DisplayID:0
    AVSYNC:PlayerTimer Stats NumCh:10
    Chn | Positive Negative  LastVid LastAud
    Num | ClkAdj   ClkAdj    PTS     PTS
        | Count    Count
    ----------------------------------------
      0|        0        0   26202      -1
      1|        0        0   26202      -1
      2|        0        0   26202      -1
      3|        0        0   26202      -1
      4|        0        0   26202      -1
      5|        0        0   26202      -1
      6|        0        0   26202      -1
      7|        0        0   26202      -1
    AVSYNC:Video Stats
    AVSYNC:Video Stats DisplayID:0
    AVSYNC:Video Stats NumCh:10
    Chn | Play  Replay Skip  Skip  Underrun Overflow
        | Count Count  Early Late
    -------------------------------------------------
      0|   795     99     0    0         0        0
      1|   795     99     0    0         0        0
      2|   795     99     0    0         0        0
      3|   795     99     0    0         0        0
      4|   795     99     0    0         0        0
      5|   795     99     0    0         0        0
      6|   795     99     0    0         0        0
      7|   795     99     0    0         0        0
    AVSYNC:PlayerTimer Stats
    AVSYNC:PlayerTimer Stats DisplayID:1
    AVSYNC:PlayerTimer Stats NumCh:10
    Chn | Positive Negative  LastVid LastAud
    Num | ClkAdj   ClkAdj    PTS     PTS
        | Count    Count
    ----------------------------------------
      0|        0        0   26202      -1
    AVSYNC:Video Stats
    AVSYNC:Video Stats DisplayID:1
    AVSYNC:Video Stats NumCh:10
    Chn | Play  Replay Skip  Skip  Underrun Overflow
        | Count Count  Early Late
    -------------------------------------------------
      0|   795     99     0    0         0        0
    AVSYNC:Capture TS Avg Delta
    Chn | Avg
        | Delta
    ----------------------------
      0|     0
      1|     0
      2|     0
      3|     0
      4|     0
      5|     0
      6|     0
      7|     0
      8|     0
      9|     0
    10|     0
    11|     0
    12|     0
    13|     0
    14|     0
    15|     0
    AVSYNC:IPCBITSOUT TS Avg Delta
    Chn | Avg
        | Delta
    ----------------------------
      0|    32
      1|    32
      2|    32
      3|    32
      4|    32
      5|    32
      6|    32
      7|    32
      8|    32
      9|    32
    10|     0
    11|     0
    12|     0
    13|     0
    14|     0
    15|     0
    AVGPTSDELTA NUMPLAY NUMSKIP NUMREPLAY NUMCLKADJ
              0       0       0         0         0
    ChNum | AVGPTSDELTA NUMPLAY NUMSKIP NUMREPLAY NUMUNDERUN
        0 |         -14     795       0        99          0
        1 |         -14     795       0        99          0
        2 |         -14     795       0        99          0
        3 |         -14     795       0        99          0
        4 |         -14     795       0        99          0
        5 |         -14     795       0        99          0
        6 |         -14     795       0        99          0
        7 |         -14     795       0        99          0
        8 |           0       0       0         0          0
        9 |           0       0       0         0          0
       10 |           0       0       0         0          0
       11 |           0       0       0         0          0
       12 |           0       0       0         0          0
       13 |           0       0       0         0          0
       14 |           0       0       0         0          0
       15 |           0       0       0         0          0
       16 |           0       0       0         0          0
       17 |           0       0       0         0          0
       18 |           0       0       0         0          0
       19 |           0       0       0         0          0
       20 |           0       0       0         0          0
       21 |           0       0       0         0          0
       22 |           0       0       0         0          0
       23 |           0       0       0         0          0
       24 |           0       0       0         0          0
       25 |           0       0       0         0          0
       26 |           0       0       0         0          0
       27 |           0       0       0         0          0
       28 |           0       0       0         0          0
       29 |           0       0       0         0          0
       30 |           0       0       0         0          0
       31 |           0       0       0         0          0
    AVGPTSDELTA NUMPLAY NUMSKIP NUMREPLAY NUMCLKADJ
              0       0       0         0         0
    ChNum | AVGPTSDELTA NUMPLAY NUMSKIP NUMREPLAY NUMUNDERUN
        0 |         -14     795       0        99          0
        1 |           0       0       0         0          0
        2 |           0       0       0         0          0
        3 |           0       0       0         0          0
        4 |           0       0       0         0          0
        5 |           0       0       0         0          0
        6 |           0       0       0         0          0
        7 |           0       0       0         0          0
        8 |           0       0       0         0          0
        9 |           0       0       0         0          0
       10 |           0       0       0         0          0
       11 |           0       0       0         0          0
       12 |           0       0       0         0          0
       13 |           0       0       0         0          0
       14 |           0       0       0         0          0
       15 |           0       0       0         0          0
       16 |           0       0       0         0          0
       17 |           0       0       0         0          0
       18 |           0       0       0         0          0
       19 |           0       0       0         0          0
       20 |           0       0       0         0          0
       21 |           0       0       0         0          0
       22 |           0       0       0         0          0
       23 |           0       0       0         0          0
       24 |           0       0       0         0          0
       25 |           0       0       0         0          0
       26 |           0       0       0         0          0
       27 |           0       0       0         0          0
       28 |           0       0       0         0          0
       29 |           0       0       0         0          0
       30 |           0       0       0         0          0
       31 |           0       0       0         0          0
    AVGPTSDELTA NUMPLAY NUMSKIP NUMREPLAY NUMCLKADJ
              0       0       0         0         0
    ChNum | AVGPTSDELTA NUMPLAY NUMSKIP NUMREPLAY NUMUNDERUN
        0 |           0       0       0         0          0
        1 |           0       0       0         0          0
        2 |           0       0       0         0          0
        3 |           0       0       0         0          0
        4 |           0       0       0         0          0
        5 |           0       0       0         0          0
        6 |           0       0       0         0          0
        7 |           0       0       0         0          0
        8 |           0       0       0         0          0
        9 |           0       0       0         0          0
       10 |           0       0       0         0          0
       11 |           0       0       0         0          0
       12 |           0       0       0         0          0
       13 |           0       0       0         0          0
       14 |           0       0       0         0          0
       15 |           0       0       0         0          0
       16 |           0       0       0         0          0
       17 |           0       0       0         0          0
       18 |           0       0       0         0          0
       19 |           0       0       0         0          0
       20 |           0       0       0         0          0
       21 |           0       0       0         0          0
       22 |           0       0       0         0          0
       23 |           0       0       0         0          0
       24 |           0       0       0         0          0
       25 |           0       0       0         0          0
       26 |           0       0       0         0          0
       27 |           0       0       0         0          0
       28 |           0       0       0         0          0
       29 |           0       0       0         0          0
       30 |           0       0       0         0          0
       31 |           0       0       0         0          0
     


  • As shown in the statistics there are 99 replays / 795 play.So for every 800 frames played, 100 are replayed. This matches your calculation of 8:7 ratio for slowdown.

    This indicates there is a constant offset of about 4ms between display sync callback and the PTS of the frame being displayed.This accumulates and results in a replay every 8 frames.

    We have to root cause the reason for the offset between PTS and VSYNC time.

     

    Can you pls check the following:

    Pls confirm:

    In your usecase file

        swMsPrm[0].enableProcessTieWithDisplay = TRUE;    

       swMsPrm[1].enableProcessTieWithDisplay = TRUE;

    Pls confirm your display your display is 30 fps by printing "i" cmd logs and checking the swms outFps. (Pls share the log of i cmd)

    What is the resolution of the input streams ? Pls share full console logs from usecase create onward.

     

     

  • Hi,

    The input resolution is 720x480. 

    use case file is:

     swMsPrm[0].enableProcessTieWithDisplay = TRUE;    

     swMsPrm[1].enableProcessTieWithDisplay = TRUE;

    I didn't get any information with the "i" cmd. Below is the detail console log:

    *** a new param codec is needed for ini, if you not sure about this
    *** please reference demo_ini/704x576_02_32CH.ini
    *** H264:  codec = h264
    *** MPEG4: codec = mpeg4
    *** MJPEG: codec = mjpeg
    *** Two new params numbuf & displaydelay has been added for ini, if not defaults are set
     
    0: Opening file [/data/test6.264] of 720 x 480  Codec: h264...
    0: WARNING: Either the displaydelay was not set or Default value was set as 0
    0: WARNING: Either the Num of output buffers not set or Default value was set as zero
    1: Opening file [/data/test6.264] of 720 x 480  Codec: h264...
    1: WARNING: Either the displaydelay was not set or Default value was set as 0
    1: WARNING: Either the Num of output buffers not set or Default value was set as zero
    2: Opening file [/data/test6.264] of 720 x 480  Codec: h264...
    2: WARNING: Either the displaydelay was not set or Default value was set as 0
    2: WARNING: Either the Num of output buffers not set or Default value was set as zero
    3: Opening file [/data/test6.264] of 720 x 480  Codec: h264...
    3: WARNING: Either the displaydelay was not set or Default value was set as 0
    3: WARNING: Either the Num of output buffers not set or Default value was set as zero
    4: Opening file [/data/test6.264] of 720 x 480  Codec: h264...
    4: WARNING: Either the displaydelay was not set or Default value was set as 0
    4: WARNING: Either the Num of output buffers not set or Default value was set as zero
    5: Opening file [/data/test6.264] of 720 x 480  Codec: h264...
    5: WARNING: Either the displaydelay was not set or Default value was set as 0
    5: WARNING: Either the Num of output buffers not set or Default value was set as zero
    6: Opening file [/data/test6.264] of 720 x 480  Codec: h264...
    6: WARNING: Either the displaydelay was not set or Default value was set as 0
    6: WARNING: Either the Num of output buffers not set or Default value was set as zero
    7: Opening file [/data/test6.264] of 720 x 480  Codec: h264...
    7: WARNING: Either the displaydelay was not set or Default value was set as 0
    7: WARNING: Either the Num of output buffers not set or Default value was set as zero
    8: Opening file [/data/test6.264] of 720 x 480  Codec: h264...
    8: WARNING: Either the displaydelay was not set or Default value was set as 0
    8: WARNING: Either the Num of output buffers not set or Default value was set as zero
    9: Opening file [/data/test6.264] of 720 x 480  Codec: h264...
    9: WARNING: Either the displaydelay was not set or Default value was set as 0
    9: WARNING: Either the Num of output buffers not set or Default value was set as zero
    gVdecVdis_config.numRes : 1 gVdecVdis_config.numChnlInRes[0] : 10
    File open ... DONE !!!
     
    --------------- CHANNEL DETAILS-------------
    Dec Channels => 10
    Disp Channels => 10
    -------------------------------------------
    0: SYSTEM: System Common Init in progress !!!
    0: SYSTEM: IPC init in progress !!!
    17: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
    19: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
    21: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
    23: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
    24: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
    25: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
    26: SYSTEM: Notify register to [DSP] line 0, event 15 ...
    26: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
    27: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
    27: SYSTEM: IPC init DONE !!!
    29: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
    32: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
    34: SYSTEM: ListElem Shared Addr = 0x2bc76b80
    35: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
    38: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
    40: SYSTEM: ListElem Shared Addr = 0x2bc95600
    42: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...
    46: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...
    48: SYSTEM: ListElem Shared Addr = 0x2bcb4080
    49: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
    52: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
    55: SYSTEM: ListElem Shared Addr = 0x2bcd3a80
    56: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
    59: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
    61: SYSTEM: ListElem Shared Addr = 0x2bcf2f00
    80: SYSTEM: System Common Init Done !!!
    ch[0], h264
    ch[1], h264
    ch[2], h264
    ch[3], h264
    ch[4], h264
    ch[5], h264
    ch[6], h264
    ch[7], h264
    ch[8], h264
    ch[9], h264
    [FBDEV]
    [FBDEV] FB: Starting !!!
    [FBDEV] FB: Opened device [/dev/fb0] (fd=42) !!!
    [FBDEV]
    [FBDEV] Fix Screen Info
    [FBDEV] ---------------
    [FBDEV] Line Length - 2560
    [FBDEV] Physical Address = 86000000
    [FBDEV] Buffer Length = 8294400
    [FBDEV]
    [FBDEV]
    [FBDEV] Var Screen Info
    [FBDEV] ---------------
    [FBDEV] Xres - 1280
    [FBDEV] Yres - 720
    [FBDEV] Xres Virtual - 1280
    [FBDEV] Yres Virtual - 720
    [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 = 1843200 Bytes !!!
    [FBDEV]
    [FBDEV]
    [FBDEV] Fix Screen Info
    [FBDEV] ---------------
    [FBDEV] Line Length - 2560
    [FBDEV] Physical Address = 86000000
    [FBDEV] Buffer Length = 8294400
    [FBDEV]
    [FBDEV]
    [FBDEV] Var Screen Info
    [FBDEV] ---------------
    [FBDEV] Xres - 1280
    [FBDEV] Yres - 720
    [FBDEV] Xres Virtual - 1280
    [FBDEV] Yres Virtual - 720
    [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 = 1843200 Bytes !!!
    [FBDEV]
    [FBDEV] grpx_fb_draw ...
    [FBDEV] grpx_fb_draw ... Done !!!
    [FBDEV] FB: Start DONE !!!
    [FBDEV]
    406: MCFW  : CPU Revision [ES2.0] !!!
    406: MCFW  : Detected [(null)] Board !!!
    406: MCFW  : Base Board Revision [DVR] !!!
    406: MCFW  : Daughter Card Revision [DVR] !!!
     
    [host]  408: IPC_BITS_OUT   : Create in progress !!!
    ###Bit buff of size from the SR # 1 : 2073600
     
    [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:0,Size:0x1FA400
    [host] IPCBITSOUTLINK:Translated Addr Virt:0x2caa9080 To Phy:0x88000080###Bit buff of size from the SR # 1 : 2073600
     
    [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:1,Size:0x1FA400
    [host] IPCBITSOUTLINK:Translated Addr Virt:0x2cca3480 To Phy:0x881fa480###Bit buff of size from the SR # 1 : 2073600
     
    [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:2,Size:0x1FA400
    [host] IPCBITSOUTLINK:Translated Addr Virt:0x2ce9d880 To Phy:0x883f4880###Bit buff of size from the SR # 1 : 2073600
     
    [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:3,Size:0x1FA400
    [host] IPCBITSOUTLINK:Translated Addr Virt:0x2d097c80 To Phy:0x885eec80###Bit buff of size from the SR # 1 : 2073600
     
    [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:4,Size:0x1FA400
    [host] IPCBITSOUTLINK:Translated Addr Virt:0x2d292080 To Phy:0x887e9080###Bit buff of size from the SR # 1 : 2073600
     
    [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:5,Size:0x1FA400
    [host] IPCBITSOUTLINK:Translated Addr Virt:0x2d48c480 To Phy:0x889e3480###Bit buff of size from the SR # 1 : 2073600
     
    [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:6,Size:0x1FA400
    [host] IPCBITSOUTLINK:Translated Addr Virt:0x2d686880 To Phy:0x88bdd880###Bit buff of size from the SR # 1 : 2073600
     
    [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:7,Size:0x1FA400
    [host] IPCBITSOUTLINK:Translated Addr Virt:0x2d880c80 To Phy:0x88dd7c80###Bit buff of size from the SR # 1 : 2073600
     
    [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:8,Size:0x1FA400
    [host] IPCBITSOUTLINK:Translated Addr Virt:0x2da7b080 To Phy:0x88fd2080###Bit buff of size from the SR # 1 : 2073600
     
    [host] IPC_BITSOUT:BitBuffer Alloc.PoolID:9,Size:0x1FA400
    [host] IPCBITSOUTLINK:Translated Addr Virt:0x2dc75480 To Phy:0x891cc480
    [host]  409: IPC_BITS_OUT   : Create Done !!!
  • Hi,

    Here is the log of 'i' cmd: 

    [m3vpss ]
    [m3vpss ]  *** [SWMS0] Mosaic Statistics ***
    [m3vpss ]
    [m3vpss ]  Elasped Time: 28 secs
    [m3vpss ]
    [m3vpss ]  Output Request FPS   : 34 fps (956 frames)
    [m3vpss ]  Output Actual  FPS   : 34 fps (956 frames)
    [m3vpss ]  Output Drop    FPS   : 0 fps (0 frames)
    [m3vpss ]  Output Reject  FPS   : 0 fps (0 frames)
    [m3vpss ]  Scaling Internal     : 29 ms
    [m3vpss ]  Scaling Internal min : 24 ms
    [m3vpss ]  Scaling Internal max : 35 ms
    [m3vpss ]
    [m3vpss ]  Win | Window Repeat Drop Recv Que  FID Invlid Acc Event          Invalid   Que Reject Reject Latency
    [m3vpss ]  Num | FPS    FPS    FPS  FPS  FPS  FPS        Count (Max/Min)    CH Frames Frames     Frames Min / Max
    [m3vpss ]  ------------------------------------------------------------------------------------------------------
    [m3vpss ]    0 |     34      5    0    0   28          0        0 (  0/255)         0          0      0 255 / 14729002
    [m3vpss ]    1 |     34      5    0    0   28          0        0 (  0/255)         0          0      0 255 / 14729002
    [m3vpss ]    2 |     34      5    0    0   28          0        0 (  0/255)         0          0      0 255 / 14729002
    [m3vpss ]    3 |     34      5    0    0   28          0        0 (  0/255)         0          0      0 255 / 14729002
    [m3vpss ]    4 |     34      5    0    0   28          0        0 (  0/255)         0          0      0 255 / 14729002
    [m3vpss ]    5 |     34      5    0    0   28          0        0 (  0/255)         0          0      0 255 / 14729002
    [m3vpss ]    6 |     34      5    0    0   28          0        0 (  0/255)         0          0      0 255 / 14729002
    [m3vpss ]    7 |     34      5    0    0   28          0        0 (  0/255)         0          0      0 255 / 14729002
    [m3vpss ]
    [m3vpss ]
    [m3vpss ]  *** [SWMS0] Mosaic Parameters ***
    [m3vpss ]
    [m3vpss ]  Output FPS: 29
    [m3vpss ]
    [m3vpss ]  Win | Ch  | Input      | Input          | Input         | Input       | Output     |  Output         | Output        | Output      | Low Cost | SWMS | Data  | Blank |
    [m3vpss ]  Num | Num | Start X, Y | Width x Height | Pitch Y / C   | Memory Type | Start X, Y |  Width x Height | Pitch Y / C   | Memory Type | ON / OFF | Inst | Format| Frame |
    [m3vpss ]  ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    [m3vpss ]    0 |   0 |    0,    0 |   720 x    480 |   896 /   896 | NON-TILED   |    0,    0 |   736 x    500 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |   OFF |
    [m3vpss ]    1 |   1 |    0,    0 |   720 x    480 |   896 /   896 | NON-TILED   |  736,    0 |   736 x    500 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |   OFF |
    [m3vpss ]    2 |   2 |    0,    0 |   720 x    480 |   896 /   896 | NON-TILED   |    0,  500 |   736 x    500 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |   OFF |
    [m3vpss ]    3 |   3 |    0,    0 |   720 x    480 |   896 /   896 | NON-TILED   |  736,  500 |   736 x    500 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |   OFF |
    [m3vpss ]    4 |   4 |    0,    0 |   720 x    240 |  1792 /  1792 | NON-TILED   | 1472,    0 |   368 x    250 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
    [m3vpss ]    5 |   5 |    0,    0 |   720 x    240 |  1792 /  1792 | NON-TILED   | 1472,  250 |   368 x    250 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
    [m3vpss ]    6 |   6 |    0,    0 |   720 x    240 |  1792 /  1792 | NON-TILED   | 1472,  500 |   368 x    250 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
    [m3vpss ]    7 |   7 |    0,    0 |   720 x    240 |  1792 /  1792 | NON-TILED   | 1472,  750 |   368 x    250 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
    [m3vpss ]
    [m3vpss ]
    [m3vpss ]
    [m3vpss ]  *** [SWMS1] Mosaic Statistics ***
    [m3vpss ]
    [m3vpss ]  Elasped Time: 28 secs
    [m3vpss ]
    [m3vpss ]  Output Request FPS   : 34 fps (956 frames)
    [m3vpss ]  Output Actual  FPS   : 34 fps (956 frames)
    [m3vpss ]  Output Drop    FPS   : 0 fps (0 frames)
    [m3vpss ]  Output Reject  FPS   : 0 fps (0 frames)
    [m3vpss ]  Scaling Internal     : 29 ms
    [m3vpss ]  Scaling Internal min : 24 ms
    [m3vpss ]  Scaling Internal max : 35 ms
    [m3vpss ]
    [m3vpss ]  Win | Window Repeat Drop Recv Que  FID Invlid Acc Event          Invalid   Que Reject Reject Latency
    [m3vpss ]  Num | FPS    FPS    FPS  FPS  FPS  FPS        Count (Max/Min)    CH Frames Frames     Frames Min / Max
    [m3vpss ]  ------------------------------------------------------------------------------------------------------
    [m3vpss ]    0 |     34      5    0    0   28          0        0 (  0/255)         0          0      0 255 / 14729002
    [m3vpss ]
    [m3vpss ]
    [m3vpss ]  *** [SWMS1] Mosaic Parameters ***
    [m3vpss ]
    [m3vpss ]  Output FPS: 30
    [m3vpss ]
    [m3vpss ]  Win | Ch  | Input      | Input          | Input         | Input       | Output     |  Output         | Output        | Output      | Low Cost | SWMS | Data  | Blank |
    [m3vpss ]  Num | Num | Start X, Y | Width x Height | Pitch Y / C   | Memory Type | Start X, Y |  Width x Height | Pitch Y / C   | Memory Type | ON / OFF | Inst | Format| Frame |
    [m3vpss ]  ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    [m3vpss ]    0 |   0 |    0,    0 |   720 x    480 |   896 /   896 | NON-TILED   |    0,    0 |  1920 x   1080 |  3840 /      0 | NON-TILED   |      OFF |    0 |  420SP |   OFF |
    [m3vpss ]
    [m3vpss ]
    [m3vpss ]  14729025: DISPLAY: HDDAC(BP0) : 67 fps, Latency (Min / Max) = ( 14 / 44 ), Callback Interval (Min / Max) = ( 14 / 15 ) !!!
    [m3vpss ]  14729026: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 1920, HDDAC(BP0) 1922, DVO2(BP1) 1922, SDDAC(SEC1) 1922
    [m3vpss ]  14729026: SYSTEM  : FREE SPACE : System Heap      = 5792 B, Mbx = 10239 msgs)
    [m3vpss ]  14729026: SYSTEM  : FREE SPACE : SR0 Heap         = 11778816 B (11 MB)
    [m3vpss ]  14729026: SYSTEM  : FREE SPACE : Frame Buffer     = 92347264 B (88 MB)
    [m3vpss ]  14729026: SYSTEM  : FREE SPACE : Bitstream Buffer = 331585408 B (316 MB)
    [m3vpss ]  14729026: SYSTEM  : FREE SPACE : Tiler Buffer     = 256 B (0 MB)  - TILER OFF
    [m3vpss ]  14729027: DISPLAY: DVO2(BP1)  : 67 fps, Latency (Min / Max) = ( 14 / 45 ), Callback Interval (Min / Max) = ( 14 / 15 ) !!!
    [m3video]      14732553: HDVICP-ID:0
    [m3video] All percentage figures are based off totalElapsedTime
    [m3video]               totalAcquire2wait :0 %
    [m3video]               totalWait2Isr :31 %
    [m3video]               totalIsr2Done :0 %
    [m3video]               totalWait2Done :31 %
    [m3video]               totalDone2Release :0 %
    [m3video]               totalAcquire2Release :33 %
    [m3video]               totalAcq2acqDelay :66 %
    [m3video]               totalElapsedTime in msec :   26526
    [m3video]               numAccessCnt:   37764
    [m3video]              IVA-FPS :    1452
    [m3video]              Average time spent per frame in microsec:     217
    [m3video]      14732554: HDVICP-ID:1
    [m3video] All percentage figures are based off totalElapsedTime
    [m3video]               totalAcquire2wait :0 %
    [m3video]               totalWait2Isr :20 %
    [m3video]               totalIsr2Done :0 %
    [m3video]               totalWait2Done :20 %
    [m3video]               totalDone2Release :0 %
    [m3video]               totalAcquire2Release :21 %
    [m3video]               totalAcq2acqDelay :78 %
    [m3video]               totalElapsedTime in msec :   26527
    [m3video]               numAccessCnt:   19656
    [m3video]              IVA-FPS :     756
    [m3video]              Average time spent per frame in microsec:     269
    [m3video]      14732555: HDVICP-ID:2
    [m3video] All percentage figures are based off totalElapsedTime
    [m3video]               totalAcquire2wait :0 %
    [m3video]               totalWait2Isr :28 %
    [m3video]               totalIsr2Done :0 %
    [m3video]               totalWait2Done :28 %
    [m3video]               totalDone2Release :0 %
    [m3video]               totalAcquire2Release :30 %
    [m3video]               totalAcq2acqDelay :69 %
    [m3video]               totalElapsedTime in msec :   26525
    [m3video]               numAccessCnt:   37260
    [m3video]              IVA-FPS :    1433
    [m3video]              Average time spent per frame in microsec:     199
    [m3video]
    [m3video]  *** DECODE Statistics ***
    [m3video]
    [m3video]  Elasped Time           : 31 secs
    [m3video]
    [m3video]
    [m3video]  CH  | In Recv In User  Out
    [m3video]  Num | FPS     Skip FPS FPS
    [m3video]  -----------------------------------
    [m3video]    0 |      25        0  25
    [m3video]    1 |      25        0  25
    [m3video]    2 |      25        0  25
    [m3video]    3 |      25        0  25
    [m3video]    4 |      25        0  25
    [m3video]    5 |      25        0  25
    [m3video]    6 |      25        0  25
    [m3video]    7 |      25        0  25
    [m3video]    8 |      59        0  59
    [m3video]    9 |      59        0  59
    [m3video]
    [m3video] Multi Channel Decode Average Submit Batch Size
    [m3video] Max Submit Batch Size : 24
    [m3video] IVAHD_0 Average Batch Size : 1
    [m3video] IVAHD_0 Max achieved Batch Size : 4
    [m3video] IVAHD_1 Average Batch Size : 1
    [m3video] IVAHD_1 Max achieved Batch Size : 2
    [m3video] IVAHD_2 Average Batch Size : 1
    [m3video] IVAHD_2 Max achieved Batch Size : 3
    [m3video]
    [m3video] Multi Channel Decode Batch break Stats
    [m3video] Total Number of Batches created: 3139
    [m3video] All numbers are based off total number of Batches created
    [m3video]       Batch breaks due to batch sizeexceeding limit: 0 %
    [m3video]       Batch breaks due to ReqObj Que being empty: 99 %
    [m3video]       Batch breaks due to changed resolution class: 0 %
    [m3video]       Batch breaks due to interlace and progressivecontent mix: 0 %
    [m3video]       Batch breaks due to channel repeat: 0 %
    [m3video]       Batch breaks due to different codec: 0 %
    [m3video] Total Number of Batches created: 1630
    [m3video] All numbers are based off total number of Batches created
    [m3video]       Batch breaks due to batch sizeexceeding limit: 0 %
    [m3video]       Batch breaks due to ReqObj Que being empty: 100 %
    [m3video]       Batch breaks due to changed resolution class: 0 %
    [m3video]       Batch breaks due to interlace and progressivecontent mix: 0 %
    [m3video]       Batch breaks due to channel repeat: 0 %
    [m3video]       Batch breaks due to different codec: 0 %
    [m3video] Total Number of Batches created: 3097
    [m3video] All numbers are based off total number of Batches created
    [m3video]       Batch breaks due to batch sizeexceeding limit: 0 %
    [m3video]       Batch breaks due to ReqObj Que being empty: 99 %
    [m3video]       Batch breaks due to changed resolution class: 0 %
    [m3video]       Batch breaks due to interlace and progressivecontent mix: 0 %
    [m3video]       Batch breaks due to channel repeat: 0 %
    [m3video]       Batch breaks due to different codec: 0 %
    [m3video]
    [m3vpss ]
    [m3vpss ]  *** [MP_SCLR0 ] Statistics ***
    [m3vpss ]
    [m3vpss ]  Total Frames Received  : 10116
    [m3vpss ]  Total Frames Forwarded : 10116
    [m3vpss ]
    [m3vpss ]
    [m3vpss ]  CH  | In Recv In Reject Processed  Latency(DRV) Processed  Rejected
    [m3vpss ]  Num | FPS     FPS       FPS        Min / Max    Frames     Frames
    [m3vpss ]  -------------------------------------------------------------------
    [m3vpss ]
    [m3vpss ]  14734323: LOAD: CPU: 9.8% HWI: 2.1%, SWI:1.1%
    [m3vpss ]
    [m3vpss ]  14734323: LOAD: TSK: IPC_IN_M30          : 0.6%
    [m3vpss ]  14734323: LOAD: TSK: DISPLAY0            : 0.3%
    [m3vpss ]  14734324: LOAD: TSK: DISPLAY1            : 0.2%
    [m3vpss ]  14734324: LOAD: TSK: DUP0                : 0.6%
    [m3vpss ]  14734324: LOAD: TSK: SWMS0               : 2.2%
    [m3vpss ]  14734324: LOAD: TSK: SWMS1               : 1.6%
    [m3vpss ]  14734324: LOAD: TSK: MP_SCLR_FWD_Q0      : 0.3%
    [m3vpss ]  14734324: LOAD: TSK: MISC                : 0.8%
    [m3vpss ]
    [m3video]
    [m3video]  14734765: LOAD: CPU: 12.1% HWI: 0.8%, SWI:0.9%
    [m3video]
    [m3video]  14734765: LOAD: TSK: IPC_OUT_M30         : 1.2%
    [m3video]  14734766: LOAD: TSK: IPC_BITS_IN0        : 0.4%
    [m3video]  14734766: LOAD: TSK: DEC0                : 2.4%
    [m3video]  14734766: LOAD: TSK: DEC_PROCESS_TSK_0   : 3.7%
    [m3video]  14734766: LOAD: TSK: DEC_PROCESS_TSK_1   : 2.4%
    [m3video]  14734766: LOAD: TSK: DEC_PROCESS_TSK_2   : 3.8%
    [m3video]  14734766: LOAD: TSK: MISC                : -3.-5%
    [m3video]
  • Looks like some issue with your uboot configuration.

    The display fps is showing up as 67. Pls give "i" cmd multiple times after 1 min gap each and confirm if you are still seeing display fps at 67.

    If this is the case then it looks like your u-boot is configuring M3 for 250 Mhz but there is define in RDK which assumes M3 is running at 280.The default uboot shipped with RDK configures M3 for 280 Mhz.

    To confirm if this is the case modify

    /dvr_rdk/mcfw/interfaces/link_api/system_common.h

    #define SYSTEM_M3VPSS_FREQ         (280*1000*1000)

    to

    #define SYSTEM_M3VPSS_FREQ         (250*1000*1000)

     

    Next compile and run the attached utility on A8 console.(Rename to ti816x_pll.c) The attached utility prints pll values.

    /*
     *  Copyright (c) 2010-2011, Texas Instruments Incorporated
     *
     *  Redistribution and use in source and binary forms, with or without
     *  modification, are permitted provided that the following conditions
     *  are met:
     *
     *  *  Redistributions of source code must retain the above copyright
     *     notice, this list of conditions and the following disclaimer.
     *
     *  *  Redistributions in binary form must reproduce the above copyright
     *     notice, this list of conditions and the following disclaimer in the
     *     documentation and/or other materials provided with the distribution.
     *
     *  *  Neither the name of Texas Instruments Incorporated nor the names of
     *     its contributors may be used to endorse or promote products derived
     *     from this software without specific prior written permission.
     *
     *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     *  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
     *  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     *  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
     *  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
     *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
     *  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
     *  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
     *  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
     *  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
     *  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     *
     *  Contact information for paper mail:
     *  Texas Instruments
     *  Post Office Box 655303
     *  Dallas, Texas 75265
     *  Contact information:
     *  http://www-k.ext.ti.com/sc/technical-support/product-information-centers.htm?
     *  DCMP=TIHomeTracking&HQS=Other+OT+home_d_contact
     *  ============================================================================
     *
     */
    
    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>
    #include <string.h>
    #include <errno.h>
    #include <signal.h>
    #include <fcntl.h>
    #include <ctype.h>
    #include <termios.h>
    #include <sys/types.h>
    #include <sys/mman.h>
    
    #define DISPLAY_STR(str)  printf (str);
    #define DISPLAY_STR2(str, x, y) printf (str, x, y);
    
    #define GEL_TextOut(mstr, sstr, x, y, z) printf ( "CortxA8: Output:    " mstr,z);
    
    #define DISP_ADDRPHY_ADDRVIRT_DATA(x, y, z) printf ("             " "Phy Addr : 0x%0.8x Data : 0x%0.8x\n", x,  z);
    #define DISP_ADDRPHY_ADDRVIRT_DATA_BW(x, y, z) printf ("             " "BW Phy Addr : 0x%0.8x Data : 0x%0.8x\n", x,  z);
    #define DISP_ADDRPHY_ADDRVIRT_DATA_AW(x, y, z) printf ("             " "AW Phy Addr : 0x%0.8x Data : 0x%0.8x\n", x,  z);
    
    #define MAP_SIZE (1024*1024)
    #define MAP_MASK (MAP_SIZE-1)
    
    #define PM_ACTIVE_PWRSTCTRL			0x48180A00
    #define PM_DEFAULT_PWRSTCTRL			0x48180B00
    #define PM_IVAHD0_PWRSTCTRL			0x48180C00
    #define PM_IVAHD1_PWRSTCTRL			0x48180D00
    #define PM_IVAHD2_PWRSTCTRL			0x48180E00
    #define PM_SGX_PWRSTCTRL			0x48180F00
    
    #define CM_GEM_CLKCTRL				0x48180400
    #define CM_HDDSS_CLKCTRL			0x48180404
    #define CM_HDMI_CLKCTRL				0x48180408
    #define CM_ACTIVE_GEM_CLKCTRL			0x48180420
    #define CM_ACTIVE_HDDSS_CLKCTRL			0x48180424
    #define CM_ACTIVE_HDMI_CLKCTRL			0x48180428
    
    #define CM_DEFAULT_L3_MED_CLKSTCTRL		0x48180504
    #define CM_DEFAULT_L3_FAST_CLKSTCTRL		0x48180508
    #define CM_DEFAULT_PCI_CLKSTCTRL		0x48180510
    #define CM_DEFAULT_L3_SLOW_CLKSTCTRL		0x48180514
    #define CM_DEFAULT_CLKSTCTRL 			0x48180518
    #define CM_DEFAULT_EMIF_0_CLKCTRL		0x48180520
    #define CM_DEFAULT_EMIF_1_CLKCTRL		0x48180524
    #define CM_DEFAULT_DMM_CLKCTRL			0x48180528
    #define CM_DEFAULT_FW_CLKCTRL 			0x4818052C
    #define CM_DEFAULT_USB_CLKCTRL 			0x48180558
    #define CM_DEFAULT_SATA_CLKCTRL 		0x48180560
    #define CM_DEFAULT_PCI_CLKCTRL  		0x48180578
    
    #define CM_IVAHD0_CLKCTRL	 		0x48180600
    #define CM_IVAHD0_IVAHD_CLKCTRL 		0x48180620
    #define CM_IVAHD0_SL2_CLKCTRL	 		0x48180624
    
    #define CM_IVAHD1_CLKCTRL	 		0x48180700
    #define CM_IVAHD1_IVAHD_CLKCTRL 		0x48180720
    #define CM_IVAHD1_SL2_CLKCTRL	 		0x48180724
    
    #define CM_IVAHD2_CLKCTRL	 		0x48180800
    #define CM_IVAHD2_IVAHD_CLKCTRL 		0x48180820
    #define CM_IVAHD2_SL2_CLKCTRL	 		0x48180824
    
    #define CM_SGX_CLKSTCTRL			0x48180900
    #define CM_SGX_SGX_CLKCTRL	 		0x48180920
    
    #define MAINPLL_CTRL		0x48140400
    #define MAINPLL_FREQ1		0x48140408
    #define MAINPLL_DIV1		0x4814040C
    #define MAINPLL_FREQ2		0x48140410
    #define MAINPLL_DIV2		0x48140414
    #define MAINPLL_FREQ3		0x48140418
    #define MAINPLL_DIV3		0x4814041C
    #define MAINPLL_FREQ4		0x48140420
    #define MAINPLL_DIV4		0x48140424
    #define MAINPLL_FREQ5		0x48140428
    #define MAINPLL_DIV5		0x4814042C
    #define MAINPLL_DIV6		0x48140434
    #define MAINPLL_DIV7		0x4814043C
    
    #define DDRPLL_CTRL		0x48140440
    #define DDRPLL_DIV1		0x4814044C
    #define DDRPLL_FREQ2		0x48140450
    #define DDRPLL_DIV2		0x48140454
    #define DDRPLL_FREQ3		0x48140458
    #define DDRPLL_DIV3		0x4814045C
    #define DDRPLL_FREQ4		0x48140460
    #define DDRPLL_DIV4		0x48140464
    #define DDRPLL_FREQ5		0x48140468
    #define DDRPLL_DIV5		0x4814046C
    
    #define VIDEOPLL_CTRL		0x48140470
    #define VIDEOPLL_FREQ1		0x48140478
    #define VIDEOPLL_DIV1		0x4814047C
    #define VIDEOPLL_FREQ2		0x48140480
    #define VIDEOPLL_DIV2		0x48140484
    #define VIDEOPLL_FREQ3		0x48140488
    #define VIDEOPLL_DIV3		0x4814048C
    
    #define AUDIOPLL_CTRL		0x481404A0
    #define AUDIOPLL_FREQ2		0x481404B0
    #define AUDIOPLL_DIV2		0x481404B4
    #define AUDIOPLL_FREQ3		0x481404B8
    #define AUDIOPLL_DIV3		0x481404BC
    #define AUDIOPLL_FREQ4		0x481404C0
    #define AUDIOPLL_DIV4		0x481404C4
    #define AUDIOPLL_FREQ5		0x481404C8
    #define AUDIOPLL_DIV5		0x481404CC
    
    #define CM_SYSCLK1_CLKSEL       0x48180300
    #define CM_SYSCLK2_CLKSEL       0x48180304
    #define CM_SYSCLK3_CLKSEL       0x48180308
    #define CM_SYSCLK4_CLKSEL       0x4818030C
    #define CM_SYSCLK5_CLKSEL       0x48180310
    #define CM_SYSCLK6_CLKSEL       0x48180314
    #define CM_SYSCLK7_CLKSEL       0x48180318
    #define CM_SYSCLK10_CLKSEL      0x48180324
    #define CM_SYSCLK11_CLKSEL      0x4818032C
    #define CM_SYSCLK13_CLKSEL      0x48180334
    #define CM_SYSCLK15_CLKSEL      0x48180338
    #define CM_SYSCLK19_CLKSEL      0x4818034C
    #define CM_SYSCLK20_CLKSEL      0x48180350
    #define CM_SYSCLK21_CLKSEL      0x48180354
    #define CM_SYSCLK22_CLKSEL      0x48180358
    #define CM_SYSCLK23_CLKSEL      0x481803B0
    #define CM_SYSCLK24_CLKSEL      0x481803B4
    #define CM_VPB3_CLKSEL		0x48180340
    #define CM_VPC1_CLKSEL		0x48180344
    #define CM_VPD1_CLKSEL		0x48180348
    #define CM_SYSCLK14_CLKSEL      0x48180370
    #define CM_SYSCLK16_CLKSEL      0x48180374
    #define CM_SYSCLK18_CLKSEL      0x48180378
    #define CM_AUDIOCLK_MCASP0_CLKSEL          0x4818037C
    #define CM_AUDIOCLK_MCASP1_CLKSEL          0x48180380
    #define CM_AUDIOCLK_MCASP2_CLKSEL          0x48180384
    #define CM_AUDIOCLK_MCBSP_CLKSEL           0x48180388
    
    void WR_MEM_32(unsigned int addr, unsigned int data);
    unsigned int RD_MEM_32(unsigned int addr);
    
    int CLKIN =	27;
    
    volatile unsigned int *virt_addr;
    int us_fd;
    
    void WR_MEM_32(unsigned int addr, unsigned int data)
    {
    	void *map_base;
    	unsigned int data_bs;
    	unsigned int data_as;
    	unsigned int size;
    	off_t target;
    
    	target = addr;
    	size = 4;
    
    	/* Map one page */
    	map_base = mmap(0, MAP_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, us_fd, target & ~MAP_MASK);
    	if(map_base == (void *) -1){
    		printf ("Could not open the mem file \n");
    	}
    	printf("data %x\n", data);
    	virt_addr = (unsigned int *)(map_base + (target & MAP_MASK));
    	data_bs = *virt_addr;
    	*virt_addr = data;
    	data_as = *virt_addr;
    
    	DISP_ADDRPHY_ADDRVIRT_DATA_BW(target, virt_addr, data_bs);
    	DISP_ADDRPHY_ADDRVIRT_DATA_AW(target, virt_addr, data_as);
    
    	munmap(map_base,/*MAP_SIZE */ MAP_SIZE);
    }
    
    unsigned int RD_MEM_32(unsigned int addr)
    {
    	void *map_base;
    	unsigned int data;
    	unsigned int data_as;
    	unsigned int size;
    	off_t target;
    
    	target = addr;
    	size = 4;
    
    	/* Map one page */
    	map_base = mmap(0, MAP_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, us_fd, target & ~MAP_MASK);
    	if(map_base == (void *) -1) {
    		printf ("Could not open the mem file \n");
    	}
    	virt_addr = (unsigned int*)(map_base + (target & MAP_MASK));
    	data = *virt_addr;
    	DISP_ADDRPHY_ADDRVIRT_DATA(target, virt_addr, data);
    
    	munmap(map_base,/*MAP_SIZE */ MAP_SIZE);
    
    	return data;
    }
    
    void get_powerstate(unsigned int addr)
    {
    	unsigned int data;
    	int powerstate;
    	
    	data = RD_MEM_32(addr);
    	powerstate = data & 0x3u;
    	if (powerstate == 0x0u)
    		printf("POWERSTATE: %d, OFF State\n\n",powerstate);
    	else if (powerstate == 0x3u)
    		printf("POWERSTATE: %d, ON State\n\n",powerstate);
    }
    
    void get_clocktrctrl(unsigned int addr)
    {
    	unsigned int data;
    	int clocktrctrl;
    	
    	data = RD_MEM_32(addr);
    	clocktrctrl = data & 0x3u;
    	if (clocktrctrl == 0x1u)
    		printf("CLOCKTRCTRL: %d, SW_SLEEP\n\n",clocktrctrl);
    	else if (clocktrctrl == 0x2u)
    		printf("CLOCKTRCTRL: %d, SW_WKUP\n\n",clocktrctrl);
    }
    
    void get_modulemode(unsigned int addr)
    {
    	unsigned int data;
    	int moduleMode;
    	
    	data = RD_MEM_32(addr);
    	moduleMode = data & 0x3u;
    	if (moduleMode == 0x2u)
    		printf("MODULEMODE: %d, MODULE ENABLED\n\n",moduleMode);
    	else if (moduleMode == 0x0u)
    		printf("MODULEMODE: %d, MODULE DISABLED\n\n",moduleMode);
    }
    
    void get_powerInfo()
    {
    	printf("\n*************************ACTIVE DOMAIN**********************\n");
    	printf("ACTIVE Power State:\n");
    	get_powerstate(PM_ACTIVE_PWRSTCTRL);
    	printf("DSP Clock Domain Power State:\n");
    	get_clocktrctrl(CM_GEM_CLKCTRL);
    	printf("DSP Clock:\n");
    	get_modulemode(CM_ACTIVE_GEM_CLKCTRL);
    	printf("HDVPSS Clock Domain Power state:\n");
    	get_clocktrctrl(CM_HDDSS_CLKCTRL);
    	printf("HDVPSS Clock:\n");
    	get_modulemode(CM_ACTIVE_HDDSS_CLKCTRL);
    	printf("HDMI Clock Domain Power State\n");
    	get_clocktrctrl(CM_HDMI_CLKCTRL);
    	printf("HDMI Clock:\n");
    	get_modulemode(CM_ACTIVE_HDMI_CLKCTRL);
    	printf("************************************************************\n");
    	
    	printf("\n***********************DEFAULT DOMAIN***********************\n");
    	printf("DEFAULT Power State:\n");
    	get_powerstate(PM_DEFAULT_PWRSTCTRL);
    	printf("L3 Medium Clock Domain: \n");
    	get_clocktrctrl(CM_DEFAULT_L3_MED_CLKSTCTRL);
    	printf("L3 Fast Clock Domain: \n");
    	get_clocktrctrl(CM_DEFAULT_L3_FAST_CLKSTCTRL);
    	printf("PCI Clock Domain: \n");
    	get_clocktrctrl(CM_DEFAULT_PCI_CLKSTCTRL);
    	printf("L3 Slow Clock Domain: \n");
    	get_clocktrctrl(CM_DEFAULT_L3_SLOW_CLKSTCTRL);
    	printf("Default Clock Domain: \n");
    	get_clocktrctrl(CM_DEFAULT_CLKSTCTRL);
    	printf("EMIF0 Clock:\n");
    	get_modulemode(CM_DEFAULT_EMIF_0_CLKCTRL);
    	printf("EMIF1 Clock:\n");
    	get_modulemode(CM_DEFAULT_EMIF_1_CLKCTRL);
    	printf("DMM Clock:\n");
    	get_modulemode(CM_DEFAULT_DMM_CLKCTRL);
    	printf("EMIF FW Clock:\n");
    	get_modulemode(CM_DEFAULT_FW_CLKCTRL);
    	printf("USB Clock:\n");
    	get_modulemode(CM_DEFAULT_USB_CLKCTRL);
    	printf("SATA Clock:\n");
    	get_modulemode(CM_DEFAULT_SATA_CLKCTRL);
    	printf("PCI Clock:\n");
    	get_modulemode(CM_DEFAULT_PCI_CLKCTRL);
    	printf("************************************************************\n");
    	
    	printf("\n***********************IVAHD0 Domain************************\n");
    	printf("IVAHD0 Power State:\n");
    	get_powerstate(PM_IVAHD0_PWRSTCTRL);
    	printf("IVAHD0 Clock Domain Power State:\n");
    	get_clocktrctrl(CM_IVAHD0_CLKCTRL);
    	printf("HDVICP0 Clock:\n");
    	get_modulemode(CM_IVAHD0_IVAHD_CLKCTRL);
    	printf("HDVICP0 SL2 Clock:\n");
    	get_modulemode(CM_IVAHD0_SL2_CLKCTRL);
    	printf("************************************************************\n");
    
    	printf("\n***********************IVAHD1 Domain************************\n");
    	printf("IVAHD1 Power State:\n");
    	get_powerstate(PM_IVAHD1_PWRSTCTRL);
    	printf("IVAHD1 Clock Domain Power State:\n");
    	get_clocktrctrl(CM_IVAHD1_CLKCTRL);
    	printf("HDVICP1 Clock:\n");
    	get_modulemode(CM_IVAHD1_IVAHD_CLKCTRL);
    	printf("HDVICP1 SL2 Clock:\n");
    	get_modulemode(CM_IVAHD1_SL2_CLKCTRL);
    	printf("************************************************************\n");
    
    	printf("\n************************IVAHD2 Domain***********************\n");
    	printf("IVAHD2 Power State:\n");
    	get_powerstate(PM_IVAHD2_PWRSTCTRL);
    	printf("IVAHD2 Clock Domain Power State:\n");
    	get_clocktrctrl(CM_IVAHD2_CLKCTRL);
    	printf("HDVICP2 Clock:\n");
    	get_modulemode(CM_IVAHD2_IVAHD_CLKCTRL);
    	printf("HDVICP2 SL2 Clock:\n");
    	get_modulemode(CM_IVAHD2_SL2_CLKCTRL);
    	printf("************************************************************\n");
    	
    	printf("\n************************SGX Domain**************************\n");
    	printf("SGX Power State:\n");
    	get_powerstate(PM_SGX_PWRSTCTRL);
    	printf("SGX Clock Domain Power State:\n");
    	get_clocktrctrl(CM_SGX_CLKSTCTRL);
    	printf("SGX Clock:\n");	
    	get_modulemode(CM_SGX_SGX_CLKCTRL);
    	printf("************************************************************\n");
    }
    
    float readPLL(unsigned int pll_ctrl, unsigned int pll_freq, unsigned int pll_div)
    {
    	unsigned int mult, div, pre_div, integer, ctrl_reg, freq_reg;
    	float frac, freq, value_freq;
    	
    	ctrl_reg = RD_MEM_32(pll_ctrl);
    	if ((ctrl_reg & 0x00000008) == 0x8)
    		printf("PLL is enabled\n");
    	else
    		printf("PLL is disabled\n");
    
    	if ((ctrl_reg & 0x00000004) == 0x4)
    		printf("PLL is in normal operation\n");
    	else
    		printf("PLL is in bypass mode\n");
    
    	freq_reg    = RD_MEM_32(pll_freq);
    	mult        = (ctrl_reg & 0xFFFF0000) >> 16;
    	pre_div     = (ctrl_reg & 0xFF00)>>8;
    	frac        = ((float)(freq_reg & 0xFFFFFF))/ ((float) (0x1000000-1));
    	integer     = (freq_reg & 0xF000000) >>24;
    	freq        = frac + integer;
    	div         = (RD_MEM_32(pll_div) & 0xFF);
    	value_freq    = ((float) (27 * mult * 8)) / ((float) ((pre_div * freq) * div));
    	return value_freq;
    }
    
    void getdivPLL(unsigned int pll_ctrl,unsigned int pll_div)
    {
    	unsigned int ddr_mult, ddr_div, ddr_pre_div, dmm_int;
    	float ddr_freq, dmm_freq, dmm_frac, freq;
    	
    	ddr_mult    = (RD_MEM_32(pll_ctrl) & 0xFFFF0000)>>16;
    	ddr_div     = (RD_MEM_32(pll_div) & 0xFF);
    	ddr_pre_div = (RD_MEM_32(pll_ctrl) & 0xFF00)>>8;
    	ddr_freq    = (27 * ddr_mult)/(ddr_div * ddr_pre_div);
    	printf("\n\nfreq = %f\n", ddr_freq);
    }
    
    int main(int argc, char **argv) 
    {
    	void *map_base;
    	unsigned long read_result, writeval;
    	unsigned int addr, data;
    	int i;
    
    	float freq_sysclk[24], value_freq,  value_freq_B3, value_freq_C1, 
    		value_freq_D1, freq_mcasp0, freq_mcasp1, freq_mcasp2, freq_mcbsp;
    	int prcm_div[24], prcm_div_B3, prcm_div_C1, prcm_div_D1, 
    				mcasp0_clk, mcasp1_clk, mcasp2_clk, mcbsp_clk;
        
    	if(argc < 2) {
    		printf("Usage: %s [p|f]\n\t p : for module mode\n\t f : for pll frequency",  argv[0]);
    		exit(1);
        	}
    
    	if((us_fd = open("/dev/mem", O_RDWR | O_SYNC)) == -1) {
    		printf ("Could not open the mem file \n");
    	}
    
    	printf("/dev/mem opened.\n");
    	switch (argv[1][0]) {
    		case 'p':
    			printf ("GET PLL Status\n");
    			get_powerInfo();
    			break;
    		case 'f':
    			for (i = 0; i < 24; i++)
    				prcm_div[i] = -1;
    
    			printf ("PLL Frequency\n");
    			printf ("*******************MAINPLL********************\n");
    
    			/* For FREQ1 */
    			value_freq = readPLL(MAINPLL_CTRL, MAINPLL_FREQ1, MAINPLL_DIV1);
    			printf("\nFREQ1 : %f Mhz\n\n",value_freq);
    			prcm_div[0] = (RD_MEM_32(CM_SYSCLK1_CLKSEL) & 0x07) + 1;
    			freq_sysclk[0] = value_freq / ((float) prcm_div[0]);
    			printf("\nSYSCLK1 (DSP)\t: %f Mhz\n\n", freq_sysclk[0]);
    			printf("-----------------------------------------------------\n");
    			
    			/* For FREQ2 */
    			value_freq = readPLL(MAINPLL_CTRL, MAINPLL_FREQ2, MAINPLL_DIV2);
    			printf("\nFREQ2 : %f Mhz\n\n",value_freq);
    			prcm_div[1] = (RD_MEM_32(CM_SYSCLK2_CLKSEL) & 0x07) + 1;
    			freq_sysclk[1] = value_freq / ((float) prcm_div[1]);
    			printf("\nSYSCLK2 (A8)\t: %f Mhz\n\n",freq_sysclk[1]);
    			prcm_div[22] = (RD_MEM_32(CM_SYSCLK23_CLKSEL) & 0x07) + 1;
    			freq_sysclk[22] = value_freq / ((float) prcm_div[22]);
    			printf("\nSYSCLK23 (SGX)\t: %f Mhz\n\n",freq_sysclk[22]);
    			printf("-----------------------------------------------------\n");
    
    			/* For FREQ3 */
    			value_freq = readPLL(MAINPLL_CTRL, MAINPLL_FREQ3, MAINPLL_DIV3);
    			printf("\nFREQ3 : %f Mhz\n\n",value_freq);
    			prcm_div[2] = (RD_MEM_32(CM_SYSCLK3_CLKSEL) & 0x07) + 1;
    			freq_sysclk[2] = value_freq / ((float) prcm_div[2]);
    			printf("\nSYSCLK3 (hdvicp2)\t: %f Mhz\n\n",freq_sysclk[2]);
    			printf("-----------------------------------------------------\n");
    
    			/* For FREQ4 */
    			value_freq = readPLL(MAINPLL_CTRL, MAINPLL_FREQ4, MAINPLL_DIV4);
    			printf("\nFREQ4 : %f Mhz\n\n",value_freq);
    			prcm_div[3] = (RD_MEM_32(CM_SYSCLK4_CLKSEL) & 0x01) + 1;
    			freq_sysclk[3] = value_freq / ((float) prcm_div[3]);
    			printf("\nSYSCLK4 \t: %f Mhz\n\n",freq_sysclk[3]);
    			prcm_div[4] = (RD_MEM_32(CM_SYSCLK5_CLKSEL) & 0x01) + 1;
    			freq_sysclk[4] = freq_sysclk[3] / ((float) prcm_div[4]);
    			printf("\nSYSCLK5 \t: %f Mhz\n\n", freq_sysclk[4]);
    			prcm_div[5] = ((RD_MEM_32(CM_SYSCLK6_CLKSEL) & 0x01) + 1) * 2;
    			freq_sysclk[5] = freq_sysclk[3] / ((float) prcm_div[5]);
    			printf("\nSYSCLK6 \t: %f Mhz\n\n",freq_sysclk[5]);
    			prcm_div[6] = (RD_MEM_32(CM_SYSCLK7_CLKSEL) & 0x03);
    			if (prcm_div[6] == 0)
    				prcm_div[6] = 5;
    			else if (prcm_div[6] == 1)
    				prcm_div[6] = 6;
    			else if (prcm_div[6] == 2)
    				prcm_div[6] = 8;
    			else if (prcm_div[6] == 3)
    				prcm_div[6] = 16;
    
    			freq_sysclk[6] = freq_sysclk[3] / ((float) prcm_div[6]);
    			printf("\nSYSCLK7 \t: %f Mhz\n\n",freq_sysclk[6]);
    			printf("-----------------------------------------------------\n");
    
    			/* For FREQ5 */
    			value_freq = readPLL(MAINPLL_CTRL, MAINPLL_FREQ5, MAINPLL_DIV5);
    			printf("\nFREQ5 : %f Mhz\n\n",value_freq);
    			prcm_div[23] = (RD_MEM_32(CM_SYSCLK24_CLKSEL) & 0x07) + 1;
    			freq_sysclk[23] = value_freq / ((float) prcm_div[23]);
    			printf("\nSYSCLK24 (EMAC)\t: %f Mhz\n\n",freq_sysclk[23]);
    			printf("-----------------------------------------------------\n");
    
    			printf("\nUSB Clock\n");
    			getdivPLL(MAINPLL_CTRL, MAINPLL_DIV6);
    			printf("\nAUDIO PLL Reference clock\n");
    			getdivPLL(MAINPLL_CTRL, MAINPLL_DIV7);
    			printf("-----------------------------------------------------\n");
    
    			printf ("*******************DDRPLL********************\n");
    
    			/* For FREQ2 */
    			value_freq = readPLL(DDRPLL_CTRL, DDRPLL_FREQ2, DDRPLL_DIV2);
    			printf("\nFREQ2 : %f Mhz\n\n",value_freq);
    			prcm_div[9] = (RD_MEM_32(CM_SYSCLK10_CLKSEL) & 0x01) + 1;
    			freq_sysclk[9] = value_freq / ((float) prcm_div[9]);
    			printf("\nSYSCLK10 (SPI,I2C,SD,UART): %f Mhz\n\n",freq_sysclk[9]);
    			freq_sysclk[8] = freq_sysclk[9] / 3;
    			printf("\nSYSCLK9 (CEC CLOCK)\t: %f Mhz\n\n",freq_sysclk[8]);
    			printf("-----------------------------------------------------\n");
    
    			/* For FREQ3 */
    			value_freq = readPLL(DDRPLL_CTRL, DDRPLL_FREQ3, DDRPLL_DIV3);
    			printf("\nFREQ3 : %f Mhz\n\n",value_freq);
    			freq_sysclk[7] = value_freq;/* default and only value of divider is 1 */
    			printf("\nSYSCLK8 : %f Mhz\n\n",freq_sysclk[7]);
    			printf("-----------------------------------------------------\n");
    
    			getdivPLL(DDRPLL_CTRL, DDRPLL_DIV1);
    			printf("-----------------------------------------------------\n");
    
    			printf ("\n*******************VIDEOPLL********************\n");
    			/* For FREQ1 */
    			value_freq = readPLL(VIDEOPLL_CTRL, VIDEOPLL_FREQ1, VIDEOPLL_DIV1);
    			printf("\nFREQ1 : %f Mhz\n\n",value_freq);
    			prcm_div[10] = (RD_MEM_32(CM_SYSCLK11_CLKSEL) & 0x01) + 1;
    			freq_sysclk[10] = value_freq / ((float) prcm_div[10]);
    			printf("\nSYSCLK11 : %f Mhz\n\n", freq_sysclk[10]);
    			prcm_div_D1 = (RD_MEM_32(CM_VPD1_CLKSEL) & 0x07) + 1;
    			value_freq_D1 = value_freq / ((float) prcm_div_D1);
    			printf("-----------------------------------------------------\n");
    			
    			/* For FREQ2 */
    			value_freq = readPLL(VIDEOPLL_CTRL, VIDEOPLL_FREQ2, VIDEOPLL_DIV2);
    			printf("\nFREQ2 : %f Mhz\n\n",value_freq);
    			prcm_div[12] = (RD_MEM_32(CM_SYSCLK13_CLKSEL) & 0x07) + 1;
    			freq_sysclk[12] = value_freq / ((float) prcm_div[12]);
    			printf("\nSYSCLK13 (HD_VENC_D_CLK): %f Mhz\n\n",freq_sysclk[12]);
    			printf("-----------------------------------------------------\n");
    			prcm_div_B3 = (RD_MEM_32(CM_VPB3_CLKSEL) & 0x03);
    			if (prcm_div_B3 == 0)
    				prcm_div_B3 = 1;
    			else if (prcm_div_B3 == 1)
    				prcm_div_B3 = 2;
    			if (prcm_div_B3 == 2)
    				prcm_div_B3 = 22;
    			
    			value_freq_B3 = value_freq / ((float) prcm_div_B3);
    			
    			/* For FREQ3 */
    			value_freq = readPLL(VIDEOPLL_CTRL, VIDEOPLL_FREQ3, VIDEOPLL_DIV3);
    			printf("\nFREQ3 : %f Mhz\n\n",value_freq);
    			prcm_div[14] = (RD_MEM_32(CM_SYSCLK15_CLKSEL) & 0x07) + 1;
    			freq_sysclk[14] = value_freq / ((float) prcm_div[14]);
    			printf("\nSYSCLK15 (HD_VENC_A_CLK): %f Mhz\n\n",freq_sysclk[14]);
    
    			prcm_div_C1 = (RD_MEM_32(CM_VPC1_CLKSEL) & 0x03);
    			if (prcm_div_C1 == 0)
    				prcm_div_C1 = 1;
    			else if (prcm_div_C1 == 1)
    				prcm_div_C1 = 2;
    			if (prcm_div_C1 == 2)
    				prcm_div_C1 = 22;
    			
    			value_freq_C1 = value_freq / ((float) prcm_div_C1);
    
    			printf("-----------------------------------------------------\n");
    			
    			prcm_div[13] = (RD_MEM_32(CM_SYSCLK14_CLKSEL) & 0x03);
    			if (prcm_div[13] == 0)
    				freq_sysclk[13] = value_freq_B3;
    			else if (prcm_div[13] == 1)
    				freq_sysclk[13] = CLKIN;
    			else if (prcm_div[13] == 2)
    				freq_sysclk[13] = value_freq_C1;
    			printf("\nSYSCLK14 : %f Mhz\n\n", freq_sysclk[13]);
    
    			prcm_div[15] = (RD_MEM_32(CM_SYSCLK16_CLKSEL) & 0x01);
    			if (prcm_div[15] == 0)
    				freq_sysclk[15] = value_freq_D1;
    			else if (prcm_div[15] == 1)
    				freq_sysclk[15] = value_freq_B3;
    				
    			printf("\nSYSCLK16 : %f Mhz\n\n", freq_sysclk[15]);
    			printf("-----------------------------------------------------\n");
    
    			printf ("*******************AUDIOPLL********************\n");
    			/* For FREQ2 */
    			value_freq = readPLL(AUDIOPLL_CTRL, AUDIOPLL_FREQ2, AUDIOPLL_DIV2);
    			printf("\nFREQ2 : %f Mhz\n\n",value_freq);
    			prcm_div[18] = (RD_MEM_32(CM_SYSCLK19_CLKSEL) & 0x07) + 1;
    			freq_sysclk[18] = value_freq / ((float) prcm_div[18]);
    			printf("\nSYSCLK19 : %f Mhz\n\n",freq_sysclk[18]);
    			printf("-----------------------------------------------------\n");
    
    			/* For FREQ3 */
    			value_freq = readPLL(AUDIOPLL_CTRL, AUDIOPLL_FREQ3, AUDIOPLL_DIV3);
    			prcm_div[19] = (RD_MEM_32(CM_SYSCLK20_CLKSEL) & 0x07) + 1;
    			freq_sysclk[19] = value_freq / ((float) prcm_div[19]);
    			printf("\nSYSCLK20 : %f Mhz\n\n",freq_sysclk[19]);
    			printf("-----------------------------------------------------\n");
    
    			/* For FREQ4 */
    			value_freq = readPLL(AUDIOPLL_CTRL, AUDIOPLL_FREQ4, AUDIOPLL_DIV4);
    			printf("\nFREQ4 : %f Mhz\n\n",value_freq);
    			prcm_div[20] = (RD_MEM_32(CM_SYSCLK21_CLKSEL) & 0x07) + 1;
    			freq_sysclk[20] = value_freq / ((float) prcm_div[20]);
    			printf("\nSYSCLK21 : %f Mhz\n\n",freq_sysclk[20]);
    			printf("-----------------------------------------------------\n");
    
    			/* For FREQ5 */
    			value_freq = readPLL(AUDIOPLL_CTRL, AUDIOPLL_FREQ5, AUDIOPLL_DIV5);
    			printf("\nFREQ5 : %f Mhz\n\n",value_freq);
    			prcm_div[21] = (RD_MEM_32(CM_SYSCLK22_CLKSEL) & 0x07) + 1;
    			freq_sysclk[21] = value_freq / ((float) prcm_div[21]);
    			printf("\nSYSCLK22 : %f Mhz\n\n",freq_sysclk[21]);
    			printf("-----------------------------------------------------\n");
    
    			mcasp0_clk = RD_MEM_32(CM_AUDIOCLK_MCASP0_CLKSEL) & 0x03;
    			switch(mcasp0_clk)
    			{
    			   case 0:
    			   	freq_mcasp0 = freq_sysclk[19];
    			   case 1:
    			   	freq_mcasp0 = freq_sysclk[20];
    			   case 2:
    			   	freq_mcasp0 = freq_sysclk[21];
    			}
    			printf("\nMCASP0 CLK = %f\n", freq_mcasp0);
    
    			mcasp1_clk = RD_MEM_32(CM_AUDIOCLK_MCASP1_CLKSEL) & 0x03;
    			switch(mcasp1_clk)
    			{
    			   case 0:
    			   	freq_mcasp1 = freq_sysclk[19];
    			   case 1:
    			   	freq_mcasp1 = freq_sysclk[20];
    			   case 2:
    			   	freq_mcasp1 = freq_sysclk[21];
    			}
    			printf("\nMCASP1 CLK = %f\n", freq_mcasp1);
    			
    			mcasp2_clk = RD_MEM_32(CM_AUDIOCLK_MCASP2_CLKSEL) & 0x03;
    			switch(mcasp2_clk)
    			{
    			   case 0:
    			   	freq_mcasp2 = freq_sysclk[19];
    			   case 1:
    			   	freq_mcasp2 = freq_sysclk[20];
    			   case 2:
    			   	freq_mcasp2 = freq_sysclk[21];
    			}
    			printf("\nMCASP2 CLK = %f\n", freq_mcasp2);
    
    			mcbsp_clk = RD_MEM_32(CM_AUDIOCLK_MCBSP_CLKSEL) & 0x03;
    			switch(mcbsp_clk)
    			{
    			   case 0:
    			   	freq_mcbsp = freq_sysclk[19];
    			   case 1:
    			   	freq_mcbsp = freq_sysclk[20];
    			   case 2:
    			   	freq_mcbsp = freq_sysclk[21];
    			}
    			printf("\nMCBSP CLK = %f\n", freq_mcbsp);
    
    			break;
    			
    	      	default:
    			printf ("Choose right option\n");
    			break;
        }
    
        close(us_fd);
    }
    

  • Hi,

    I think you hit the point. After I change the SYSTEM_M3VPSS_FREQ to (250*1000*1000), I got the 30fps. The question is, I should change uboot to 280, right!? I don't understand the meaning of this number. Can you describe some? Below is the console output:



    ti816x_pll.c




    /dev/mem opened.
    PLL Frequency
    *******************MAINPLL********************
    Phy Addr : 0x48140400 Data : 0x00400188
    PLL is enabled
    PLL is in bypass mode
    Phy Addr : 0x48140408 Data : 0x98800000
    Phy Addr : 0x4814040c Data : 0x00000102

    FREQ1 : 813.176453 Mhz

    Phy Addr : 0x48180300 Data : 0x00000000

    SYSCLK1 (DSP) : 813.176453 Mhz

    -----------------------------------------------------
    Phy Addr : 0x48140400 Data : 0x00400188
    PLL is enabled
    PLL is in bypass mode
    Phy Addr : 0x48140410 Data : 0x9e000000
    Phy Addr : 0x48140414 Data : 0x00000101

    FREQ2 : 987.428589 Mhz

    Phy Addr : 0x48180304 Data : 0x00000000

    SYSCLK2 (A8) : 987.428589 Mhz

    Phy Addr : 0x481803b0 Data : 0x00000003

    SYSCLK23 (SGX) : 246.857147 Mhz

    -----------------------------------------------------
    Phy Addr : 0x48140400 Data : 0x00400188
    PLL is enabled
    PLL is in bypass mode
    Phy Addr : 0x48140418 Data : 0x98aaaab0
    Phy Addr : 0x4814041c Data : 0x00000103

    FREQ3 : 531.692322 Mhz

    Phy Addr : 0x48180308 Data : 0x00000000

    SYSCLK3 (hdvicp2) : 531.692322 Mhz

    -----------------------------------------------------
    Phy Addr : 0x48140400 Data : 0x00400188
    PLL is enabled
    PLL is in bypass mode
    Phy Addr : 0x48140420 Data : 0x9955554f
    Phy Addr : 0x48140424 Data : 0x00000103

    FREQ4 : 493.714294 Mhz

    Phy Addr : 0x4818030c Data : 0x00000000

    SYSCLK4 : 493.714294 Mhz

    Phy Addr : 0x48180310 Data : 0x00000001

    SYSCLK5 : 246.857147 Mhz

    Phy Addr : 0x48180314 Data : 0x00000001

    SYSCLK6 : 123.428574 Mhz

    Phy Addr : 0x48180318 Data : 0x00000000

    SYSCLK7 : 98.742859 Mhz

    -----------------------------------------------------
    Phy Addr : 0x48140400 Data : 0x00400188
    PLL is enabled
    PLL is in bypass mode
    Phy Addr : 0x48140428 Data : 0x99374bc6
    Phy Addr : 0x4814042c Data : 0x0000010c

    FREQ5 : 125.000008 Mhz

    Phy Addr : 0x481803b4 Data : 0x00000000

    SYSCLK24 (EMAC) : 125.000008 Mhz

    -----------------------------------------------------

    USB Clock
    Phy Addr : 0x48140400 Data : 0x00400188
    Phy Addr : 0x48140434 Data : 0x00000148
    Phy Addr : 0x48140400 Data : 0x00400188


    freq = 24.000000

    AUDIO PLL Reference clock
    Phy Addr : 0x48140400 Data : 0x00400188
    Phy Addr : 0x4814043c Data : 0x00000104
    Phy Addr : 0x48140400 Data : 0x00400188


    freq = 432.000000
    -----------------------------------------------------
    *******************DDRPLL********************
    Phy Addr : 0x48140440 Data : 0x0032018c
    PLL is enabled
    PLL is in normal operation
    Phy Addr : 0x48140450 Data : 0x99300000
    Phy Addr : 0x48140454 Data : 0x00000118

    FREQ2 : 48.979591 Mhz

    Phy Addr : 0x48180324 Data : 0x00000000

    SYSCLK10 (SPI,I2C,SD,UART): 48.979591 Mhz


    SYSCLK9 (CEC CLOCK) : 16.326530 Mhz

    -----------------------------------------------------
    Phy Addr : 0x48140440 Data : 0x0032018c
    PLL is enabled
    PLL is in normal operation
    Phy Addr : 0x48140458 Data : 0x99000000
    Phy Addr : 0x4814045c Data : 0x00000103

    FREQ3 : 400.000000 Mhz


    SYSCLK8 : 400.000000 Mhz

    -----------------------------------------------------
    Phy Addr : 0x48140440 Data : 0x0032018c
    Phy Addr : 0x4814044c Data : 0x00000102
    Phy Addr : 0x48140440 Data : 0x0032018c


    freq = 675.000000
    -----------------------------------------------------

    *******************VIDEOPLL********************
    Phy Addr : 0x48140470 Data : 0x006e0288
    PLL is enabled
    PLL is in bypass mode
    Phy Addr : 0x48140478 Data : 0x8dc00000
    Phy Addr : 0x4814047c Data : 0x00000104

    FREQ1 : 216.000000 Mhz

    Phy Addr : 0x4818032c Data : 0x00000000

    SYSCLK11 : 216.000000 Mhz

    Phy Addr : 0x48180348 Data : 0x00000007
    -----------------------------------------------------
    Phy Addr : 0x48140470 Data : 0x006e0288
    PLL is enabled
    PLL is in bypass mode
    Phy Addr : 0x48140480 Data : 0x8a000000
    Phy Addr : 0x48140484 Data : 0x00000108

    FREQ2 : 148.500000 Mhz

    Phy Addr : 0x48180334 Data : 0x00000000

    SYSCLK13 (HD_VENC_D_CLK): 148.500000 Mhz

    -----------------------------------------------------
    Phy Addr : 0x48180340 Data : 0x00000002
    Phy Addr : 0x48140470 Data : 0x006e0288
    PLL is enabled
    PLL is in bypass mode
    Phy Addr : 0x48140488 Data : 0x8a000000
    Phy Addr : 0x4814048c Data : 0x00000110

    FREQ3 : 74.250000 Mhz

    Phy Addr : 0x48180338 Data : 0x00000000

    SYSCLK15 (HD_VENC_A_CLK): 74.250000 Mhz

    Phy Addr : 0x48180344 Data : 0x00000003
    -----------------------------------------------------
    Phy Addr : 0x48180370 Data : 0x00000000

    SYSCLK14 : 6.750000 Mhz

    Phy Addr : 0x48180374 Data : 0x00000000

    SYSCLK16 : 27.000000 Mhz

    -----------------------------------------------------
    *******************AUDIOPLL********************
    Phy Addr : 0x481404a0 Data : 0x00401988
    PLL is enabled
    PLL is in bypass mode
    Phy Addr : 0x481404b0 Data : 0x8e000000
    Phy Addr : 0x481404b4 Data : 0x00000104

    FREQ2 : 9.874286 Mhz

    Phy Addr : 0x4818034c Data : 0x00000000

    SYSCLK19 : 9.874286 Mhz

    -----------------------------------------------------
    Phy Addr : 0x481404a0 Data : 0x00401988
    PLL is enabled
    PLL is in bypass mode
    Phy Addr : 0x481404b8 Data : 0x89000000
    Phy Addr : 0x481404bc Data : 0x00000105
    Phy Addr : 0x48180350 Data : 0x00000007

    SYSCLK20 : 1.536000 Mhz

    -----------------------------------------------------
    Phy Addr : 0x481404a0 Data : 0x00401988
    PLL is enabled
    PLL is in bypass mode
    Phy Addr : 0x481404c0 Data : 0x89cbc148
    Phy Addr : 0x481404c4 Data : 0x00000114

    FREQ4 : 2.822400 Mhz

    Phy Addr : 0x48180354 Data : 0x00000000

    SYSCLK21 : 2.822400 Mhz

    -----------------------------------------------------
    Phy Addr : 0x481404a0 Data : 0x00401988
    PLL is enabled
    PLL is in bypass mode
    Phy Addr : 0x481404c8 Data : 0x8d800000
    Phy Addr : 0x481404cc Data : 0x00000114

    FREQ5 : 2.048000 Mhz

    Phy Addr : 0x48180358 Data : 0x00000000

    SYSCLK22 : 2.048000 Mhz

    -----------------------------------------------------
    Phy Addr : 0x4818037c Data : 0x00000000

    MCASP0 CLK = 2.048000
    Phy Addr : 0x48180380 Data : 0x00000000

    MCASP1 CLK = 2.048000
    Phy Addr : 0x48180384 Data : 0x00000000

    MCASP2 CLK = 2.048000
    Phy Addr : 0x48180388 Data : 0x00000002

    MCBSP CLK = 2.048000


    //--

    [m3vpss ]
    [m3vpss ] *** [SWMS0] Mosaic Statistics ***
    [m3vpss ]
    [m3vpss ] Elasped Time: 31 secs
    [m3vpss ]
    [m3vpss ] Output Request FPS : 30 fps (950 frames)
    [m3vpss ] Output Actual FPS : 30 fps (950 frames)
    [m3vpss ] Output Drop FPS : 0 fps (0 frames)
    [m3vpss ] Output Reject FPS : 0 fps (0 frames)
    [m3vpss ] Scaling Internal : 32 ms
    [m3vpss ] Scaling Internal min : 24 ms
    [m3vpss ] Scaling Internal max : 45 ms
    [m3vpss ]
    [m3vpss ] Win | Window Repeat Drop Recv Que FID Invlid Acc Event Invalid Que Reject Reject Latency
    [m3vpss ] Num | FPS FPS FPS FPS FPS FPS Count (Max/Min) CH Frames Frames Frames Min / Max
    [m3vpss ] ------------------------------------------------------------------------------------------------------
    [m3vpss ] 0 | 30 1 0 0 28 0 0 ( 0/255) 0 0 0 255 / 1003401
    [m3vpss ] 1 | 30 1 0 0 28 0 0 ( 0/255) 0 0 0 255 / 1003401
    [m3vpss ] 2 | 30 1 0 0 28 0 0 ( 0/255) 0 0 0 255 / 1003401
    [m3vpss ] 3 | 30 1 0 0 28 0 0 ( 0/255) 0 0 0 255 / 1003401
    [m3vpss ] 4 | 30 1 0 0 28 0 0 ( 0/255) 0 0 0 255 / 1003401
    [m3vpss ] 5 | 30 1 0 0 28 0 0 ( 0/255) 0 0 0 255 / 1003401
    [m3vpss ] 6 | 30 1 0 0 28 0 0 ( 0/255) 0 0 0 255 / 1003401
    [m3vpss ] 7 | 30 1 0 0 28 0 0 ( 0/255) 0 0 0 255 / 1003401
    [m3vpss ]
    [m3vpss ]
    [m3vpss ] *** [SWMS0] Mosaic Parameters ***
    [m3vpss ]
    [m3vpss ] Output FPS: 29
    [m3vpss ]
    [m3vpss ] Win | Ch | Input | Input | Input | Input | Output | Output | Output | Output | Low Cost | SWMS | Data | Blank |
    [m3vpss ] Num | Num | Start X, Y | Width x Height | Pitch Y / C | Memory Type | Start X, Y | Width x Height | Pitch Y / C | Memory Type | ON / OFF | Inst | Format| Frame |
    [m3vpss ] ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    [m3vpss ] 0 | 0 | 0, 0 | 720 x 480 | 896 / 896 | NON-TILED | 0, 0 | 736 x 500 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | OFF |
    [m3vpss ] 1 | 1 | 0, 0 | 720 x 480 | 896 / 896 | NON-TILED | 736, 0 | 736 x 500 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | OFF |
    [m3vpss ] 2 | 2 | 0, 0 | 720 x 480 | 896 / 896 | NON-TILED | 0, 500 | 736 x 500 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | OFF |
    [m3vpss ] 3 | 3 | 0, 0 | 720 x 480 | 896 / 896 | NON-TILED | 736, 500 | 736 x 500 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | OFF |
    [m3vpss ] 4 | 4 | 0, 0 | 720 x 240 | 1792 / 1792 | NON-TILED | 1472, 0 | 368 x 250 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
    [m3vpss ] 5 | 5 | 0, 0 | 720 x 240 | 1792 / 1792 | NON-TILED | 1472, 250 | 368 x 250 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
    [m3vpss ] 6 | 6 | 0, 0 | 720 x 240 | 1792 / 1792 | NON-TILED | 1472, 500 | 368 x 250 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
    [m3vpss ] 7 | 7 | 0, 0 | 720 x 240 | 1792 / 1792 | NON-TILED | 1472, 750 | 368 x 250 | 3840 / 0 | NON-TILED | ON | 0 | 420SP | OFF |
    [m3vpss ]
    [m3vpss ]
    [m3vpss ]
    [m3vpss ] *** [SWMS1] Mosaic Statistics ***
    [m3vpss ]
    [m3vpss ] Elasped Time: 31 secs
    [m3vpss ]
    [m3vpss ] Output Request FPS : 30 fps (950 frames)
    [m3vpss ] Output Actual FPS : 30 fps (950 frames)
    [m3vpss ] Output Drop FPS : 0 fps (0 frames)
    [m3vpss ] Output Reject FPS : 0 fps (0 frames)
    [m3vpss ] Scaling Internal : 32 ms
    [m3vpss ] Scaling Internal min : 23 ms
    [m3vpss ] Scaling Internal max : 44 ms
    [m3vpss ]
    [m3vpss ] Win | Window Repeat Drop Recv Que FID Invlid Acc Event Invalid Que Reject Reject Latency
    [m3vpss ] Num | FPS FPS FPS FPS FPS FPS Count (Max/Min) CH Frames Frames Frames Min / Max
    [m3vpss ] ------------------------------------------------------------------------------------------------------
    [m3vpss ] 0 | 30 1 0 0 28 0 0 ( 0/255) 0 0 0 255 / 1003401
    [m3vpss ]
    [m3vpss ]
    [m3vpss ] *** [SWMS1] Mosaic Parameters ***
    [m3vpss ]
    [m3vpss ] Output FPS: 30
    [m3vpss ]
    [m3vpss ] Win | Ch | Input | Input | Input | Input | Output | Output | Output | Output | Low Cost | SWMS | Data | Blank |
    [m3vpss ] Num | Num | Start X, Y | Width x Height | Pitch Y / C | Memory Type | Start X, Y | Width x Height | Pitch Y / C | Memory Type | ON / OFF | Inst | Format| Frame |
    [m3vpss ] ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    [m3vpss ] 0 | 0 | 0, 0 | 720 x 480 | 896 / 896 | NON-TILED | 0, 0 | 1920 x 1080 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | OFF |
    [m3vpss ]
    [m3vpss ]
    [m3vpss ] 1003427: DISPLAY: HDDAC(BP0) : 60 fps, Latency (Min / Max) = ( 16 / 50 ), Callback Interval (Min / Max) = ( 16 / 17 ) !!!
    [m3vpss ] 1003428: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 1908, HDDAC(BP0) 1909, DVO2(BP1) 1909, SDDAC(SEC1) 1909
    [m3vpss ] 1003428: SYSTEM : FREE SPACE : System Heap = 5824 B, Mbx = 10239 msgs)
    [m3vpss ] 1003428: SYSTEM : FREE SPACE : SR0 Heap = 11788672 B (11 MB)
    [m3vpss ] 1003428: SYSTEM : FREE SPACE : Frame Buffer = 92347264 B (88 MB)
    [m3vpss ] 1003428: SYSTEM : FREE SPACE : Bitstream Buffer = 331585408 B (316 MB)
    [m3vpss ] 1003428: SYSTEM : FREE SPACE : Tiler Buffer = 256 B (0 MB) - TILER OFF
    [m3vpss ] 1003429: DISPLAY: DVO2(BP1) : 60 fps, Latency (Min / Max) = ( 16 / 49 ), Callback Interval (Min / Max) = ( 16 / 17 ) !!!
    [m3video] 1007379: HDVICP-ID:0
    [m3video] All percentage figures are based off totalElapsedTime
    [m3video] totalAcquire2wait :0 %
    [m3video] totalWait2Isr :32 %
    [m3video] totalIsr2Done :0 %
    [m3video] totalWait2Done :32 %
    [m3video] totalDone2Release :0 %
    [m3video] totalAcquire2Release :34 %
    [m3video] totalAcq2acqDelay :65 %
    [m3video] totalElapsedTime in msec : 29489
    [m3video] numAccessCnt: 40776
    [m3video] IVA-FPS : 1406
    [m3video] Average time spent per frame in microsec: 231
    [m3video] 1007380: HDVICP-ID:1
    [m3video] All percentage figures are based off totalElapsedTime
    [m3video] totalAcquire2wait :0 %
    [m3video] totalWait2Isr :22 %
    [m3video] totalIsr2Done :0 %
    [m3video] totalWait2Done :22 %
    [m3video] totalDone2Release :0 %
    [m3video] totalAcquire2Release :23 %
    [m3video] totalAcq2acqDelay :76 %
    [m3video] totalElapsedTime in msec : 29489
    [m3video] numAccessCnt: 21516
    [m3video] IVA-FPS : 741
    [m3video] Average time spent per frame in microsec: 301
    [m3video] 1007380: HDVICP-ID:2
    [m3video] All percentage figures are based off totalElapsedTime
    [m3video] totalAcquire2wait :0 %
    [m3video] totalWait2Isr :28 %
    [m3video] totalIsr2Done :0 %
    [m3video] totalWait2Done :28 %
    [m3video] totalDone2Release :0 %
    [m3video] totalAcquire2Release :30 %
    [m3video] totalAcq2acqDelay :69 %
    [m3video] totalElapsedTime in msec : 29488
    [m3video] numAccessCnt: 40704
    [m3video] IVA-FPS : 1403
    [m3video] Average time spent per frame in microsec: 202
    [m3video]
    [m3video] *** DECODE Statistics ***
    [m3video]
    [m3video] Elasped Time : 35 secs
    [m3video]
    [m3video]
    [m3video] CH | In Recv In User Out
    [m3video] Num | FPS Skip FPS FPS
    [m3video] -----------------------------------
    [m3video] 0 | 25 0 25
    [m3video] 1 | 25 0 25
    [m3video] 2 | 25 0 25
    [m3video] 3 | 25 0 25
    [m3video] 4 | 25 0 25
    [m3video] 5 | 25 0 25
    [m3video] 6 | 25 0 25
    [m3video] 7 | 25 0 25
    [m3video] 8 | 51 0 51
    [m3video] 9 | 51 0 51
    [m3video]
    [m3video] Multi Channel Decode Average Submit Batch Size
    [m3video] Max Submit Batch Size : 24
    [m3video] IVAHD_0 Average Batch Size : 1
    [m3video] IVAHD_0 Max achieved Batch Size : 4
    [m3video] IVAHD_1 Average Batch Size : 1
    [m3video] IVAHD_1 Max achieved Batch Size : 2
    [m3video] IVAHD_2 Average Batch Size : 1
    [m3video] IVAHD_2 Max achieved Batch Size : 3
    [m3video]
    [m3video] Multi Channel Decode Batch break Stats
    [m3video] Total Number of Batches created: 3390
    [m3video] All numbers are based off total number of Batches created
    [m3video] Batch breaks due to batch sizeexceeding limit: 0 %
    [m3video] Batch breaks due to ReqObj Que being empty: 100 %
    [m3video] Batch breaks due to changed resolution class: 0 %
    [m3video] Batch breaks due to interlace and progressivecontent mix: 0 %
    [m3video] Batch breaks due to channel repeat: 0 %
    [m3video] Batch breaks due to different codec: 0 %
    [m3video] Total Number of Batches created: 1785
    [m3video] All numbers are based off total number of Batches created
    [m3video] Batch breaks due to batch sizeexceeding limit: 0 %
    [m3video] Batch breaks due to ReqObj Que being empty: 100 %
    [m3video] Batch breaks due to changed resolution class: 0 %
    [m3video] Batch breaks due to interlace and progressivecontent mix: 0 %
    [m3video] Batch breaks due to channel repeat: 0 %
    [m3video] Batch breaks due to different codec: 0 %
    [m3video] Total Number of Batches created: 3384
    [m3video] All numbers are based off total number of Batches created
    [m3video] Batch breaks due to batch sizeexceeding limit: 0 %
    [m3video] Batch breaks due to ReqObj Que being empty: 100 %
    [m3video] Batch breaks due to changed resolution class: 0 %
    [m3video] Batch breaks due to interlace and progressivecontent mix: 0 %
    [m3video] Batch breaks due to channel repeat: 0 %
    [m3video] Batch breaks due to different codec: 0 %
    [m3video]
    [m3vpss ]
    [m3vpss ] *** [MP_SCLR0 ] Statistics ***
    [m3vpss ]
    [m3vpss ] Total Frames Received : 10800
    [m3vpss ] Total Frames Forwarded : 10800
    [m3vpss ]
    [m3vpss ]
    [m3vpss ] CH | In Recv In Reject Processed Latency(DRV) Processed Rejected
    [m3vpss ] Num | FPS FPS FPS Min / Max Frames Frames
    [m3vpss ] -------------------------------------------------------------------
    [m3vpss ]
    [m3vpss ] 1009361: LOAD: CPU: 10.3% HWI: 2.3%, SWI:1.2%
    [m3vpss ]
    [m3vpss ] 1009361: LOAD: TSK: IPC_IN_M30 : 0.6%
    [m3vpss ] 1009361: LOAD: TSK: DISPLAY0 : 0.3%
    [m3vpss ] 1009361: LOAD: TSK: DISPLAY1 : 0.2%
    [m3vpss ] 1009361: LOAD: TSK: DUP0 : 0.7%
    [m3vpss ] 1009361: LOAD: TSK: SWMS0 : 2.2%
    [m3vpss ] 1009361: LOAD: TSK: SWMS1 : 1.7%
    [m3vpss ] 1009361: LOAD: TSK: MP_SCLR_FWD_Q0 : 0.4%
    [m3vpss ] 1009362: LOAD: TSK: MISC : 0.7%
    [m3vpss ]
    [m3video]
    [m3video] 1009856: LOAD: CPU: 12.9% HWI: 0.9%, SWI:1.0%
    [m3video]
    [m3video] 1009856: LOAD: TSK: IPC_OUT_M30 : 1.3%
    [m3video] 1009856: LOAD: TSK: IPC_BITS_IN0 : 0.4%
    [m3video] 1009856: LOAD: TSK: DEC0 : 2.4%
    [m3video] 1009856: LOAD: TSK: DEC_PROCESS_TSK_0 : 2.9%
    [m3video] 1009856: LOAD: TSK: DEC_PROCESS_TSK_1 : 1.9%
    [m3video] 1009857: LOAD: TSK: DEC_PROCESS_TSK_2 : 2.9%
    [m3video] 1009857: LOAD: TSK: MISC : 0.-8%
    [m3video]



    AVSYNC:PlayerTimer Stats
    AVSYNC:PlayerTimer Stats DisplayID:0
    AVSYNC:PlayerTimer Stats NumCh:10
    Chn | Positive Negative LastVid LastAud
    Num | ClkAdj ClkAdj PTS PTS
    | Count Count
    ----------------------------------------
    0| 0 0 29502 -1
    1| 0 0 29502 -1
    2| 0 0 29502 -1
    3| 0 0 29502 -1
    4| 0 0 29502 -1
    5| 0 0 29502 -1
    6| 0 0 29502 -1
    7| 0 0 29502 -1
    AVSYNC:Video Stats
    AVSYNC:Video Stats DisplayID:0
    AVSYNC:Video Stats NumCh:10
    Chn | Play Replay Skip Skip Underrun Overflow
    | Count Count Early Late
    -------------------------------------------------
    0| 895 4 0 0 0 0
    1| 895 4 0 0 0 0
    2| 895 4 0 0 0 0
    3| 895 4 0 0 0 0
    4| 895 4 0 0 0 0
    5| 895 4 0 0 0 0
    6| 895 4 0 0 0 0
    7| 895 4 0 0 0 0
    AVSYNC:PlayerTimer Stats
    AVSYNC:PlayerTimer Stats DisplayID:1
    AVSYNC:PlayerTimer Stats NumCh:10
    Chn | Positive Negative LastVid LastAud
    Num | ClkAdj ClkAdj PTS PTS
    | Count Count
    ----------------------------------------
    0| 0 0 29502 -1
    AVSYNC:Video Stats
    AVSYNC:Video Stats DisplayID:1
    AVSYNC:Video Stats NumCh:10
    Chn | Play Replay Skip Skip Underrun Overflow
    | Count Count Early Late
    -------------------------------------------------
    0| 895 4 0 0 0 0
    AVSYNC:Capture TS Avg Delta
    Chn | Avg
    | Delta
    ----------------------------
    0| 0
    1| 0
    2| 0
    3| 0
    4| 0
    5| 0
    6| 0
    7| 0
    8| 0
    9| 0
    10| 0
    11| 0
    12| 0
    13| 0
    14| 0
    15| 0
    AVSYNC:IPCBITSOUT TS Avg Delta
    Chn | Avg
    | Delta
    ----------------------------
    0| 32
    1| 32
    2| 32
    3| 32
    4| 32
    5| 32
    6| 32
    7| 32
    8| 32
    9| 32
    10| 0
    11| 0
    12| 0
    13| 0
    14| 0
    15| 0
    AVGPTSDELTA NUMPLAY NUMSKIP NUMREPLAY NUMCLKADJ
    0 0 0 0 0
    ChNum | AVGPTSDELTA NUMPLAY NUMSKIP NUMREPLAY NUMUNDERUN
    0 | -17 895 0 4 0
    1 | -17 895 0 4 0
    2 | -17 895 0 4 0
    3 | -17 895 0 4 0
    4 | -17 895 0 4 0
    5 | -17 895 0 4 0
    6 | -17 895 0 4 0
    7 | -17 895 0 4 0
    8 | 0 0 0 0 0
    9 | 0 0 0 0 0
    10 | 0 0 0 0 0
    11 | 0 0 0 0 0
    12 | 0 0 0 0 0
    13 | 0 0 0 0 0
    14 | 0 0 0 0 0
    15 | 0 0 0 0 0
    16 | 0 0 0 0 0
    17 | 0 0 0 0 0
    18 | 0 0 0 0 0
    19 | 0 0 0 0 0
    20 | 0 0 0 0 0
    21 | 0 0 0 0 0
    22 | 0 0 0 0 0
    23 | 0 0 0 0 0
    24 | 0 0 0 0 0
    25 | 0 0 0 0 0
    26 | 0 0 0 0 0
    27 | 0 0 0 0 0
    28 | 0 0 0 0 0
    29 | 0 0 0 0 0
    30 | 0 0 0 0 0
    31 | 0 0 0 0 0
    AVGPTSDELTA NUMPLAY NUMSKIP NUMREPLAY NUMCLKADJ
    0 0 0 0 0
    ChNum | AVGPTSDELTA NUMPLAY NUMSKIP NUMREPLAY NUMUNDERUN
    0 | -17 895 0 4 0
    1 | 0 0 0 0 0
    2 | 0 0 0 0 0
    3 | 0 0 0 0 0
    4 | 0 0 0 0 0
    5 | 0 0 0 0 0
    6 | 0 0 0 0 0
    7 | 0 0 0 0 0
    8 | 0 0 0 0 0
    9 | 0 0 0 0 0
    10 | 0 0 0 0 0
    11 | 0 0 0 0 0
    12 | 0 0 0 0 0
    13 | 0 0 0 0 0
    14 | 0 0 0 0 0
    15 | 0 0 0 0 0
    16 | 0 0 0 0 0
    17 | 0 0 0 0 0
    18 | 0 0 0 0 0
    19 | 0 0 0 0 0
    20 | 0 0 0 0 0
    21 | 0 0 0 0 0
    22 | 0 0 0 0 0
    23 | 0 0 0 0 0
    24 | 0 0 0 0 0
    25 | 0 0 0 0 0
    26 | 0 0 0 0 0
    27 | 0 0 0 0 0
    28 | 0 0 0 0 0
    29 | 0 0 0 0 0
    30 | 0 0 0 0 0
    31 | 0 0 0 0 0
    AVGPTSDELTA NUMPLAY NUMSKIP NUMREPLAY NUMCLKADJ
    0 0 0 0 0
    ChNum | AVGPTSDELTA NUMPLAY NUMSKIP NUMREPLAY NUMUNDERUN
    0 | 0 0 0 0 0
    1 | 0 0 0 0 0
    2 | 0 0 0 0 0
    3 | 0 0 0 0 0
    4 | 0 0 0 0 0
    5 | 0 0 0 0 0
    6 | 0 0 0 0 0
    7 | 0 0 0 0 0
    8 | 0 0 0 0 0
    9 | 0 0 0 0 0
    10 | 0 0 0 0 0
    11 | 0 0 0 0 0
    12 | 0 0 0 0 0
    13 | 0 0 0 0 0
    14 | 0 0 0 0 0
    15 | 0 0 0 0 0
    16 | 0 0 0 0 0
    17 | 0 0 0 0 0
    18 | 0 0 0 0 0
    19 | 0 0 0 0 0
    20 | 0 0 0 0 0
    21 | 0 0 0 0 0
    22 | 0 0 0 0 0
    23 | 0 0 0 0 0
    24 | 0 0 0 0 0
    25 | 0 0 0 0 0
    26 | 0 0 0 0 0
    27 | 0 0 0 0 0
    28 | 0 0 0 0 0
    29 | 0 0 0 0 0
    30 | 0 0 0 0 0

  • Yes you should flash the board with uboot that is part of DVR RDK release.When migrating to new RDK release _always_ flash uboot and build uImage from the RDK release.

    M3 frequency is SYSCLK4/2 .It is  close to 250Mhz but not exactly. Your pll settings seem strange. Pls migrate to RDK uboot and check the pll values again.

    Once you migrate to RDK uboot restore the system_common.h define back to 280 Mhz.