Imx8mq-evk with android 11.0.0_2.0.0 can't mount the metadata

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

Imx8mq-evk with android 11.0.0_2.0.0 can't mount the metadata

5,152 Views
i_MX51
Contributor II

Hi

When i implement the imx8mq-evk with android 11.0.0_2.0.0, i found a question, the debug message show as the below

[ 3.726261] EXT4-fs (mmcblk0p8): VFS: Can't find ext4 filesystem
[ 3.732415] init: [libfs_mgr]__mount(source=/dev/block/by-name/metadata,target=/metadata,type=ext4)=-1: Invalid argument

[ 3.744807] random: init: uninitialized urandom read (16 bytes read)
[ 3.753148] init: [libfs_mgr]Created logical partition system_a on device /dev/block/dm-0
[ 3.761379] init: [libfs_mgr]Skipping zero-length logical partition: system_b
[ 3.768643] random: init: uninitialized urandom read (16 bytes read)
[ 3.777230] init: [libfs_mgr]Created logical partition system_ext_a on device /dev/block/dm-1
[ 3.785780] init: [libfs_mgr]Skipping zero-length logical partition: system_ext_b
[ 3.793350] random: init: uninitialized urandom read (16 bytes read)
[ 3.819824] device-mapper: verity: sha1 using implementation "sha1-ce"
[ 3.826664] device-mapper: table: 252:4: verity: Hash device is too small
[ 3.833472] device-mapper: ioctl: error adding target to table

it seems the mount metadata partition issue, anybody know what' wrong  

BR

0 Kudos
Reply
4 Replies

5,136 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

You boot up from emmc or sd card? Are you using demo images?

0 Kudos
Reply

5,131 Views
i_MX51
Contributor II

Dear

it's booting up from the emmc, and i did some modified in the dts. After trace the code, i found the function " is_ext4_superblock_valid" and  "es->s_magic != EXT4_SUPER_MAGIC" will return false.  

attach the debug message

Thanks

0 Kudos
Reply

5,124 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you tell us what have you modified? If you are using the demo images I can test on my side. If you change the code, you'd better tell us the changes.

0 Kudos
Reply

5,117 Views
i_MX51
Contributor II

Hi

i add the vmmc-supply to avoid the error message in the dts. and the other is the audio codec, usb setting and remove useless setting, and now i found, the "is_ext4_superblock_valid" not always return false, it sometimes will be true, and system run the e2fsck command

pls help to check the dts and debug message

Thanks

&usdhc1{

vmmc-supply = <&sw4_reg>;//add

}

0 Kudos
Reply