GUF-Yocto-jethro-9.0-r7707-0
i.MX6
User Manual
Per default, the SRAM is located at
/dev/mtd0
.
A very common use of the SRAM in conjuction with the MTD subsystem is to create a file system on top of it, like
shown in the following example.
Example
: Create a JFFS2 file system on
/dev/mtd0
with the mtd-utils and mount it to
/mnt
root@santaro:~# flash_eraseall /dev/mtd0
root@santaro:~# mkfs.jffs2 /dev/mtdblock0
root@santaro:~# mount /dev/mtdblock0 -t jffs2 /mnt
6.17
HDMI
The HDMI port can be used as primary or secondary display on i.MX6. Furthermore, an audio-enabled HDMI
device can be used as secondary sound card.
There are a few different use case for the HDMI display:
6.17.1 HDMI as primary display
To start the X-Server on the HDMI output only, no display configuration should be enabled in the system. This
way the hdmi screen is set as primary screen in the system.
The resolution is configured automatically via EDID. The monitor is registered as framebuffer
/dev/fb0
. To over-
write the resolution from the EDID an xml file can be used
[
I
6.17.4 HDMI XML configuration]
.
Note:
The bootlogo will still come up in the resolution read from the EDID, but the X Server will use
the resolution configured via xml.
6.17.2 HDMI as secondary display
The HDMI output can also be used as secondary display. This mode is automatically selected when a xml display
configuration is configured in the system (this is the default for devices with internal display).
The HDMI device connected to i.MX6 is configured automatically via EDID. The monitor is registered as a sepa-
rate framebuffer
/dev/fb2
. By default the HDMI display is
blanked
. It can be unblanked by
hdmiconfig unblank
To unblank the HDMI monitor during startup, an xml file needs to be imported. The xml file can also be used to
specify a custom resolution
[
I
6.17.4 HDMI XML configuration]
.
Note:
Currently there is a limitation in the X Server display driver, so the secondary display can’t be
used from the X Server out of the box.
6.17.3 HDMI as mirror of the internal display
The HDMI mirror mode is available uppon request from Garz & Fricke.
6.17.4 HDMI XML configuration
Different settings of the HDMI output can be configured by an xml file. The format of this file can be seen in the
example below:
<?xml version="1.0" encoding="ASCII" standalone="yes" ?>
<configurationFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--
Defines the settings for hdmi interface
45