Personal tools

Difference between revisions of "1-1-1-1-1-1-1"

From ICOP tech wiki

Jump to: navigation, search
(Created page with " <div id="column-content"> <div id="content"> <a id="top"></a> <h1 id="firstHeading" class="firstHeading">Yocto Start Here</h1> <div id="bodyContent">...")
 
Line 1: Line 1:
 
<div id="column-content">
 
<div id="column-content">
 
<div id="content">
 
<div id="content">
<a id="top"></a>
+
<br />
 
<h1 id="firstHeading" class="firstHeading">Yocto Start Here</h1>
 
<h1 id="firstHeading" class="firstHeading">Yocto Start Here</h1>
 
<div id="bodyContent">
 
<div id="bodyContent">
Line 7: Line 7:
 
<div id="contentSub"></div>
 
<div id="contentSub"></div>
 
<div id="jump-to-nav">Jump to: <a href="#column-one">navigation</a>, <a href="#searchInput">search</a></div> <!-- start content -->
 
<div id="jump-to-nav">Jump to: <a href="#column-one">navigation</a>, <a href="#searchInput">search</a></div> <!-- start content -->
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><p><br />                                                                                         
+
<div lang="en" dir="ltr" class="mw-content-ltr"><p><br />                                                                                         
 
<span style="font-size:16pt;">DART-MX8M-MINI-First Time? Start Here.</span>
 
<span style="font-size:16pt;">DART-MX8M-MINI-First Time? Start Here.</span>
 
</p>
 
</p>
Line 80: Line 80:
 
</p>
 
</p>
 
<ul>
 
<ul>
<li> <span class="plainlinks"><a rel="nofollow" class="external text" href="http://variwiki.com/index.php?title=Yocto_Recovery_SD_card&amp;release=RELEASE_SUMO_V2.2_DART-MX8M-MINI">Using the recovery SD card</a></span>
+
<li> <span class="plainlinks"><a rel="nofollow" class="external text" href="http://variwiki.com/index.php?title=Yocto_Recovery_SD_card&amp;amp;release=RELEASE_SUMO_V2.2_DART-MX8M-MINI">Using the recovery SD card</a></span>
 
</li>
 
</li>
 
</ul>
 
</ul>
Line 87: Line 87:
 
</p>
 
</p>
 
<ul>
 
<ul>
<li> <span class="plainlinks"><a rel="nofollow" class="external text" href="http://variwiki.com/index.php?title=Yocto_Build_Release&amp;release=RELEASE_SUMO_V2.2_DART-MX8M-MINI">Build a complete Yocto image</a></span>
+
<li> <span class="plainlinks"><a rel="nofollow" class="external text" href="http://variwiki.com/index.php?title=Yocto_Build_Release&amp;amp;release=RELEASE_SUMO_V2.2_DART-MX8M-MINI">Build a complete Yocto image</a></span>
 
<ul>
 
<ul>
 
<li> <a href="/index.php?title=Yocto_Common_Errors" title="Yocto Common Errors">Yocto common build errors</a>
 
<li> <a href="/index.php?title=Yocto_Common_Errors" title="Yocto Common Errors">Yocto common build errors</a>
Line 100: Line 100:
 
<li> Start your application programming:
 
<li> Start your application programming:
 
<ul>
 
<ul>
<li> <span class="plainlinks"><a rel="nofollow" class="external text" href="http://variwiki.com/index.php?title=Yocto_Hello_World&amp;release=RELEASE_SUMO_V2.2_DART-MX8M-MINI">Hello World 'C' application</a></span>
+
<li> <span class="plainlinks"><a rel="nofollow" class="external text" href="http://variwiki.com/index.php?title=Yocto_Hello_World&amp;amp;release=RELEASE_SUMO_V2.2_DART-MX8M-MINI">Hello World 'C' application</a></span>
 
</li>
 
</li>
<li> <span class="plainlinks"><a rel="nofollow" class="external text" href="http://variwiki.com/index.php?title=Yocto_QT_Hello_World&amp;release=RELEASE_SUMO_V2.2_DART-MX8M-MINI">Building A Qt Hello World</a></span>
+
<li> <span class="plainlinks"><a rel="nofollow" class="external text" href="http://variwiki.com/index.php?title=Yocto_QT_Hello_World&amp;amp;release=RELEASE_SUMO_V2.2_DART-MX8M-MINI">Building A Qt Hello World</a></span>
 
