(Android 5.0)Patch code for i.MX6Q failed. c_patch does't work

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

(Android 5.0)Patch code for i.MX6Q failed. c_patch does't work

Jump to solution
2,158 Views
huipingping
Contributor I

We want to run android 5.0 on our I.MX6Q. We download the source code,freescale kernel,U-boot,path. Following the Android User's Guide, we now having a problem when patching. After running source /opt/android_L5.0.0_1.0.0-ga_core_source/code/l5.0.0_1.0.0-ga/and_patch.sh and enters help, it shows this:

Invoke ". and_patch.sh" from your shell to add following functions to your enviroment:

-- c_gotop:  Change directory .....

-- c_patch:  Recover working tree...

Then, running c_patch /opt/android_L5.0.0_1.0.0-ga_core_source/code/l5.0.0_1.0.0-ga imx_l5.0.0_1.0.0-ga does't work. It shows c-patch: commond not found. Why c_patch does't work? Was it really add c_patch function sucessfully when running “  source /opt/android_L5.0.0_1.0.0-ga_core_source/code/l5.0.0_1.0.0-ga/and_patch.sh”. How can we patch sucessfully?

Labels (2)
0 Kudos
Reply
1 Solution
1,706 Views
jimmychan
NXP TechSupport
NXP TechSupport

I think you may missed some steps. Please try again. It should work.

2.2 Unpacking the Android release package

After you have set up a computer running Linux OS, unpack the Android release package by using the following commands:

# cd /opt (or any other directory where you placed the android_L5.0.0_1.0.0-ga_core_source.tar.gz file, but make sure you have permission to access that directory;

otherwise, c_patch cannot work properly)

please check the permission to access the directory.

View solution in original post

0 Kudos
Reply
5 Replies
1,706 Views
amychou
Contributor I

Hi,

I have the same problem as well.

I also do the step - 2.2 Unpacking the Android release package

and make sure I have the permission to access the directory.

However, it still shows the same result.

Any other steps missing?

Thanks.

0 Kudos
Reply
1,707 Views
jimmychan
NXP TechSupport
NXP TechSupport

I think you may missed some steps. Please try again. It should work.

2.2 Unpacking the Android release package

After you have set up a computer running Linux OS, unpack the Android release package by using the following commands:

# cd /opt (or any other directory where you placed the android_L5.0.0_1.0.0-ga_core_source.tar.gz file, but make sure you have permission to access that directory;

otherwise, c_patch cannot work properly)

please check the permission to access the directory.

0 Kudos
Reply
1,706 Views
huipingping
Contributor I

It‘s OK now. Thank you!!

0 Kudos
Reply
1,706 Views
Babu
Contributor I

Hi Guys,

can some one help me to download "android_L5.0.0_1.0.0-ga_core_source.tar.gz" . I am not able to find it in freescale.com.

0 Kudos
Reply
1,706 Views
jimmychan
NXP TechSupport
NXP TechSupport

You can download the BSP from here:

i.MX 6 Series Software and Development Tool|Freescale

0 Kudos
Reply