Problem in getting Android Source Code (Android/Kernel/uboot) for i.MX

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem in getting Android Source Code (Android/Kernel/uboot) for i.MX

558 Views
admin
Specialist II

Hi,

When i was  executing with the command as  specified in the below link

http://source.android.com/source/downloading.html

ie., after executing, repo init -u https://android.googlesource.com/platform/manifest -b android-2.3.3_r1

when i was executing the below command as specified in the above attachment in 

2. Build Android for i.MX

2.1 Get Android Source Code (Android/Kernel/uboot)

cp /opt/imx-android-r10.2/code/r10.2/default.xml .repo/manifests/default.xml 



ubuntu@ubuntu-laptop:~/myandroid$ cp /opt/imx-android-r10.2/code/r10.2/default.xml .repo/manifests/default.xml 
cp: cannot stat `/opt/imx-android-r10.2/code/r10.2/default.xml': No such file or directory
ubuntu@ubuntu-laptop:~/myandroid$ cp /opt/imx-android-r10.2/code/r10.2/default.xml .repo/manifests/default.xml 
cp: cannot stat `/opt/imx-android-r10.2/code/r10.2/default.xml': No such file or directory

Could you please let me kno of to resolve the above problem

Kindly do the needful as soon as possible this might be silly am sorry as am helpless

Thanks,
Srinivasan S

Tags (1)
0 Kudos
1 Reply

390 Views
RogerioNunes
NXP Employee
NXP Employee

If you have installed your BSP into /opt (1.2 Unpack i.MX Android Release Package), then you probably forgot to unpack r10.2.tar.gz inside /opt/imx-android-r10.2/code/ (cd /opt/imx-android-r10.2/code/; sudo tar -xzf r10.2.tar.gz).

However, even if you have the file 'default.xml' from your BSP available, copying it on top of the default 'default.xml' file inside Android tree is not recommended, as google moved Android's repositories to new servers and the links will differ. I would suggest you to compare the files mannually or download a newr Android BSP, which is already adpated to the new Android servers.

0 Kudos