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.

DRA77P: null_src_display usecase queries

Part Number: DRA77P
Other Parts Discussed in Thread: SYSBIOS

Hi,

I am working on vision SDK v3.07. I have been working for some time on enabling a logo on hdmi display. 

I got several suggestions that early capture late weston facilitates early wake of display. Since we do not have cameras to display anything, nothing wakes the display from early boot and I was querying for some alternatives.

I found a bios usecase named null_src_display. I believe this usecase shows a logo.

  1. Will I be able to built null_src_display usecase as an early usecase or a normal usecase with tda2px_evm_linux_all configuration ? So that when firmwares are loaded by MLO (in early boot) or by kernel (normal case), i'll be able to see something on screen.
  2. Can null_src_display usecase show the logo on HDMI display ? 
  3. How do I enable it with hlos build (tda2px_evm_linux_all).
  4. Are there any other options like enabling HDMI throgh sysbios without links and chains ?

I tried several times to the early capture late weston but nothing can be done since cameras are not available.

Kindly please provide me some guidance regarding this issue since I have been querying regarding this for sometime.

Regards,

Padmesh

  • Hi Padmesh,

    This is a RTOS usecase. so I recommend to test this usecase in normal boot first.

    Yes, if you don't have a camera , you can try this usecase for early usecase.

    Many of the customer use this one or nullsrc->decode->display as their early usecase to show a logo on the display.

    Thanks

    RamPrasad

  • Hi Ram,

    I have the requirement of running apps.out also. I am building the null_src_display by including it in the PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/apps/configs/tda2px_evm_linux_all/uc_cfg.mk as UC_null_src_display=yes and included the Chains_nullSrc_display(&gChains_usecaseCfg); in PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/apps/src/hlos/adas/src/common/chains_main.c


    Is it the correct way ?

    Regards,

    Padmesh

  • Hi Ram,

    I needed the usecase to be included in hlos, so I placed the null_src_display usecase in uc_cfg.mk of tda2px_evm_linux_all.

    I built it and I find nothing in display as the linux loads the firmwares.

    What am I doing wrong here?

    Regards,

    Padmesh

  • Hi,

    I have been stuck with this usecase for a while.

    The null_src_display usecase works fine in rtos when build with tda2px_evm_bios_all configuration.

    Any suggestions null_src_display can be used as a early usecase with linux ? 

    Regards,

    Padmesh

  • Hi Padmesh,

    null_src_display is created as a miscellaneous chain running on a specific usecase to show logo on entering a menu option in bios .

    Can you first check if this is working fine in linux , when you call this usecse as a miscellaneous chain in normal boot case first?

    Thanks

    RamPrasad

  • Hi Ram,

    I am facing build issues on placing this usecase in hlos.

    I have mentioned the usecase in uc_cfg.mk and included it in the makefile. I get the following error.

    # apps: tda2px-evm: Compiling chains_nullSrcDisplay.c
    # apps: tda2px-evm: Compiling chains_nullSrcDisplay_priv.c
    chains_nullSrcDisplay.c: In function 'fillSrcBuf':
    chains_nullSrcDisplay.c:281:9: error: implicit declaration of function 'Cache_wb' [-Werror=implicit-function-declaration]
             Cache_wb(
             ^
    chains_nullSrcDisplay.c:284:13: error: 'Cache_Type_ALLD' undeclared (first use in this function)
                 Cache_Type_ALLD,
                 ^
    chains_nullSrcDisplay.c:284:13: note: each undeclared identifier is reported only once for each function it appears in
    chains_nullSrcDisplay.c: In function 'Chains_nullSrc_display':
    chains_nullSrcDisplay.c:323:5: error: implicit declaration of function 'ChainsCommon_StartDisplayDevice' [-Werror=implicit-function-declaration]
         ChainsCommon_StartDisplayDevice(chainsCfg->displayType);
         ^
    cc1: all warnings being treated as errors
    make[6]: *** [chains_nullSrcDisplay.o] Error 1
    make[5]: *** [vision_sdk_linux_demo] Error 2
    make[4]: *** [apps] Error 2
    make[3]: *** [apps_exe_hlos] Error 2
    make[2]: *** [apps_hlos] Error 2
    make[1]: *** [apps] Error 2
    make: *** [vision_sdk] Error 2