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.

DRA72XEVM: Unable to switch between Splash screen and Reverse view camera

Part Number: DRA72XEVM

Hi TI Forum,

We are using custom board having TDA2xx SoC. We are using Vision SDK 3.0.7

We have a requirement wherein we would need to switch between splash screen and Reverse camera display during boot till completion of Linux kernel load.

With the help of TI guidelines we are able to display splash screen from boot to completion of Linux kernel load. And also we are able to display reverse camera from boot to completion of Linux kernel load. However, currently these are working one at a time. That is both do not exist at same time.

If we enable splash screen ONLY it works fine boot to completion of Linux kernel load. 

Also if we enable reverse camera display it works fine boot to completion of Linux kernel load.

The requirement is initially we should be displaying Splash screen and if user puts reverse gear based on GPIO PIN read we need to switch to reverse camera display. According to TI guidelines for Reverse camera display we should be putting the firmware file dra7-ipu2-fw.lzop in SD card boot partition so that as soon as boot starts this firmware file gets loaded and runs the Reverse camera display usecase with which we are successfuly able to display reverse camera. Based on GPIO PIN whether High/Low we are able to either Display or not display the reverse camera. 

However, in the boot image we have the splash screen display also enabled (logo.yuv - /ti_components/os_tools/linux/u-boot/u-boot/board/ti/dra7xx/display.c). During analysis we have identified that as dra7-ipu2-fw.lzop gets loaded and starts Reverse camera usecase, the splash screen is never displayed. We expect if GPIO PIN is low splash screen is to be displayed. During debugging we found that the Vps_init() [ which is called in dra7-ipu2-fw.lzop makes the splash screen not to be displayed. If we disable this API then splash screen appears but reverse camera display does not work. 

Reverse camera usecase is as below:

Capture -> Display_Video

We are using the DISPLAY_LINK_INST_DSS_VID1. 

Initially for splash screen we were using #define DISPC_MACRO(REGNAME) DISPC_VID1_##REGNAME, but later thought of changing it to DISPC_MACRO(REGNAME) DISPC_VID3_##REGNAME

[ Above Macro is defined in /ti_components/os_tools/linux/u-boot/u-boot/board/ti/dra7xx/display.c ]

Having set splash screen to display on DISPC_MACRO(REGNAME) DISPC_VID3_##REGNAME, we have tried to display the Reverse camera on display planes - VID1, VID2. But still unable to display the splash screen. The Priority of splash screen is set to High considering the 23rd Bit [i.e a in 0x0ea08260] __raw_writel(0x0ea08260, DISPC_MACRO(ATTRIBUTES));

Could you please let us know how do we toggle between Splash screen and Reverse camera display. How do we make them co-exist?? Are we using Video planes in right way?? Could you please help us with which is the bottom video plane and topmost video plane whether VID1 is on top or VID3 on top?

Regards,

Sudhi