</li>
 
</li>
<li> <span class="plainlinks"><a rel="nofollow" class="external text" href="http://variwiki.com/index.php?title=Yocto_Programming_with_Eclipse&amp;release=RELEASE_SUMO_V2.2_DART-MX8M-MINI">Debugging with Eclipse</a></span>
+
<li> <span class="plainlinks"><a rel="nofollow" class="external text" href="http://variwiki.com/index.php?title=Yocto_Programming_with_Eclipse&amp;amp;release=RELEASE_SUMO_V2.2_DART-MX8M-MINI">Debugging with Eclipse</a></span>
 
</li>
 
</li>
<li> <span class="plainlinks"><a rel="nofollow" class="external text" href="http://variwiki.com/index.php?title=Yocto_Setup_TFTP/NFS&amp;release=RELEASE_SUMO_V2.2_DART-MX8M-MINI">TFTP &amp; NFS</a></span>
+
<li> <span class="plainlinks"><a rel="nofollow" class="external text" href="http://variwiki.com/index.php?title=Yocto_Setup_TFTP/NFS&amp;amp;release=RELEASE_SUMO_V2.2_DART-MX8M-MINI">TFTP &amp; NFS</a></span>
 
</li>
 
</li>
 
</ul>
 
</ul>
Line 116: Line 116:
 
<li> Test various interfaces:
 
<li> Test various interfaces:
 
<ul>
 
<ul>
<li> <a href="/index.php?title=DART-MX8M-MINI_GPIO&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI GPIO (page does not exist)">GPIO</a>
+
<li> <a href="/index.php?title=DART-MX8M-MINI_GPIO&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="DART-MX8M-MINI GPIO (page does not exist)">GPIO</a>
 
</li>
 
</li>
<li> <a href="/index.php?title=DART-MX8M-MINI_Ethernet&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI Ethernet (page does not exist)">Ethernet</a>
+
<li> <a href="/index.php?title=DART-MX8M-MINI_Ethernet&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="DART-MX8M-MINI Ethernet (page does not exist)">Ethernet</a>
 
</li>
 
</li>
<li> <a href="/index.php?title=DART-MX8M-MINI_Audio_record_play&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI Audio record play (page does not exist)">Audio record/play</a>
+
<li> <a href="/index.php?title=DART-MX8M-MINI_Audio_record_play&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="DART-MX8M-MINI Audio record play (page does not exist)">Audio record/play</a>
 
</li>
 
</li>
 
<li> <a href="/index.php?title=IMX_CAN_bus" title="IMX CAN bus">CAN bus</a>
 
<li> <a href="/index.php?title=IMX_CAN_bus" title="IMX CAN bus">CAN bus</a>
 
</li>
 
</li>
<li> <a href="/index.php?title=DART-MX8M-MINI_USB_Host&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI USB Host (page does not exist)">USB Host</a>
+
<li> <a href="/index.php?title=DART-MX8M-MINI_USB_Host&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="DART-MX8M-MINI USB Host (page does not exist)">USB Host</a>
 
</li>
 
</li>
<li> <a href="/index.php?title=DART-MX8M-MINI_eMMC&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI eMMC (page does not exist)">eMMC</a>
+
<li> <a href="/index.php?title=DART-MX8M-MINI_eMMC&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="DART-MX8M-MINI eMMC (page does not exist)">eMMC</a>
 
</li>
 
</li>
<li> <a href="/index.php?title=DART-MX8M-MINI_RTC&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI RTC (page does not exist)">RTC</a>
+
<li> <a href="/index.php?title=DART-MX8M-MINI_RTC&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="DART-MX8M-MINI RTC (page does not exist)">RTC</a>
 
</li>
 
</li>
<li> <a href="/index.php?title=DART-MX8M-MINI_LVDS&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI LVDS (page does not exist)">LVDS</a>
+
<li> <a href="/index.php?title=DART-MX8M-MINI_LVDS&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="DART-MX8M-MINI LVDS (page does not exist)">LVDS</a>
 
</li>
 
</li>
<li> <a href="/index.php?title=DART-MX8M-MINI_I2C&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI I2C (page does not exist)">I2C</a>
+
<li> <a href="/index.php?title=DART-MX8M-MINI_I2C&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="DART-MX8M-MINI I2C (page does not exist)">I2C</a>
 
