Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

[FAQ] PROCESSOR-SDK-J721E: How to run display (any PDK) example from SBL?

Part Number: PROCESSOR-SDK-J721E

This article explains how to build and run DSS example.

  • This article shows how to build and run DSS example on eDP using SBL flow. Similar method (Step-3 onwards) can be used to run any PDK examples using SBL.

    1. The default example enables the display on the HDMI output. There are several build macros in the example to enable output in a specific interface. For eDP output, enable eDP output by setting 1 for the flag DISP_APP_TEST_EDP in ti-processor-sdk-rtos-j721e-evm-07_01_00_11\pdk_jacinto_07_01_00_45\packages\ti\drv\dss\examples\dss_display_test\dss_display_test.h file
    2. Select the DISP_APP_BGRA32 as test case in DISP_APP_USE_TEST_PARAMS in the file ti-processor-sdk-rtos-j721e-evm-07_01_00_11\pdk_jacinto_07_01_00_45\packages\ti\drv\dss\examples\dss_display_test\dss_display_test.h
    3. Apply attached patch on ti-processor-sdk-rtos-j721e-evm-07_01_00_11\pdk_jacinto_07_01_00_45 folder. This patch contains fix to setup clock correctly for the eDP output. This patch also sets the input resolution to 480x360 and uses inbuild ARGB32 binary image for the display.
    4. From the ti-processor-sdk-rtos-j721e-evm-07_01_00_11\pdk_jacinto_07_01_00_45\packages\ti\build folder, use below commands
      • make -s pdk_libs CORE=mcu2_0 PLATFORM=j721e_evm BUILD_PROFILE=release
      • make -s dss_display_testapp CORE=mcu2_0 PLATFORM=j721e_evm BUILD_PROFILE=release
      • make -s sbl_mmcsd_img CORE=mcu2_0 PLATFORM=j721e_evm BUILD_PROFILE=release
    5. Copy SBL from ti-processor-sdk-rtos-j721e-evm-07_01_00_11\pdk_jacinto_07_01_00_45\packages\ti\boot\sbl\binary\j721e_evm\mmcsd\bin\sbl_mmcsd_img_mcu1_0_release.tiimage as tiboot3.bin in SD card
    6. Copy Display binary from pdk_jacinto_07_01_00_45/packages/ti/binary/dss_display_testapp/bin/j721e_evm/dss_display_testapp_mcu2_0_release.appimage as app to SD card
    7. Copy system firmware from pdk_jacinto_07_01_00_45/packages/ti/drv/sciclient/soc/V1/tifs.bin to SD card

    /cfs-file/__key/communityserver-discussions-components-files/791/Dss_5F00_eDP_5F00_Fix.zip

    Regards,

    Brijesh

  • Please find attached patch which allows running DSS example from uboot. 

    Please apply this patch in folder ti-processor-sdk-rtos-j721e-evm-07_01_00_11\pdk_jacinto_07_01_00_45 and then follow steps to run DSS example from uboot/SPL.

    1. Build the PDK DSS example using below command
      1. make -s dss_display_testapp CORE=mcu2_0 PLATFORM=j721e_evm BUILD_PROFILE=release
    2. Create SD card and copy vision apps executables as explained on the below e2e link, follow upto steps-3
      1. https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/vision_apps/docs/user_guide/RUN_INSTRUCTIONS.html
    3. After vision apps binaries are copied to the SD card, copy DSS example binary to the SD card
      1. cp ti-processor-sdk-rtos-j721e-evm-07_01_00_11\pdk_jacinto_07_01_00_45\packages\ti\binary\dss_display_testapp\bin\j721e_evm\dss_display_testapp_mcu2_0_release.xer5f /media/$USER/rootfs/lib/firmware/j7-main-r5f0_0-fw
    4. Put board in the SD boot mode, insert SD card and power on the board.

    After few seconds, you should see images getting displayed on eDP output.

    I have included Pixel clock fix in this patch, so you would need to apply only this patch.

    /cfs-file/__key/communityserver-discussions-components-files/791/0001_2D00_changes_2D00_allow_2D00_to_2D00_run_2D00_DSS_2D00_from_2D00_uboot.zip

    Regards,

    Brijesh