ebook img

AMOS-820 VAB-820 PDF

92 Pages·2015·0.97 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview AMOS-820 VAB-820

DEVELOPMENT GUIDE AMOS-820 VAB-820 Android BSP 3.2 1.03-08062015-101700 Copyright Copyright © 2015 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. AAAAMMMMOOOOSSSS----888822220000 VVVVAAAABBBB----888822220000 AAAAnnnnddddrrrrooooiiiidddd BBBBSSSSPPPP VVVV3333....2222 DDDDeeeevvvveeeellllooooppppmmmmeeeennnntttt GGGGuuuuiiiiddddeeee Revision History VVVVeeeerrrrssssiiiioooonnnn DDDDaaaatttteeee RRRReeeemmmmaaaarrrrkkkkssss 1.00 2015/6/3 Initial version 1.01 2015/7/13 Modified EVK folder content 1.02 2015/7/29 Remaned to AMOS-820 VAB-820 Android BSP V3.2 Development Guide 1. Modified Introduction and OTA of chapter 1.2.2 1.03 2015/8/3 2. Corrected spelling errors iii AAAAMMMMOOOOSSSS----888822220000 VVVVAAAABBBB----888822220000 AAAAnnnnddddrrrrooooiiiidddd BBBBSSSSPPPP VVVV3333....2222 DDDDeeeevvvveeeellllooooppppmmmmeeeennnntttt GGGGuuuuiiiiddddeeee Table of Contents 1111.... IIIInnnnttttrrrroooodddduuuuccccttttiiiioooonnnn........................................................................................................................................................................................................................................................................................................................................................................................................................................1111 1.1. Overview........................................................................................................1 1.2. Package Content...........................................................................................1 1.2.1. BSP Folder Contents...............................................................................2 1.2.2. EVK Folder Contents..............................................................................3 1.2.3. Document Folder Contents..................................................................3 2222.... SSSSeeeettttuuuupppp BBBBuuuuiiiillllddddiiiinnnngggg EEEEnnnnvvvviiiirrrroooonnnnmmmmeeeennnntttt............................................................................................................................................................................................................................................................................................................................4444 2.1. Configure Ubuntu host computer............................................................4 2.1.1. Install the Java6 JDK...............................................................................4 2.1.2. Install the Packages................................................................................4 2.2. Download the Source Code......................................................................5 2.2.1. Download Freescale i.MX6 Android BSP..........................................5 2.2.2. Decompress the Freescale BSP............................................................5 3333.... BBBBuuuuiiiillllddddiiiinnnngggg BBBBSSSSPPPP........................................................................................................................................................................................................................................................................................................................................................................................................................................7777 3.1. Preparing........................................................................................................7 3.1.1. Get the Google Android Source Code.............................................7 3.1.2. Add VAB-820 Support..........................................................................7 3.2. Building VAB-820 BSP.................................................................................8 3.2.1. Compiling.................................................................................................8 4444.... MMMMaaaakkkkiiiinnnngggg AAAAnnnnddddrrrrooooiiiidddd SSSSyyyysssstttteeeemmmm BBBBoooooooottttiiiinnnngggg MMMMeeeeddddiiiiaaaa................................................................................................................................................................................................................................................9999 4.1. Requirements.................................................................................................9 4.2. Procedure.......................................................................................................9 4.3. Setting the display device........................................................................13 5555.... SSSSoooouuuurrrrcccceeee CCCCooooddddeeee MMMMooooddddiiiiffffiiiiccccaaaattttiiiioooonnnn................................................................................................................................................................................................................................................................................................................................11116666 5.1. ADV7180 support......................................................................................16 5.1.1. Kernel support.......................................................................................16 5.1.2. Android support....................................................................................19 iv AAAAMMMMOOOOSSSS----888822220000 VVVVAAAABBBB----888822220000 AAAAnnnnddddrrrrooooiiiidddd BBBBSSSSPPPP VVVV3333....2222 DDDDeeeevvvveeeellllooooppppmmmmeeeennnntttt GGGGuuuuiiiiddddeeee 5.1.2.1. MMAP............................................................................................19 5.1.2.2. Video quality support...............................................................20 5.1.2.3. S-Video switch............................................................................21 5.1.2.4. Snapshot crash............................................................................21 5.1.3. De-interlace............................................................................................22 5.2. LVDS support..............................................................................................23 5.2.1. Add LVDS mode...................................................................................23 5.2.2. Touch Panel Calibrator........................................................................24 5.3. Auto-Mount External Storage Device....................................................26 5.4. I2C-Tool.......................................................................................................27 5.5. Bootloader...................................................................................................29 5.5.1. Add bootloader argument.................................................................29 5.5.2. U-boot print message..........................................................................29 5.5.3. U-boot support micro SD and eMMC..............................................30 5.5.4. U-boot set gpio.....................................................................................31 5.5.5. U-boot set 2G RAM..............................................................................32 5.5.6. U-boot set factory data reset.............................................................35 5.6. COM1 support flow control...................................................................36 5.7. Add support sgtl5000...............................................................................38 5.7.1. Use tinymix to change the audio parameter...................................38 5.7.2. Support sgtl5000 sound card............................................................38 5.7.3. Choose sound card from uboot........................................................42 5.8. Add USB and USB OTG keyboard/mouse resume.............................43 5.9. Add support of VNT9271........................................................................44 5.10. Ethernet Static IP.........................................................................................51 5.10.1. Gateway..................................................................................................51 5.10.2. Netmask...................................................................................................51 5.10.3. Settings record......................................................................................51 5.10.4. Enable service when booting.............................................................54 5.10.5. Check Input format...............................................................................54 5.10.6. Send message to inform Ethernet.apk..............................................55 5.10.7. Set the default value............................................................................56 5.11. Set WiFi as the preferred network.........................................................59 v AAAAMMMMOOOOSSSS----888822220000 VVVVAAAABBBB----888822220000 AAAAnnnnddddrrrrooooiiiidddd BBBBSSSSPPPP VVVV3333....2222 DDDDeeeevvvveeeellllooooppppmmmmeeeennnntttt GGGGuuuuiiiiddddeeee 5.12. Fix USB device detection..........................................................................60 5.13. Add SPI ROM..............................................................................................61 5.14. Add support of CAN bus.........................................................................65 5.15. Add support of 3G....................................................................................68 5.16. Add support of GPS..................................................................................72 5.17. Add eMMC 5.0 running on eMMC 4.4 mode......................................74 5.18. Fix IPU error under thermal testing........................................................74 5.19. Fix 3G incorrect signal strength info......................................................74 5.20. Fix failure in opening the camera apk....................................................75 5.21. Support AUO 10.4” touch panel............................................................75 5.22. Correct navigation bar in low profile....................................................76 5.23. Correct kernel menuconfig that is not working...................................76 5.24. Fix the camera recording issue................................................................77 5.25. Add omxplayer package..........................................................................77 5.26. Fix volume limit issue................................................................................78 5.27. Fix hotspot issue.........................................................................................78 5.28. Delete si_LK language...............................................................................80 5.29. Set default sleep time to 30 min............................................................80 5.30. Add DualLite support...............................................................................80 5.31. Add OTA support......................................................................................82 vi AAAAMMMMOOOOSSSS----888822220000 VVVVAAAABBBB----888822220000 AAAAnnnnddddrrrrooooiiiidddd BBBBSSSSPPPP VVVV3333....2222 DDDDeeeevvvveeeellllooooppppmmmmeeeennnntttt GGGGuuuuiiiiddddeeee List of Figures Figure 1: VAB-820 package content..............................................................................1 Figure 2: BSP folder contents.........................................................................................2 Figure 3: Source Code download link.........................................................................5 Figure 4: Boot select jumper diagram and settings (Micro SD)............................10 Figure 5: Boot select jumper diagram and setting (SPI).........................................11 Figure 6: u-boot operation environment....................................................................12 Figure 7: LVDS power select jumper diagram..........................................................14 Figure 8: LVDS power select jumper diagram..........................................................14 vii AAAAMMMMOOOOSSSS----888822220000 VVVVAAAABBBB----888822220000 AAAAnnnnddddrrrrooooiiiidddd BBBBSSSSPPPP VVVV3333....2222 DDDDeeeevvvveeeellllooooppppmmmmeeeennnntttt GGGGuuuuiiiiddddeeee List of Tables Table 1: LVDS power select jumper setting.............................................................13 Table 2: LVDS power select jumper setting.............................................................14 viii AAAAMMMMOOOOSSSS----888822220000 VVVVAAAABBBB----888822220000 AAAAnnnnddddrrrrooooiiiidddd BBBBSSSSPPPP VVVV3333....2222 DDDDeeeevvvveeeellllooooppppmmmmeeeennnntttt GGGGuuuuiiiiddddeeee 1111.... IIIInnnnttttrrrroooodddduuuuccccttttiiiioooonnnn The purpose of this document is to provide a practical introduction on developing software for the AMOS-820 on a Linux development host only.(Bare board: VAB-820 Freescale i.MX6 Quad). 1.1. Overview The VIA VAB-820 platform is an embedded system powered by ARM processor with Android 4.4.2 operating system by default. VAB-820’s Android BSP (Board Support Package) offers a development package. Users can develop it under an Ubuntu environment. There are four major boot components for Android, the ““““uuuu----bbbbooooooootttt....bbbbiiiinnnn””””,,,, ““““bbbbooooooootttt....iiiimmmmgggg””””,,,, ““““ssssyyyysssstttteeeemmmm....iiiimmmmgggg”””” and ““““rrrreeeeccccoooovvvveeeerrrryyyy....iiiimmmmgggg””””. The system will not boot successfully into an Android environment if one of these files does not exist in the boot media. 1.2. Package Content There are three folders in VAB-820 package. FFFFiiiigggguuuurrrreeee 1111:::: VVVVAAAABBBB----888822220000 ppppaaaacccckkkkaaaaggggeeee ccccoooonnnntttteeeennnntttt 1 AAAAMMMMOOOOSSSS----888822220000 VVVVAAAABBBB----888822220000 AAAAnnnnddddrrrrooooiiiidddd BBBBSSSSPPPP VVVV3333....2222 DDDDeeeevvvveeeellllooooppppmmmmeeeennnntttt GGGGuuuuiiiiddddeeee 1.2.1. BSP Folder Contents FFFFiiiigggguuuurrrreeee 2222:::: BBBBSSSSPPPP ffffoooollllddddeeeerrrr ccccoooonnnntttteeeennnnttttssss (cid:1) ssssccccrrrriiiipppptttt: Scripts for downloading the source code, patching, building, and installing the image. There are several necessary patch files for VAB-820 in ssssccccrrrriiiipppptttt////PPPPaaaattttcccchhhhFFFFiiiilllleeeessss folder. 2

Description:
820 Android BSP V3.2 Development Guide. 2 Development Guide developing software for the AMOS-820 on a Linux development host only. Overview. The VIA VAB-820 platform is an embedded system powered by ARM.
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.