When I patch code for i.mx I get an error

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

When I patch code for i.mx I get an error

1,182 Views
bandelaprathyus
Contributor II

- Error! Can't locate top dir of repo tree. I have already downloaded the repo and git, but that doesn't help..

Labels (1)
0 Kudos
4 Replies

994 Views
saurabh206
Senior Contributor III

Hi

Bandela

Can you provide more detail? Which source code you looking for?

And what is repo and git you have used?

Thanks

Saurabh

0 Kudos

994 Views
bandelaprathyus
Contributor II

The source code is android_KK4.4.3_2.0.0-ga_core_source. when I patch code for i.mx using the following steps,

1.Assume you have unzipped the i.MX Android release package to /opt/android_KK4.4.3_2.0.0-ga_source

$ cd ~/myandroid

$ source /opt/android_KK4.4.3_2.0.0-ga_core_source/code/KK4.4.3_2.0.0-ga/and_patch.sh

$ help

2. You should see that the "c_patch" function is available.

$ c_patch /opt/android_KK4.4.3_2.0.0-ga_core_source/code/KK4.4.3_2.0.0-ga

imx_KK4.4.3_2.0.0-ga

I get an error, Error! can't locate top dir of repo tree.

Please explain how to solve this problem..

0 Kudos

994 Views
haoranwang
NXP Employee
NXP Employee

Hi,

     Did you "repo sync" all of the AOSP codes in "~/myandroid" ?

     Thanks.

BRs,

Haoran

0 Kudos

994 Views
bandelaprathyus
Contributor II

Hi,

     Yeah I have done the "repo sync" in "myandroid". The problem was with the java version. It got solved now..

0 Kudos