</li>
 
</li>
<li> <a href="/index.php?title=DART-MX8M-MINI_Wireless_LAN&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI Wireless LAN (page does not exist)">Wireless LAN</a>
+
<li> <a href="/index.php?title=DART-MX8M-MINI_Wireless_LAN&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="DART-MX8M-MINI Wireless LAN (page does not exist)">Wireless LAN</a>
 
</li>
 
</li>
<li> <a href="/index.php?title=DART-MX8M-MINI_Bluetooth&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI Bluetooth (page does not exist)">Bluetooth</a>
+
<li> <a href="/index.php?title=DART-MX8M-MINI_Bluetooth&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="DART-MX8M-MINI Bluetooth (page does not exist)">Bluetooth</a>
 
</li>
 
</li>
<li> <a href="/index.php?title=DART-MX8M-MINI_Backlight&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI Backlight (page does not exist)">Backlight</a>
+
<li> <a href="/index.php?title=DART-MX8M-MINI_Backlight&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="DART-MX8M-MINI Backlight (page does not exist)">Backlight</a>
 
</li>
 
</li>
<li> <a href="/index.php?title=DART-MX8M-MINI_USB_OTG_host&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI USB OTG host (page does not exist)">USB OTG as host</a>
+
<li> <a href="/index.php?title=DART-MX8M-MINI_USB_OTG_host&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="DART-MX8M-MINI USB OTG host (page does not exist)">USB OTG as host</a>
 
</li>
 
</li>
<li> <a href="/index.php?title=DART-MX8M-MINI_USB_OTG_as_device&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI USB OTG as device (page does not exist)">USB OTG as device</a>
+
<li> <a href="/index.php?title=DART-MX8M-MINI_USB_OTG_as_device&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="DART-MX8M-MINI USB OTG as device (page does not exist)">USB OTG as device</a>
 
</li>
 
</li>
<li> <a href="/index.php?title=DART-MX8M-MINI_SPI&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI SPI (page does not exist)">SPI</a>
+
<li> <a href="/index.php?title=DART-MX8M-MINI_SPI&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="DART-MX8M-MINI SPI (page does not exist)">SPI</a>
 
</li>
 
</li>
<li> <a href="/index.php?title=DART-MX8M-MINI_UART&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI UART (page does not exist)">External UART</a>
+
<li> <a href="/index.php?title=DART-MX8M-MINI_UART&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="DART-MX8M-MINI UART (page does not exist)">External UART</a>
 
</li>
 
</li>
 
</ul>
 
</ul>

Revision as of 16:54, 6 March 2020


Yocto Start Here

From Variscite Wiki

Jump to: <a href="#column-one">navigation</a>, <a href="#searchInput">search</a>


DART-MX8M-MINI-First Time? Start Here.


Contents

  • <a href="#Step_One:_Read_Documentations">1 Step One: Read Documentations</a>
  • <a href="#Step_Two:_Setup_Linux_host_PC_Development_Environment">2 Step Two: Setup Linux host PC Development Environment</a>
  • <a href="#Step_Three:_Evaluation_Kit_Power_Up">3 Step Three: Evaluation Kit Power Up</a>
  • <a href="#Step_Four:_A_quick_test_with_recovery_SD_card">4 Step Four: A quick test with recovery SD card</a>
  • <a href="#Step_Five:_What_next.3F">5 Step Five: What next?</a>

<a href="/index.php?title=File:Yocto.png" class="image"><img alt="Yocto.png" src="/images/thumb/3/33/Yocto.png/300px-Yocto.png" width="300" height="300" srcset="/images/thumb/3/33/Yocto.png/450px-Yocto.png 1.5x, /images/3/33/Yocto.png 2x" /></a>

1 Step One: Read Documentations

Please download and read the development kit documentation on Variscite website

NOTE:
Make sure you read the Quick Start Guide.

2 Step Two: Setup Linux host PC Development Environment

Set up your development environment.

  • <a href="/index.php?title=Yocto_Development_Environment" title="Yocto Development Environment">Setting a Development Environment</a>

3 Step Three: Evaluation Kit Power Up

You should have the serial cable connected to the debug port, as describe in the quick start guide.
Under Ubuntu (or other Linux based OS) minicom or picocom are recommended.
Under Windows PuTTY or Tera Term are recommended.
For example, to use picocom under Ubuntu:
Open a terminal a run:

