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.

is UIA enabled in the ti814x_hdvpss_1G.xem3 firmware?

Hi,

I am using TI8148 EVM board, linux-2.6.37-psp04.04.00.01 and hdvpss_01_00_01_44 firmare.

           I am using ti814x_hdvpss_1G.xem3 newly compiled and generated firmware. I could able to use this firmware using the v4l2 application i.e. saLoopBack.

I want to debug and use UIA loges but I am not getting the logs.

procedure used:

On the target we are running the saLoopBack application and on host  using telnet, connecting to the EVM board and running the application

" /usr/share/ti/ti-uia/loggerSMDump.out  0x9ae00000 0x100000 all"

I have tried with different address i.e. 0x9E400000 and 0x8F000000 but could not get the UIA logs.

Is the newly compiled and generated v4l2 firmware  ti814x_hdvpss_1G.xem3 has UIA enabled ?

If enabled what is the address argument we need to use for loggerSMDump.out application ?

If UIA is not enabled in the firmware  ti814x_hdvpss_1G.xem3 how to enable it?

How can we enable the UIA by default in firmware itself and print the logs using the loggerSMDump applicaion?

Please help to enable the UIA debug logs.

Thanks,

Sudheer.

  • Hello,

    The OMX firmware in EZSDK has been enabled with debug logs to ease the process of debug.

    ti814x_hdvpss_1G.xem3 does not contain OMX.  

    LoggerSMDump is a A8 utility provided in the EZSDK that prints the debug logs generated by the Media Controller.

    Refer to the user guide:

    Also refer to

    You could check there for UIA/Logger SM buffer , LOGGER_SM

    You could use this firmware dm814x_hdvpss_v4l2.xem3 not   ti814x_hdvpss_1G.xem3.

    BR

    Margarita

  • You also could post your question regarding UIA in out RTOS forum:
    e2e.ti.com/.../355

    BR
    Margarita
  • You could check here also:

    /ezsdk/component-sources/uia_1_01_01_14/packages/ti/uia/examples
  • how to use /ezsdk/component-sources/uia_1_01_01_14/packages/ti/uia/examples for ti814x_hdvpss_1G.xem3 firmware.


    how to conform that UIA is not integrated in the firmware ti814x_hdvpss_1G.xem3.

    please help to enable the UIA logs in the firmware ti814x_hdvpss_1G.xem3

    Thanks,
    Sudheer.
  • Hi Margarita,
    As you mentioned I have tried with dm814x_hdvpss_v4l2.xem3 firmware, It was giving very few messages and only once we get these messages. when I am running the saLoopBack application I was expecting some more logs but I am not getting any extra logs. What might be the issue.

    I am not even getting these logs when I am using dm814x_hdvpss_1G.xem3 firmware.

    root@dm814x-evm:~# /usr/share/ti/ti-uia/loggerSMDump.out 0x9E400000 0x100000 all
    Opened loggerSM.bin to store encoded records
    N:VPSS P:2 #:00000 T:00000000027d51e5 M:xdc.runtime.Main S:Enabling Status Logger
    N:VPSS P:2 #:00001 T:0000000002850e0f M:xdc.runtime.Main S:Enabling User1 Logs
    N:VPSS P:2 #:00002 T:00000000028f4dcf M:xdc.runtime.Main S:Disabling User1 Logs
    N:VPSS P:2 #:00003 T:0000000002999c47 M:xdc.runtime.Main S:Disabling User1 Logs
    N:VPSS P:2 #:00004 T:0000000002a3ae37 M:xdc.runtime.Main S:Disabling User1 Logs
    N:VPSS P:2 #:00005 T:0000000002adfa39 M:xdc.runtime.Main S:Disabling User1 Logs
    N:VPSS P:2 #:00006 T:0000000002b854c5 M:xdc.runtime.Main S:Enabling Analysis Logs
    N:VPSS P:2 #:00007 T:0000000003469aaf M:xdc.runtime.Main S:edma3init() Passed
    N:VPSS P:2 #:00008 T:000000001502e1d1 M:xdc.runtime.Main S:isI2cInitReq is 149
    N:VPSS P:2 #:00009 T:0000000060503fef M:xdc.runtime.Main S:Module<ti.omx> Entering<DomxCore_procAttach> @line<151>
    N:VPSS P:2 #:00010 T:000000006b300aeb M:xdc.runtime.Main S:Module<ti.omx> @<DomxCore_procAttach> @line<191> msg<Before Ipc_attach>

    strings as in the logs i.e. "Enabling Status Logger" , "Enabling User1 Logs" I could not able to locate any ware in the "hdvpss_01_00_01_44" folder. where can I get these?

    Thanks,
    Sudheer.
  • You do not see any messages because saLoopback demo is not using omx.

    BR
    Margarita
  • When I am using dm814x_hdvpss_v4l2.xem3 firmware I can't use omx application right?
  • sudheer singh1 said:
    strings as in the logs i.e. "Enabling Status Logger" ,

    This print does not come from hdvpss_01_00_01_44

    Search for this file it is in the omx demos folder.

    configureUiaLogger.c

    BR

    Margarita

  • Hello,

    The ti814x_hdvpss_1G.xem3 firmware does not use OMX. If you check the size you will see that there is a big difference.
    If you want to use only V4L2 capture + V4L2 display + fbdev than ti814x_hdvpss_1G.xem3 should be fine, if you want to use encode/decode or any of OMX components you need to use dm814x_hdvpss_v4l2.xem3 or dm814x_hdvpss.xem3 depends.

    Check this topic again :
    e2e.ti.com/.../422646
    about the different firmwares.

    BR
    Margarita
  • yes,

    AS you mentioned:
    **********************************************************************************
    dm814x_hdvpss_v4l2_xem3:
    - This is use for V4L2 application. So user will use their application is V4L2 interface.
    * Display driver is controlled by A8 with V4L2. Does not support OpenMax.
    * Capture driver is controlled by A8 with V4L2. Does not support OpenMax.
    - This can be used to use I2C from A8 during HDVPSS driver is working.
    - The feature is same as dm816x_hdvpss_xem3 without I2C control
    **********************************************************************************

    now my issue is why I am getting the logs like
    *************************************************************************************
    N:VPSS P:2 #:00000 T:00000000027d51e5 M:xdc.runtime.Main S:Enabling Status Logger
    N:VPSS P:2 #:00001 T:0000000002850e0f M:xdc.runtime.Main S:Enabling User1 Logs
    N:VPSS P:2 #:00002 T:00000000028f4dcf M:xdc.runtime.Main S:Disabling User1 Logs
    *************************************************************************************
    which are present in omx demos folder when I am using the dm814x_hdvpss_v4l2.xem3 firmware and v4l2 application.

    Thanks,
    Sudheer.
  • Hello,

    When you start loggerSMDump.out you  will see this prints before to execute anything.

    In one of the links in above posts there is an example how to integrate UIA with DSP.

    Note :

    sudheer singh1 said:
    - The feature is same as dm816x_hdvpss_xem3 without I2C control

    The M3 firmwares(inside) can not be discussed in the public forum since they are under NDA.

    BR

    Margarita

  • 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

    processors.wiki.ti.com/.../TI81XX_PSP_VIDEO_CAPTURE_Driver_User_Guide

    BR
    Margarita