Difference between revisions of "IoTGateway/BSP/Android/Gettingstarted/How to set HDMI"

From ESS-WIKI
Jump to: navigation, search
(Created page with "The default display is LVDS. If you want to change the display to HDMI <span style="font-size:larger;">'''1. Enter bootloader'''</span> <span style="font-size:medium;">'''a....")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
The default display is LVDS. If you want to change the display to HDMI
+
'''<span style="font-size:large;">HDMI Introduction</span>'''<br/>HDMI (High-Definition Multimedia Interface) is a compact audio/video interface for&nbsp;transmitting uncompressed digital video data and uncompressed/compressed digital audio&nbsp;data. HDMI connects digital audio/video sources-such as set-top boxes, Blu-ray Disc<br/>players, personal computers (PCs), video game consoles, and AV receivers to compatible&nbsp;digital audio devices, computer monitors, and digital televisions.<br/>HDMI supports, on a single cable, any TV or PC video format, including standard,&nbsp;enhanced, and high-definition video, up to 8 channels of digital audio, and a Consumer&nbsp;Electronics Control (CEC) connection. The CEC allows HDMI devices to control each<br/>other when necessary and allows the user to operate multiple devices with one remote&nbsp;control handset.<br/>Because HDMI is electrically compatible with the signals used by Digital Visual&nbsp;Interface (DVI), no signal conversion is necessary, nor is there a loss of video quality&nbsp;when a DVI-to-HDMI adapter is used.<br/>The HDMI Transmitter (HDMI TX) consists of two parts:
 +
 
 +
• HDMI TX Controller<br/>• HDMI TX PHY
 +
 
 +
depicts the HDMI TX integration scheme into the i.MX 6Dual/6Quad.
 +
 
 +
[[File:I.MX HDMI.png|RTENOTITLE]]
 +
 
 +
 
 +
 
 +
 
 +
 
 +
'''The default display is LVDS. If you want to change the display to HDMI'''
  
 
<span style="font-size:larger;">'''1. Enter bootloader'''</span>
 
<span style="font-size:larger;">'''1. Enter bootloader'''</span>
  
 
<span style="font-size:medium;">'''a. setenv'''</span>
 
<span style="font-size:medium;">'''a. setenv'''</span>
<pre><span style="font-size:larger;"></span>setenv bootargs console=ttymxc0,115200 init=/init <span style="color:#FF0000;">video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24</span> video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=384M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M androidboot.selinux=disabled androidboot.dm_verity=disabled</pre>
+
 
 +
setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=384M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M androidboot.selinux=disabled androidboot.dm_verity=disabled
  
 
<span style="font-size:medium;">'''b. boot to Android'''</span>
 
<span style="font-size:medium;">'''b. boot to Android'''</span>
<pre>#boot</pre>
+
<pre>#boot
 +
</pre>
 +
 
 +
 
 +
 
 +
<span style="font-size:larger;">'''2. Check Linux device tree setting'''</span>
 +
 
 +
If you want to check the HDMI device tree setting, you can check&nbsp;kernel_imx/arch/arm/boot/dts/imx6qdl-advantech.dtsi
 +
 
 +
Using HDMI/hdmi as keywords to search the file, you can see the device tree setting such as
 +
<pre>&hdmi_audio {
 +
        status = "okay";
 +
};
 +
 
 +
&hdmi_cec {
 +
        status = "okay";
 +
};
 +
 
 +
&hdmi_core {
 +
        ipu_id = <1>;
 +
        disp_id = <1>;
 +
        status = "okay";
 +
};
 +
</pre>

Latest revision as of 08:25, 3 February 2017

HDMI Introduction
HDMI (High-Definition Multimedia Interface) is a compact audio/video interface for transmitting uncompressed digital video data and uncompressed/compressed digital audio data. HDMI connects digital audio/video sources-such as set-top boxes, Blu-ray Disc
players, personal computers (PCs), video game consoles, and AV receivers to compatible digital audio devices, computer monitors, and digital televisions.
HDMI supports, on a single cable, any TV or PC video format, including standard, enhanced, and high-definition video, up to 8 channels of digital audio, and a Consumer Electronics Control (CEC) connection. The CEC allows HDMI devices to control each
other when necessary and allows the user to operate multiple devices with one remote control handset.
Because HDMI is electrically compatible with the signals used by Digital Visual Interface (DVI), no signal conversion is necessary, nor is there a loss of video quality when a DVI-to-HDMI adapter is used.
The HDMI Transmitter (HDMI TX) consists of two parts:

• HDMI TX Controller
• HDMI TX PHY

depicts the HDMI TX integration scheme into the i.MX 6Dual/6Quad.

RTENOTITLE



The default display is LVDS. If you want to change the display to HDMI

1. Enter bootloader

a. setenv

setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=384M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M androidboot.selinux=disabled androidboot.dm_verity=disabled

b. boot to Android

#boot


2. Check Linux device tree setting

If you want to check the HDMI device tree setting, you can check kernel_imx/arch/arm/boot/dts/imx6qdl-advantech.dtsi

Using HDMI/hdmi as keywords to search the file, you can see the device tree setting such as

&hdmi_audio {
        status = "okay";
};

&hdmi_cec {
        status = "okay";
};

&hdmi_core {
        ipu_id = <1>;
        disp_id = <1>;
        status = "okay";
};