AnsweredAssumed Answered

iMX6solo: MFGTool shows "Text file busy"

Question asked by Gary Yin on Aug 16, 2016
Latest reply on Aug 17, 2016 by Gary Yin

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

Outcomes