Error when downloading system.img

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

Error when downloading system.img

2,086 次查看
xianchaoyang
Contributor I

I'm using i.MX6Q Sabresd(vid="15A2" pid="0054") board to run android_N7.1.1_1.0.0_image_6dqpsabresd with android_N7.1.1_1.0.0_tools.

But when I download the system.img, it just failed.

From the UART logs I'm sure it failed at :

<CMD state="Updater" type="push" body="$ simg2img files/android/sabresd/system.img /dev/mmcblk%mmc%p5">writting sparse system.img</CMD>

logs from mfgtool:

ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is send
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ tar xf $FILE
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ sh mksdcard-android.sh /dev/mmcblk3
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ dd if=/dev/zero of=/dev/mmcblk3 bs=1k seek=768 conv=fsync count=8
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ echo 0 > /sys/block/mmcblk3boot0/force_ro
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is send
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ dd if=$FILE of=/dev/mmcblk3boot0 bs=512 seek=2
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ echo 1 > /sys/block/mmcblk3boot0/force_ro
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ mmc bootpart enable 1 1 /dev/mmcblk3
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ ls -l /dev/mmc*
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is send
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ dd if=$FILE of=/dev/mmcblk3p1
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ mkfs.ext4 -E nodiscard /dev/mmcblk3p5
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ mkfs.ext4 -E nodiscard /dev/mmcblk3p6
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ mkfs.ext4 -E nodiscard /dev/mmcblk3p7
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ mount -o remount,size=800M rootfs /
ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is send

ModuleID[2] LevelID[1]: PortMgrDlg(0)--MSCDevice--Command Push(file) excute failed
ModuleID[2] LevelID[10]: CmdOperation[0], current command executed failed, so SetEvent(hDevCanDeleteEvent)

How can I resolve it? Or does anyone meet this before?

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

1,758 次查看
igorpadykov
NXP Employee
NXP Employee

Hi xianchao

"6dqpsabresd" and "qp" suffix in names are intended to usage with i.MX6QP Sabre

board which is different than i.MX6Q Sabre board. Note that i.MX6QP has significant

differencies compared with i.MX6Q and its images will not run on i.MX6Q.

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

0 项奖励
回复

1,758 次查看
xianchaoyang
Contributor I

Hi igorpadykov,

Thanks for your reply.

I downloaded Demo Images from : 

http://www.nxp.com/webapp/Download?colCode=IMX6_N7.1.1_1.0.0_ANDROID_DEMO_SD_BSP&appType=license&loc... 

And the file name is android_N7.1.1_1.0.0_image_6dqpsabresd.tar.gz

6qp 6q 6dl, these three image are all in it, so I didn't misunderstand the name convention,

and I use :

\u-boot-imx6q.imx

\eMMC\boot-imx6q.img

\eMMC\recovery-imx6q.img

\eMMC\system.img

to download.

So, I think the root cause must be something else.

0 项奖励
回复

1,758 次查看
igorpadykov
NXP Employee
NXP Employee

Hi xianchao

please try to use mfg tool with script mfgtool2-android-mx6qp-sabresd-sd.vbs

for programming image

http://www.nxp.com/webapp/Download?colCode=IMX6_N7.1.1_1.0.0_TOOL&appType=license&location=null&Pare... 

Best regards
igor

0 项奖励
回复

1,758 次查看
PaulDeMetrotion
Senior Contributor I

I am trying to use the manufacturing tool on a device with the i.MX6QP processor. Do I need to add the PID and VID values for this device or is it the same as the MX6Q? This is what I currently have in the ucl2.xml file:

<CFG>
<STATE name="BootStrap" dev="MX6SL" vid="15A2" pid="0063"/>
<STATE name="BootStrap" dev="MX6D" vid="15A2" pid="0061"/>
<STATE name="BootStrap" dev="MX6Q" vid="15A2" pid="0054"/>
<STATE name="BootStrap" dev="MX6SX" vid="15A2" pid="0071"/>
<STATE name="BootStrap" dev="MX6UL" vid="15A2" pid="007D"/>
<STATE name="BootStrap" dev="MX7D" vid="15A2" pid="0076"/>
<STATE name="Updater" dev="MSC" vid="066F" pid="37FF"/>
</CFG>

0 项奖励
回复