<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.voipac.com/index.php?action=history&amp;feed=atom&amp;title=iMX8M_Industrial_Basic_Accessing_and_Testing_Peripherals</id>
	<title>iMX8M Industrial Basic Accessing and Testing Peripherals - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.voipac.com/index.php?action=history&amp;feed=atom&amp;title=iMX8M_Industrial_Basic_Accessing_and_Testing_Peripherals"/>
	<link rel="alternate" type="text/html" href="https://wiki.voipac.com/index.php?title=iMX8M_Industrial_Basic_Accessing_and_Testing_Peripherals&amp;action=history"/>
	<updated>2026-05-06T11:26:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.voipac.com/index.php?title=iMX8M_Industrial_Basic_Accessing_and_Testing_Peripherals&amp;diff=3322&amp;oldid=prev</id>
		<title>Voipac: Blanked the page</title>
		<link rel="alternate" type="text/html" href="https://wiki.voipac.com/index.php?title=iMX8M_Industrial_Basic_Accessing_and_Testing_Peripherals&amp;diff=3322&amp;oldid=prev"/>
		<updated>2022-01-11T08:47:56Z</updated>

		<summary type="html">&lt;p&gt;Blanked the page&lt;/p&gt;
&lt;a href=&quot;https://wiki.voipac.com/index.php?title=iMX8M_Industrial_Basic_Accessing_and_Testing_Peripherals&amp;amp;diff=3322&amp;amp;oldid=3318&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Voipac</name></author>
	</entry>
	<entry>
		<id>https://wiki.voipac.com/index.php?title=iMX8M_Industrial_Basic_Accessing_and_Testing_Peripherals&amp;diff=3318&amp;oldid=prev</id>
		<title>Voipac at 08:44, 11 January 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.voipac.com/index.php?title=iMX8M_Industrial_Basic_Accessing_and_Testing_Peripherals&amp;diff=3318&amp;oldid=prev"/>
		<updated>2022-01-11T08:44:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:44, 11 January 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot; &gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Hardware ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Hardware ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* DC power supply (5V, 4A)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* DC power supply (5V, 4A)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;iMX6 OpenRex SBC UltraPlus&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;iMX8M Industrial Development Kit Max&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Peripherals and Accessories ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Peripherals and Accessories ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l159&quot; &gt;Line 159:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 159:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''''Input:''''' Press the RESET button&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''''Input:''''' Press the RESET button&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''''Output:''''' The board will execute bootloader immediately with &amp;quot;Reset cause: POR&amp;quot;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''''Output:''''' The board will execute bootloader immediately with &amp;quot;Reset cause: POR&amp;quot;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''''Note:''''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;iMX6 OpenRex SBC &lt;/del&gt;should never freeze or hang after the reset button was pressed. Testing the operation 10 times gives a reliable result&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''''Note:''''' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;iMX8M Industrial Development Kit &lt;/ins&gt;should never freeze or hang after the reset button was pressed. Testing the operation 10 times gives a reliable result&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;U-Boot 2015.10+fslc+g7d8ddd7 (Dec 15 2016 - 18:52:24 +0100)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;U-Boot 2015.10+fslc+g7d8ddd7 (Dec 15 2016 - 18:52:24 +0100)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Voipac</name></author>
	</entry>
	<entry>
		<id>https://wiki.voipac.com/index.php?title=iMX8M_Industrial_Basic_Accessing_and_Testing_Peripherals&amp;diff=3316&amp;oldid=prev</id>
		<title>Voipac: Created page with &quot;Category:iMX8M Industrial Category:iMX8M Industrial Software Category:iMX8M Industrial Testing Category:iMX8M Industrial Peripherals &lt;!-- --&gt; &lt;div style=&quot;float...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.voipac.com/index.php?title=iMX8M_Industrial_Basic_Accessing_and_Testing_Peripherals&amp;diff=3316&amp;oldid=prev"/>
		<updated>2022-01-11T08:39:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Category:iMX8M_Industrial&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:iMX8M Industrial (page does not exist)&quot;&gt;Category:iMX8M Industrial&lt;/a&gt; &lt;a href=&quot;/index.php?title=Category:iMX8M_Industrial_Software&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:iMX8M Industrial Software (page does not exist)&quot;&gt;Category:iMX8M Industrial Software&lt;/a&gt; &lt;a href=&quot;/index.php?title=Category:iMX8M_Industrial_Testing&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:iMX8M Industrial Testing (page does not exist)&quot;&gt;Category:iMX8M Industrial Testing&lt;/a&gt; &lt;a href=&quot;/index.php?title=Category:iMX8M_Industrial_Peripherals&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:iMX8M Industrial Peripherals (page does not exist)&quot;&gt;Category:iMX8M Industrial Peripherals&lt;/a&gt; &amp;lt;!-- --&amp;gt; &amp;lt;div style=&amp;quot;float...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:iMX8M Industrial]]&lt;br /&gt;
