Pre-built image of Android-M for imx7 does not working

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

Pre-built image of Android-M for imx7 does not working

978 Views
mehulshah
Contributor III

Hi All.

 


I have made the partition of SD card using the script given in the

 

./device/fsl/common/tools/fsl-sdcard-partition.sh (Please find the attached script).

 


then i did

 

fdisk /dev/sde

 

Command (m for help): t
Partition number (1-9): 1
Hex code (type L to list codes): b

 

Command (m for help): w
The partition table has been altered!

 

Calling ioctl() to re-read partition table.
Syncing disks.

 


then converted system.img to raw format

 

../host/linux-x86/bin/simg2img system.img system_raw.img

 

then i flashed the images :

 


sudo dd if=u-boot-imx7d.imx of=/dev/sde bs=1k seek=1 ; sync
sudo dd if=boot-imx7d.img of=/dev/sde1 ; sync
sudo dd if=recovery-imx7d.img of=/dev/sde2 ; sync
sudo dd if=system_raw.img of=/dev/sde4 ; sync

 


initially i was getting SElinux related issues...so i disabled SElinux

 

in the file

 

./device/fsl/sabresd_7d/BoardConfig.mk

 

and then i flashed so i am getting

 

Kernel command line: console=ttymxc0,115200 init=/init androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale androidboot.selinux=disabled

 


in the log....

 


but still i am facing issue related to init failed and binder transaction failed....please find the attached log and give your suggestions.

 


Thanks ,

 

Mehul

Original Attachment has been moved to: fsl-sdcard-partition.sh

Original Attachment has been moved to: 3rd_march_se_disable_log.txt.zip

Labels (1)
3 Replies

620 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi Mehul,

Have you tried MFGtool?

You can get IMX6_M6.0.1_2.1.0_ANDROID_DEMO_iMX7D_BSP(REV M6.0.1_2.1.0)  from here Android OS for i.MX Applications Processors|NXP 

Then in SABRE Platform for Smart Devices|NXP you can get IMX6_M6.0.1_2.1.0_MFG_TOOL(REV M6.0.1_2.1.0)

And in documentation IMX6_M6.0.1_2.1.0_ANDROID_DOCS (REV M6.0.1_2.1.0) you can get the Quick Start guide which explains how to use the tool.


Regards,
Carlos

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

620 Views
mehulshah
Contributor III

Hi Carlos ,

Thanks for reply....but,

1> I want to boot from SDcard , not from emmc . i dont want to flash anything on the board.i just want to boot from SDcard.

2> also, I am using ubuntu system , so it will be very nice , if you can suggest me the way to do partition on ubuntu system .

in the Android Quick start guide , it is clearly written that MFGtool will work only on window's system. if you still think that it will be done only on windows system , then let me know the steps to make the partition of SDcard on windows system ,i will try that also( but i want to use SDCard only.)

Thanks ,

Mehul

0 Kudos

620 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi mehul,

in documentation IMX6_M6.0.1_2.1.0_ANDROID_DOCS (REV M6.0.1_2.1.0) you can Android_User's_Guide_review.pdf which explains the process you are asking for.


Regards,
Carlos

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------