Android marshmallow stuck on android boot animation on IMX6SL based custom board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Android marshmallow stuck on android boot animation on IMX6SL based custom board

1,554 次查看
namratanalawade
Contributor I

Hi all,

My custom board based on imx6sl is running Android 6.0 but it's stuck at boot animation, only shows "android" on LCD. It couldn't display the complete android UI. After observing the  logs it seems like, the /data and /cache partitions are not getting mounted and are failing with the error- "read only file system". Below is the snippet from the logs - 

############################################################################

fs_mgr: Enabling dm-verity for system (mode 0)
EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: barrier=1
fs_mgr: __mount(source=/dev/block/dm-0,target=/system,type=ext4)=0
fs_mgr: __mount(source=/dev/block/mmcblk0p4,target=/data,type=ext4)=-1
fs_mgr: Failed to mount an un-encryptable or wiped partition on/dev/block/mmcblk0p4 at /data options: (null) error: Read-only file system
fs_mgr: __mount(source=/dev/block/mmcblk0p6,target=/cache,type=ext4)=-1
fs_mgr: Failed to mount an un-encryptable or wiped partition on/dev/block/mmcblk0p6 at /cache options: (null) error: Read-only file system
EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
fs_mgr: __mount(source=/dev/block/mmcblk0p7,target=/device,type=ext4)=0
init: fs_mgr_mount_all returned an error
init: fs_mgr_mount_all returned unexpected error 255
file system registered

############################################################################

The same same SD card works on IMX6SL evaluation board without any mount errors.  The only difference in the development board and the custom board related to SD card is that - on custom board it is booting from mmc0 and on development board it is booting from mmc 1.

We have changed the fstab.freescale  for our custom board to mount the partitions of mmc0.

fstab.freescale of our board is attached below.

 

As the /data and /cache partition fails to get mounted, the android boot up does not go any further.

 

Please help to identify and resolve the issue. Any immediate help would be highly appreciated.

Original Attachment has been moved to: fstab.freescale.zip

标签 (2)
0 项奖励
3 回复数

995 次查看
b36401
NXP Employee
NXP Employee

Please try to perform mkfs for these partitions from the system itself.

Have a great day,
Victor

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

0 项奖励

995 次查看
namratanalawade
Contributor I

Thank you for the reply victor.

I tried to run mke2fs for these partitions but it shows the permission denied error on the custom board.

The same card with change in fstab.freescale ,source as mmcblk1 works well on development board (Only difference is, development board (evk6sl) uses SD3 slot i.e. mmcblk1, whereas in our case of custom board, it is SD2, i.e. mmcblk0).

The card is created with fsl-sdcard-partition.sh. and it gets mounted as ext4 on ubuntu machine.

I have also checked these partition using fsck.ext4 utility,it results as clean.

Also, other partitions than /data and /cache gets mounted without any error.

0 项奖励

995 次查看
namratanalawade
Contributor I

Kindly help to debug the issue.

0 项奖励