mfgtools icon indicating copy to clipboard operation
mfgtools copied to clipboard

Running script file assume use of boot command

Open elupus opened this issue 3 years ago • 1 comments

According to commandline documentation it should be possible to have a file called uuu.auto in a directory and run uuu.exe [directory]. However this leads to trying to run the uuu.auto file with the boot -f command instead of executing it's commands.

C:\work\uuu.exe update
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.165-0-ge10b026

Success 0    Failure 1


1:4      1/ 2 [Cannot find valid IVT header          ] SDP: boot -f "update/uuu.auto"
# First boot up SPL
SDP: boot -f sdp/SPL-mfgtool

You can work around it by assuming you are a built in command. But then you must be in the same directory as the update script.

cd update
..\uuu.exe -b uuu.auto

elupus avatar Dec 07 '21 12:12 elupus

your update(uuu script file)'s first line must be

uuu_version 1.2.39

version number is minimize uuu version to run your script.

nxpfrankli avatar Dec 07 '21 15:12 nxpfrankli