NOTICE: The Processors Wiki will End-of-Life in December of 2020. 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.
Building TI Android DevKit Filesystem without SGX
Content is no longer maintained and is being kept for reference only!
This page provides instructions on building the TI Android DevKit Filesystem without SGX graphics libraries enabled.
The instructions below refer to omap3evm/AM37xevm. Please modify the target as per your required system.
Setting up Host
Please refer to the TI Android DevKit Developer Guide for information on ubuntu host setup
Download TI Android DevKit Sources
We shall be using the TI-Android-GingerBread-2.3.4-DevKit-2.1 Android sources for this exercise.
Please refer to TI Android DevKit Developer Guide for instructions on android sources installation
In this guide, it is assumed that the sources are extracted to the following path:
Apply the android patches from here: http://groups.google.com/group/rowboat/browse_thread/thread/906aed7dc5917bde
These patches are required to obtain a smooth display without SGX graphics acceleration.
To build the android filesystem run the following command from the top-level android sources directory:
$ make TARGET_PRODUCT=omap3evm droid -j8
The droid target in the make command causes only the android filesystem to be built. So the SGX graphics acceleration libraries and WLAN/BT drivers and firmwares are not installed in the resulting filesystem
Install WLAN/BT Firmware
This step will install the WLAN/BT drivers and firmware for WL1271 module available on AM37xevm.
$ make TARGET_PRODUCT=omap3evm wl12xx_compat
Download Performance_Apps.tar.gz from: http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/TI_Android_GingerBread_2_3_DevKit_1_0/index_FDS.html
From that directory execute:
$ tar -xvzf ~/Performance_Apps.tar $ cd ~/Performance_Apps $ ./install_rowboperf.sh <path_to_source>/out/target/product/omap3evm/root
Build Filesystem tarball
First create the unified filesystem:
$ cd out/target/product/omap3evm $ mkdir android_rootfs $ cp -vr root/* android_rootfs $ cp -vr system android_rootfs
Now create the filesystem tarball:
$ ../../../../build/tools/mktarball.sh ../../../host/linux-x86/bin/fs_get_stats android_rootfs . rootfs rootfs.tar.bz2
Prepare SD card
Update the pre-built image. > Starting in the <path_to_source> directory, run the following commands.
$ cp kernel/arch/arm/boot/uImage <path_to_prebuilt>/Boot_Images/uImage $ cp out/target/product/am3517evm/rootfs.tar.bz2 <path_to_prebuilt>/Filesystem/rootfs_am35x.tar.bz2
Flash the SD card
Please ensure you follow the SD card guidance available here: http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3.4-DevKit-2.1_UserGuide#SD_Card_Recommendations
Now, starting in the <path_to_source> directory, run the following command.
$ sudo ./mkmmc-android /dev/sd<device>
Where <device> is the letter of the SD card device you wish to flash. WARNING: entering the wrong device letter here can result in the loss of data.
Your SD card is ready. Please set up the evm boot switches correctly as per hardware setup section of the DevKit User Guide, insert the SD card and power up the evm.