iMX6solo: MFGTool shows "Text file busy"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX6solo: MFGTool shows "Text file busy"

595 Views
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

Labels (3)
Tags (3)
0 Kudos
2 Replies

427 Views
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 Kudos

427 Views
garyyin
Contributor III

Thanks, I've solved it by another way.

0 Kudos