Android Things display configuration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android Things display configuration

1,495 Views
marklyle
Contributor I

How can configure i.MX7D developer board for Android Things to support 1024 x 600 tft display?

Labels (3)
0 Kudos
Reply
3 Replies

989 Views
art
NXP Employee
NXP Employee

Please refer to the Section 6.3.2 "Kernel command line (bootargs)" of the attached document.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

989 Views
marklyle
Contributor I

I have updated the U-Boot bootargs as specified in Section 6.3.2 "Kernel command line (bootargs)" of the Android_User's_Guide.pdf document, however, the display resolution is not changing. Below is my U-Boot configuration: 

=> print
baudrate=115200
bootargs=init=/init androidboot.hardware=imx7d video=mxcfb0:dev=ldb,1024x600M@60,if=RGB24,bpp=32 vt.global_cursor_default=0 consoleblank=0 rootwait ro loglevel=3 console=ttymxc4,115200 androidboot.console=ttymxc4 buildvariant=userdebug
bootcmd=boota mmc1
bootdelay=3
ethact=FEC0
ethaddr=00:1f:7b:86:58:76
ethprime=FEC
fastboot_dev=mmc1
fdt_high=0xffffffff
initrd_high=0xffffffff
loadaddr=0x80800000
splashpos=m,m

Environment size: 454/8188 bytes
=>

After booting into Android, I am executing " dumpsys display | grep mBaseDisplayInfo" to get the Android display configuration. Here is the output: 

mBaseDisplayInfo=DisplayInfo{"Built-in Screen", uniqueId "local:0", app 800 x 480, real 800 x 480, largest app 800 x 480, smallest app 800 x 480, mode 1, defaultMode 1, modes [{id=1, width=800, height=480, fps=53.742}], colorMode 0, supportedColorModes [0], hdrCapabilities android.view.Display$HdrCapabilities@1d6308, rotation 0, density 160 (160.0 x 160.421) dpi, layerStack 0, appVsyncOff 1000000, presDeadline 18607420, type BUILT_IN, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, removeMode 0}

Android is still indicating 800x480 display resolution, which is the display that is included with the Android Things iMX7D developer kit, however, I need to connect a 1024x600 display. 

0 Kudos
Reply

989 Views
marklyle
Contributor I

Does the Android User Guide you specified also apply to the Pico i.MX7D developer board? I am not using Sabre.

0 Kudos
Reply