imx6q boot from TF card (sdhc2) error

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

imx6q boot from TF card (sdhc2) error

4,516 次查看
liu_jialu
Contributor III

on my custom im6q board, run m6.0.1_2.1.0-ga boot from TF card (in SDHC2 slot, 64GB), flash tool is ./device/fsl/common/tools/fsl-sdcard-partition.sh,

 

system stuck at keep scaning the "android" logo, and i got the error bellow from the boot info:

 

EXT4-fs (mmcblk1p5): mounted filesystem with ordered data mode. Opts: barrier=1
fs_mgr: __mount(source=/dev/block/mmcblk1p5,target=/system,type=ext4)=0         
fs_mgr: __mount(source=/dev/block/mmcblk1p4,target=/data,type=ext4)=-1          
fs_mgr: fs_mgr_mount_all(): possibly an encryptable blkdev /dev/block/mmcblk1p4)
fs_mgr: __mount(source=/dev/block/mmcblk1p6,target=/cache,type=ext4)=-1         
fs_mgr: Failed to mount an un-encryptable or wiped partition on/dev/block/mmcblm
EXT4-fs (mmcblk1p7): mounted filesystem with ordered data mode. Opts: (null)    
fs_mgr: __mount(source=/dev/block/mmcblk1p7,target=/device,type=ext4)=0         
init: fs_mgr_mount_all returned an error                                        
init: fs_mgr_mount_all returned unexpected error 255

 

what can i do then? thanks a lot.

 

attached files are burn-log and boot-log.

Original Attachment has been moved to: burn-log.txt.zip

Original Attachment has been moved to: minicom1930.cap.zip

标签 (1)
0 项奖励
回复
6 回复数

4,180 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Liu

please try to program sd card using mfg tools:

http://www.nxp.com/webapp/Download?colCode=IMX6_M6.0.1_2.1.0_MFG_TOOL&appType=license&location=null&... 

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

4,180 次查看
liu_jialu
Contributor III

MfgTool stopped at "Loading U-boot", and the debug console display nothing.

maybe the sending imgs is not suitable for my custom board, yes?

i putted the imgs to the location: Profiles/Linux/OS Firmware/files/android/sabresd/

the custom files are: boot-imx6q.img recovery-imx6q.img system.img u-boot-imx6q.imx

and certainly, it can work on official sabresd board.

what's my fault now? thanks.

0 项奖励
回复

4,180 次查看
liu_jialu
Contributor III

and the file which i double clicked is: mfgtool2-android-mx6q-sabresd-sd.vbs

0 项奖励
回复

4,178 次查看
igorpadykov
NXP Employee
NXP Employee

for new board first it is necessary to run ddr test

https://community.freescale.com/docs/DOC-105652 

then with new calibration settings (enter them in uboot/.../mx6sabresd/*.cfg file)

rebuild and replace mfg tools firmware (filles in /firmware), use attached Yocto Guide

sect.6.2 Manufacturing Tool, MFGTool

~igor

0 项奖励
回复

4,178 次查看
liu_jialu
Contributor III

ok, thank you.

you mean i must have a runnable custom board img first, then i can use MfgTool to burn sd card. yes?

that's mean i can't debug the system with the sd card.

can i have a doc about m6.0.1_2.1.0-ga debug with TFTP and NFS, i found some docs on this community, but it's about imx5 or some other android version. thanks.

and another question: i cheat the official sabresd board to burn my custom img to SD card, then dd the SD img to the TF card, but still got the error like before:

EXT4-fs (mmcblk1p5): mounted filesystem with ordered data mode. Opts: barrier=1
fs_mgr: __mount(source=/dev/block/mmcblk1p5,target=/system,type=ext4)=0         
fs_mgr: __mount(source=/dev/block/mmcblk1p4,target=/data,type=ext4)=-1          
fs_mgr: fs_mgr_mount_all(): possibly an encryptable blkdev /dev/block/mmcblk1p4)
fs_mgr: __mount(source=/dev/block/mmcblk1p6,target=/cache,type=ext4)=-1         
fs_mgr: Failed to mount an un-encryptable or wiped partition on/dev/block/mmcblm
EXT4-fs (mmcblk1p7): mounted filesystem with ordered data mode. Opts: (null)    
fs_mgr: __mount(source=/dev/block/mmcblk1p7,target=/device,type=ext4)=0         
init: fs_mgr_mount_all returned an error                                        
init: fs_mgr_mount_all returned unexpected error 255

0 项奖励
回复

4,178 次查看
liu_jialu
Contributor III

thanks for reply, but got another error :

sfdisk: ERROR: sector 0 does not have an msdos signature
 /dev/sdb: unrecognized partition table type
No partitions found

0 项奖励
回复