Unable to create system.img for android lollipop

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

Unable to create system.img for android lollipop

Jump to solution
1,552 Views
kishorepoojari
Contributor III

Hello All ,

  When I building android(Lollipop 5.0.0.1) for imx6slevk board , system.img is not able to generate.

Following error is obtained:

Install system fs image: out/target/product/evk_6sl/system_sparse.img

out/target/product/evk_6sl/system_sparse.img+out/target/product/evk_6sl/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=481738752 blocksize=4224 total=403801046 reserve=4866048

if [ true = true ]; then \

        simg2img out/target/product/evk_6sl/system_sparse.img out/target/product/evk_6sl/system.img; \

        fi

/bin/bash: line 1: simg2img: command not found

make: *** [out/target/product/evk_6sl/system_sparse.img] Error 127

make: *** Deleting file `out/target/product/evk_6sl/system_sparse.img'

I have installed all package listed in the Android User guide as well as Establishing a Build Environment | Android Open Source Project

still any package are missing...?

please help me sort out this issue...

Regards,

Kishore P

Labels (3)
Tags (1)
0 Kudos
1 Solution
749 Views
kishorepoojari
Contributor III

Hello Gusarambula ,

   I have give the full path with the "simg2img" to solve the issue.

if [ true = true ]; then \

        /home/test/Android_Source/out/host/linux-x86/bin/simg2img out/target/product/evk_6sl/system_sparse.img  out/target/product/evk_6sl/system.img; \

        fi

Regards,

Kishore P

View solution in original post

2 Replies
749 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Kishore Poojari,

Are you still experiencing issues building Android? Have you followed the Android User’s Guide step by step? If so, did you receive any error message when downloading or patching the source code?

0 Kudos
750 Views
kishorepoojari
Contributor III

Hello Gusarambula ,

   I have give the full path with the "simg2img" to solve the issue.

if [ true = true ]; then \

        /home/test/Android_Source/out/host/linux-x86/bin/simg2img out/target/product/evk_6sl/system_sparse.img  out/target/product/evk_6sl/system.img; \

        fi

Regards,

Kishore P