Download conga-QMX6 User's Guide
Transcript
Contents 1 INTRODUCTION........................................................................ 8 2 LTIB Based Linux BSP................................................................ 9 2.1 Development Platform................................................................ 9 2.1.1 Update sources.list..................................................................... 9 2.1.2 Upgrade to Latest Packages..................................................... 10 2.1.3 Update The Repository............................................................. 11 2.1.4 Install Host Packages Needed by LTIB..................................... 11 2.1.5 Packages Required for 64-bit Ubuntu....................................... 11 2.1.6 Create or Modify Fuse Rules.................................................... 11 2.1.7 Edit Sudoers File....................................................................... 11 2.1.8 Required Resources................................................................. 12 2.2 LTIB Setup and Build................................................................ 13 2.2.1 Setup:........................................................................................ 13 2.2.2Installation................................................................................. 13 2.2.3 Complete LTIB Installation........................................................ 15 2.3 Kernel and U-boot Preparation................................................. 20 2.3.1 Prepare Kernel:......................................................................... 20 2.3.1.1 Update the Kernel Source Code............................................... 21 2.3.2 Prepare U-boot......................................................................... 21 2.3.2.1 Update the U-boot Source Code............................................... 22 2.4 Image Deployment.................................................................... 23 2.4.1 Configure TFTP........................................................................ 23 2.4.2 Configure NFS.......................................................................... 24 2.4.3 Transfer Rootfs To Micro SD Card............................................ 24 2.4.4 Transfer Rootfs To eMMC......................................................... 26 2.4.5 Transfer Rootfs To SATA........................................................... 28 2.5 Additional Information............................................................... 30 2.5.1 Kernel and U-boot In Standalone Environment........................ 30 2.5.2 Prepare micro-SD card with oneiric.qmx6.tgz Image................ 31 3 Yocto Based Linux BSP............................................................ 32 3.1 3.1.1 3.1.2 3.1.3 Setting up and building Yocto.................................................... 32 Update The Repository............................................................. 32 Install Host Packages Needed by Yocto................................... 32 Obtain Yocto Recipes................................................................ 32 3.1.4 3.1.5 3.1.6 3.2 3.2.1 3.2.2 3.3 Set GUI Image Environment Variable for conga-QMX6............ 32 Specify Target conga-QMX6 Variant......................................... 33 Build the GUI Image.................................................................. 33 Image Deployment.................................................................... 33 Transfer Root File System to Micro-SD.................................... 33 Transfer Root File System to eMMC......................................... 34 U-boot....................................................................................... 34 4Android...................................................................................... 35 4.1 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 4.1.10 4.1.11 Development Platform.............................................................. 35 Update sources.list and Latest Packages................................. 35 Install the Sun Java6 SDK........................................................ 35 Install Required Packages ....................................................... 35 Obtain the Android Source Code.............................................. 36 Obtain the Kernel Source Code................................................ 36 Obtain the U-boot Source Code................................................ 36 Specify Target conga-QMX6 Variant......................................... 36 Apply congatec Patch............................................................... 37 Build the System....................................................................... 37 Transfer Images to Micro-SD.................................................... 38 U-Boot....................................................................................... 38 5 Boot Process............................................................................. 39 5.1 5.2 5.3 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.3.5.1 Boot fuses................................................................................. 39 IOMUX configuration................................................................. 40 Bootloader................................................................................. 40 Changing The U-boot Environment.......................................... 46 Restore Default Settings........................................................... 47 Bootloader scripts..................................................................... 47 Setting up the bootloader.......................................................... 48 Updating the bootloader............................................................ 49 Windows Host Set up................................................................ 50 6 Sources of Information.............................................................. 52 6.1 Industry Specification................................................................ 52 Copyright © 2013 congatec AG QMX6ms02 7/52