Is there a version of the MFGTool for Linux

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

Is there a version of the MFGTool for Linux

3,533 Views
dougbailey
Contributor III

We have been using the Windows version of the MFGTool to program our iMX6-DL based boards.   

It would be much more convenient to be able to use a Linux based version of the tool in our production environment.  Does such a version of the tool exist?  

Regards, 

Doug Bailey 

Labels (2)
0 Kudos
6 Replies

1,958 Views
BiyongSUN
NXP Employee
NXP Employee

I can find the Linux mfg tool "mfgtoolcli" in the same directory of MfgTool2.exe

With mfgtoolcli, there are linux-ver-usage, linux-runvbs.sh, linux-cvbs.sh

And document mfgtools\Document\Eclipse Plugin and mfgtoolcli\mfgtoolcli-readme

Requirement:
- libusb-1.0-0-dev
- libusb-1.0-0

Usage:
./linux-runvbs.sh <vbs file> to kick off mfgtool for specific platform,
or launch ./linux-cvbs.sh to covert all vbs to bash scripts.

0 Kudos

1,958 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi Doug,

unfortunately there is not a version of MFGtool for Linux.

Sorry for the inconvenience.

Carlos

0 Kudos

1,958 Views
gary_bisson
Senior Contributor III

Hi Carlos,

Are you sure?? I'd say otherwise:

GitHub - NXPmicro/mfgtools: Freescale/NXP I.MX Chip image deploy tools. 

Branch master: linux version
Branch windows: windows version

Note however that it is a command-line version of mfgtools, no UI, but the result is the same.

Regards,

Gary

1,958 Views
colinhelliwell
Contributor III

Hi Gary,

Have you had success in using this version of the tool?

I've compiled it ok (albeit there's lots of warnings!). I think I have suitable ini and xml files, but I can't get beyond the first stage (even running with sudo).

The console just shows

Your Options:
Ready to flash.
1 Done! [================================================>] "Boot" body="Recovery" error, file="./P

With the log file showing

ModuleID[2] LevelID[1]: MxHidDevice::Read() Error reading from device 0x-7 with size 1025.
ModuleID[2] LevelID[1]: Failed to read HAB type from ROM!!!
ModuleID[2] LevelID[1]: Failed to initialize memory!
ModuleID[2] LevelID[1]: PortMgrDlg(0)--MxHidDevice--Command Boot excute failed

0 Kudos

1,958 Views
gary_bisson
Senior Contributor III

Hi,

Yes I tried it long time ago (when I pushed some patches to the project) and it worked ok.

Make sure to check your file name, "./P" seems strange.

Regards,

Gary

0 Kudos

1,958 Views
colinhelliwell
Contributor III

I think that's just the terminal truncating the file - if I widen it then it shows more of the correct path. (And strace seems to show all the files being opened ok).

0 Kudos