Hi,
Does the mfgtool software support a command line interface?
Ideally I would like to program the NAND of my i.MX28 from our own test software automatically. It would be really useful if I could execute mfgtool via the command line and get a result back on exit. Has anyone done this?
Thanks,
Mark
Thanks for the responses. I noticed mfgtool2 has the command line interface but I need this for an i.MX28.
I have the source for the mfgtool. There is no mention of a command line interface in the manual but there are a couple of places in the source that I noticed checking of command line parameters.
I guess we may have to modify the mfgtool source.
Hi Mark
I am not sure that MfgTool2 supports i.MX28, however you can try.
As for MfgTool.exe from Freescale i.MX28 web page (Mfgtools-Rel-1.6.2.048 release),
I am not aware that somebody executed mfgtool via the command line. Probably you
can request mfgtool sources entering ticket, then rebuild it removing GUI.
Yes,mfgtool support command line execution. Following info copied from Quick Start Guide.
MfgTool2 can support command line feature, the commands that can be accepted are “-c, -l, -p and -noui”.
The format of command line looks like:
MfgTool2.exe [-noui] [-c] [“chip profile folder name”] [-l] [“list name”] [-p] [number]
Parameters description:
Note: this command must be the second parameter (the first parameter is application name), if it is used.
Some examples on how to use command line feature:
The application will use the console interface to burn image to four boards simultaneously. The target profile is ‘MX6Q Linux Updater’ and the operation list is ‘Sabre-SD’ which is located at “profiles/ MX6Q Linux Updater/OS Firmware/ucl2.xml”.
The application will use the GUI interface to burn image to two boards simultaneously. The target profile is ‘MX6Q Linux Updater’ and the operation list is ‘Android-SabreSD-eMMC’ which is located at “profiles/ MX6Q Linux Updater/OS Firmware/ucl2.xml”.
The application will use the console interface to burn image to one board. The target profile is gotten from “profiles/chip” in file cfg.ini, the operation list is ‘Android-SabreSD-eMMC’ which is located at “profiles/ CHIP_PROFILE /OS Firmware/ucl2.xml”.
The application will use the console interface to burn image to one board. The target profile is ‘MX6Q Linux Updater’ and the operation list is ‘Sabre-SD’ which is located at “profiles/ MX6Q Linux Updater/OS Firmware/ucl2.xml”. The maximum number of boards supported simultaneously is gotten from “UICfg/PortMgrDlg” in file UICfg.ini.
It is just same with v2.0.x’s behavior.