NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

TI-Android-FroYo-DevKit-V2 EVMSetupGuide

From Texas Instruments Wiki
Jump to: navigation, search

TIBanner.png

TI Android FroYo 2.2 DevKit V2.2 Setup Guide[edit]

TI’s Android DevKit V 2.2 is based on Android 2.2 FroYo release. This DevKit helps users to

  1. Understand the capabilities of AM37x / DM3730 device and software with an Out of the box SD Card based demo
  2. Enables quick development setup by providing all the sources, tools, documentation, validation & test apps in one package.
  3. Provides excellent debug capability with TI’s code composer studio ™ V5, the package includes a separate CD that provides all Android (ADT) plugins that integrates with CCSV5. This enables uses to debug the device also use all the rich features of Android debugging (CCSV5 + ADT).

TI Android DevKit Contents[edit]

This kit includes Linux, Android and WinCE SD cards, CDs and DVDs. The software components to be referred / used for Android development are listed below

Android SD CARD: Contains three partitions.

  • boot partition contains pre built boot (kernel, bootloader) images
  • rootfs partition contains pre built Android file system
  • data partition contains media clips, TI Android FroYo 2.2 DevKit V2.2 (Sources, CCV5 & Tools)

ubuntu DVD

  • ubuntu 10.04 LTS

Android uses ubuntu as the host machine, EVM kit contains a separate ubuntu installer disk that could be used for this purpose.

CD (Android dependency and plugin – NON TI content)

  • CCSV5_ADT_dependencies
  • ubuntu_host_development_dependencies

NOTE

  • For OOB the SD Card is just sufficient,
  • For development setup the TI Android DevKit in SD Card and the CD for Android ubuntu dependencies are needed
  • For setting up CCSV5 the CCSV5 installer from SD card (in Tools folder) and CCSV5 dependencies from CD are needed.

Out of the box demo[edit]

This section describes the setup and instructions to run TI’s Android DevKit OOB demo on AM37x/DM3730 EVM.

Step 1: Insert SD card into MMC/SD slot on the EVM

Step 2: Set the DIP switch settings to boot from MMC/SD card

Switch
1
2
3
4
5
6
7
8
State
OFF
ON
ON
ON
OFF
OFF
OFF
OFF

Step 3: Turn ON the EVM

Refer to UserGuide and RowboPERF user guide from document folder in TI Android FroYo 2.2 DevKit V2.2

Setting up development environment[edit]

HOST Setup[edit]

The host development environment for Android is based on ubuntu, please install ubuntu version 10.04 (from the disk in the EVM kit). The host installation would need few more Android specific dependencies, these are provided in a separate CD in EVM kit.

To install ubuntu Android dependencies.

  • Copy "ubuntu_host_development_dependencies" (from CD) to host machine
  • On console change your directory to "ubuntu_host_development_dependencies"
  uname@uname-desktop:~$cd <DEVKIT_ROOT>/ubuntu_host_development_dependencies/packages
  • Install the ubuntu dependencies
  uname@uname-desktop:~$sudo dpkg -i --force-depends *.deb
  • Install JAVA dependencies.

Android needs Java 5 on ubuntu, we don’t provide this due to distribution issues. Java 5 can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html or below steps can be followed to install the same using apt-get

Open the sources file (/etc/apt/sources.list) for editing, as root

  $ sudo gedit /etc/apt/sources.list 

and add:

 deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse 
 deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse 

save the file and close gedit.

Next sync your sources by running

  $ sudo apt-get update 

Install

  $ sudo apt-get install sun-java5-jdk

TARGET Setup[edit]

The Android sources, Linux kernel for Android, boot loader, tools and scripts are all available in the TI_Android_FroYo_2.2_DevKit_V2.2.tar.gz in the SD Card.

Extract this folder on host machine

  1. > tar –xzvf TI_Android_FroYo_2.2_DevKit_V2.2.tar.gz

Follow the Build_Procedure.txt to extract and build the sources. There is also README provided in every folder of this package, please go through these to understand the components.

Setting up CCSv5, ADT Debugging Environment[edit]

This package includes TI’s code composer studio V5 and Android plugins for ADT.

  1. Copy the CCS V5 installer to host machine, the installer is provided in the SD Card, the TI_Android_FroYo_2.2_DevKit_V2.2.tar.gz contains CCSv5 installer in the Tools folder.
  2. Copy the ADT plugins and dependencies for CCS V5 from CD to host machine
  3. Follow instructions given in the TI Android FroYo 2.2 DevKit V2.2->Tools->CCSv5->TI-Android-FroYo-DevKit-V2_CCSv5SetupGuide.pdf to install & setup CCSv5 on host machine.

Support[edit]

For any questions or support please get in touch with us through http://e2e.ti.com/android

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article TI-Android-FroYo-DevKit-V2 EVMSetupGuide here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article TI-Android-FroYo-DevKit-V2 EVMSetupGuide here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article TI-Android-FroYo-DevKit-V2 EVMSetupGuide here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article TI-Android-FroYo-DevKit-V2 EVMSetupGuide here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article TI-Android-FroYo-DevKit-V2 EVMSetupGuide here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article TI-Android-FroYo-DevKit-V2 EVMSetupGuide here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article TI-Android-FroYo-DevKit-V2 EVMSetupGuide here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article TI-Android-FroYo-DevKit-V2 EVMSetupGuide here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article TI-Android-FroYo-DevKit-V2 EVMSetupGuide here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity