Yocto Linux User Guide REV

Yocto Linux User Guide REV

Yocto Linux User Guide REV. April 2018 Zebra (VL-EPC-2701) Arm* i.MX6 Single Board Computer with Gigabit Ethernet, Video, USB, SATA, Serial I/O, Digital I/O, CAN Bus, SPI and I2C WWW.VERSALOGIC.COM 12100 SW Tualatin Road Tualatin, OR 97062-7341 (503) 747-2261 Fax (971) 224-4708 Copyright © 2018 VersaLogic Corp. All rights reserved. Notice: Although every effort has been made to ensure this document is error-free, VersaLogic makes no representations or warranties with respect to this product and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose. VersaLogic reserves the right to revise this product and associated documentation at any time without obligation to notify anyone of such changes. * Other names and brands may be claimed as the property of others. ii Zebra (VL-EPC-2701) Yocto Linux User Guide Product Release Notes Rev 1.0 Initial release for the Rev 1.0 board Support Page The Zebra Support Page contains additional information and resources for this product including: . Operating system information and software drivers . Data sheets and manufacturers’ links for chips used in this product . U-Boot information and upgrades VersaTech KnowledgeBase The VersaTech KnowledgeBase contains useful technical information about VersaLogic products, along with product advisories. Customer Support If you are unable to solve a problem after reading this manual, visiting the product support page, or searching the KnowledgeBase, contact VersaLogic Technical Support at (503) 747-2261. VersaLogic support engineers are also available via e-mail at [email protected]. Repair Service If your product requires service, you must obtain a Returned Material Authorization (RMA) number by calling 503-747-2261. Be ready to provide the following information: . Your name, the name of your company, your phone number, and e-mail address . The name of a technician or engineer that can be contacted if any questions arise . The quantity of items being returned . The model and serial number (barcode) of each item . A detailed description of the problem . Steps you have taken to resolve or recreate the problem . The return shipping address Warranty Repair: All parts and labor charges are covered, including return shipping charges for UPS Ground delivery to United States addresses. Non-warranty Repair: All approved non-warranty repairs are subject to diagnosis and labor charges, parts charges and return shipping fees. Specify the shipping method you prefer and provide a purchase order number for invoicing the repair. Note: Mark the RMA number clearly on the outside of the box before returning. Zebra (VL-EPC-2701) Yocto Linux User Guide iii Contents Introduction ...................................................................................................................6 Quick Start .....................................................................................................................7 Setting up Zebra for the First Time .................................................................................... 7 Booting up Zebra for the First Time ................................................................................... 8 Basic Zebra Features and Commands ....................................................................... 10 USB Support ..................................................................................................................... 10 Video Support ................................................................................................................... 10 MikroBUS Compatible Socket ......................................................................................... 10 Storage Support ................................................................................................................ 10 Multimedia Support .......................................................................................................... 10 Multimedia Playback ........................................................................................... 10 Audio Recording ............................................................................................................... 11 Setting up the Development Host .............................................................................. 13 Host Packages ................................................................................................................... 13 Setting up the Repo Utility ............................................................................................... 14 Yocto Project Setup .................................................................................................... 15 Building the Zebra Image ............................................................................................ 17 Setting up the Build Configurations ................................................................................. 17 Patching the Build Configuration ..................................................................................... 18 Creating the Target Image ................................................................................................ 19 Deploying the Image to Zebra .................................................................................... 20 Deploying the MicroSD Card ........................................................................................... 20 Booting from the Network ................................................................................................ 20 Configuring the Host PC ..................................................................................... 20 Configuring U-Boot Environmental Variables .................................................... 21 Deploying to eMMC ............................................................................................ 23 Creating a Simple Application .................................................................................... 25 Standalone Application ..................................................................................................... 25 Adding the Application to the Image ................................................................................ 26 Customizing the Image ............................................................................................... 29 Adding or Removing Packages ......................................................................................... 29 Modifying Linux Kernel Configuration ........................................................................... 30 Updating U-Boot ............................................................................................................... 32 iv Zebra (VL-EPC-2701) Yocto Linux User Guide Advanced Features and Commands .......................................................................... 35 Sensors .............................................................................................................................. 35 CAN Network ................................................................................................................... 37 I2C Commands .................................................................................................................. 38 GPIO ................................................................................................................................. 39 References ...................................................................................................................40 Figures Figure 1. Major Components and Connectors ................................................................................................. 7 Figure 2. Booting the System .......................................................................................................................... 8 Figure 3. Login ................................................................................................................................................ 9 Figure 3. X11 Desktop .................................................................................................................................... 9 Figure 5. Opening a Terminal ........................................................................................................................ 11 Figure 6. Alsamixer ....................................................................................................................................... 11 Figure 7. Stopping Auto Boot ....................................................................................................................... 21 Figure 8. Printenv .......................................................................................................................................... 22 Figure 9. Netboot ........................................................................................................................................... 23 Figure 10. Firefox Icon .................................................................................................................................. 29 Figure 11. Kernel Configuration GUI ........................................................................................................... 30 Figure 12. Device Drivers ............................................................................................................................. 31 Figure 13. Sony MemoryStick ......................................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    41 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us