Hi,
We are using i.MX8M custom board with Raydium rm6820 mipi-dsi display.
Display is working fine with using dcss, but the display output is rotated to 180 degree. Needs to hold the display upside down to see the proper GUI.
So kindly let us know how to rotate the mipi-dsi(dcss) output to 180 degree.
Thanks in advance.
Reagrds,
Yashavantha
Hello,
Are you using Android or Yocto?
Best Regards,
Diego.
Hello @diegoadrian ,
I have the same issue with this chip but in Android world.
Do you have a solution to rotate it by 180°?
Thank you
Are there any information with android?
Hi Diego,
We are using "fsl-yocto-L4.9.51_mx8mq-ga" yocto release.
Thanks and Regards,
Yashavantha
Hi,
Then you can modify /etc/xdg/weston/weston.ini to have:
[output]
name=HDMI-A-1
mode=1920x1080@60
transform=90
(assuming you are using HDMI, for MIPI the name would be DSI-1)
Regards,
Gary
Hi Gary,
Thank you for your reply.
There is no any file with that name in that location,
Thanks and Regards,
Yashavantha
Hello,
You can create the file with the configuration that Gary mentioned and it should work.
Best Regards,
Diego.
Hi,
The solution given by Gary is working, but only after loading GUI. Linux logo and open embedded logo still remains upside down only.
Is there any solution which makes display rotation from controller side only, so that even linux and open embedded logos looks proper?
Thanks and Regards,
Yashavantha
Hello,
Unfortunately, is impossible with the weston.ini file, since this process is not initialized at that level. For that, you will need to create a patch for the u-boot and for the kernel that could change the display orientation at that level.
Hope this can help you.
Best Regards,
Diego.
Hi,
With the above changes only display orientation changes, but if we want to test touch 'we have to touch the default place of icon (without rotation position) itself.
Before rotation terminal icon was in bottom right corner, after rotation it went to top left corner. But now if i want to open terminal icon, i have to touch in bottom right itself, not in top left corner.
Regards,
Yashavantha