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

750 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

0 Kudos
2 Replies

518 Views
igorpadykov
NXP Employee
NXP Employee

Hi mehul

please try mfg tools for making bootable sd card, as it automatically

makes necessary partitioning, use appropriate *.vbs script for used media,

for example for sd - mfgtool2-android-mx7d-sabresd-sd.vbs. Put demo files to

..OS Firmware/files folder.

Mfg Tools
http://www.nxp.com/webapp/Download?colCode=IMX6_L4-1-15_2-0-0_MFG-TOOL&appType=license&location=null...
Demo Images
http://www.nxp.com/webapp/Download?colCode=IMX6_M6.0.1_2.1.0_A_DEMO_7D_BSP&appType=license&location=...

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

0 Kudos

518 Views
mehulshah
Contributor III

Hi Igor ,

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 boot from SDCard only.)

 

Thanks ,

Mehul

0 Kudos