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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
2,166件の閲覧回数
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?

ラベル(2)
0 件の賞賛
返信
1 解決策
1,714件の閲覧回数
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 件の賞賛
返信
5 返答(返信)
1,714件の閲覧回数
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 件の賞賛
返信
1,715件の閲覧回数
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 件の賞賛
返信
1,714件の閲覧回数
huipingping
Contributor I

It‘s OK now. Thank you!!

0 件の賞賛
返信
1,714件の閲覧回数
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 件の賞賛
返信
1,714件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

You can download the BSP from here:

i.MX 6 Series Software and Development Tool|Freescale

0 件の賞賛
返信