Jump to content

Recommended Posts

Posted

Hello,

 

I'm trying to connect a MIPI DSI display.

 

Currently, backlight is working, but not the display in Armbian (Armbian 25.5.1 Noble Gnome).

DTS is loaded and corresponding kernel module panel-simple-dsi is loaded as well.

 

Same DTS works on the official Radxa 5c image (rock-5c_bookworm_kde_b2) (kernel 6.1.43-15)

 

Has anyone faced a similar issue?

 

armbianmonitor -u : https://paste.armbian.com/ocoperohak.yaml

 

Thanks!

 

Posted (edited)

What does the following command show?
sudo fdtoverlay -v -i /sys/firmware/fdt -o /dev/null /path/to/your_overlay.dtbo

 

panel-simple-dsi ... Expected bpc in {6,8} but got: 0
So possibly the default with the older kernel was by accident correct and now you should define it.

 

And it seems that you use an overlay meant for the 5a on a 5c?

Edited by royk
Posted

Thanks @laibsch and @royk.

 

For now, we’ve managed to get things working by running the latest vendor kernel, but using panel-simple.c from version 6.1.43.

This workaround isn’t ideal, and we’ll try to investigate the root cause once we have more time.

 

As for the log message "Expected bpc in {6,8} but got: 0", it doesn’t appear when using 6.1.43, even though the relevant source code is identical in that part.

Posted

Try to upload the old and new driver to an AI with you overlay included. Here it gives some suggestions for what you can try. The power sequence seems to be changed with the new driver and it might be too fast for your display. It suggests to put some parameters in the overlay to delay some parts, with higher chance with the first 3:
Under "dsi0_panel: panel@0 {"

prepare-delay-ms = <120>;
reset-delay-ms = <50>;
init-delay-ms = <150>; 

enable-delay-ms = <50>; 
disable-delay-ms = <50>;
unprepare-delay-ms = <120>;

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines