When I Patch Code for i.mx, then get a error!

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

When I Patch Code for i.mx, then get a error!

2,264件の閲覧回数
MarcLiu
Contributor II

When I Patch Code for i.mx, and get a error:

$ cd ~/myandroid

$ source /opt/android_jb4.3_1.1.0-ga_source/code/jb4.3_1.1.0-ga/and_patch.sh

$ help

$ c_patch /opt/android_jb4.3_1.1.0-ga_source/code/jb4.3_1.1.0-ga imx_jb4.3_1.1.0-ga

Error! Can't locate top dir of repo tree.

What's the meaning about the error,and how to solve the problem?

ラベル(2)
3 返答(返信)

1,540件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello liusf,

I’m sorry to hear you’re having problems building the Android BSP.

I would like to double check that you’re following all the steps of the Android User’s Guide in order.

Steps on section 3.1 initialize the repo and loads all the needed repositories including Freescale’s Kernel and bootloader.

For steps 3.2 you would need to have the Android Source patches unzipped in any known location. The document assumes that you’re using /opt/android_jb4.3_1.1.0-ga_source

However, it is possible to encounter permission problems depending on your configuration and whether you’re running as root or not.

Please follow the first three steps:

$ cd ~/myandroid

$ source /opt/android_jb4.3_1.1.0-ga_source/code/jb4.3_1.1.0-ga/and_patch.sh

$ help

And make sure that you see the c_patch  function available when running help.

Then continue the commands on the Android User’s Guide to patch but make sure that there are no errors on the log. It is possible to have a “permission denied” error and still get the “Success” message at the end, which may be deceiving.

1,540件の閲覧回数
remioukrat
Contributor I

Hi,

Before the patch, you have to download repo and git.

If you get an other error, please give me "error type".

0 件の賞賛
返信

1,540件の閲覧回数
bandelaprathyus
Contributor II

I am facing the same problem. I have downloaded the repo and git before the patch. Please tell me how to solve this problem.

0 件の賞賛
返信