I’m not sure whether this is a hardware issue, Linux kernel issue or a Yocto issue but as some of the finest minds are on the mailing lists I figured it was a good place to start! Enough flattery? :-)
We are using a Boundary Devices Nitrogen6X Lite (i.MX6S) board as a demo platform for a project using the linux-boundary 4.14.98 kernel. The Boundary Devices kernel is more-or-less the same as the Freescale kernel imx_4.14.x_2.0.0_ga.
I am trying to get framebuffer rotation to work so that I can rotate the framebuffer console (on fb0) through 90 degrees. I have the kernel configuration option CONFIG_FRAMEBUFFER_CONSOLE_ROTATION enabled and am trying to run some tests by setting values through /sys/class/graphics/fb0/rotate and /sys/class/graphics/fbcon/rotate.
I have used fb-test to display an image onto the screen and if I write “1” to /sys/class/graphics/fb0/rotate then the display flips and looks great when viewed in a mirror. No amount of trying to set other values will rotate the screen through 90 or 270 degrees.
Is there an issue with rotation on the i.MX6 or is there a configuration setting that I am missing somewhere?