[[Category:iMX8M Industrial Software]]&lt;br /&gt;
[[Category:iMX8M Industrial Testing]]&lt;br /&gt;
[[Category:iMX8M Industrial Peripherals]]&lt;br /&gt;
&amp;lt;!-- --&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Elemental operations of iMX8M Industrial Development Kit interfaces are shown on this page.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
* DC power supply (5V, 4A)&lt;br /&gt;
* iMX6 OpenRex SBC UltraPlus&lt;br /&gt;
&lt;br /&gt;
=== Peripherals and Accessories ===&lt;br /&gt;
* 1x FullHD monitor with Audio output&lt;br /&gt;
* 1x MicroSD card&lt;br /&gt;
* 1x MiniPCIe WiFi card&lt;br /&gt;
* 1x MiniPCIe 3G card&lt;br /&gt;
* 1x RPi camera module&lt;br /&gt;
* 1x SATA HDD drive&lt;br /&gt;
* 2x USB FLASH drive&lt;br /&gt;
* 1x Infrared remote&lt;br /&gt;
&lt;br /&gt;
=== Cables ===&lt;br /&gt;
* Ethernet cable&lt;br /&gt;
* HDMI cable&lt;br /&gt;
* Micro USB cable&lt;br /&gt;
* USB to UART cable&lt;br /&gt;
* Headphones&lt;br /&gt;
&lt;br /&gt;
== Audio ==&lt;br /&gt;
'''''Input:''''' Search kernel log for SGTL5000 chip&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Audio chip is detected and bound as an input device&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# dmesg | grep -i sgtl5000&lt;br /&gt;
sgtl5000 1-000a: sgtl5000 revision 0x11&lt;br /&gt;
sgtl5000 1-000a: Using internal LDO instead of VDDD&lt;br /&gt;
imx-sgtl5000 sound-sgtl5000: sgtl5000 &amp;lt;-&amp;gt; 2028000.ssi mapping ok&lt;br /&gt;
  #0: imx-audio-sgtl5000&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''''Input:''''' Run alsamixer command&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Card imx-audio-sgtl5000 is available&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# alsamixer&lt;br /&gt;
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqq AlsaMixer v1.0.29 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk&lt;br /&gt;
x Card: imx-audio-sgtl5000                             F1:  Help               x&lt;br /&gt;
x Chip:                                                F2:  System information x&lt;br /&gt;
x View: F3:[Playback] F4: Capture  F5: All             F6:  Select sound card  x&lt;br /&gt;
x Item: Headphone [dB gain: -19.00, -20.00]            Esc: Exit               x&lt;br /&gt;
x                                                                              x&lt;br /&gt;
x     lqqk                       lqqk     lqqk                                 x&lt;br /&gt;
x     x  x                       x  x     x  x                                 x&lt;br /&gt;
x     x  x                       x  x     x  x                                 x&lt;br /&gt;
x     x  x                       x  x     x  x                                 x&lt;br /&gt;
x     x  x                       xaax     x  x                                 x&lt;br /&gt;
x     x  x                       xaax     x  x                                 x&lt;br /&gt;
x     x  x                       xaax     x  x                                 x&lt;br /&gt;
x     x  x                       xaax     x  x                                 x&lt;br /&gt;
x     x  x                       xaax     x  x                                 x&lt;br /&gt;
x     xa x                       xaax     x  x                                 x&lt;br /&gt;
x     xaax                       xaax     x  x                                 x&lt;br /&gt;
x     xaax                       xaax     x  x                                 x&lt;br /&gt;
x     mqqj     DAC      lqqk     mqqj     mqqj     lqqk    MIC_IN    lqqk      x&lt;br /&gt;
x                       xOOx                       xMMx              xOOx      x&lt;br /&gt;
x                       mqqj                       mqqj              mqqj      x&lt;br /&gt;
x    24&amp;lt;&amp;gt;23                     75&amp;lt;&amp;gt;75     0                                   x&lt;br /&gt;
x  &amp;lt;Headphon&amp;gt;Headphon Headphon   PCM      Mic    Capture  Capture  Capture     x&lt;br /&gt;
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''''Input:''''' Boot-up the board with HDMI cable plugged in, connect headphones into HP_OUT connector and plug-in USB flash drive with MP3 file on it&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Sound is played and heard&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# aplay multimedia/sample.wav&lt;br /&gt;
Playing WAVE 'multimedia/sample.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# #aplay -D sysdefault:CARD=imxaudiosgtl500 multimedia/sample.wav &lt;br /&gt;
root@imx6-openrexultra:~# aplay -D sysdefault:CARD=sgtl5000audio multimedia/sample.wav&lt;br /&gt;
Playing WAVE 'multimedia/sample.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# aplay -D sysdefault:CARD=imxhdmisoc multimedia/sample.wav &lt;br /&gt;
Playing WAVE 'multimedia/sample.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''''Input:''''' Plug headphones with microphone input into HP_OUT connector&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Microphone sound is played in headphones&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# #arecord -D sysdefault:CARD=imxaudiosgtl500 -t wav -f cd | aplay -D sysdefault:CARD=imxaudiosgtl500&lt;br /&gt;
root@imx6-openrexultra:~# arecord -D sysdefault:CARD=sgtl5000audio -t wav -f cd | aplay -D sysdefault:CARD=sgtl5000audio&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''''Input:''''' Plug headphones with microphone input into HP_OUT connector&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Sound is recorded and played afterwards&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# #arecord -D sysdefault:CARD=imxaudiosgtl500 -t wav -f cd -d 10 multimedia/recorded.wav&lt;br /&gt;
root@imx6-openrexultra:~# arecord -D sysdefault:CARD=sgtl5000audio -t wav -f cd -d 10 multimedia/recorded.wav &lt;br /&gt;
Recording WAVE 'multimedia/recorded.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo&lt;br /&gt;
root@imx6-openrexultra:~# #aplay -D sysdefault:CARD=imxaudiosgtl500 multimedia/recorded.wav&lt;br /&gt;
root@imx6-openrexultra:~# aplay -D sysdefault:CARD=sgtl5000audio multimedia/recorded.wav&lt;br /&gt;
Playing WAVE 'multimedia/recorded.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== User button ==&lt;br /&gt;
'''''Input:''''' Press Home/Back-/Menu+ buttons&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Button events 1 and 0 are generated&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# evtest /dev/input/by-path/platform-gpio-keys*-event&lt;br /&gt;
Input driver version is 1.0.1&lt;br /&gt;
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100&lt;br /&gt;
Input device name: &amp;quot;gpio-keys&amp;quot;&lt;br /&gt;
Supported events:&lt;br /&gt;
  Event type 0 (EV_SYN)&lt;br /&gt;
  Event type 1 (EV_KEY)&lt;br /&gt;
    Event code 102 (KEY_HOME)&lt;br /&gt;
    Event code 139 (KEY_MENU)&lt;br /&gt;
    Event code 158 (KEY_BACK)&lt;br /&gt;
