Adding Displays to Imx Developers Kits

Adding Displays to Imx Developers Kits

Adding Displays to iMX Developer's Kits Copyright 2019 © Embedded Artists AB Adding Displays to iMX Developer’s Kits Adding Displays to iMX Developer’s Kits Page 2 Embedded Artists AB Jörgen Ankersgatan 12 SE-211 45 Malmö Sweden http://www.EmbeddedArtists.com Copyright 2019 © Embedded Artists AB. All rights reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual or otherwise, without the prior written permission of Embedded Artists AB. Disclaimer Embedded Artists AB makes no representation or warranties with respect to the contents hereof and specifically disclaim any implied warranties or merchantability or fitness for any particular purpose. Information in this publication is subject to change without notice and does not represent a commitment on the part of Embedded Artists AB. Feedback We appreciate any feedback you may have for improvements on this document. Send your comments by using the contact form: www.embeddedartists.com/contact. Trademarks All brand and product names mentioned herein are trademarks, services marks, registered trademarks, or registered service marks of their respective owners and should be treated as such. Copyright 2019 © Embedded Artists AB Rev B Adding Displays to iMX Developer’s Kits Page 3 Table of Contents 1 Document Revision History ................................. 5 2 Introduction ........................................................... 6 2.1 Conventions .................................................................................... 7 3 Display Interfaces ................................................. 8 3.1 Interface Conversion .................................................................... 10 3.2 Touch Panel Interface .................................................................. 12 3.3 COM Carrier Board V2 ................................................................. 13 3.4 COM Carrier Board ....................................................................... 15 3.5 COM Display Adapter - for Parallel RGB Interface .................... 17 4 Step by Step Guide ............................................. 20 4.1 Hardware ....................................................................................... 20 4.2 Software – u-boot and Linux Configuration ............................... 21 4.3 Example of Run-time and Compile-time Configuration ............ 22 4.3.1 Run-time Configuration ............................................................... 22 4.3.2 Compile-time Configuration ......................................................... 22 5 Run-time Configuration: Display ....................... 24 5.1 Background .................................................................................. 24 5.2 How does it work? ........................................................................ 24 5.3 Examples on iMX6 SoloX COM Board ........................................ 24 5.4 Examples on iMX6 UltraLite COM Board .................................... 27 5.5 Examples on iMX6 Quad COM Board ......................................... 27 5.6 Examples on iMX7 Dual uCOM/COM Board ............................... 27 5.7 iMX7ULP uCOM, iMX8M Mini uCOM and iMX8M COM .............. 27 5.8 Limitations .................................................................................... 28 5.9 How do I add my own display to the predefined display list? .. 28 5.10 Bootscript ................................................................................... 28 6 Compile-time Configuration: Display ................ 30 6.1 U-boot ............................................................................................ 30 6.1.1 Disable Run-time Configuration Mode ......................................... 30 6.1.2 iMX6 UltraLite COM Board .......................................................... 30 6.1.3 iMX6 SoloX COM Board .............................................................. 31 6.1.4 iMX6 Quad COM Board .............................................................. 32 6.1.5 iMX7 Dual uCOM/COM Board ..................................................... 33 6.1.6 iMX7ULP uCOM Board ............................................................... 34 6.1.7 iMX8M Mini uCOM Board ............................................................ 34 6.1.8 iMX8M COM Board ..................................................................... 34 6.2 Linux Kernel .................................................................................. 34 6.2.1 iMX6 UltraLite COM Board .......................................................... 35 Copyright 2019 © Embedded Artists AB Rev B Adding Displays to iMX Developer’s Kits Page 4 6.2.2 iMX6 SoloX COM Board .............................................................. 35 6.2.2.1 Parallel RGB Interface..............................................................................35 6.2.2.2 LVDS Interface .........................................................................................36 6.2.3 iMX6 Quad COM Board .............................................................. 37 6.2.3.1 Parallel RGB Interface..............................................................................37 6.2.3.2 LVDS Interface .........................................................................................38 6.2.3.3 HDMI Interface .........................................................................................39 6.2.4 iMX7 Dual uCOM / COM Board ................................................... 40 6.2.5 iMX7ULP uCOM Board ............................................................... 40 6.2.6 iMX8M Mini uCOM Board ............................................................ 40 6.2.7 iMX8M COM Board ..................................................................... 40 7 Run-time Configuration: Touch Controller ....... 41 7.1 New Run-time Command in u-boot: eatouch ............................. 41 7.2 Background .................................................................................. 41 7.3 How does it work? ........................................................................ 41 7.4 Examples....................................................................................... 42 7.5 Limitations .................................................................................... 43 7.6 How do I add my own touch controller to the predefined list? 43 8 Compile-time Configuration: Touch Controller 44 8.1 U-boot ............................................................................................ 44 8.1.1 Disable Run-time Configuration Mode ......................................... 44 8.2 Linux Kernel .................................................................................. 44 8.2.1 Adding a New Driver ................................................................... 44 8.2.2 Using an Existing Driver .............................................................. 45 Copyright 2019 © Embedded Artists AB Rev B Adding Displays to iMX Developer’s Kits Page 5 1 Document Revision History Revision Date Description A 2016-05-30 Initial release B 2019-10-11 Updated with information about COM Carrier board V2 as well as the new COM boards iMX7ULP uCOM, iMX8M COM, and iMX8M Mini uCOM. Copyright 2019 © Embedded Artists AB Rev B Adding Displays to iMX Developer’s Kits Page 6 2 Introduction This document describes the process of adding a display to an iMX Developer's Kit. The different display interfaces and how to connect to them will be presented. Available commands in the bootloader and Linux kernel will also be presented. There are many different iMX Developer's Kits, for different COM boards, and this document refers to all of these kits collectively as iMX Developer's Kits. The focus of the document is how to connect a display via the iMX Developer's Kit, which is based on the COM Carrier board design. The process of adding a display to a custom designed carrier board is the same, but details of allocated pins can differ slightly. As illustrated in the picture below, both situations are addressed in this document. iMX Developer's Kit Custom specific design design with EACOM board Customer specific carrier board Figure 1 –Applicable Hardware Structures In the proof-of-concept and prototype stage of a project, the hardware available is typically based on the iMX Developer's Kit. The final solution can be based on a customer specific carrier board, where the COM Carrier board design has been used as reference. In both cases, this document applies. Additional documentation you might need is. • The Getting Started document for the iMX Developer's Kit you are using. • COM Carrier Board Datasheet • EACOM Board Specification Copyright 2019 © Embedded Artists AB Rev B Adding Displays to iMX Developer’s Kits Page 7 2.1 Conventions A number of conventions have been used throughout to help the reader better understand the content of the document. Constant width text – is used for file system paths and command, utility and tool names. $ This field illustrates user input in a terminal running on the development workstation, i.e., on the workstation where you edit, configure and build Linux # This field illustrates user input on the target hardware, i.e., input given to the terminal attached to the COM Board This field is used to illustrate example code or excerpt from a document. This field is used to highlight important

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    45 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