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
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
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
Hi crr6,
Once flash is done. You need to save the GPT partition table.
Please follow the below steps.
Regards,
Aravinth
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
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.