Patch is no longer necessary and has been removed to avoid confusion.
The r10.3 BSP has been updated with new instructions and is available for download from Freescale.com:
1. Go to http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53_SW
2. Scroll down to the SABRE for Tablet section and click on the 'i.MX53 Android 10.3 Source Code' link.
It seems these instructions are all out of date -- most of the referenced Git servers do not exist. Is there a current set of instructions for the SABRE board when you want to build the Android OS, kernel, and boot loader?
Thanks everyone for your help. Managed to download everything following Jason's method.
However upon building Android image, I got the following error
cts/apps/CtsVerifier/tests/src/com/android/cts/verifier/CtsVerifierActivityTest.java:47: cannot find symbol
symbol : variable welcome
location: class com.android.cts.verifier.R.id
mWelcomeTextView = (TextView) mActivity.findViewById(R.id.welcome);
^
1 error
make: *** [out/target/common/obj/APPS/CtsVerifierTests_intermediates/classes-full-debug.jar] Error 41
Complete the build, I need to change the source to
mWelcomeTextView = (TextView) mActivity.findViewById(R.id.welcome_text);
Is this correct?
Thanks Jason!
I was able to clone that kernel repository just fine and checkout the v2.6.35.3 tag
The patches appear to apply just fine also.
Adeneo has kindly updated their FTP site with a patched download_android.sh!
You just need to download the fixed script :)
Thanks a lot Adeneo!
Kevin - I should've included this in the original reply too :)
I haven't tried applying the patches with 10.2 ... but for 10.3 I used this for the git source:
"git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git kernel_imx"
See if that works for you too.
Thanks Jason!
Your patch works great for downloading vanilla Android sources but what about the kernel source?
The r10.2 download_android.sh script is performing the following to obtain kernel sources:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.35.y.git kernel_imx &&
cd kernel_imx &&
git checkout v2.6.35.3
Has anyone found an equivalent git source that will work okay when the QSB patches are applied?
It worked for me.
Thanks a lot.
Thanks Charles, this is the error that I get. As far as I understand it, it is still searching for the old repo on kernel.org.
[tdfs@Movy ~/i.MX53-QSB-Android-Gingerbread-Release4.0/scripts ]$ ./download_android.sh
/home/tdfs/i.MX53-QSB-Android-Gingerbread-Release4.0/install/imx-android-r10 already exists
Cowardly refusing to clobber it
Extracting FSL code...
Getting repo ...
from git://android.git.kernel.org/tools/repo.git
fatal: unable to connect to android.git.kernel.org:
android.git.kernel.org[0: 149.20.4.77]: errno=Connection refused
[tdfs@Movy ~/i.MX53-QSB-Android-Gingerbread-Release4.0/scripts ]$
could you list some the of error message ?
repo error or site error ?
Alberto M. Scattolo said:
I just estracted Adeneo i.MX53-QSB-Android-Gingerbread-Release4.0. I tryed to run scripts/download_android.sh and of course it fails because it points to kernel.org repo. Than I edited install/imx-android-r10.2/code/r10.2/default.xml and tryed download_android.sh and it fails again, for the same reason.
Where is my mistake? Thanks a lot!
I just estracted Adeneo i.MX53-QSB-Android-Gingerbread-Release4.0. I tryed to run scripts/download_android.sh and of course it fails because it points to kernel.org repo. Than I edited install/imx-android-r10.2/code/r10.2/default.xml and tryed download_android.sh and it fails again, for the same reason.
Where is my mistake? Thanks a lot!
Thanks, this is a good replacement.
just modify the default.xml, then everythis is OK.
Lily Zhang said:
You can try to clone from Linaro android: http://android.git.linaro.org/gitweb
https://android.googlesource.com
and according this thread :
https://groups.google.com/forum/#!topic/android-building/IwlEJtE1LsI
the alsa_lib, alsa_utils, alas_sound will not be included anymore.
I've the same problem.
According to this (https://groups.google.com/forum/#!msg/android-building/IwlEJtE1LsI/WtHcsPkUPMcJ) and this (http://source.android.com/source/downloading.html) I did these steps:
1. modified i.MX53-QSB-Android-Gingerbread-Release4.0/script/download_android.sh to download the repo bin by google
2. modified the reposity address and protocol (near line 100):
# ./repo init -u git://android.git.kernel.org/platform/manifest.git -b android-2.3.3_r1 || exit 1
./repo init -u https://android.googlesource.com/platform/manifest -b android-2.3.3_r1 || exit 1
Unfortnunately this seems not enought. I hope someone will help.
Thanks a lot.