iMX6solo: MFGTool shows "Text file busy"

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

iMX6solo: MFGTool shows "Text file busy"

613 次查看
garyyin
Contributor III

ver: MFGTool_MultiPanel(Library:2.1.1)

My ucl2.xml:

...

<CMD state="Updater" type="push" body="send" file="files/Image-tool">Sending tool Image-tool</CMD>

<CMD state="Updater" type="push" body="save img-tool">Saving Image-tool...</CMD>

<CMD state="Updater" type="push" body="$ chmod +x img-tool">Chmod img-tool...</CMD>

<CMD state="Updater" type="push" body="send" file="files/Image">Sending kernel zImage</CMD>

<CMD state="Updater" type="push" body="$ ./img-tool $FILE"/>

...

files/Image-tool is an linux app, used to processing linux kernel image file.

The related debug info:

UTP: received command 'send'

UTP: sending Success to kernel for command send.

UTP: received command 'save img-tool'

UTP: sending Success to kernel for command save img-tool.

UTP: received command '$ chmod +x img-tool'

UTP: executing "chmod +x img-tool"

UTP: sending Success to kernel for command $ chmod +x img-tool.

utp_poll: pass returned.

UTP: received command 'send'

UTP: sending Success to kernel for command send.

UTP: received command '$ ./img-tool $FILE'

UTP: executing "./img-tool $FILE"

sh: ./img-tool: Text file busy

UTP: sending Non-success to kernel for command $ ./img-tool $FILE.

utp_poll: exit with status 512

标签 (3)
标记 (3)
0 项奖励
2 回复数

445 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Gary

please use simg2img, included in android-tools-fsutils package

for Ubuntu and it is used in nxp android mfg tools releases on

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 项奖励

445 次查看
garyyin
Contributor III

Thanks, I've solved it by another way.

0 项奖励