VAB-800 Linux BSP 1.4
Total Page:16
File Type:pdf, Size:1020Kb
DEVELOPMENT GUIDE VAB-800 Linux BSP 1.4 1.4-09222014-165700 Copyright Copyright © 2014-VIA Technologies Incorporated. All rights reserved. No part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual or otherwise without the prior written permission of VIA Technologies, Incorporated. Trademarks All brands, product names, company names, trademarks and service marks are the property of their respective holders. Disclaimer VIA Technologies makes no warranties, implied or otherwise, in regard to this document and to the products described in this document. The information provided in this document is believed to be accurate and reliable as of the publication date of this document. However, VIA Technologies assumes no responsibility for the use or misuse of the information in this document and for any patent infringements that may arise from the use of this document. The information and product specifications within this document are subject to change at any time, without notice and without obligation to notify any person of such change. VIA Technologies, Inc. reserves the right the make changes to the products described in this manual at any time without prior notice. VABVAB----8080808000 Linux BSP V1.V1.4444 Development Guide Revision History Version DateDateDate Remarks 1.0 12/24/2012 Initial external release 1.1 4/2/2013 Added the eMMC evaluation kit process in Appendix A Modified Micro SD/eMMC partition method in Chapter 4 1.2 4/19/2013 Added the ADI ADV7511W in Step 10 of 3.2.2 Run Ltib to build VAB-800 BSP 1.3 8/14/2014 Modified the necessary packages and patch of Ltib for Ubuntu 12.04 64bit host development PC 1.4 9/17/2014 Added Xrandr dual display setting in Appendix.E iii VABVAB----8080808000 Linux BSP V1.V1.4444 Development Guide Table of Contents 1.1.1. Introduction ................................................................................... ................................................................................................................................................................................................. 111 1.1. Overview........................................................................................................ 1 1.2. Package Content........................................................................................... 2 1.2.1. BSP Folder Contents............................................................................... 2 1.2.2. EVK Folder Contents.............................................................................. 2 2.2.2. Setup Building Environment ................................................................................... ........................................................................................................................................... 333 2.1. Configure Ubuntu......................................................................................... 3 2.1.1. Change Default Editor (optional) ....................................................... 3 2.1.2. Sudoers...................................................................................................... 3 2.1.3. Install Host Packages.............................................................................. 4 2.1.4. Change Default Shell............................................................................. 4 2.1.5. Configure Ccache (optional)................................................................ 5 2.1.6. Change Permissions on /opt ................................................................. 5 2.2. Install LTIB...................................................................................................... 6 2.2.1. Extracting Bundle and Installing LTIB................................................. 6 2.2.1.1. Download i.MX53 Linux Source Bundle................................. 6 2.2.1.2. User install ..................................................................................... 7 2.2.1.3. Extract content.............................................................................. 7 2.2.1.4. Adopting Extra the LTIB Patch................................................... 9 3.3.3. Building BSP through LTIBLTIB.................................................................................................................................................................................................................................. 101010 3.1.1. Getting iMX5x Based Board Packages.............................................. 10 3.2. Building VAB-800 BSP............................................................................... 15 3.2.1. Add/Replace VAB-800 modification files ....................................... 15 3.2.2. Run LTIB to build VAB-800 BSP......................................................... 17 4.4.4. Making Linux System Booting MediaMedia................................................................................................................................................................272727 4.1. Making a Linux System Micro SD Storage Card................................... 27 4.1.1. Requirements ......................................................................................... 27 iv VABVAB----8080808000 Linux BSP V1.V1.4444 Development Guide 4.1.2. Partition Micro SD storage card......................................................... 27 4.1.3. Copy images to Micro SD storage card........................................... 29 4.2. Making a Linux System eMMC................................................................. 30 4.2.1. Requirements ......................................................................................... 30 4.2.2. Partition eMMC...................................................................................... 30 4.2.3. Copy images to eMMC ........................................................................ 32 4.2.4. Setup u-boot parameter for eMMC.................................................. 34 Appendix A. Making Ubuntu Demo Image ................................................................................... .......................................................................373737 A.1. Getting Ubuntu demo image........................................................................... 37 A.2. Making demo image into Micro SD................................................................ 40 A.3. Replace U-boot/Kernel/Modules of VAB-800............................................. 40 A.4. Making demo image to eMMC (optional) .................................................... 45 Appendix B. The List of Additional FilesFiles....................................................................................................................................................................................................525252 B.1. FreeScale Patch Files.......................................................................................... 52 B.2. VAB-800 Patch Files ........................................................................................... 53 Appendix C. Touch Panel Calibration ................................................................................... .................................................................................................................................545454 Appendix D. Setting UU----bootbootboot..........................................................................................................................................................................................................................................575757 Appendix E. XRandR Dual Display Setting ................................................................................... .......................................................................606060 v VABVAB----8080808000 Linux BSP V1.V1.4444 Development Guide Lists of Figures Figure 1. VAB-800 package content ............................................................................ 2 Figure 2. Source Code download link ........................................................................ 6 Figure 3. Target Image Builder Platform Selection................................................. 11 Figure 4. Platform choice.............................................................................................. 11 Figure 5. Save Platform Image Selection .................................................................. 11 Figure 6. i.MX Development Platforms..................................................................... 12 Figure 7. imx5x Platform Selection ............................................................................ 13 Figure 8. Platform Save ................................................................................................. 13 Figure 9. iMX5x Based Boards..................................................................................... 14 Figure 10. iMX53 loco................................................................................................... 14 Figure 11. Save the configuration ............................................................................... 15 Figure 12. iMX5x Based Boards................................................................................... 18 Figure 13. Target System Configuration .................................................................... 19 Figure 14. Boot up with a tty and login setting