In your BoardConfig.mk try to add this line:
For Portrait mode:
+SF_PRIMARY_DISPLAY_ORIENTATION=0 or not required

For Landscape mode:
+SF_PRIMARY_DISPLAY_ORIENTATION=90

For Reverse-Portrait mode:
+SF_PRIMARY_DISPLAY_ORIENTATION=180

For Reverse Landscape mode:
+SF_PRIMARY_DISPLAY_ORIENTATION=270


If you got any better solution otherthan this please share to me.


On Wednesday, September 2, 2020 at 6:35:49 AM UTC+5:30 
davemcla...@gmail.com wrote:

> I have an LCD that is in portrait mode and the timing is configured for 
> this mode so during the initial boot, everything is in portrait mode and 
> the LCD is being used in landscape mode.
>
> How can I rotate the LCD during the initial boot? I've checked in u-boot 
> and the kernel and the options to enable FB rotation are not enabled so 
> putting fbcon=rotate:1 on the command line does nothing.
>
> Is there any other way to rotate the LCD so that both the boot logo and 
> the boot animation are correct and then Android starts in Landscape mode at 
> power up?
>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-porting/276e7c4f-d979-4b0e-ada2-1d2c58541a4an%40googlegroups.com.

Reply via email to