Android 7.1.2 Filesystem not Mounted

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

Android 7.1.2 Filesystem not Mounted

12,945 Views
aravinthkumarja
Senior Contributor II

Hi All,

I'm using imx6q Android 7.1.2 BSP. Android not able to mount the system img. Can you tell from where by-name value will fetch.?

audit: type=1400 audit(127.380:4): avc:  denied  { read write } for  pid=222 comm="slideshow" name="card0" dev="tmpfs" ino=9583 scontext=u:r:slideshow:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
audit: type=1400 audit(127.400:5): avc:  denied  { dac_override } for  pid=222 comm="slideshow" capability=1  scontext=u:r:slideshow:s0 tcontext=u:r:slideshow:s0 tclass=capability permissive=0
slideshow: failed to initialize minui
fec: <223> error: fec_open: failed to open '/dev/block/by-name/system': No such file or directory
fs_mgr: Failed to open '/dev/block/by-name/system' (No such file or directory)
fs_mgr: Could not set up verified partition, skipping!\

Regards,

Aravinth

Labels (4)
0 Kudos
31 Replies

1,042 Views
aravinthkumarja
Senior Contributor II

While build you have to build for SD card binary. Are you build like that.?

In uboot give printenv and send that response log also.!

Regards,

Aravinth

0 Kudos

1,042 Views
crl6crl6
Contributor III

Hi aravinthkumar :

 Android8.0.How to build for SD card binary?

Regards,

crl6

0 Kudos

1,042 Views
aravinthkumarja
Senior Contributor II

Hi,

You can use below command to build for SD card.

=>  make BUILD_TARGET_DEVICE=sd

Regards,

Aravinth

0 Kudos

1,042 Views
crl6crl6
Contributor III

Hi Li Tater,

I've already tried that.The problem still exists.

Regards,

Crl6

0 Kudos

1,042 Views
aravinthkumarja
Senior Contributor II

Hi Crl6

While flash in SD card, gpt has some saving problem. When i was trying, i flashed the sdcard and put it in linux ubuntu system, then i saved the GPT. After that i put it in board. It works fine.

Regards,

Aravinth

0 Kudos

1,038 Views
crl6crl6
Contributor III

HI, aravinthkumar,

My steps are as follows:

crl6@crl6:~/android_build/out/target/product/sabresd_6dq$ pwd
/home/crl6/android_build/out/target/product/sabresd_6dq
crl6@crl6:~/android_build/out/target/product/sabresd_6dq$ cat /etc/issue
Ubuntu 16.04.3 LTS \n \l

crl6@crl6:~/android_build/out/target/product/sabresd_6dq$ sudo ../../../../device/fsl/common/tools/fsl-sdcard-partition.sh -f imx6q -c 14 /dev/sdb


the board log is at below:
................................
caam 2100000.caam: device ID = 0x0a16010000000000 (Era 4)
caam 2100000.caam: job rings = 2, qi = 0
mmc1: host does not support reading read-only switch, assuming write-enable
mmc1: new high speed SDHC card at address 0001
mmcblk1: mmc1:0001 SD16G 14.6 GiB
Primary GPT is invalid, using alternate GPT.
mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11
caam algorithms registered in /proc/crypto
.........................................

How did you solve it?

Regards,

crr6

0 Kudos

1,027 Views
aravinthkumarja
Senior Contributor II

Hi crr6,

Once flash is done. You need to save the GPT partition table.

Please follow the below steps.

partitioning - How can I quickly copy a GPT partition scheme from one hard drive to another? - Ask U... 

Regards,

Aravinth

0 Kudos

1,027 Views
crl6crl6
Contributor III

HI, aravinthkumar,

First of all, thank you very much for your answer.

My steps are as follows:

crl6@crl6:~/android_build/out/target/product/sabresd_6dq$ sudo ../../../../device/fsl/common/tools/fsl-sdcard-partition.sh -f imx6q -c 14 /dev/sdb


when burning vendor_raw.img file, Ubuntu can view sdcard files. i exec command
sgdisk --backup=table /dev/sdb

when fsl-sdcard-partition.sh is finish,now Ubuntu can't view sdcard files. (because ""dd if=${bootloader_file} of=${node} bs=1k seek=${bootloader_offset} conv=fsync"")
then i exec command as follows:
sgdisk --load-backup=table /dev/sdb
sgdisk -G /dev/sdb

now Ubuntu can view sdcard files.
After that i put sdcard in board,it is can't start uboot!!


Can you give me more details?

Regards,

crr6

0 Kudos

1,042 Views
3401848300
Contributor III

This cannot be started because my SDMMC interface uses the default UART pin of the sabresd reference board, which made me unable to boot, tried many times, and showed no display on the screen.

0 Kudos

1,042 Views
crl6crl6
Contributor III

Hi Li Tater,

I meet same issue when porting Android8.0. our custom board booting from mmc1(usdhc2) .
Did you resolved this ? If so , Can you give me a hint ?

Regards,

Crl6

0 Kudos

1,043 Views
ashasampathkuma
Contributor I

It is SD card boot. To flash the image, I followed the procedure given in Android_User's_Guide.pdf section 5.1.1.

Regards,

Asha. S

0 Kudos