VIA Technologies ALTA DS 2 Development Manual

VIA Technologies ALTA DS 2 Development Manual

Android bsp 3.0
Hide thumbs Also See for ALTA DS 2:

Advertisement

Quick Links

DEVELOPMENT GUIDE
ALTA DS 2
ARTiGO A900
VAB-1000
Android BSP 3.0
1.05-07312015-153700

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ALTA DS 2 and is the answer not in the manual?

Questions and answers

Summary of Contents for VIA Technologies ALTA DS 2

  • Page 1 DEVELOPMENT GUIDE ALTA DS 2 ARTiGO A900 VAB-1000 Android BSP 3.0 1.05-07312015-153700...
  • Page 2 VIA Technologies, Inc. reserves the right the make changes to the products described in this manual at any time without prior...
  • Page 3 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide Revision History Version Version Date Date Remarks Remarks Version Version Date Date Remarks Remarks 2015/1/21 Initial external release Added display mode, changed section and adb 2015/2/10 description 2015/4/20...
  • Page 4: Table Of Contents

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide Table of Contents 1. 1. 1. 1. Introduction Introduction ........ Introduction Introduction ..................................................................
  • Page 5 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide 4.5. Adjust config file of Firmware Installation Package ......24 5. 5. 5. 5. Functionality Functionality........ Functionality Functionality ....................
  • Page 6 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide List of Figures Figure 1 Debug port connection and setting............14 Figure 2 Installation progessing ................... 18 Figure 3 Finish installing and message shows up............. 18 Figure 4 Finish installing and reboot count down procedure ......
  • Page 7 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide List of Tables Table 1 BSP content ......................1 Table 2 EVK content......................2 Table 3 Document content..................... 2...
  • Page 8: Overview

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide 1. 1. 1. 1. Introduction Introduction Introduction Introduction 1.1. Overview This Development Guide provides a practical introduction for the ALTA ALTA ALTA ALTA...
  • Page 9 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide Note: Note: Note: Note: Android: Developers can download Android source code from Android Open Source Project as well. Patch: Android patch code of Elite E1000. ToolChain: The tool chain package is used to build u-boot and kernel.
  • Page 10: Setup Building Environment Setup Building Environment

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide 2. 2. 2. 2. Set Setup up Building Building Environment Environment Building Building Environment Environment This chapter will guide you through setting up the developing environment. 2.1.
  • Page 11: Install The Jdk

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide Unpack arm_201109_gcc4.6.1.tgz #The general user account is “user” and its home folder is /home/user in this example. user@ubuntu:~$ mkdir ~/bin user@ubuntu:~$ tar -zxf BSP/ToolChain/arm_201109_gcc4.6.1.tgz -C ~/bin Export Tool Chain bin path.
  • Page 12 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide Verify the JAVA version user@ubuntu:~$ java –version java version "1.6.0_45" Java(TM) SE Runtime Environment (build 1.6.0_45-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode) [Way 2] [Way 2] [Way 2]...
  • Page 13: Installing The Required Packages

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide Verify the JAVA version user@ubuntu:~$ java –version java version "1.6.0_45" Java(TM) SE Runtime Environment (build 1.6.0_45-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode) 2.4.
  • Page 14: Build The Bsp

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide 3. Build the Build the Build the BSP Build the This section will describe the process of how to build the environment for Elite E1000 Android BSP for the target platform and how to compile each component from the BSP.
  • Page 15: Bsp Building Procedure

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide It is the android source code package downloaded from Google. https://android.googlesource.com Patch Package: Patch Package: Patch Package: Patch Package: ANDROID_Patch_Src *.tgz The patch is the modified sources from Google android source package above.
  • Page 16: Build The Android

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide # build kernel # decompress the full kernel source package to the processing folder user@ubuntu:~$ tar zxf $KERNEL_BASE_PKG -C $PROCESSING_PATH user@ubuntu:~$ chmod +w $PROCESSING_KERNEL_PATH/* -R user@ubuntu:~$ chmod +x $PROCESSING_KERNEL_PATH/build_emmc_dt.sh user@ubuntu:~$ cd $PROCESSING_KERNEL_PATH/...
  • Page 17 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide user@ubuntu:~$ export PROCESSING_PATH=my_dir user@ubuntu:~$ export PROCESSING_ANDROID_PATH=$PROCESSING_PATH/android- 4.4.2_r2 # build android # decompress the Android original source package and the patch to the processing folder user@ubuntu:~$ tar zxf $ANDROID_BASE_PKG -C $PROCESSING_PATH user@ubuntu:~$ tar zxf $ANDROID_PATCH_PKG -C $PROCESSING_ANDROID_PATH...
  • Page 18: Build The U-Boot

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide $PROCESSING_ANDROID_PATH/out/target/product/elite1000/boot.img $PROCESSING_ANDROID_PATH/out/target/product/elite1000/recovery.img $PROCESSING_ANDROID_PATH/out/target/product/elite1000/system.img $PROCESSING_ANDROID_PATH/out/target/product/elite1000/userdata.img $PROCESSING_ANDROID_PATH/out/target/product/elite1000/cache.img $PROCESSING_ANDROID_PATH/out/target/product/elite1000/*ota*.zip //ota package $PROCESSING_ANDROID_PATH/out/target/product/elite1000/obj/PACKAGING/target _files_intermediates/*target_files*.zip //target file # post build for release keys and sign (optional, for release purpose only) refer to http://www.kandroid.org/online-pdk/guide/release_keys.html 3.2.3.
  • Page 19 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide user@ubuntu:~$ ./build_elite1000_evm_emmc_config.sh arm_1109_le- -j4 # Check images generated under the directory after doing above procedures. $PROCESSING_UBOOT_PATH/u-boot.bin $PROCESSING_UBOOT_PATH/u-boot.vcd...
  • Page 20: Making Android System Booting Media

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide 4. 4. 4. 4. Making Android System Making Android System Making Android System Making Android System Booting Media Booting Media Booting Media Booting Media This chapter describes how to install and upgrade the firmware for VIA Elite...
  • Page 21 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide to install the firmware package which is supported in ext4 formatted SD/uSD storage card for evaluation from EVK without building BSP directly. Step 1: Step 1: Step 1:...
  • Page 22 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide The u-boot will wait 3 seconds to stop booting after powering on by pressing any key. When booting is stopped, that prompt sign will show up on terminal screen.
  • Page 23 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide Device is locked lba size = 512 lba_start partition_size name ========= ====================== ============== 4194304( bootlogo 8226 524288( 512K) deviceinfo 9250 2097152( devicetree...
  • Page 24 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide emmc.dtb; ext4load mmc 2:9 0x 2800000 uImage; if iminfo 0x2800000; then bootm 0x2800000 - 0x6000000; else run bootcmd_nand; fi bootcmd_mmc=run bootargs_mmc &&...
  • Page 25 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide Step 5: Step 5: Remove SD/uSD storage card when “Please remove installation media” Step 5: Step 5: message shown in Figure 4. The device will reboot automatically and then bootup Android.
  • Page 26: Update Firmware Package

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide Figure Figure 4 4 4 4 Finish installing and reboot count down procedure Finish installing and reboot count down procedure Figure Figure Finish installing and reboot count down procedure...
  • Page 27: How To Update Boot.img

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide 4.3.2. How to update boot.img Developers would need to update the boot.img image in SD/uSD storage card then upgrade the firmware for VIA Elite E1000 after the Android framework is modified.
  • Page 28: How To Update Userdata.img

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide Copy recovery.img to the /bspinst/recovery.img of SD/uSD storage card 4.3.5. How to update userdata.img Developers would need to update the userdata.img image in SD/uSD storage card then upgrade the firmware for VIA Elite E1000 after the Android framework is modified.
  • Page 29 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide # Press “Enter” key in the terminal applaiction if Android boot up completely root@elite1000:/ # Step Step5: 5: 5: 5: Execute the following command: Step Step # Press “Enter”...
  • Page 30: Setup U-Boot Additional Environment Variables

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide 4.4. Setup U-Boot additional environment variables U-Boot already has its own default environment variables after erasing and flashing u-boot.bin to SPI ROM. If developers want to add additional variables, developers could modify the script file ‘other_env.uimg’.
  • Page 31: Adjust Config File Of Firmware Installation Package

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide 4.5. Adjust config file of Firmware Installation Package To modify /bspinst/bspinst.cfg /bspinst/bspinst.cfg, developers can refer the below setting /bspinst/bspinst.cfg /bspinst/bspinst.cfg depending on the platform.
  • Page 32: Functionality

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide 5. 5. 5. 5. Functionality Functionality Functionality Functionality VIA Elite E1000 is designed with enhanced features including UART and Watchdog Timer support.
  • Page 33: Platform Specific Setting Platform Specific Setting

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide 6. 6. 6. 6. Platform Specific Setting Platform Specific Setting Platform Specific Setting Platform Specific Setting 6.1. Setting Panel Type through S3 PCD Editor The platform may embed the VT1636 DVO Control Chip for Touch Panel.
  • Page 34: Panel Type Setting Strategy

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide 6.1.2. Panel Type Setting Strategy After preparing the required Items described in Section 6.1.1, you can change the Supported Panel Types by following the Steps: Open the "u-boot.vcd"...
  • Page 35 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide Select the "Panel Type" Menu to set the correct Panel Resolution for your Panel. You can select the "Panel Table" Page to check the details of the Panel Setting you used.
  • Page 36 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide Be sure to "Save" the Setting after exiting the S3 PCD Editor.
  • Page 37: Appendix A. Definitions

    ARM is a trademark of ARM Inc. Board Support Package HDMI HDMI HDMI HDMI High Definition Multimedia Interface Secure Digital Multimedia Card Micro Size Secure Digital Multimedia Card Elite Elite E E E E1000 1000 The Target Product Name Elite Elite 1000 1000 VIA Technologies, Inc.
  • Page 38: Appendix B. Evk Installation Package Through Vfat Sd/Usd Appendix B. Evk Installation Package Through Vfat Sd/Usd

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide Appendix B. Appendix B. Appendix B. Appendix B. EVK Installation EVK Installation EVK Installation EVK Installation Package Package through vfat SD/uSD through vfat SD/uSD Package Package...
  • Page 39 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide setenv nand_setup 'fatload mmc 0:1 0x2000000 bspinst/boot_script.uimg; source 0x2000000' setenv setup_bootloader 'fatload mmc 0:1 0x1000 bspinst/bootloader_setup.uimg; source 0x1000;' setenv setup_emmc 'fatload mmc 0:1 0x1000 bspinst/bootloader_setup.uimg; source 0x1000;...
  • Page 40: Appendix C. Troubleshooting

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide Appendix C. Appendix C. Appendix C. Appendix C. Troubleshooting Troubleshooting Troubleshooting Troubleshooting C.1. Fail to login X-window or hang on Ubuntu 12.04.x Symptom: OS may hang when the “login screen”...
  • Page 41 Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide To replace “quite splash” with “text” , press F10 to boot up OS. User will enter text mode. Be sure the network is workable and user can install xserver-xorg-lts- precise to fix the X-window login issue.
  • Page 42: Fail To Update The Firmware Automatically

    Android BSP V Android BSP V3.0 3.0 Development Guide Development Guide Android BSP V Android BSP V Development Guide Development Guide C.2. Fail to update the Firmware automatically If it cannot be updated automatically after powering on, developers can type the command below in u-boot to update the firmware manually.

This manual is also suitable for:

Artigo a900Vab-1000

Table of Contents