Unable to get the iMX6q Display on HDMI

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

Unable to get the iMX6q Display on HDMI

Jump to solution
934 Views
rohitpatle
Contributor III

Hi there,

I am building image for iMX6q board. I built the images(u-boot, kernel and system) using lunch option no 13(sabreauto_6q-eng). Here I want to have the Display on HDMI for which I followed the procedure given at "AndroidTM Quick Start Guide, Rev. M6.0.1_1.0.0"(4.4.2 Booting with single display: HDMI display) for setting the U-Boot environment variables. But I am not getting any display on my HDMI screen

Below is the kernel boot log for before and after setting the the U-boot environment variable

Log without setting U-boot environment:-

---------------------------------------------------

Starting kernel ...

Booting Linux on physical CPU 0x0

Initializing cgroup subsys cpu

Initializing cgroup subsys cpuacct

Linux version 3.14.52-141398-gad65770-dirty (techmadmin@techmadmin-ThinkCentre-M93p) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #2 SMP PREEMPT Fri Jun 10 19:24:45 IST 2016

CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine model: Freescale i.MX6 Quad SABRE Automotive Board

cma: CMA: reserved 384 MiB at 22000000

Memory policy: Data cache writealloc

PERCPU: Embedded 9 pages/cpu @eaef8000 s13312 r8192 d15360 u36864

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522656

Kernel command line: console=ttymxc3,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=320M androidboot.console=ttymxc3 consoleblank=0 androidboot.ha4

PID hash table entries: 4096 (order: 2, 16384 bytes)

Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

Memory: 1666912K/2096128K available (10720K kernel code, 789K rwdata, 3820K rodata, 593K init, 766K bss, 429216K reserved, 1391616K highmem)

----------------------------------------------------------------------

U-boot log without setting U-boot environment variable:-

----------------------------------------------------------------------

Hit any key to stop autoboot:  0

=> print

baudrate=115200

bootcmd=boota mmc1

bootdelay=1

ethact=FEC

ethaddr=00:04:9f:03:9d:3d

ethprime=FEC

fastboot_dev=mmc1

fdt_high=0xffffffff

initrd_high=0xffffffff

loadaddr=0x12000000

splashpos=m,m

Environment size: 215/8188 bytes

==================Log with setting the environment variable===========================

Log after setting the u-boot env:-

---------------------------------

Starting kernel ...

Booting Linux on physical CPU 0x0

Initializing cgroup subsys cpu

Initializing cgroup subsys cpuacct

Linux version 3.14.52-141398-gad65770-dirty (techmadmin@techmadmin-ThinkCentre-M93p) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #2 SMP PREEMPT Fri Jun 10 19:24:45 IST 2016

CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine model: Freescale i.MX6 Quad SABRE Automotive Board

cma: CMA: reserved 320 MiB at 2a000000

Memory policy: Data cache writealloc

PERCPU: Embedded 9 pages/cpu @ee718000 s13312 r8192 d15360 u36864

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522512

Kernel command line: console=ttymxc3,115200 androidboot.console=ttymxc3 consoleblank=0 androidboot.serialno=231729d4df666d04

PID hash table entries: 4096 (order: 2, 16384 bytes)

Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

Memory: 1732576K/2096128K available (10720K kernel code, 789K rwdata, 3820K rodata, 593K init, 766K bss, 363552K reserved, 1317888K highmem)

---------------------------------------------------

U-boot log with setting U-boot environment variable:-

---------------------------------------------------

=> printenv

baudrate=115200

bootargs=console=ttymxc3,115200 androidboot.console=ttymxc3 consoleblank=0

bootcmd=boota mmc1

bootdelay=1

ethact=FEC

ethaddr=00:04:9f:03:9d:3d

ethprime=FEC

fastboot_dev=mmc1

fdt_high=0xffffffff

initrd_high=0xffffffff

loadaddr=0x12000000

splashpos=m,m

Environment size: 292/8188 bytes

Please help me get the display over HDMI from iMX6

Thank you in Advance.

BR,

Rohit

Labels (2)
1 Solution
638 Views
rohitpatle
Contributor III

RESOLVED: Edited the BOARD_KERNEL_CMDLINE parameter from /myandroid/device/fsl/imx6/BoardConfig.mk file

View solution in original post

2 Replies
639 Views
rohitpatle
Contributor III

RESOLVED: Edited the BOARD_KERNEL_CMDLINE parameter from /myandroid/device/fsl/imx6/BoardConfig.mk file

638 Views
nguyenmr
Contributor III

Hi Rohit,

can you share device-tree file (.dtsi) and BOARD_KERNEL_CMDLINE?

i config for HDMI but it does not shows anything on my TV screen. 

BOARD_KERNEL_CMDLINE, i edited as follow: 

video=mxcfb0:off video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb2:off video=mxcfb3:off

When booting kernel shows:

Kernel command line: rootwait rw console=ttymxc0,115200 init=/init video=mxcfb0:off video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M androidboot.selinux=disabled androidboot.dm_verity=disabled androidboot.serialno=240d29d4dbc84ce7
mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1
mxc_sdc_fb fb@1: registered mxc display driver hdmi
mxc_hdmi_cec soc:hdmi_cec@00120000: HDMI CEC initialized

I don't know where is problem, can you help me?

Thanks in advance!

Regards,

Nguyen

0 Kudos