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
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
Hi aravinthkumar :
Android8.0.How to build for SD card binary?
Regards,
crl6
Hi,
You can use below command to build for SD card.
=> make BUILD_TARGET_DEVICE=sd
Regards,
Aravinth
Hi Li Tater,
I've already tried that.The problem still exists.
Regards,
Crl6
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.
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
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