Victor Lan

how can I download the android source file working on iMX53QSB

Discussion created by Victor Lan on Feb 14, 2012
Latest reply on May 4, 2017 by Rijurekha Sen

Hi everyone 

I had installed ubuntu10.10 on VMware,  and I download the android source code "Freescale-iMX53-QSB-Android 2.3-Version 4.0" from the Adeneo website "http://www.adeneo-embedded.com/"

follow the user guide build prerequistes "http://source.android.com/source/initializing.html"

 

***Java 6: for Gingerbread and newer

$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
$ sudo apt-get update 
$ sudo apt-get install sun-java6-jdk


***32-bit (experimental)
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \ zip curl zlib1g-dev libc6-dev libncurses5-dev x11proto-core-dev \ libx11-dev libreadline6-dev libgl1-mesa-dev tofrodos python-markdown \ libxml2-utils xsltproc

***installing repo
$ mkdir ~/bin 
$ PATH=~/bin:$PATH

$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo 
$ chmod a+x ~/bin/repo


ABOVE was i did prerequistes.

then I follow the user-guide below the appendix, when i unpack the tar.gz file:

$tar zxvf i.MX53-QSB-Android-Release4.0.tar.gz

$ cd i.MX53-QSB-Android-Release4.0/scripts

 

then i Run the script “download_android.sh”

$ ./download_android.sh

 

but show the below error message 

------------------------------------------------------------------------------------------------------------------------

[: 63: /home/victor/FSL-iMX53-QSB-DROID_ANDROID_FOR_FREESCALE_v4.0/Freescale-iMX53-QSB-Android: unexpected operator
/home/victor/FSL-iMX53-QSB-DROID_ANDROID_FOR_FREESCALE_v4.0/Freescale-iMX53-QSB-Android 2.3-Version 4.0/i.MX53-QSB-Android-Gingerbread-Release4.0/install/imx-android-r10 already exists
Cowardly refusing to clobber it
[: 76: /home/victor/FSL-iMX53-QSB-DROID_ANDROID_FOR_FREESCALE_v4.0/Freescale-iMX53-QSB-Android: unexpected operator
/home/victor/FSL-iMX53-QSB-DROID_ANDROID_FOR_FREESCALE_v4.0/Freescale-iMX53-QSB-Android 2.3-Version 4.0/i.MX53-QSB-Android-Gingerbread-Release4.0/install/imx-android-r10/code already exists
Cowardly refusing to clobber it
cp: omitting directory `/home/victor/FSL-iMX53-QSB-DROID_ANDROID_FOR_FREESCALE_v4.0/Freescale-iMX53-QSB-Android'
cp: omitting directory `2.3-Version'
cp: cannot stat `4.0/i.MX53-QSB-Android-Gingerbread-Release4.0/download/repo': No such file or directory
cp: omitting directory `/home/victor/FSL-iMX53-QSB-DROID_ANDROID_FOR_FREESCALE_v4.0/Freescale-iMX53-QSB-Android'
cp: omitting directory `2.3-Version'
Error: failed to copy repo
Please download from http://android.git.kernel.org/repo and copy to /home/victor/FSL-iMX53-QSB-DROID_ANDROID_FOR_FREESCALE_v4.0/Freescale-iMX53-QSB-Android 2.3-Version 4.0/i.MX53-QSB-Android-Gingerbread-Release4.0/download

---------------------------------------------------------------------------------------------------------------------

what did I missing something 

thx help


Outcomes