/******************************************************************** * i.mx6 Mfgtool2-android-mx6q-sabresd-emmc.vbs Hacking * Description: * Previously used mfgtool2 is the direct implementation of MfgTool2.exe on the line, now NXP will its seal * in the VBS file, which is Zodong told me , this records the nature of the command-line arguments. * 2016-9-18 Shenzhen Nanshan Ping Shan village Zengjianfeng ************************************************************** ****/One, reference document: Manufacturing Tool V2 Quick Start Guide.docx II, Cat Mfgtool2-android-mx6q-sabresd-emmc.vbs Set WshShell= CreateObject ("Wscript.Shell") Wshshell.run"mfgtool2.exe-c""Linux""- L""emmc-android""- S""board=sabresd""- S""folder=sabresd""- S""soc=6q""- S""mmc=3""- S""data_type="""Set WshShell=Nothing three, manufacturing Tool V2 Quick Start guide.docx in page:8MfgTool2 can support command line feature, the commands so can be accepted is "-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] [-S] ["variable=value "] Parameters Description:-noui: ThisCommand have no any parameter,if ThisCommand isUsed, the application would use the consoleInterface, otherwise, the GUIInterfacewould be used. N OTE: Thiscommand must be the second parameter (the first parameter isApplication name),ifIt isused. -c:indicate the target profile name. The parameter of ThisCommand isAstringWith a pair ofDoublequotes. -l:indicate the target Operation list name which can be foundinchThe file located at"Profiles/chip_profile/os Firmware/ucl2.xml". The parameter of ThisCommand isAstringWith a pair ofDoublequotes. -p:indicate the number of ports which indicates how many boards can be supported simultaneously. The parameter of Thiscommand must be a number between1and4. -s:set UCL variable value. Support MultiplyifYou needSetMore one variable. All above parameters is not mandatory,ifNo parameterinchThe command line, the application wouldTryTo find the parameter fromThe corresponding file, e.g.if'-C ' parameter isNot providedinchThe command line, the application wouldTryToGetIt from' Cfg.ini ' file just like the V2.0. x,ifThe application can't get the parameter from both the command line and Cfg.ini file, the application would fail to run.If both command line and Cfg.ini/Uicfg.ini Assign the same parameter, the application would take the command line parameter with priority. Press CTRL+c or the Close button to close the APP.
i.mx6 Mfgtool2-android-mx6q-sabresd-emmc.vbs Hacking