bc10/TI-Android-FroYo-Devkit-V2
[
Front page
] [
New
|
List of pages
|
Search
|
Recent changes
]
Start:
[[bc10]]
-Contents
#Contents
* Background [#g3af6548]
>
On October 27th, 2010, Texas Instruments released ?TI Aan...
upon FroYo (Android 2.2), DevKit V2 is modified for speci...
this DevKit V2 is considered as a stable version of Andro...
BeagleBoard, it works with DevKit V2 with few modificatio...
>
(Caution): If the developing machine has less than 1GB of...
or '''fetch''' at sdk. Following instructions are require...
>
[[TI-Android-FroYo-DevKit-V2_ReleaseNotes>http://processo...
[[TI-Android-FroYo-DevKit-V2_UserGuide>http://processors....
** Characteristics of TI-Android-FroYo-DevKit-V2 [#p5857f...
>
TI-Android-FroYo-Devkit-V2 is a SDK package for OMAP35x E...
BeagleBoard XM.~
>
The XML file records Commit ID / Baseline of each product...
which contains the revision history of each product.~
** Obtaining file [#md03ea68]
>
Download '''TI-Android-Froyo-Devkit-V2.tar.gz''' and extr...
[[TI_Android_DevKit 02_00_00 Product Download Page>http:/...
$ tar xvfz TI_Android_FroYo_DevKit-V2.tar.gz
To obtain the source file, '''TI-Android-FroYo-DevKit-V2....
~
(Caution): It takes a long time to download the file. The...
machine has less than 1GB of memory, errors will occur at...
$ cd ~/TI_Android_FroYo_DevKit-V2/Android_Source_Manifest/
$ mkdir rowboat-android
$ cp TI-Android-FroYo-DevKit-V2.xml rowboat-android
$ cd rowboat-android
$ repo init -u git://gitorious.org/rowboat/manifest.git ...
$ repo sync
** DevKit V2 patch for bc10 [#rbf017af]
>
This is a patch of 'TI-Android-FroYo-DevKit-V2, which is ...
[[devkitv2-patches-for-bc10.tar.gz>http://labs.beatcraft....
~
'''ANDROID_DIR''', '''SETUP_DIR''', and '''PATCH_DIR''', ...
The environmental variables listed in '''bc10-devkitV2-pa...
### Settings
#ANDROID_DIR=${HOME}/TI_Android_FroYo_DevKit-V2/Android_...
ANDROID_DIR=${HOME}/bc10-Devkit2-Build-Dir-test2
SETUP_DIR=${HOME}/devkitv2-patches-for-bc10
PATCH_DIR=${SETUP_DIR}/patches
After applying the patch, a directory for bc10 is created...
$ tar xvfz devkitv2-patches-for-bc10.tar.gz
$ cd ~/devkitv2-patches-for-bc10
$ ./bc10-devkitV2-patch.sh
$ ls ~/TI_Android_FroYo_DevKit-V2/Android_Source_Manifes...
am3517evm bc10 beagleboard igepv2 omap3evm
** Build Android [#y2cc7472]
>
Read into the configuration file for bc10 and build it.~
$ cd ~/TI_Android_FroYo_DevKit-V2/Android_Source_Manifes...
$ source build/envsetup.sh
$ lunch bc10-eng
$ make
** Creating Image [#c253977a]
>
As the building process is completed, the binary of '''us...
'''userland''', apply '''mkbc10-image.sh'''. '''ANDROID_D...
matched with PATH of the file.~
### Settings
#ANDROID_DIR=${HOME}/bc10
ANDROID_DIR=${HOME}/bc10-Devkit2-Build-Dir-test2
#ANDROID_DIR=${HOME}/TI_Android_FroYo_DevKit-V2/Android_...
###
>
$ cd ~/devkitv2-patches-for-bc10
$ ./mkbc10-image.sh
After executing the commands, '''bc10-image''' directory ...
'''/TI_Android_FroYo_DevKit-V2/Android_Source_Manifest/ro...
android userland is placed under '''bc10-image''' directo...
** Configuration of environment variable [#r4436adc]
>
The requirements for booting, such as '''x-loader''', '''...
distributed with the source code of Android. As building ...
$ export PATH=/home/beat/TI_Android_FroYo_DevKit-V2/Andr...
$ export ARCH=arm
$ export CROSS_COMPILE=arm-eabi-
** Build kernel [#p30efc9d]
>
To build the kernel, please execute the command lines sho...
$ cd ~
$ git clone git://gitorious.org/~bc-dev/rowboat/bc10-row...
$ cd bc10-rowboat-kernel
$ git checkout -t -b bc10-2.6.32-build origin/bc10-2.6.3...
$ make omap3_bc10_defconfig
$ make uImage
$ make modules
** Build SGX SDK [#e43e0038]
>
Applying the same method as [[bc10/froyo]] used, obtain '...
(Caution): It really takes time to download whole '''SGX ...
for [[bc10/froyo]], please use this '''SGX SDK'''. Be car...
$ git clone git://gitorious.org/rowboat/ti_android_sgx_s...
$ cd ti_android_sgx_sdk/
$ ./OMAP35x_Android_Graphics_SDK_setuplinux_3_01_00_03.bin
As the install directory is specifically asked, please us...
~
[[To download TI's Android SGX SDK>http://code.google.com...
*** Modify RULE.make [#h83d2ff9]
>
'''RULE.make''' is modified. HOME, GRAPHICS_INSTALL_DIR, ...
'''RULE.make''' are needed to be consistent with own file...
>
$ cd ~/OMAP35x_Android_Graphics_SDK_3_01_00_03
$ vi Rules.make
#Rules.make
PLATFORM=LinuxOMAP3
################# FIELDS MODIFIABLE BY THE USER ########...
##
#set home area HOME (relative location for all SDK opera...
HOME=/home/beat
#Current Directory where Graphics SDK is installed
GRAPHICS_INSTALL_DIR=$(HOME)/OMAP35x_Android_Graphics_SD...
#Android Specific
#Path of Android Root FS
ANDROID_ROOT=$(HOME)/TI_Android_FroYo_DevKit-V2/Android_...
#set toolchain root path for arm-eabi
CSTOOL_DIR=$(HOME)/TI_Android_FroYo_DevKit-V2/Android_So...
CSTOOL_PREFIX=arm-eabi-
CSTOOL_PATH=$(CSTOOL_DIR)/bin
CSTOOL_LIBSTDC++_PATH=$(CSTOOL_DIR)/arm-none-linux-gnuea...
#set the kernel installation path
#KERNEL_INSTALL_DIR=$(HOME)/TI_Android_FroYo_DevKit-V2/A...
KERNEL_INSTALL_DIR=$(HOME)/bc10-rowboat-kernel
TARGETFS_INSTALL_DIR=$(ANDROID_ROOT)
GFX_TARGETFS_KERMOD_PATH=$(TARGETFS_INSTALL_DIR)/lib/mod...
#Android
ANDROID_DISCIMAGE=$(TARGETFS_INSTALL_DIR)/
>
After '''RULE.make''' is completed, execute '''make''', a...
$ make
$ make OMAPES=3.x install
** Build bc10 u-boot [#v6c79115]
>
To build '''u-boot''', please follow the instructions be...
$ cd ~/
$ git clone git://gitorious.org/bc10/u-boot-bc10.git u-b...
$ cd u-boot-bc10
$ git checkout -t -b build origin/build
$ make omap3_bc10_config
$ make
** Build bc10 x-loader [#ac449697]
>
To build '''x-loader''', apply the command lines shown be...
$ cd ~/
$ git clone git://gitorious.org/~bc-dev/x-load-omap3/x-l...
$ cd x-load-bc10
$ git checkout -t -b bc10 origin/bc10
$ make omap3530bc10_config
$ make
'''x-load.bin''' does not meet the specifications and for...
'''x-load.bin''' is written into NAND Flash or SD card as...
'''signGP''' to modify '''x-load.bin'''.~
'''signGP''' can be downloaded from [[here>http://beagleb...
$ signGP x-load.bin
** Modify bc10 boot.scr [#mdfae169]
>
Update '''u-boot-bc10'''. Then, alter '''boot.scr''' with...
~
In [[bc10/froyo]], the configuration of '''video_mode''' ...
and '''omapdss.def_disp''' instead of '''video_mode''' fo...
as the initial value of '''u-boot'''.~
setenv bootargs 'mem=256M androidboot.console=ttyS2 cons...
console=ttyS2,115200n8 root=/dev/mmcblk0p2 init=/init ro...
For DVI output, configure as '''omapdss.def_disp = dvi'''...
setenv bootargs 'mem=256M androidboot.console=ttyS2 cons...
console=ttyS2,115200n8 root=/dev/mmcblk0p2 init=/init ro...
omapfb.mode=dvi:1024x768MR-24@60 omapdss.def_disp=dvi'
For the details, please look at the files, which are loca...
*** Setting Up Build.prop as booting Android [#f44aa5a2]
>
As the default setting, '''ro.sf.lcd_density''' for displ...
than on the other devices. Please make adjustment if the ...
devices. If this happens, change the configuration of '''...
$ cd ~/TI_Android_FroYo_DevKit-V2/Android_Source_Manife...
$ vi build.prop
....
....
ro.sf.lcd_density=120
** About installation of Performance_Apps [#e7f42588]
>
The '''Performance_Apps''' is a not a requirement. This i...
the benchmark software, please follows the instructions s...
'''Luncher''' is replaced with '''Luncher2''', and '''Con...
[[TI_Android_DevKit 02_00_00 Product Download Page>http:/...
Download '''Performance_Apps.tar.gz''' from the link show...
'''Performance_Apps''' is in '''.apk''' (Android Package ...
removed, the icons of HOME screen will be changed. (Perfo...
$ wget http://software-dl.ti.com/dsps/dsps_public_sw/sdo...
$ tar xvfz Performance_Apps.tar.gz
$ cd Performance_Apps
$ vi install_rowboperf.sh
An Error occurs as executing '''Install_rowboperf.sh'''. ...
*** 13,18 ****
--- 13,19 ----
echo "Error: Rootfs location `basename $1` does not exist"
exit $E_BADARGS
fi
+ cd -
echo "Rootfs location is $1"
After the modification is completed, point out the userla...
$ ./install_rowboperf.sh ~/TI_Android_FroYo_DevKit-V2/An...
Due to execute '''Install_rowboperf.sh''', these '''apks...
cp -r ./0xbench/Benchmark-release.apk $1/system/app/
cp -r ./0xbench/armeabi/* $1/system/bin/
cp ./3D/OGLES* $1/system/app/
cp ./3D/lib* $1/system/lib/
cp ./StorageIO/StorageIO.apk $1/system/app/
cp ./rowboatBench/rowboat.benchmark.runner-debug.apk $1/...
cp -r ./RowboPERF/bin/armeabi-v7a/* $1/system/bin/
cp ./RowboPERF/RowboPERF.apk $1/system/app/
cp ./StorageIO/StorageIO.apk $1/system/app/
cp ./Launcher2/Launcher2.apk $1/system/app/
rm $1/system/app/Contacts.apk
rm $1/system/app/Mms.apk
rm $1/system/app/SpeechRecorder.apk
** About CameraPreview Overlay [#w1f85d3e]
>
- As displaying the preview of camera,
- Specifications and limitations are shown below.
-- Work with V4L2 camera
-- The resolution of the camera is configured as 640x480,...
-- According to the display area, it is possible to make ...
is done by hardware.~
-- To create an application, the size of Surfaceview, whi...
-- Event though this modification test is only performed ...
on USB camera, which is compatible with Linux UVC.~
** Limitations [#z4a5b658]
>
- Once pass the time to turn off the back light and shift...
'''HOME''' or '''RETURN''' buttons are pushed. To avoid t...
which is located at the configuration data base. Change t...
bootable SD card on the working environment of the PC. T...
'''/media/EXT3'''.~
$ cd /media/EXT3/data/data/com.android.providers.setting...
$ sudo sqlite3 settings.db
sqlite> update system set value="-1" where name="screen_...
sqlite> .quit
As completing this process, bc10 is needed to be booted. ...
off its power.~
* Revision History [#nd759156]
- 2010/12/24 This article is initially uploaded
End:
[[bc10]]
-Contents
#Contents
* Background [#g3af6548]
>
On October 27th, 2010, Texas Instruments released ?TI Aan...
upon FroYo (Android 2.2), DevKit V2 is modified for speci...
this DevKit V2 is considered as a stable version of Andro...
BeagleBoard, it works with DevKit V2 with few modificatio...
>
(Caution): If the developing machine has less than 1GB of...
or '''fetch''' at sdk. Following instructions are require...
>
[[TI-Android-FroYo-DevKit-V2_ReleaseNotes>http://processo...
[[TI-Android-FroYo-DevKit-V2_UserGuide>http://processors....
** Characteristics of TI-Android-FroYo-DevKit-V2 [#p5857f...
>
TI-Android-FroYo-Devkit-V2 is a SDK package for OMAP35x E...
BeagleBoard XM.~
>
The XML file records Commit ID / Baseline of each product...
which contains the revision history of each product.~
** Obtaining file [#md03ea68]
>
Download '''TI-Android-Froyo-Devkit-V2.tar.gz''' and extr...
[[TI_Android_DevKit 02_00_00 Product Download Page>http:/...
$ tar xvfz TI_Android_FroYo_DevKit-V2.tar.gz
To obtain the source file, '''TI-Android-FroYo-DevKit-V2....
~
(Caution): It takes a long time to download the file. The...
machine has less than 1GB of memory, errors will occur at...
$ cd ~/TI_Android_FroYo_DevKit-V2/Android_Source_Manifest/
$ mkdir rowboat-android
$ cp TI-Android-FroYo-DevKit-V2.xml rowboat-android
$ cd rowboat-android
$ repo init -u git://gitorious.org/rowboat/manifest.git ...
$ repo sync
** DevKit V2 patch for bc10 [#rbf017af]
>
This is a patch of 'TI-Android-FroYo-DevKit-V2, which is ...
[[devkitv2-patches-for-bc10.tar.gz>http://labs.beatcraft....
~
'''ANDROID_DIR''', '''SETUP_DIR''', and '''PATCH_DIR''', ...
The environmental variables listed in '''bc10-devkitV2-pa...
### Settings
#ANDROID_DIR=${HOME}/TI_Android_FroYo_DevKit-V2/Android_...
ANDROID_DIR=${HOME}/bc10-Devkit2-Build-Dir-test2
SETUP_DIR=${HOME}/devkitv2-patches-for-bc10
PATCH_DIR=${SETUP_DIR}/patches
After applying the patch, a directory for bc10 is created...
$ tar xvfz devkitv2-patches-for-bc10.tar.gz
$ cd ~/devkitv2-patches-for-bc10
$ ./bc10-devkitV2-patch.sh
$ ls ~/TI_Android_FroYo_DevKit-V2/Android_Source_Manifes...
am3517evm bc10 beagleboard igepv2 omap3evm
** Build Android [#y2cc7472]
>
Read into the configuration file for bc10 and build it.~
$ cd ~/TI_Android_FroYo_DevKit-V2/Android_Source_Manifes...
$ source build/envsetup.sh
$ lunch bc10-eng
$ make
** Creating Image [#c253977a]
>
As the building process is completed, the binary of '''us...
'''userland''', apply '''mkbc10-image.sh'''. '''ANDROID_D...
matched with PATH of the file.~
### Settings
#ANDROID_DIR=${HOME}/bc10
ANDROID_DIR=${HOME}/bc10-Devkit2-Build-Dir-test2
#ANDROID_DIR=${HOME}/TI_Android_FroYo_DevKit-V2/Android_...
###
>
$ cd ~/devkitv2-patches-for-bc10
$ ./mkbc10-image.sh
After executing the commands, '''bc10-image''' directory ...
'''/TI_Android_FroYo_DevKit-V2/Android_Source_Manifest/ro...
android userland is placed under '''bc10-image''' directo...
** Configuration of environment variable [#r4436adc]
>
The requirements for booting, such as '''x-loader''', '''...
distributed with the source code of Android. As building ...
$ export PATH=/home/beat/TI_Android_FroYo_DevKit-V2/Andr...
$ export ARCH=arm
$ export CROSS_COMPILE=arm-eabi-
** Build kernel [#p30efc9d]
>
To build the kernel, please execute the command lines sho...
$ cd ~
$ git clone git://gitorious.org/~bc-dev/rowboat/bc10-row...
$ cd bc10-rowboat-kernel
$ git checkout -t -b bc10-2.6.32-build origin/bc10-2.6.3...
$ make omap3_bc10_defconfig
$ make uImage
$ make modules
** Build SGX SDK [#e43e0038]
>
Applying the same method as [[bc10/froyo]] used, obtain '...
(Caution): It really takes time to download whole '''SGX ...
for [[bc10/froyo]], please use this '''SGX SDK'''. Be car...
$ git clone git://gitorious.org/rowboat/ti_android_sgx_s...
$ cd ti_android_sgx_sdk/
$ ./OMAP35x_Android_Graphics_SDK_setuplinux_3_01_00_03.bin
As the install directory is specifically asked, please us...
~
[[To download TI's Android SGX SDK>http://code.google.com...
*** Modify RULE.make [#h83d2ff9]
>
'''RULE.make''' is modified. HOME, GRAPHICS_INSTALL_DIR, ...
'''RULE.make''' are needed to be consistent with own file...
>
$ cd ~/OMAP35x_Android_Graphics_SDK_3_01_00_03
$ vi Rules.make
#Rules.make
PLATFORM=LinuxOMAP3
################# FIELDS MODIFIABLE BY THE USER ########...
##
#set home area HOME (relative location for all SDK opera...
HOME=/home/beat
#Current Directory where Graphics SDK is installed
GRAPHICS_INSTALL_DIR=$(HOME)/OMAP35x_Android_Graphics_SD...
#Android Specific
#Path of Android Root FS
ANDROID_ROOT=$(HOME)/TI_Android_FroYo_DevKit-V2/Android_...
#set toolchain root path for arm-eabi
CSTOOL_DIR=$(HOME)/TI_Android_FroYo_DevKit-V2/Android_So...
CSTOOL_PREFIX=arm-eabi-
CSTOOL_PATH=$(CSTOOL_DIR)/bin
CSTOOL_LIBSTDC++_PATH=$(CSTOOL_DIR)/arm-none-linux-gnuea...
#set the kernel installation path
#KERNEL_INSTALL_DIR=$(HOME)/TI_Android_FroYo_DevKit-V2/A...
KERNEL_INSTALL_DIR=$(HOME)/bc10-rowboat-kernel
TARGETFS_INSTALL_DIR=$(ANDROID_ROOT)
GFX_TARGETFS_KERMOD_PATH=$(TARGETFS_INSTALL_DIR)/lib/mod...
#Android
ANDROID_DISCIMAGE=$(TARGETFS_INSTALL_DIR)/
>
After '''RULE.make''' is completed, execute '''make''', a...
$ make
$ make OMAPES=3.x install
** Build bc10 u-boot [#v6c79115]
>
To build '''u-boot''', please follow the instructions be...
$ cd ~/
$ git clone git://gitorious.org/bc10/u-boot-bc10.git u-b...
$ cd u-boot-bc10
$ git checkout -t -b build origin/build
$ make omap3_bc10_config
$ make
** Build bc10 x-loader [#ac449697]
>
To build '''x-loader''', apply the command lines shown be...
$ cd ~/
$ git clone git://gitorious.org/~bc-dev/x-load-omap3/x-l...
$ cd x-load-bc10
$ git checkout -t -b bc10 origin/bc10
$ make omap3530bc10_config
$ make
'''x-load.bin''' does not meet the specifications and for...
'''x-load.bin''' is written into NAND Flash or SD card as...
'''signGP''' to modify '''x-load.bin'''.~
'''signGP''' can be downloaded from [[here>http://beagleb...
$ signGP x-load.bin
** Modify bc10 boot.scr [#mdfae169]
>
Update '''u-boot-bc10'''. Then, alter '''boot.scr''' with...
~
In [[bc10/froyo]], the configuration of '''video_mode''' ...
and '''omapdss.def_disp''' instead of '''video_mode''' fo...
as the initial value of '''u-boot'''.~
setenv bootargs 'mem=256M androidboot.console=ttyS2 cons...
console=ttyS2,115200n8 root=/dev/mmcblk0p2 init=/init ro...
For DVI output, configure as '''omapdss.def_disp = dvi'''...
setenv bootargs 'mem=256M androidboot.console=ttyS2 cons...
console=ttyS2,115200n8 root=/dev/mmcblk0p2 init=/init ro...
omapfb.mode=dvi:1024x768MR-24@60 omapdss.def_disp=dvi'
For the details, please look at the files, which are loca...
*** Setting Up Build.prop as booting Android [#f44aa5a2]
>
As the default setting, '''ro.sf.lcd_density''' for displ...
than on the other devices. Please make adjustment if the ...
devices. If this happens, change the configuration of '''...
$ cd ~/TI_Android_FroYo_DevKit-V2/Android_Source_Manife...
$ vi build.prop
....
....
ro.sf.lcd_density=120
** About installation of Performance_Apps [#e7f42588]
>
The '''Performance_Apps''' is a not a requirement. This i...
the benchmark software, please follows the instructions s...
'''Luncher''' is replaced with '''Luncher2''', and '''Con...
[[TI_Android_DevKit 02_00_00 Product Download Page>http:/...
Download '''Performance_Apps.tar.gz''' from the link show...
'''Performance_Apps''' is in '''.apk''' (Android Package ...
removed, the icons of HOME screen will be changed. (Perfo...
$ wget http://software-dl.ti.com/dsps/dsps_public_sw/sdo...
$ tar xvfz Performance_Apps.tar.gz
$ cd Performance_Apps
$ vi install_rowboperf.sh
An Error occurs as executing '''Install_rowboperf.sh'''. ...
*** 13,18 ****
--- 13,19 ----
echo "Error: Rootfs location `basename $1` does not exist"
exit $E_BADARGS
fi
+ cd -
echo "Rootfs location is $1"
After the modification is completed, point out the userla...
$ ./install_rowboperf.sh ~/TI_Android_FroYo_DevKit-V2/An...
Due to execute '''Install_rowboperf.sh''', these '''apks...
cp -r ./0xbench/Benchmark-release.apk $1/system/app/
cp -r ./0xbench/armeabi/* $1/system/bin/
cp ./3D/OGLES* $1/system/app/
cp ./3D/lib* $1/system/lib/
cp ./StorageIO/StorageIO.apk $1/system/app/
cp ./rowboatBench/rowboat.benchmark.runner-debug.apk $1/...
cp -r ./RowboPERF/bin/armeabi-v7a/* $1/system/bin/
cp ./RowboPERF/RowboPERF.apk $1/system/app/
cp ./StorageIO/StorageIO.apk $1/system/app/
cp ./Launcher2/Launcher2.apk $1/system/app/
rm $1/system/app/Contacts.apk
rm $1/system/app/Mms.apk
rm $1/system/app/SpeechRecorder.apk
** About CameraPreview Overlay [#w1f85d3e]
>
- As displaying the preview of camera,
- Specifications and limitations are shown below.
-- Work with V4L2 camera
-- The resolution of the camera is configured as 640x480,...
-- According to the display area, it is possible to make ...
is done by hardware.~
-- To create an application, the size of Surfaceview, whi...
-- Event though this modification test is only performed ...
on USB camera, which is compatible with Linux UVC.~
** Limitations [#z4a5b658]
>
- Once pass the time to turn off the back light and shift...
'''HOME''' or '''RETURN''' buttons are pushed. To avoid t...
which is located at the configuration data base. Change t...
bootable SD card on the working environment of the PC. T...
'''/media/EXT3'''.~
$ cd /media/EXT3/data/data/com.android.providers.setting...
$ sudo sqlite3 settings.db
sqlite> update system set value="-1" where name="screen_...
sqlite> .quit
As completing this process, bc10 is needed to be booted. ...
off its power.~
* Revision History [#nd759156]
- 2010/12/24 This article is initially uploaded
Page: