imx53 qsb android , dual display, TVOUT not work

cancel
Showing results for 
Search instead for 
Did you mean: 

imx53 qsb android , dual display, TVOUT not work

560 Views
vincent_rtk
Contributor II

The default mode:

SIN_VIDEO_DUAL_UI  is corrent, both LCD and TVOUT show corrent UI, and Video on TVOUT only.

but

DUAL_VIDEO_SIN_UI is not corrent, TVOUT show weired green screen...

I have tried so many uboot parameters, none of them works.

any one has been successed in this configuration  (show video on both LCD & TVOUT) ?

Thanks.

Labels (4)
0 Kudos
5 Replies

92 Views
rijurekhasen
Contributor I

Does anyone have the Android BSP (Freescale-iMX53-QSB-Android 2.3-Version 4.0) for IMX53 quick start board? The Adeano/NXP (i.MX53 Quick Start Board|NXP ) sites redirect to Witekio. After registering and requesting for the BSP (marked as Free), I got an email with an FTP download link which shows no content. I have put a question on Witekio contact and another on Witekio Facebook page, with no response. The email is copied below:

 

Thanks for your interest in Witekio’s Board Support Packages. 

Please use the following access credentials to download the following file i.MX 53_Android_BSP from our FTP server:

 

URL : https://files.witekio.com/

Login : FSL-iMX53-QSB-AND

Password : Y507nit

 

 

Witekio Sales teams

 

(1) Does someone have the BSP previously downloaded? It will be great if you can upload somewhere and share a link.

(2) Since the QSB board is a different hardware compared to the IMC53 SABRE tablet, I am guessing the Android BSP for SABRE (available for download from NXP) is not compatible with the QSB without modifications. Has anyone tried this?

 

Thanks!

Riju

0 Kudos

92 Views
SrideviK
Contributor III

Hi Vincent Chien,

We are also facing similar issue in our product based on i.MX535.

Is the TV-Out green screen issue fixed in DUAL_VIDEO_SIN_UI?

Pls let me know how to resolve this problem?

Regards,

Sridevi

0 Kudos

92 Views
ChucoChe
NXP Employee
NXP Employee

Is tvout your primary display?

From the users guide:

"Note that if TVout is the primary display, we don't support the secondary display."


Michel

0 Kudos

92 Views
vincent_rtk
Contributor II

I use 53qsb board, android 10.3.2.

LCD as the primary.

just modify the code.. hardware/mx5x/liboverlay/overlay_thread.c

diff --git a/liboverlay/overlay_thread.cpp b/liboverlay/overlay_thread.cpp

index cce32a6..c9b435a 100755

--- a/liboverlay/overlay_thread.cpp

+++ b/liboverlay/overlay_thread.cpp

@@ -354,8 +354,9 @@ bool OverlayThread::switchDualVideoSinUI(struct overlay_control_context_t * dev)

            OVERLAY_LOG_ERR("output fmt BGR32");

            break;

         case 16:

-           sec_video_mIPUOutputParam.fmt = IPU_PIX_FMT_RGB565;

-           OVERLAY_LOG_ERR("output fmt RGB565");

+           sec_video_mIPUOutputParam.fmt = v4l2_fourcc('U', 'Y', 'V', 'Y');//IPU_PIX_FMT_RGB565;

+           //OVERLAY_LOG_ERR("output fmt RGB565");

+          OVERLAY_LOG_ERR("UYVY");

            break;

         }

     }


Then use the android building app : Gallery to play the mp4 file, both LCD and TVOUT show the video simutaneously, and both are OK.

although I didn't set TVOUT as the primary display...


in this mode, UI in TVOUT is not correct, and I found the UI in TVOUT is displayed by c2dresizetosecFrameBuffer_c2d( ).

pity that ...the code setting the destination surface format..


dstSurfaceDef.format = get_format(HAL_PIXEL_FORMAT_RGB_565);


If there is a way to set the format to fourcc(UYVU), maybe the TVOUT UI will be OK, too.

0 Kudos

92 Views
ChucoChe
NXP Employee
NXP Employee

Hi,

10.3.2 BSP is not supported in 53QSB. Adeneo supports the android BSP for QSB. You can download it from their webpage or there is a link in the android BSP section of freescale webpage.

Michel

0 Kudos