* Use display screen with mipi lvds converter sn65dsi83 #meta-freescale #yocto
@ 2021-03-23 18:38 Joris Offouga
0 siblings, 0 replies; only message in thread
From: Joris Offouga @ 2021-03-23 18:38 UTC (permalink / raw)
To: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 15859 bytes --]
On an imx8mm with a linux 5.4.x I'm trying to get a screen to work. I have a mipi lvds sn65dsi83 converter but once the kernel starts up the screen does not work and I have its kernel errors.
Can you help me ?
Best Regards,
Joris Offouga
Kernel Log :
[ 0.361607] sn65dsi83 0-002d: sn65dsi83_probe
[ 0.361685] sn65dsi83 0-002d: sn65dsi83_brg_power_off
[ 0.380077] sn65dsi83 0-002d: sn65dsi83_brg_power_on
[ 0.392350] sn65dsi83 0-002d: client 0x00000000ad8070d8
[ 0.393134] sn65dsi83 0-002d: sn65dsi83_brg_reset
[ 0.393140] sn65dsi83 0-002d: sn65dsi83_brg_power_off
[ 0.412283] i2c i2c-0: IMX I2C adapter registered
[ 0.413130] i2c i2c-1: IMX I2C adapter registered
[ 0.414681] at24 2-0050: 8192 byte 24c64 EEPROM, writable, 1 bytes/write
[ 0.414724] i2c i2c-2: IMX I2C adapter registered
[ 0.415176] i2c i2c-3: IMX I2C adapter registered
[ 0.415984] pwm-backlight lcd0_backlight: lcd0_backlight supply power not found, using dummy regulator
[ 0.417687] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 32, base_baud = 1500000) is a IMX
[ 2.254401] printk: console [ttymxc0] enabled
[ 2.259780] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 34, base_baud = 1500000) is a IMX
[ 2.269460] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.276091] [drm] No driver support for vblank timestamp query.
[ 2.282067] imx-drm soc@0:bus@32c00000:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[ 2.291351] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to get blk_ctl
[ 2.297889] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[ 2.304897] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_bridge_attach
[ 2.312399] sn65dsi83 0-002d: sn65dsi83_attach_dsi
[ 2.317338] imx-drm soc@0:bus@32c00000:display-subsystem: bound 32e10000.mipi_dsi (ops imx_sec_dsim_ops)
[ 2.327243] [drm] Initialized imx-drm 1.0.0 20120507 for soc@0:bus@32c00000:display-subsystem on minor 1
[ 2.336756] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_connector_detect
[ 2.344510] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_connector_get_modes
[ 2.352530] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_connector_mode_valid: mode: 1280*800@68900 is valid
[ 2.366607] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_bridge_mode_set: mode: 1280*800@68900
[ 2.370841] imx-drm soc@0:bus@32c00000:display-subsystem: sn65dsi83_bridge_enable
[ 2.370847] sn65dsi83 0-002d: sn65dsi83_brg_setup
[ 2.370850] sn65dsi83 0-002d: sn65dsi83_brg_power_on
[ 2.380354] sn65dsi83 0-002d: DSI clock [ 206700000 ] Hz
[ 2.380358] sn65dsi83 0-002d: GeoMetry [ 1280 x 800 ] Hz
[ 2.381719] sn65dsi83 0-002d: client 0x00000000ad8070d8
[ 2.392482] sn65dsi83 0-002d: sn65dsi83_brg_start_stream
[ 2.600986] sn65dsi83 0-002d: client 0x00000000ad8070d8
[ 2.601661] sn65dsi83 0-002d: CHA (0xe5) = 0x01
[ 2.704358] ------------[ cut here ]------------
[ 2.704362] [CRTC:33:crtc-0] vblank wait timed out
[ 2.704417] WARNING: CPU: 0 PID: 114 at drivers/gpu/drm/drm_atomic_helper.c:1467 drm_atomic_helper_wait_for_vblanks.part.0+0x278/0x290
[ 2.704419] Modules linked in:
[ 2.704427] CPU: 0 PID: 114 Comm: kworker/0:3 Not tainted 5.4.70+g51b488101344 #5
[ 2.704429] Hardware name: EVBOX SM2S-IMX8MM (DT)
[ 2.704438] Workqueue: events deferred_probe_work_func
[ 2.704444] pstate: 60000005 (nZCv daif -PAN -UAO)
[ 2.704448] pc : drm_atomic_helper_wait_for_vblanks.part.0+0x278/0x290
[ 2.704452] lr : drm_atomic_helper_wait_for_vblanks.part.0+0x278/0x290
[ 2.704455] sp : ffff8000121cb4c0
[ 2.704458] x29: ffff8000121cb4c0 x28: 0000000000000000
[ 2.704463] x27: 0000000000000001 x26: 0000000000000000
[ 2.704469] x25: ffff0000153c8000 x24: 0000000000000001
[ 2.704474] x23: 0000000000000038 x22: 0000000000000001
[ 2.704479] x21: ffff00001433a100 x20: ffff000014662888
[ 2.704485] x19: 0000000000000000 x18: 0000000000000001
[ 2.704490] x17: 0000000000000000 x16: 0000000000000000
[ 2.704495] x15: ffff800011991000 x14: ffff800011aaccd8
[ 2.704501] x13: 0000000000000000 x12: ffff800011aac000
[ 2.704505] x11: ffff800011991000 x10: ffff800011aac328
[ 2.704510] x9 : 0000000000000000 x8 : 0000000000000000
[ 2.704515] x7 : 0000000000000000 x6 : 0000000010e48122
[ 2.704520] x5 : 0000000000000000 x4 : 0000000000000000
[ 2.704526] x3 : 00000000ffffffff x2 : ffff800011991cc8
[ 2.704531] x1 : 0000000000000000 x0 : 0000000000000000
[ 2.704537] Call trace:
[ 2.704542] drm_atomic_helper_wait_for_vblanks.part.0+0x278/0x290
[ 2.704546] drm_atomic_helper_wait_for_vblanks+0x14/0x20
[ 2.704550] lcdif_drm_atomic_commit_tail+0x50/0x68
[ 2.704554] commit_tail+0x9c/0x138
[ 2.704558] drm_atomic_helper_commit+0xc8/0x140
[ 2.704563] drm_atomic_commit+0x48/0x58
[ 2.704570] drm_client_modeset_commit_atomic.isra.0+0x174/0x200
[ 2.704575] drm_client_modeset_commit_force+0x58/0x190
[ 2.704579] drm_fb_helper_restore_fbdev_mode_unlocked+0x70/0xd0
[ 2.704582] drm_fb_helper_set_par+0x2c/0x58
[ 2.704588] fbcon_init+0x388/0x4d0
[ 2.704593] visual_init+0xac/0x100
[ 2.704596] do_bind_con_driver+0x1cc/0x3a0
[ 2.704600] do_take_over_console+0x13c/0x1f8
[ 2.704603] do_fbcon_takeover+0x6c/0xd8
[ 2.704606] fbcon_fb_registered+0xf8/0x108
[ 2.704614] register_framebuffer+0x1ec/0x330
[ 2.704621] __drm_fb_helper_initial_config_and_unlock+0x2d0/0x470
[ 2.704624] drm_fbdev_client_hotplug+0xd4/0x188
[ 2.704627] drm_fbdev_generic_setup+0x98/0x140
[ 2.704633] imx_drm_bind+0x100/0x150
[ 2.704639] try_to_bring_up_master+0x164/0x1c8
[ 2.704643] __component_add+0xa0/0x168
[ 2.704648] component_add+0x10/0x18
[ 2.704653] imx_sec_dsim_probe+0x4c/0x70
[ 2.704657] platform_drv_probe+0x50/0xa0
[ 2.704661] really_probe+0xd4/0x318
[ 2.704665] driver_probe_device+0x54/0xe8
[ 2.704668] __device_attach_driver+0x80/0xb8
[ 2.704673] bus_for_each_drv+0x74/0xc8
[ 2.704676] __device_attach+0xec/0x148
[ 2.704680] device_initial_probe+0x10/0x18
[ 2.704683] bus_probe_device+0x90/0x98
[ 2.704687] deferred_probe_work_func+0x64/0x98
[ 2.704694] process_one_work+0x1b4/0x328
[ 2.704697] worker_thread+0x1f0/0x420
[ 2.704701] kthread+0x138/0x158
[ 2.704706] ret_from_fork+0x10/0x1c
[ 2.704709] ---[ end trace a340821a4b522a14 ]---
[ 12.772336] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:33:crtc-0] flip_done timed out
[ 23.012345] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CONNECTOR:35:DSI-1] flip_done timed out
[ 33.252353] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [PLANE:31:plane-0] flip_done timed out
[ 33.356356] ------------[ cut here ]------------
[ 33.356359] [CRTC:33:crtc-0] vblank wait timed out
[ 33.356392] WARNING: CPU: 0 PID: 114 at drivers/gpu/drm/drm_atomic_helper.c:1467 drm_atomic_helper_wait_for_vblanks.part.0+0x278/0x290
[ 33.356393] Modules linked in:
[ 33.356400] CPU: 0 PID: 114 Comm: kworker/0:3 Tainted: G W 5.4.70+g51b488101344 #5
[ 33.356401] Hardware name: EVBOX SM2S-IMX8MM (DT)
[ 33.356407] Workqueue: events deferred_probe_work_func
[ 33.356412] pstate: 60000005 (nZCv daif -PAN -UAO)
[ 33.356416] pc : drm_atomic_helper_wait_for_vblanks.part.0+0x278/0x290
[ 33.356420] lr : drm_atomic_helper_wait_for_vblanks.part.0+0x278/0x290
[ 33.356424] sp : ffff8000121cb260
[ 33.356425] x29: ffff8000121cb260 x28: 0000000000000000
[ 33.356431] x27: 0000000000000002 x26: 0000000000000000
[ 33.356436] x25: ffff0000153c8000 x24: 0000000000000001
[ 33.356442] x23: 0000000000000038 x22: 0000000000000001
[ 33.356446] x21: ffff00001433a300 x20: ffff000014662888
[ 33.356451] x19: 0000000000000000 x18: 0000000000000001
[ 33.356456] x17: 0000000000000000 x16: 0000000000000000
[ 33.356462] x15: ffff800011991000 x14: ffff800011aaccd8
[ 33.356467] x13: 0000000000000000 x12: ffff800011aac000
[ 33.356472] x11: ffff800011991000 x10: ffff800011aac328
[ 33.356478] x9 : 0000000000000000 x8 : 0000000000000000
[ 33.356483] x7 : 0000000000000000 x6 : 0000000010e48122
[ 33.356488] x5 : 0000000000000000 x4 : 0000000000000000
[ 33.356493] x3 : 00000000ffffffff x2 : ffff800011991cc8
[ 33.356499] x1 : 0000000000000000 x0 : 0000000000000000
[ 33.356504] Call trace:
[ 33.356508] drm_atomic_helper_wait_for_vblanks.part.0+0x278/0x290
[ 33.356513] drm_atomic_helper_wait_for_vblanks+0x14/0x20
[ 33.356519] lcdif_drm_atomic_commit_tail+0x50/0x68
[ 33.356522] commit_tail+0x9c/0x138
[ 33.356527] drm_atomic_helper_commit+0xc8/0x140
[ 33.356534] drm_atomic_commit+0x48/0x58
[ 33.356539] drm_client_modeset_commit_atomic.isra.0+0x174/0x200
[ 33.356543] drm_client_modeset_commit_force+0x58/0x190
[ 33.356548] drm_fb_helper_pan_display+0xa8/0x1d0
[ 33.356553] fb_pan_display+0x94/0x108
[ 33.356557] bit_update_start+0x1c/0x40
[ 33.356560] fbcon_switch+0x314/0x4a8
[ 33.356566] redraw_screen+0x13c/0x270
[ 33.356569] fbcon_prepare_logo+0x338/0x410
[ 33.356574] fbcon_init+0x408/0x4d0
[ 33.356577] visual_init+0xac/0x100
[ 33.356582] do_bind_con_driver+0x1cc/0x3a0
[ 33.356586] do_take_over_console+0x13c/0x1f8
[ 33.356591] do_fbcon_takeover+0x6c/0xd8
[ 33.356595] fbcon_fb_registered+0xf8/0x108
[ 33.356600] register_framebuffer+0x1ec/0x330
[ 33.356607] __drm_fb_helper_initial_config_and_unlock+0x2d0/0x470
[ 33.356610] drm_fbdev_client_hotplug+0xd4/0x188
[ 33.356615] drm_fbdev_generic_setup+0x98/0x140
[ 33.356621] imx_drm_bind+0x100/0x150
[ 33.356625] try_to_bring_up_master+0x164/0x1c8
[ 33.356629] __component_add+0xa0/0x168
[ 33.356632] component_add+0x10/0x18
[ 33.356636] imx_sec_dsim_probe+0x4c/0x70
[ 33.356640] platform_drv_probe+0x50/0xa0
[ 33.356643] really_probe+0xd4/0x318
[ 33.356647] driver_probe_device+0x54/0xe8
[ 33.356650] __device_attach_driver+0x80/0xb8
[ 33.356655] bus_for_each_drv+0x74/0xc8
[ 33.356660] __device_attach+0xec/0x148
[ 33.356665] device_initial_probe+0x10/0x18
[ 33.356670] bus_probe_device+0x90/0x98
[ 33.356674] deferred_probe_work_func+0x64/0x98
[ 33.356680] process_one_work+0x1b4/0x328
[ 33.356684] worker_thread+0x1f0/0x420
[ 33.356688] kthread+0x138/0x158
[ 33.356693] ret_from_fork+0x10/0x1c
[ 33.356695] ---[ end trace a340821a4b522a15 ]---
[ 33.368220] Console: switching to colour frame buffer device 160x50
[ 43.492360] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:33:crtc-0] flip_done timed out
[ 53.732341] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CONNECTOR:35:DSI-1] flip_done timed out
[ 60.388453] imx-sdma 302c0000.dma-controller: external firmware not found, using ROM firmware
[ 60.388460] imx-sdma 302b0000.dma-controller: external firmware not found, using ROM firmware
[ 60.388554] imx-sdma 30bd0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[ 60.388559] imx-sdma 30bd0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[ 63.972441] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [PLANE:31:plane-0] flip_done timed out
[ 64.076437] ------------[ cut here ]------------
[ 64.076440] [CRTC:33:crtc-0] vblank wait timed out
[ 64.076474] WARNING: CPU: 0 PID: 114 at drivers/gpu/drm/drm_atomic_helper.c:1467 drm_atomic_helper_wait_for_vblanks.part.0+0x278/0x290
[ 64.076476] Modules linked in:
[ 64.076483] CPU: 0 PID: 114 Comm: kworker/0:3 Tainted: G W 5.4.70+g51b488101344 #5
[ 64.076485] Hardware name: EVBOX SM2S-IMX8MM (DT)
[ 64.076491] Workqueue: events deferred_probe_work_func
[ 64.076496] pstate: 60000005 (nZCv daif -PAN -UAO)
[ 64.076500] pc : drm_atomic_helper_wait_for_vblanks.part.0+0x278/0x290
[ 64.076506] lr : drm_atomic_helper_wait_for_vblanks.part.0+0x278/0x290
[ 64.076509] sp : ffff8000121cb390
[ 64.076511] x29: ffff8000121cb390 x28: 0000000000000000
[ 64.076517] x27: 0000000000000003 x26: 0000000000000000
[ 64.076522] x25: ffff0000153c8000 x24: 0000000000000001
[ 64.076528] x23: 0000000000000038 x22: 0000000000000001
[ 64.076533] x21: ffff00001433ec00 x20: ffff000014662888
[ 64.076539] x19: 0000000000000000 x18: 0000000000000001
[ 64.076544] x17: 0000000000000000 x16: 0000000000000000
[ 64.076549] x15: ffff800011991000 x14: ffff800011aaccd8
[ 64.076555] x13: 0000000000000000 x12: ffff800011aac000
[ 64.076560] x11: ffff800011991000 x10: ffff800011aac328
[ 64.076566] x9 : 0000000000000000 x8 : 0000000000000000
[ 64.076571] x7 : 0000000000000000 x6 : 0000000010e48122
[ 64.076576] x5 : 0000000000000000 x4 : 0000000000000000
[ 64.076581] x3 : 00000000ffffffff x2 : ffff800011991cc8
[ 64.076587] x1 : 0000000000000000 x0 : 0000000000000000
[ 64.076592] Call trace:
[ 64.076596] drm_atomic_helper_wait_for_vblanks.part.0+0x278/0x290
[ 64.076600] drm_atomic_helper_wait_for_vblanks+0x14/0x20
[ 64.076605] lcdif_drm_atomic_commit_tail+0x50/0x68
[ 64.076609] commit_tail+0x9c/0x138
[ 64.076612] drm_atomic_helper_commit+0xc8/0x140
[ 64.076619] drm_atomic_commit+0x48/0x58
[ 64.076624] drm_client_modeset_commit_atomic.isra.0+0x174/0x200
[ 64.076629] drm_client_modeset_commit_force+0x58/0x190
[ 64.076634] drm_fb_helper_pan_display+0xa8/0x1d0
[ 64.076638] fb_pan_display+0x94/0x108
[ 64.076643] bit_update_start+0x1c/0x40
[ 64.076646] fbcon_switch+0x314/0x4a8
[ 64.076651] redraw_screen+0x13c/0x270
[ 64.076655] do_bind_con_driver+0x340/0x3a0
[ 64.076658] do_take_over_console+0x13c/0x1f8
[ 64.076663] do_fbcon_takeover+0x6c/0xd8
[ 64.076668] fbcon_fb_registered+0xf8/0x108
[ 64.076672] register_framebuffer+0x1ec/0x330
[ 64.076679] __drm_fb_helper_initial_config_and_unlock+0x2d0/0x470
[ 64.076682] drm_fbdev_client_hotplug+0xd4/0x188
[ 64.076685] drm_fbdev_generic_setup+0x98/0x140
[ 64.076691] imx_drm_bind+0x100/0x150
[ 64.076695] try_to_bring_up_master+0x164/0x1c8
[ 64.076699] __component_add+0xa0/0x168
[ 64.076702] component_add+0x10/0x18
[ 64.076707] imx_sec_dsim_probe+0x4c/0x70
[ 64.076711] platform_drv_probe+0x50/0xa0
[ 64.076715] really_probe+0xd4/0x318
[ 64.076718] driver_probe_device+0x54/0xe8
[ 64.076722] __device_attach_driver+0x80/0xb8
[ 64.076726] bus_for_each_drv+0x74/0xc8
[ 64.076730] __device_attach+0xec/0x148
[ 64.076733] device_initial_probe+0x10/0x18
[ 64.076738] bus_probe_device+0x90/0x98
[ 64.076741] deferred_probe_work_func+0x64/0x98
[ 64.076747] process_one_work+0x1b4/0x328
[ 64.076751] worker_thread+0x1f0/0x420
[ 64.076754] kthread+0x138/0x158
[ 64.076759] ret_from_fork+0x10/0x1c
[ 64.076761] ---[ end trace a340821a4b522a16 ]---
[-- Attachment #2: Type: text/html, Size: 19979 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-23 18:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 18:38 Use display screen with mipi lvds converter sn65dsi83 #meta-freescale #yocto Joris Offouga
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.