Properties:&lt;br /&gt;
Testing ... (interrupt to exit)&lt;br /&gt;
Event: time 1473952105.010541, type 1 (EV_KEY), code 102 (KEY_HOME), value 1&lt;br /&gt;
Event: time 1473952105.010541, -------------- SYN_REPORT ------------&lt;br /&gt;
Event: time 1473952105.140569, type 1 (EV_KEY), code 102 (KEY_HOME), value 0&lt;br /&gt;
Event: time 1473952105.140569, -------------- SYN_REPORT ------------&lt;br /&gt;
Event: time 1473952106.320588, type 1 (EV_KEY), code 158 (KEY_BACK), value 1&lt;br /&gt;
Event: time 1473952106.320588, -------------- SYN_REPORT ------------&lt;br /&gt;
Event: time 1473952106.440540, type 1 (EV_KEY), code 158 (KEY_BACK), value 0&lt;br /&gt;
Event: time 1473952106.440540, -------------- SYN_REPORT ------------&lt;br /&gt;
Event: time 1473952109.630544, type 1 (EV_KEY), code 139 (KEY_MENU), value 1&lt;br /&gt;
Event: time 1473952109.630544, -------------- SYN_REPORT ------------&lt;br /&gt;
Event: time 1473952109.760589, type 1 (EV_KEY), code 139 (KEY_MENU), value 0&lt;br /&gt;
Event: time 1473952109.760589, -------------- SYN_REPORT ------------&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Alternative test ===&lt;br /&gt;
'''''Input:''''' Press Home/Back-/Menu+ buttons&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Button events 1 and 0 are generated&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# hexdump -C /dev/input/by-path/platform-gpio-keys-event&lt;br /&gt;
00000000  ef e7 da 57 ca 8e 0a 00  01 00 66 00 01 00 00 00  |...W......f.....|&lt;br /&gt;
00000010  ef e7 da 57 ca 8e 0a 00  00 00 00 00 00 00 00 00  |...W............|&lt;br /&gt;
00000020  ef e7 da 57 9f b1 0c 00  01 00 66 00 00 00 00 00  |...W......f.....|&lt;br /&gt;
00000030  ef e7 da 57 9f b1 0c 00  00 00 00 00 00 00 00 00  |...W............|&lt;br /&gt;
00000040  f0 e7 da 57 28 70 06 00  01 00 9e 00 01 00 00 00  |...W(p..........|&lt;br /&gt;
00000050  f0 e7 da 57 28 70 06 00  00 00 00 00 00 00 00 00  |...W(p..........|&lt;br /&gt;
00000060  f0 e7 da 57 18 93 08 00  01 00 9e 00 00 00 00 00  |...W............|&lt;br /&gt;
00000070  f0 e7 da 57 18 93 08 00  00 00 00 00 00 00 00 00  |...W............|&lt;br /&gt;
00000080  f1 e7 da 57 69 78 02 00  01 00 8b 00 01 00 00 00  |...Wix..........|&lt;br /&gt;
00000090  f1 e7 da 57 69 78 02 00  00 00 00 00 00 00 00 00  |...Wix..........|&lt;br /&gt;
000000a0  f1 e7 da 57 68 9b 04 00  01 00 8b 00 00 00 00 00  |...Wh...........|&lt;br /&gt;
000000b0  f1 e7 da 57 68 9b 04 00  00 00 00 00 00 00 00 00  |...Wh...........|&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reset button ==&lt;br /&gt;
'''''Input:''''' Press the RESET button&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' The board will execute bootloader immediately with &amp;quot;Reset cause: POR&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Note:''''' iMX6 OpenRex SBC should never freeze or hang after the reset button was pressed. Testing the operation 10 times gives a reliable result&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
U-Boot 2015.10+fslc+g7d8ddd7 (Dec 15 2016 - 18:52:24 +0100)&lt;br /&gt;
&lt;br /&gt;
CPU:   Freescale i.MX6QUAD rev1.1 996 MHz (running at 792 MHz)&lt;br /&gt;
CPU:   Extended Commercial temperature grade (-20C to 105C) at 44C&lt;br /&gt;
Reset cause: POR&lt;br /&gt;
Board: iMX6-OpenRex&lt;br /&gt;
I2C:   ready&lt;br /&gt;
DRAM:  512 MiB&lt;br /&gt;
MMC:   FSL_SDHC: 0&lt;br /&gt;
SF: Detected SST26VF032B with page size 256 Bytes, erase size 4 KiB, total 4 MiB&lt;br /&gt;
In:    serial&lt;br /&gt;
Out:   serial&lt;br /&gt;
Err:   serial&lt;br /&gt;
Net:   FEC [PRIME]&lt;br /&gt;
Hit any key to stop autoboot:  0 &lt;br /&gt;
OpenRex U-Boot&amp;gt; &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CAN ==&lt;br /&gt;
'''''Input:''''' None&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Device driver is available&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# ip addr show dev can0&lt;br /&gt;
2: can0: &amp;lt;NOARP,ECHO&amp;gt; mtu 16 qdisc noop state DOWN group default qlen 10&lt;br /&gt;
    link/can &lt;br /&gt;
root@imx6-openrexultra:~# ip addr show dev can1&lt;br /&gt;
3: can1: &amp;lt;NOARP,ECHO&amp;gt; mtu 16 qdisc noop state DOWN group default qlen 10&lt;br /&gt;
    link/can &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Camera Input  ==&lt;br /&gt;
'''''Input:''''' Connect RPi camera module into CSI interface and check if it is detected on I2C bus&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' I2C address 0x36 is occupied and under use&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Note:''''' HDMI monitor may cause I2C communication issues&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# i2cdetect -y 1&lt;br /&gt;
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f&lt;br /&gt;
00:          -- -- -- -- -- -- -- UU -- -- -- -- -- &lt;br /&gt;
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
30: -- -- -- -- -- -- UU -- -- -- -- -- -- -- -- -- &lt;br /&gt;
40: UU -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- &lt;br /&gt;
50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
70: -- -- -- -- -- -- -- --  &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''''Input:''''' Connect RPi camera into CSI interface and check kernel modules&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Device driver ov5647_camera_mipi_int(or ov5647_camera_mipi) is loaded&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# lsmod&lt;br /&gt;
Module                  Size  Used by&lt;br /&gt;
mxc_v4l2_capture       27362  1&lt;br /&gt;
ipu_bg_overlay_sdc      5230  1 mxc_v4l2_capture&lt;br /&gt;
ipu_still               2304  1 mxc_v4l2_capture&lt;br /&gt;
ipu_prp_enc             5864  1 mxc_v4l2_capture&lt;br /&gt;
ipu_csi_enc             3807  1 mxc_v4l2_capture&lt;br /&gt;
ipu_fg_overlay_sdc      6056  1 mxc_v4l2_capture&lt;br /&gt;
lm75                    4768  0&lt;br /&gt;
sht21                   2126  0&lt;br /&gt;
ov5647_camera_mipi_int    30415  0&lt;br /&gt;
v4l2_int_device         2897  3 ov5647_camera_mipi_int,ipu_csi_enc,mxc_v4l2_capture&lt;br /&gt;
at24                    5488  0&lt;br /&gt;
fxas2100x               6680  0&lt;br /&gt;
fxos8700                9014  0&lt;br /&gt;
mxc_dcic                6536  0&lt;br /&gt;
iwl4965                88394  0&lt;br /&gt;
iwlegacy               62850  1 iwl4965&lt;br /&gt;
galcore               226429  2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''''Input:''''' Connect RPi camera module into CSI interface and capture image&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' The image is displayed on HDMI monitor&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# echo 2 &amp;gt; /sys/bus/i2c/devices/1-0036/ov5647_mode &lt;br /&gt;
root@imx6-openrexultra:~# gst-launch-1.0 v4l2src device=&amp;quot;/dev/video0&amp;quot; ! video/x-bayer,width=1920,height=1080,framerate=30/1 ! queue ! bayer2rgb ! videoconvert ! fbdevsink&lt;br /&gt;
Setting pipeline to PAUSED ...&lt;br /&gt;
Pipeline is live and does not need PREROLL ...&lt;br /&gt;
Setting pipeline to PLAYING ...&lt;br /&gt;
New clock: GstSystemClock&lt;br /&gt;
ERROR: v4l2 capture: unsupported ioctrl!&lt;br /&gt;
ERROR: v4l2 capture: unsupported ioctrl!&lt;br /&gt;
WARNING: from element /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped.&lt;br /&gt;
Additional debug info:&lt;br /&gt;
/home/marek/workdir/imx6/yocto/fsl-release-bsp-4.1/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.6.0-r0/gstreamer-1.6.0/libs/gst/base/gstbasesink.c(2846): gst_base_sink_is_too_la:&lt;br /&gt;
There may be a timestamping problem, or this computer is too slow.&lt;br /&gt;
mxc_hdmi 20e0000.hdmi_video: Read EDID again&lt;br /&gt;
mxc_hdmi 20e0000.hdmi_video: create default modelist&lt;br /&gt;
EVENT plugin&lt;br /&gt;
WARNING: from element /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped.&lt;br /&gt;
Additional debug info:&lt;br /&gt;
/home/marek/workdir/imx6/yocto/fsl-release-bsp-4.1/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.6.0-r0/gstreamer-1.6.0/libs/gst/base/gstbasesink.c(2846): gst_base_sink_is_too_la:&lt;br /&gt;
There may be a timestamping problem, or this computer is too slow.&lt;br /&gt;
^Chandling interrupt.&lt;br /&gt;
Interrupt: Stopping pipeline ...&lt;br /&gt;
Execution ended after 0:00:27.103901670&lt;br /&gt;
Setting pipeline to PAUSED ...&lt;br /&gt;
Setting pipeline to READY ...&lt;br /&gt;
Setting pipeline to NULL ...&lt;br /&gt;
Freeing pipeline ...&lt;br /&gt;
power_down_callback: ipu0/csi1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Alternative test ===&lt;br /&gt;
'''''Input:''''' Connect RPi camera module into CSI interface and capture image&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' The image is displayed on HDMI monitor&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# echo 1 &amp;gt; /sys/bus/i2c/devices/1-0036/ov5647_mode&lt;br /&gt;
root@imx6-openrexultra:~# gst-launch-1.0 v4l2src device=&amp;quot;/dev/video0&amp;quot; ! video/x-bayer,width=1280,height=720,framerate=30/1 ! queue ! bayer2rgb ! videoconvert ! fbdevsink&lt;br /&gt;
Setting pipeline to PAUSED ...&lt;br /&gt;
Pipeline is live and does not need PREROLL ...&lt;br /&gt;
Setting pipeline to PLAYING ...&lt;br /&gt;
New clock: GstSystemClock&lt;br /&gt;
ERROR: v4l2 capture: unsupported ioctrl!&lt;br /&gt;
ERROR: v4l2 capture: unsupported ioctrl!&lt;br /&gt;
WARNING: from element /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped.&lt;br /&gt;
Additional debug info:&lt;br /&gt;
/home/marek/workdir/imx6/yocto/fsl-release-bsp-4.1/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.6.0-r0/gstreamer-1.6.0/libs/gst/base/gstbasesink.c(2846): gst_base_sink_is_too_la:&lt;br /&gt;
There may be a timestamping problem, or this computer is too slow.&lt;br /&gt;
^Chandling interrupt.&lt;br /&gt;
Interrupt: Stopping pipeline ...&lt;br /&gt;
Execution ended after 0:00:06.514209667&lt;br /&gt;
Setting pipeline to PAUSED ...&lt;br /&gt;
Setting pipeline to READY ...&lt;br /&gt;
Setting pipeline to NULL ...&lt;br /&gt;
Freeing pipeline ...&lt;br /&gt;
root@imx6-openrexultra:~# power_down_callback: ipu0/csi1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Software integration and additional commands or settings of CSI camera interface are available on separate [[iMX6 OpenRex Camera|iMX6 OpenRex Camera page]].&lt;br /&gt;
&lt;br /&gt;
== Ethernet ==&lt;br /&gt;
'''''Input:''''' None&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Device driver is available&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Note:''''' MAC address should be identical with the address on the sticker placed on the board&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# ip addr show dev eth0&lt;br /&gt;
4: eth0: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc pfifo_fast state UP group default qlen 1000&lt;br /&gt;
    link/ether 00:0d:15:00:d1:75 brd ff:ff:ff:ff:ff:ff&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''''Input:''''' Plug Ethernet cable into connector and issue DHCP command&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' IPv4 address is assigned&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# dmesg | tail&lt;br /&gt;
...&lt;br /&gt;
fec 2188000.ethernet eth0: Link is Down&lt;br /&gt;
fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# udhcpc -i eth0&lt;br /&gt;
udhcpc (v1.23.2) started&lt;br /&gt;
Sending discover...&lt;br /&gt;
Sending discover...&lt;br /&gt;
Sending select for 192.168.1.39...&lt;br /&gt;
Lease of 192.168.1.39 obtained, lease time 600&lt;br /&gt;
/etc/udhcpc.d/50default: Adding DNS 192.168.1.1&lt;br /&gt;
/etc/udhcpc.d/50default: Adding DNS 192.168.1.2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== HDMI Output ==&lt;br /&gt;
'''''Input:''''' Connect LCD monitor to the SBC&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Desktop UI is displayed correctly&amp;lt;br /&amp;gt;&lt;br /&gt;
[[image:iMX6_TinyRex_Development_Kit-HDMI_terminal.png|580px]]&lt;br /&gt;
&lt;br /&gt;
== I2C ==&lt;br /&gt;
'''''Input:''''' Scan I2C bus 0&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Available devices:&amp;lt;br /&amp;gt;&lt;br /&gt;
* PMIC control (0x08)&lt;br /&gt;
* Compass + Accelerometer FXOS8700 (0x1C)&lt;br /&gt;
* Gyroscope FXAS21002 (0x20)&lt;br /&gt;
* EEPROM (0x50/0x57)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# i2cdetect -y 0&lt;br /&gt;
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f&lt;br /&gt;
00:          -- -- -- -- -- UU -- -- -- -- -- -- -- &lt;br /&gt;
10: -- -- -- -- -- -- -- -- -- -- -- -- UU -- -- -- &lt;br /&gt;
20: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
50: UU UU UU UU UU UU UU UU -- -- -- -- -- -- -- -- &lt;br /&gt;
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
70: -- -- -- -- -- -- -- --    &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''''Input:''''' Scan I2C bus 1&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Available devices:&amp;lt;br /&amp;gt;&lt;br /&gt;
* Audio SGTL5000 (0x0A)&lt;br /&gt;
* CSI Camera (0x36)&lt;br /&gt;
* Humidity sensor SHT21 (0x40)&lt;br /&gt;
* Temperature sensor TMP101 (0x48)&lt;br /&gt;
* HDMI Output EDID (0x50)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# i2cdetect -y 1&lt;br /&gt;
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f&lt;br /&gt;
00:          -- -- -- -- -- -- -- UU -- -- -- -- -- &lt;br /&gt;
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
30: -- -- -- -- -- -- UU -- -- -- -- -- -- -- -- -- &lt;br /&gt;
40: UU -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- &lt;br /&gt;
50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
70: -- -- -- -- -- -- -- --         &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''''Input:''''' Scan I2C bus 2&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' This I2C bus is reserved for external use and accessible via connectors&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# i2cdetect -y 2&lt;br /&gt;
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f&lt;br /&gt;
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
70: -- -- -- -- -- -- -- -- &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''''Input:''''' Trigger I2C EEPROM detection&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' I2C EEPROM is detected&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# echo -n &amp;quot;0-0050&amp;quot; &amp;gt; /sys/bus/i2c/drivers/at24/unbind&lt;br /&gt;
root@imx6-openrexultra:~# echo -n &amp;quot;0-0050&amp;quot; &amp;gt; /sys/bus/i2c/drivers/at24/bind &lt;br /&gt;
at24 0-0050: 2048 byte 24c16 EEPROM, writable, 1 bytes/write&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''''Input:''''' Write and read data from I2C EEPROM&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' If successful, console text 'Data are the same' should appear&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# echo -n &amp;quot;0123&amp;quot; &amp;gt; eeprom_in&lt;br /&gt;
root@imx6-openrexultra:~# cat eeprom_in &amp;gt; /sys/bus/i2c/devices/0-0050/eeprom&lt;br /&gt;
root@imx6-openrexultra:~# head -c 4 /sys/bus/i2c/devices/0-0050/eeprom &amp;gt; eeprom_out&lt;br /&gt;
root@imx6-openrexultra:~# diff eeprom_in eeprom_out &amp;amp;&amp;amp; echo &amp;quot;Data are the same&amp;quot;&lt;br /&gt;
Data are the same&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Altarnative test ===&lt;br /&gt;
'''''Input:''''' List I2C bus 0, 1 and 2&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Available devices are displayed&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# ls /sys/bus/i2c/devices/i2c-0 | grep ^[0]&lt;br /&gt;
0-0008&lt;br /&gt;
0-001c&lt;br /&gt;
0-0020&lt;br /&gt;
0-0050&lt;br /&gt;
0-0051&lt;br /&gt;
0-0052&lt;br /&gt;
0-0053&lt;br /&gt;
0-0054&lt;br /&gt;
0-0055&lt;br /&gt;
0-0056&lt;br /&gt;
0-0057&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sensors ==&lt;br /&gt;
'''''Input:''''' Test Compass, Accelerometer (FXOS8700) and Gyroscope (FXAS21002) sensors&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Sensors are registered by the Linux kernel&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# echo 1 &amp;gt; /sys/devices/virtual/misc/FreescaleAccelerometer/enable&lt;br /&gt;
root@imx6-openrexultra:~# echo 1 &amp;gt; /sys/devices/virtual/misc/FreescaleMagnetometer/enable&lt;br /&gt;
root@imx6-openrexultra:~# echo 1 &amp;gt; /sys/devices/virtual/misc/FreescaleGyroscope/enable&lt;br /&gt;
misc FreescaleGyroscope: mma enable setting active &lt;br /&gt;
root@imx6-openrexultra:~# evtest&lt;br /&gt;
No device specified, trying to scan all of /dev/input/event*&lt;br /&gt;
Available devices:&lt;br /&gt;
/dev/input/event0:      gpio_ir_recv&lt;br /&gt;
/dev/input/event1:      MCE IR Keyboard/Mouse (gpio-rc-recv)&lt;br /&gt;
/dev/input/event2:      gpio-keys&lt;br /&gt;
/dev/input/event3:      fxos8700&lt;br /&gt;
/dev/input/event4:      fxas2100x&lt;br /&gt;
Select the device event number [0-4]: 3&lt;br /&gt;
...&lt;br /&gt;
root@imx6-openrexultra:~# evtest&lt;br /&gt;
No device specified, trying to scan all of /dev/input/event*&lt;br /&gt;
Available devices:&lt;br /&gt;
/dev/input/event0:      gpio_ir_recv&lt;br /&gt;
/dev/input/event1:      MCE IR Keyboard/Mouse (gpio-rc-recv)&lt;br /&gt;
/dev/input/event2:      gpio-keys&lt;br /&gt;
/dev/input/event3:      fxos8700&lt;br /&gt;
/dev/input/event4:      fxas2100x&lt;br /&gt;
Select the device event number [0-4]: 4&lt;br /&gt;
...&lt;br /&gt;
root@imx6-openrexultra:~# echo 0 &amp;gt; /sys/devices/virtual/misc/FreescaleAccelerometer/enable&lt;br /&gt;
root@imx6-openrexultra:~# echo 0 &amp;gt; /sys/devices/virtual/misc/FreescaleMagnetometer/enable&lt;br /&gt;
root@imx6-openrexultra:~# echo 0 &amp;gt; /sys/devices/virtual/misc/FreescaleGyroscope/enable&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''''Input:''''' Test SHT21 humidity sensor&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Sensor provides actual humidity and temperature values&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# cat /sys/devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0040/hwmon/hwmon*/humidity1_input&lt;br /&gt;
20741&lt;br /&gt;
root@imx6-openrexultra:~# cat /sys/devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0040/hwmon/hwmon*/temp1_input&lt;br /&gt;
30853&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''''Input:''''' Test TMP101 temperature sensor&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Sensor provides current temperature readout&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# cat /sys/devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0048/hwmon/hwmon*/temp1_input &lt;br /&gt;
32125&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Infrared receiver ==&lt;br /&gt;
'''''Input:''''' Press Infrared remote keys. (For Samsung Infrared remote load &amp;quot;nec&amp;quot; protocol)&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Events are detected&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# echo nec &amp;gt; /sys/devices/soc0/ir-receiver/rc/rc0/protocols&lt;br /&gt;
root@imx6-openrexultra:~# evtest /dev/input/by-path/platform-ir-receiver-event&lt;br /&gt;
Input driver version is 1.0.1&lt;br /&gt;
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100&lt;br /&gt;
Input device name: &amp;quot;gpio_ir_recv&amp;quot;&lt;br /&gt;
Supported events:&lt;br /&gt;
  Event type 0 (EV_SYN)&lt;br /&gt;
  Event type 1 (EV_KEY)&lt;br /&gt;
    Event code 152 (KEY_SCREENLOCK)&lt;br /&gt;
  Event type 4 (EV_MSC)&lt;br /&gt;
    Event code 4 (MSC_SCAN)&lt;br /&gt;
Key repeat handling:&lt;br /&gt;
  Repeat type 20 (EV_REP)&lt;br /&gt;
    Repeat code 0 (REP_DELAY)&lt;br /&gt;
      Value    500&lt;br /&gt;
    Repeat code 1 (REP_PERIOD)&lt;br /&gt;
      Value    125&lt;br /&gt;
Properties:&lt;br /&gt;
Testing ... (interrupt to exit)&lt;br /&gt;
Event: time 1474009071.488894, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70707&lt;br /&gt;
Event: time 1474009071.488894, -------------- SYN_REPORT ------------&lt;br /&gt;
Event: time 1474009072.178245, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7070b&lt;br /&gt;
Event: time 1474009072.178245, -------------- SYN_REPORT ------------&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== User LED ==&lt;br /&gt;
'''''Input:''''' None&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Script switches User LED ON and OFF in one second intervals&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~#&lt;br /&gt;
for LED in /sys/devices/soc0/leds*/leds/*&lt;br /&gt;
do&lt;br /&gt;
	echo Testing ${LED}&lt;br /&gt;
	echo -n &amp;quot;1&amp;quot; &amp;gt; ${LED}/brightness&lt;br /&gt;
	sleep 1&lt;br /&gt;
	echo -n &amp;quot;0&amp;quot; &amp;gt; ${LED}/brightness&lt;br /&gt;
	sleep 1&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''''Input:''''' None&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' User LED is set to heartbeat blinking sequence&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# echo -n &amp;quot;heartbeat&amp;quot; &amp;gt;  /sys/devices/soc0/leds*/leds/module-led/trigger&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== SD Activity LED ==&lt;br /&gt;
'''''Input:''''' None&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' SD activity LED is set to show the status of SD card interface&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# echo -n &amp;quot;mmc1&amp;quot; &amp;gt; /sys/devices/soc0/leds*/leds/sd-activity-led/trigger&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Microcontroller LPC1347 ==&lt;br /&gt;
'''''Input:''''' LPC1347 firmware&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' MCU program is executed and LED starts blinking&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# openrex-isp-handler.sh lpc/LPC1347-userLED.bin&lt;br /&gt;
ISP low&lt;br /&gt;
RST low&lt;br /&gt;
RST high&lt;br /&gt;
lpc21isp version 1.97&lt;br /&gt;
File lpc/LPC1347-userLED.bin:&lt;br /&gt;
        loaded...&lt;br /&gt;
        image size : 1068&lt;br /&gt;
Image size : 1068&lt;br /&gt;
Synchronizing (ESC to abort). OK&lt;br /&gt;
Read bootcode version: 2&lt;br /&gt;
5&lt;br /&gt;
Read part ID: LPC1345, 32 kiB FLASH / 8 kiB SRAM (0x28010541)&lt;br /&gt;
Will start programming at Sector 1 if possible, and conclude with Sector 0 to ensure that checksum is written last.&lt;br /&gt;
Erasing sector 0 first, to invalidate checksum. OK &lt;br /&gt;
Sector 0: ..........................&lt;br /&gt;
Download Finished... taking 0 seconds&lt;br /&gt;
Now launching the brand new code&lt;br /&gt;
RST low&lt;br /&gt;
ISP high&lt;br /&gt;
RST high&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== DDR memory ==&lt;br /&gt;
'''''Input:''''' None&amp;lt;br /&amp;gt;&lt;br /&gt;
'''''Output:''''' Memory test passes without any errors&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
root@imx6-openrexultra:~# memtester 2G 1&lt;br /&gt;
memtester version 4.1.3 (32-bit)&lt;br /&gt;
Copyright (C) 2010 Charles Cazabon.&lt;br /&gt;
Licensed under the GNU General Public License version 2 (only).&lt;br /&gt;
&lt;br /&gt;
pagesize is 4096&lt;br /&gt;
pagesizemask is 0xfffff000&lt;br /&gt;
want 2048MB (2147483648 bytes)&lt;br /&gt;
got  251MB (263602176 bytes), trying mlock ...locked.&lt;br /&gt;
Loop 1/1:&lt;br /&gt;
  Stuck Address       : ok         &lt;br /&gt;
  Random Value        : ok&lt;br /&gt;
  Compare XOR         : ok&lt;br /&gt;
  Compare SUB         : ok&lt;br /&gt;
  Compare MUL         : ok&lt;br /&gt;
  Compare DIV         : ok&lt;br /&gt;
  Compare OR&lt;/div&gt;</summary>
		<author><name>Voipac</name></author>
	</entry>
</feed>