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
Hi Gary
please use simg2img, included in android-tools-fsutils package
for Ubuntu and it is used in nxp android mfg tools releases on
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks, I've solved it by another way.