$ dmesg
One of the last lines should be something like: "FTDI USB Serial Device converter now attached to ttyUSBX" (the X should be a number)
$ sudo apt-get install picocom
$ sudo picocom -b 115200 /dev/ttyUSBX (replace the X with the number from the dmesg output).
 
(If you want to exit picocom press Ctrl+A+X)

And to use PuTTY under Windows:

Click the "Windows key"+"R" to open the "Run" window, type "devmgmt.msc" and hit "Enter" to open the Device Manager.

In Device Manager, expend the "Ports (COM & LTP)" entry.
You should have a "USB Serial Port (COMXX)" entry there after you connect the Debug cable (the XX should be a number).

Run PuTTY as an administrator.

In the Putty "Session" screen:
Choose "Serial" under "Connection type".
in the "Serial line" field, put in COMXX (replace the XX with the number seen in your Device Manager).
Under "Speed" put in "115200".

In the "Connection" -> "Serial" screen:
Make sure the "Data bits" are set to "8", "Stop bits" to "1", "Parity" to "None" and "Flow control" to "None".

Click on "Open".

Note:
If you are using a virtual machine, make sure the USB device is used by the correct OS.

Power up the board.
When board boots, make sure you see the U-Boot and kernel prints on your host PC terminal. You will need to type-in commands in the command prompt late in the development stages.
The Linux login is root (no password).

IMPORTANT:
Don't continue without the serial console operating.

4 Step Four: A quick test with recovery SD card

Please follow the below guide to boot the evaluation kit with a bootable SD card, and burn a complete Yocto image into the SOM's internal storage (NAND flash/eMMC)

5 Step Five: What next?

For your next steps you can either use the pre-built recovery SD card or you can build a complete Yocto image yourself:

This guide will help you build a complete Yocto build, resulting in all required binaries to create a full bootable Yocto SD card, and all required binaries to burn to the SOM's internal storage (NAND flash or eMMC).


  • Test various interfaces:
    • <a href="/index.php?title=DART-MX8M-MINI_GPIO&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI GPIO (page does not exist)">GPIO</a>
    • <a href="/index.php?title=DART-MX8M-MINI_Ethernet&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI Ethernet (page does not exist)">Ethernet</a>
    • <a href="/index.php?title=DART-MX8M-MINI_Audio_record_play&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI Audio record play (page does not exist)">Audio record/play</a>
    • <a href="/index.php?title=IMX_CAN_bus" title="IMX CAN bus">CAN bus</a>
    • <a href="/index.php?title=DART-MX8M-MINI_USB_Host&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI USB Host (page does not exist)">USB Host</a>
    • <a href="/index.php?title=DART-MX8M-MINI_eMMC&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI eMMC (page does not exist)">eMMC</a>
    • <a href="/index.php?title=DART-MX8M-MINI_RTC&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI RTC (page does not exist)">RTC</a>
    • <a href="/index.php?title=DART-MX8M-MINI_LVDS&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI LVDS (page does not exist)">LVDS</a>
    • <a href="/index.php?title=DART-MX8M-MINI_I2C&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI I2C (page does not exist)">I2C</a>
    • <a href="/index.php?title=DART-MX8M-MINI_Wireless_LAN&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI Wireless LAN (page does not exist)">Wireless LAN</a>
    • <a href="/index.php?title=DART-MX8M-MINI_Bluetooth&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI Bluetooth (page does not exist)">Bluetooth</a>
    • <a href="/index.php?title=DART-MX8M-MINI_Backlight&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI Backlight (page does not exist)">Backlight</a>
    • <a href="/index.php?title=DART-MX8M-MINI_USB_OTG_host&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI USB OTG host (page does not exist)">USB OTG as host</a>
    • <a href="/index.php?title=DART-MX8M-MINI_USB_OTG_as_device&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI USB OTG as device (page does not exist)">USB OTG as device</a>
    • <a href="/index.php?title=DART-MX8M-MINI_SPI&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI SPI (page does not exist)">SPI</a>
    • <a href="/index.php?title=DART-MX8M-MINI_UART&amp;action=edit&amp;redlink=1" class="new" title="DART-MX8M-MINI UART (page does not exist)">External UART</a>