[IMX8QM-MEK] Disable secondary display until Android BOOT_COMPLETE

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[IMX8QM-MEK] Disable secondary display until Android BOOT_COMPLETE

793 Views
Jose1985
Contributor IV

Dear Team,

Platform: iMX8QM MEK

Software: Android-11 Automotive OS

Number of display : 2 ports LVDS0 & LVDS1

As soon as I switch the board on,  NXP logo and progress bar is show like below in the display connected to LVDS-1.

IMG-20220613-WA0001.jpg

I basically want to disable display driver for LVDS-1 at U-boot stage and on need only to be turned up after Android boot complete. Right now the behaviour is that during U-Boot NXP logo and progress is shown, then display is off and then turned after Android boot compelte.

 

Please help me disable LVDS-1 @ SPL & U-boot stage. It is very urgent.

 

Best regards

Libin Jose

0 Kudos
4 Replies

750 Views
Jose1985
Contributor IV

Dear Vinod,

 

I tried your tip. Unfortuantely, the kernel is panic after including this change.

[    0.621054] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.47-dirty #5

[    0.621055] Hardware name: Freescale i.MX8QM MEK (DT)

[    0.621056] Call trace:

[    0.621057]  dump_backtrace.cfi_jt+0x0/0x4

[    0.621058]  show_stack+0x18/0x24

[    0.621058]  dump_stack+0xb8/0x114

[    0.621059]  panic+0x168/0x3fc

[    0.621060]  nmi_panic+0x98/0xb8

[    0.621061]  arm64_serror_panic+0x74/0x80

[    0.621061]  do_serror+0x15c/0x16c

[    0.621062]  el1_error+0xbc/0x160

[    0.621063]  irq_set_chained_handler_and_data+0x0/0x98

[    0.621064]  platform_drv_probe+0xac/0xf8

[    0.621065]  really_probe+0x30c/0x7ac

[    0.621065]  driver_probe_device+0x64/0x100

[    0.621066]  device_driver_attach+0x6c/0xac

[    0.621067]  __driver_attach+0xdc/0x18c

[    0.621067]  bus_for_each_dev+0xa4/0x118

[    0.621068]  driver_attach+0x24/0x30

[    0.621069]  bus_add_driver+0x100/0x1e0

[    0.621070]  driver_register+0x78/0x114

[    0.621071]  __platform_driver_register+0x44/0x50

[    0.621071]  gpio_mxc_init+0x28/0x34

[    0.621072]  do_one_initcall+0x19c/0x368

[    0.621073]  do_initcall_level+0x198/0x1c4

[    0.621074]  do_basic_setup+0x2c/0x48

[    0.621075]  kernel_init_freeable+0x60/0xdc

[    0.621075]  kernel_init+0x18/0x29c

[    0.621076]  ret_from_fork+0x10/0x18

[    0.621086] SMP: stopping secondary CPUs

 

Best regards,

Libin Jose

0 Kudos

766 Views
Jose1985
Contributor IV

Dear Vinoth,

 

I tried it, however it doesn't seems to go away.

Do you have a patch for reference?

I simply want to enable secondary display until Android boots up.

 

Any help?

 

Best regards

Jose.

0 Kudos

764 Views
vinothkumars
Senior Contributor IV

It is define here,

 

vendor/nxp/mcu-sdk-auto/SDK_MEK-MIMX8QM/boards/mekmimx8qm/demo_apps/rear_view_camera/cm4_core1/isi_config.h

 

 

/*
* For QM RVC, It is required that LVDS1 is used when select LVDS display interface
* DPU1 should be used to accomodate this. Comment it out if use MIPI display interface
*/
#define USE_LVDS1

 

 

Regards,
Vinothkumar Sekar
0 Kudos

768 Views
vinothkumars
Senior Contributor IV

Hi @Jose1985 ,

 

You have to disable in M4 Source Code.

 

 

Regards,
Vinothkumar Sekar
0 Kudos