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.

debug_log traces from vpss and video on arm

hi ,

 ezsdk: ezsdk_5_05_02_00_dm814x


i have followed following link:

http://processors.wiki.ti.com/index.php/OMX_Viewing_Media_Controller_Traces

debug log comes on both omx and v4l2 framework ?

using vl2framework iam not getting log according to module wise,i have followed above link as per link i have executed loggersmdump.out

regards,

karthik

  • Hello,

    LoggerSMDump is a A8 utility provided in the EZSDK that prints the debug logs generated by the Media Controller (HDVPSS and HDVICP). You could see the traces from DSP on A8.

    BR
    Margarita
  • hi,

    N:Video P:1 #:00000 T:00000000|019970d9 S:Enabling Status Logger

    N:VPSS  P:2 #:00000 T:00000000|2d3636c5 S:Enabling Status Logger

    N:Video P:1 #:00001 T:00000000|0199a6b3 S:Enabling User1 Logs

    N:VPSS  P:2 #:00001 T:00000000|2d366c97 S:Enabling User1 Logs

    N:Video P:1 #:00002 T:00000000|0199f4db S:Disabling User1 Logs

    N:VPSS  P:2 #:00002 T:00000000|2d36bc9f S:Disabling User1 Logs

    N:Video P:1 #:00003 T:00000000|019a37bd S:Disabling User1 Logs

    N:VPSS  P:2 #:00003 T:00000000|2d36ff2b S:Disabling User1 Logs

    N:Video P:1 #:00004 T:00000000|019a7945 S:Disabling User1 Logs

    N:VPSS  P:2 #:00004 T:00000000|2d3740bf S:Disabling User1 Logs

    N:Video P:1 #:00005 T:00000000|019abbbd S:Disabling User1 Logs

    N:VPSS  P:2 #:00005 T:00000000|2d3782e3 S:Disabling User1 Logs

    N:Video P:1 #:00006 T:00000000|019aff61 S:Enabling Analysis Logs

    N:VPSS  P:2 #:00006 T:00000000|2d37c633 S:Enabling Analysis Logs

    N:Video P:1 #:00007 T:00000000|01a084ef S:Module<ti.omx> Entering<DomxCore_procInit> @line<116>

    N:VPSS  P:2 #:00007 T:00000000|5bc83dbb S:Module<ti.omx> Entering<DomxCore_procInit> @line<116>

    N:Video P:1 #:00008 T:00000000|01f1ec75 S:Module<ti.omx> @<DomxCore_procInit> @line<142> msg<Before Ipc_attach>

    N:VPSS  P:2 #:00008 T:00000000|5c1792b5 S:Module<ti.omx> @<DomxCore_procInit> @line<156> msg<Before Ipc_attach>

    N:Video P:1 #:00009 T:00000000|04f9e445 S:Module<ti.omx> @<DomxCore_procInit> @line<149> msg<After Ipc_attach>

    N:VPSS  P:2 #:00009 T:00000000|620f7cad S:Module<ti.omx> @<DomxCore_procInit> @line<163> msg<After Ipc_attach>

    N:Video P:1 #:00010 T:00000000|04fa49e3 S:Module<ti.omx> @<DomxCore_procInit> @line<151> msg<Ipc_attach successful>

    N:VPSS  P:2 #:00010 T:00000000|620fe38b S:Module<ti.omx> @<DomxCore_procInit> @line<165> msg<Ipc_attach successful>

    N:Video P:1 #:00011 T:00000000|04faebc1 S:Module<ti.omx> @<OmxRpc_moduleRegisterMsgqHeap> @line<921> msg<Before MessageQ_registerHeap>

    N:VPSS  P:2 #:00011 T:00000000|621082f9 S:Module<ti.omx> @<OmxRpc_moduleRegisterMsgqHeap> @line<921> msg<Before MessageQ_registerHeap>

    N:Video P:1 #:00012 T:00000000|04fb4c31 S:Module<ti.omx> @<OmxRpc_moduleRegisterMsgqHeap> @line<926> msg<After MessageQ_registerHeap>

    N:VPSS  P:2 #:00012 T:00000000|6210e127 S:Module<ti.omx> @<OmxRpc_moduleRegisterMsgqHeap> @line<926> msg<After MessageQ_registerHeap>

    N:Video P:1 #:00013 T:00000000|04fbaa99 S:Module<ti.omx> Leaving<DomxCore_procInit> @line<207> with error<0:ErrorNone>

    N:VPSS  P:2 #:00013 T:00000000|62113e83 S:Module<ti.omx> Leaving<DomxCore_procInit> @line<207> with error<0:ErrorNone>

    N:Video P:1 #:00014 T:00000000|04fc218f S:@ omxrpc_rcm_server_create: rcmServerName OmxRpcRcmServer_1, priority 14

    N:VPSS  P:2 #:00014 T:00000000|6211bb53 S:@ omxrpc_rcm_server_create: rcmServerName OmxRpcRcmServer_2, priority 14

    N:Video P:1 #:00015 T:00000000|04fc7027 S:Module<ti.omx> @<omxrpc_rcm_server_create> @line<225> msg<Before RcmServer_Params_init>

    N:VPSS  P:2 #:00015 T:00000000|621207c3 S:Module<ti.omx> @<omxrpc_rcm_server_create> @line<225> msg<Before RcmServer_Params_init>

    N:Video P:1 #:00016 T:00000000|04fcce09 S:Module<ti.omx> @<omxrpc_rcm_server_create> @line<229> msg<After RcmServer_Params_init>

    N:VPSS  P:2 #:00016 T:00000000|621262cf S:Module<ti.omx> @<omxrpc_rcm_server_create> @line<229> msg<After RcmServer_Params_init>

    N:Video P:1 #:00017 T:00000000|04fd2783 S:Module<ti.omx> @<omxrpc_rcm_server_create> @line<232> msg<Before RcmServer_create>

    N:VPSS  P:2 #:00017 T:00000000|6212b949 S:Module<ti.omx> @<omxrpc_rcm_server_create> @line<232> msg<Before RcmServer_create>

    N:Video P:1 #:00018 T:00000000|05028c73 S:Module<ti.omx> @<omxrpc_rcm_server_create> @line<240> msg<After RcmServer_create>

    N:VPSS  P:2 #:00018 T:00000000|621895dd S:Module<ti.omx> @<omxrpc_rcm_server_create> @line<240> msg<After RcmServer_create>

    N:Video P:1 #:00019 T:00000000|0502f4eb S:@ omxrpc_rcm_server_remote_fxn_register regFxnCategory 0

    N:VPSS  P:2 #:00019 T:00000000|62190381 S:@ omxrpc_rcm_server_remote_fxn_register regFxnCategory 0

    N:Video P:1 #:00020 T:00000000|05033f1d S:Calling RcmServer_addSymbol(OmxRpcGetHandle)

    N:VPSS  P:2 #:00020 T:00000000|62194b39 S:Calling RcmServer_addSymbol(OmxRpcGetHandle)

    N:Video P:1 #:00021 T:00000000|0503ad97 S:Calling RcmServer_addSymbol(OmxRpcFreeHandle)

    N:VPSS  P:2 #:00021 T:00000000|6219cd1f S:Calling RcmServer_addSymbol(OmxRpcFreeHandle)

    N:Video P:1 #:00022 T:00000000|0504032d S:Calling RcmServer_addSymbol(OmxRpcCreateProxyLite)

    N:VPSS  P:2 #:00022 T:00000000|621a28ed S:Calling RcmServer_addSymbol(OmxRpcCreateProxyLite)

    N:Video P:1 #:00023 T:00000000|050456bb S:Calling RcmServer_addSymbol(OmxRpcGetHeapMemStats)

    N:VPSS  P:2 #:00023 T:00000000|621a8265 S:Calling RcmServer_addSymbol(OmxRpcGetHeapMemStats)

    N:Video P:1 #:00024 T:00000000|0504a86f S:Calling RcmServer_addSymbol(OmxRpcDeleteProxyLite)

    N:VPSS  P:2 #:00024 T:00000000|621adb57 S:Calling RcmServer_addSymbol(OmxRpcDeleteProxyLite)

    N:Video P:1 #:00025 T:00000000|0504fff7 S:Module<ti.omx> @<omxrpc_rcm_server_start> @line<256> msg<Before RcmServer_start>

    N:VPSS  P:2 #:00025 T:00000000|621b382d S:Module<ti.omx> @<omxrpc_rcm_server_start> @line<256> msg<Before RcmServer_start>

    N:Video P:1 #:00026 T:00000000|05058513 S:Module<ti.omx> @<omxrpc_rcm_server_start> @line<258> msg<After RcmServer_start>

    N:VPSS  P:2 #:00026 T:00000000|621bd4c1 S:Module<ti.omx> @<omxrpc_rcm_server_start> @line<258> msg<After RcmServer_start>

    N:VPSS  P:2 #:00027 T:0000001a|e605f9b9 S:OmxRpc_rcmIfGetHandle:ComponentName:OMX.TI.VPSSM3.VFCC

    N:VPSS  P:2 #:00028 T:0000001a|e606caf5 S:Entered function:omxrpc_module_init_client (3)

    N:VPSS  P:2 #:00029 T:0000001a|e6074a71 S:Entered function:OmxRpc_rcmClientCreate (0x9f25efc4, OmxRpcRcmServer_3, 5)

    N:VPSS  P:2 #:00030 T:0000001a|e6079eb1 S:Module<ti.omx> @<OmxRpc_rcmClientCreate> @line<977> msg<Before RcmClient_Params_init>

    N:VPSS  P:2 #:00031 T:0000001a|e607f1f7 S:Module<ti.omx> @<OmxRpc_rcmClientCreate> @line<979> msg<After RcmClient_Params_init>

    N:VPSS  P:2 #:00032 T:0000001a|e60844ba S:Module<ti.omx> @<OmxRpc_rcmClientCreate> @line<984> msg<Before RcmClient_create>

    N:VPSS  P:2 #:00033 T:0000001a|e60c7ff5 S:Module<ti.omx> @<OmxRpc_rcmClientCreate> @line<986> msg<After RcmClient_create>

    N:VPSS  P:2 #:00034 T:0000001a|e60cdc9f S:omxrpc_module_init_client: Located the remoteCoreRcmServer

    N:VPSS  P:2 #:00035 T:0000001a|e60d2e85 S:main: calling RcmClient_getSymbolIndex(OmxRpcGetHandle)

    N:VPSS  P:2 #:00036 T:0000001a|e6131191 S:main: calling RcmClient_getSymbolIndex(OmxRpcFreeHandle)

    N:VPSS  P:2 #:00037 T:0000001a|e61537b7 S:main: calling RcmClient_getSymbolIndex(OmxRpcCreateProxyLite)

    N:VPSS  P:2 #:00038 T:0000001a|e6173881 S:main: calling RcmClient_getSymbolIndex(OmxRpcGetHeapMemStats)

    N:VPSS  P:2 #:00039 T:0000001a|e6193b5f S:main: calling RcmClient_getSymbolIndex(OmxRpcDeleteProxyLite)

    N:VPSS  P:2 #:00040 T:0000001a|e61b43e3 S:LayerId: 2

    N:VPSS  P:2 #:00041 T:0000001a|e61bd0c9 S:@ omxrpc_rcm_server_create: rcmServerName OmxRpcRcmServer_OMX.TI.VPSSM3.VFCC_Ctrl_2_0, priority 14

    N:VPSS  P:2 #:00042 T:0000001a|e61c2b31 S:Module<ti.omx> @<omxrpc_rcm_server_create> @line<225> msg<Before RcmServer_Params_init>

    N:VPSS  P:2 #:00043 T:0000001a|e61c85ff S:Module<ti.omx> @<omxrpc_rcm_server_create> @line<229> msg<After RcmServer_Params_init>

    N:VPSS  P:2 #:00044 T:0000001a|e61cdcb9 S:Module<ti.omx> @<omxrpc_rcm_server_create> @line<232> msg<Before RcmServer_create>

    N:VPSS  P:2 #:00045 T:0000001a|e62223bf S:Module<ti.omx> @<omxrpc_rcm_server_create> @line<240> msg<After RcmServer_create>

    N:VPSS  P:2 #:00046 T:0000001a|e622a033 S:@ omxrpc_rcm_server_remote_fxn_register regFxnCategory 1

    N:VPSS  P:2 #:00047 T:0000001a|e622ea37 S:Calling RcmServer_addSymbol(OmxRpcSetParameter)

    N:VPSS  P:2 #:00048 T:0000001a|e6235fdb S:Calling RcmServer_addSymbol(OmxRpcGetParameter)

    N:VPSS  P:2 #:00049 T:0000001a|e623b0e9 S:Calling RcmServer_addSymbol(OmxRpcSetConfig)

    N:VPSS  P:2 #:00050 T:0000001a|e623fc5b S:Calling RcmServer_addSymbol(OmxRpcGetConfig)

    N:VPSS  P:2 #:00051 T:0000001a|e6244ae5 S:Calling RcmServer_addSymbol(OmxRpcGetComponentVersion)

    N:VPSS  P:2 #:00052 T:0000001a|e6249f81 S:Calling RcmServer_addSymbol(OmxRpcGetExtensionIndex)

    N:VPSS  P:2 #:00053 T:0000001a|e624f37b S:Calling RcmServer_addSymbol(OmxRpcGetState)

    N:VPSS  P:2 #:00054 T:0000001a|e62540df S:Calling RcmServer_addSymbol(OmxRpcSendCommand)

    N:VPSS  P:2 #:00055 T:0000001a|e6258dd5 S:Calling RcmServer_addSymbol(OmxRpcUseBuffer)

    N:VPSS  P:2 #:00056 T:0000001a|e625dd2d S:Calling RcmServer_addSymbol(OmxRpcAllocBuffer)

    N:VPSS  P:2 #:00057 T:0000001a|e6262adb S:Calling RcmServer_addSymbol(OmxRpcFreeBuffer)

    N:VPSS  P:2 #:00058 T:0000001a|e6267a33 S:Calling RcmServer_addSymbol(OmxRpcEmptyThisBuffer)

    N:VPSS  P:2 #:00059 T:0000001a|e626ce7b S:Calling RcmServer_addSymbol(OmxRpcFillThisBuffer)

    N:VPSS  P:2 #:00060 T:0000001a|e6272071 S:Calling RcmServer_addSymbol(OmxRpcTunnelRequest)

    N:VPSS  P:2 #:00061 T:0000001a|e62777dd S:Module<ti.omx> @<omxrpc_rcm_server_start> @line<256> msg<Before RcmServer_start>

    N:VPSS  P:2 #:00062 T:0000001a|e627da53 S:Module<ti.omx> @<omxrpc_rcm_server_start> @line<258> msg<After RcmServer_start>

    it it stopping after this , anything more needed to enable module wise .

    but here iam gettingS:Module<ti.omx> can it work on v4l2 frame work.

    regards,

    karthik

  • Hello,

    V4L2 capture driver supports enabling debug option. Argument are only specified at the time of inserting the driver since V4L2 capture driver only supports dynamic build.

    Insert the dynamically built module with following parameters: Following example shows how to enable debug of V4L2:
    $ insmod ti81xxvin.ko debug=1

    Refer to processors.wiki.ti.com/.../TI81XX_PSP_VIDEO_CAPTURE_Driver_User_Guide for more information regarding how to enable the debug.

    Regarding Media Controller Traces after the execution of this command
    ./loggerSMDump.out 0x9e400000 0x100000 all
    You shall execute the application (gst/omx etc).


    BR
    Margarita
  • hi ,

    iam using saLoopback application to capture data, Iam not getting debug log.

    regards,
    karthik
  • Hello,

    Please check my previous post how to enable the debug when you are using v4l2 capture driver.

    BR
    Margarita