Re: i.MX6 screen rotation
this sounds like you have to check your hardware and your framebuffer driver. How is the display connected to the display controller? This is may not set correctly in your framebuffer driver.
I had the same issues with a SSD1305 display conrtoller. (https://www.adafruit.com/images/product-files/2720/2719%20data.pdf) If you look at "10.1.26 Set COM Pins Hardware Configuration (DAh)" in this datasheet you will understand what I mean.