Hello,
I am using imx6q sabre auto ai board.
I have just flashed the android oreo images onto an sdcard and tried to boot it to an lvds 10" display and it is working fine.
But when I tried to boot it using HDMI display, there is no output on either the screen or the linux console.
While booting, in the u-boot prompt, I gave the following commands.
=> setenv bootcmd boota mmc1
=> setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 consoleblank=0 vmalloc=128M init=/init video=mxcfb0:dev=hdmi,1280x800M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off androidboot.hardware=freescale cma=448M galcore.contiguousSize=33554432 androidboot.selinux=permissive
=> saveenv
When I tried to boot the same for dual displays, lvds worked fine but not hdmi.
I connected an adb cable to see the log and I found the follwoing:
01-01 00:11:24.251 290 290 I display : try dev:/dev/dri/card0
01-01 00:11:24.252 290 290 E display : Failed to set atomic cap -1
01-01 00:11:24.252 290 290 I display : entry:fb1 get fb1
01-01 00:11:24.252 290 290 I display : fb1 is overlay device
01-01 00:11:24.252 290 290 I display : entry:fb0 get fb0
01-01 00:11:24.253 290 290 I display : fb0 is hdmi
01-01 00:11:24.253 290 290 I display : device
01-01 00:11:24.253 290 290 I display : fb0 device plugin
01-01 00:11:24.310 290 290 W display : xres = 1280 px
01-01 00:11:24.310 290 290 W display : yres = 720 px
01-01 00:11:24.310 290 290 W display : fps = 60.00 Hz
01-01 00:11:24.310 290 290 W display : bpp = 32
01-01 00:11:24.310 290 290 W display : r = 0:8
01-01 00:11:24.310 290 290 W display : g = 8:8
01-01 00:11:24.310 290 290 W display : b = 16:8
I can see that y-resolution is 720 even though I gave 800 in the kernel command line.
Is there any other place from where it might be taking that resolution?
Suggest me on this.
BR,
Suhas R
Hello,
I made dual boot work for imx6q sabre auto ai.
The one which is done now is just like screening, If I work on any one of them, the other works simultaneously.
Is there a way wherein I can make them work separately?
BR,
Suhas
Hello Igor,
I have tried that many a times with different resolutions too, but with no luck.
And yes, It is a true HDMI monitor. I have even changed the BoardConfig.mk file to take HDMi instead of lvds by default, yet, it doesn't work.
I changed the ports of HDMI and LVDS in the kernel command line to see the output of HDMI on LVDS display during dual boot, I am getting a distored output with the same resolution given in the kernel command line for HDMI.
The command is as follows:
=>setenv bootcmd boota mmc1
=> setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc3 consoleblank=0 vmalloc=128M init=/init video=mxcfb1:dev=ldb,fbpix=RGB32,bpp=32 video=mxcfb0:dev=hdmi,1280x800M@60,if=RGB24,bpp=32 video=mxcfb2:off video=mxcfb3:off androidboot.hardware=freescale cma=448M galcore.contiguousSize=67108864 androidboot.selinux=permissive
As you can see, I have changed the port numbers. It is taking the same output but with a distorted image.
Nothing on HDMI display, but distorted image with 1280x800 resolution on LVDS.
I am stuck with this from past 3 days.
Could there be any other way from which I can make the HDMI work?
Assist me.
Thanks and BR,
Suhas R
Hi Suhas
is it working with "video=mxcfb0:dev=hdmi,1920x1080M@60" as described in
Quick Start Guide. 1280x800 resolution is not a standard CEA-861-D resolution, so the default HDMI driver
doesn't support it. From i.MX6Q documentation hdmi with 1280x800M is not supported (one can try with 1280 x
720) according to Table 33-3. Video Modes i.MX6DQ Reference Manual
https://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf
Also one can try suggestions on
iMX6Q AI board support for 1280×800 HDMI Display
Best regards
igor
Hi Suhas
please try using sect.3.4.2 Booting with single display: HDMI display
attached Android Quick Start Guide. Also check that "true" HDMI monitor was used
with special HDMI cable.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------