Patch iMX6 "Error! Wrong project type at line 1 of basefile"

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

Patch iMX6 "Error! Wrong project type at line 1 of basefile"

857 Views
armandvignat
Contributor II

Hi,

I've downloaded Android sources. I follow the "5 Get Android Source Code (Android/Kernel/U-Boot)" of the Android User Guide without any problems.

Now I need to patch the code (point 5.1).

The sources folder is in "/home/user/Project/Sources". I unzipped the package imx_android_13.4.1.tar.gz in home/user/imx-android-13.4.1

I did the source command with and_patch.sh, and when I do help I can see the c_patch.

But when I do the "c_patch /home/user/imx-android-13.4.1/code/13.4.1 imx_13.4.1" from my "/home/user/Project/Sources"

I got this :

Parsing basefile /home/ias/imx-android-13.4.1/code/13.4.1/baseversion...

c_patch:[:77: argument expected

c_patch:[:92: too many arguments

c_patch:[:77: argument expected

c_patch:[:92: too many arguments

c_patch:[:77: argument expected

c_patch:[:92: too many arguments

[...]

c_patch:[:77: argument expected

c_patch:[:92: too many arguments

c_patch:[:77: argument expected

c_patch:[:92: too many arguments

c_patch:[:77: argument expected

c_patch:[:92: too many arguments

c_patch:[:77: argument expected

c_patch:[:92: too many arguments

Check work tree and patch dir based on /home/ias/imx-android-13.4.1/code/13.4.1/baseversion...

Checking  project -  ...

Error! Wrong project type  at line 1 of basefile /home/ias/imx-android-13.4.1/code/13.4.1/baseversion


Labels (3)
1 Reply

588 Views
zhaozhao
Contributor III

hi Armand

You need to use bash not zsh . Hope this will help