/********************************************************************
*   I.MX6 mfgtool2-android-mx6q-sabresd-emmc.vbs hacking
* 说明:
* 以前用的mfgtool2是直接执行MfgTool2.exe就行了,现在的NXP将其封
* 装在vbs文件内,这是左栋告诉我的,这里记录一下命令行参数的本质。
*
* 2016-9-18 深圳 南山平山村 曾剑锋
******************************************************************/ 一、参考文档:
Manufacturing Tool V2 Quick Start Guide.docx 二、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 三、Manufacturing Tool V2 Quick Start Guide.docx中page:
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] [-s] [“variable=value” ]
Parameters description:
-noui: this command has no any parameter, if this command is used, the application will use the console interface, otherwise, the GUI interface will be used.
N ote: this command must be the second parameter (the first parameter is application name), if it is used.
-c: indicate the target profile name. The parameter of this command is a string with a pair of double quotes.
-l: indicate the target operation list name which can be found in the file located at "profiles/CHIP_PROFILE/OS Firmware/ucl2.xml". The parameter of this command is a string with a pair of double quotes.
-p: indicate the number of ports which indicates how many boards can be supported simultaneously. The parameter of this command must be a number between and .
-s: Set ucl variable value. Support multiply if you need set more one variable. All above parameters are not mandatory, if no parameter in the command line, the application will try to find the parameter from the corresponding file, e.g. if ‘-c’ parameter is not provided in the command line, the application will try to get it from ‘cfg.ini’ file just like the v2..x, if the application can't get the parameter from both the command line and cfg.ini file, the application will fail to run. If both command line and cfg.ini/UIcfg.ini assign the same parameter, the application will take the command line parameter with priority. Press CTRL+C or the Close button to close the APP.

最新文章

  1. 步入angularjs directive(指令)--点击按钮加入loading状态
  2. ElasticSearch+ElasticGeo+Geoserver发布ES地理数据
  3. Linux学习 : 裸板调试 之 配置UART
  4. windows下上传文件到VWware的centos
  5. [蟒蛇菜谱] Python方便使用的级联进度信息
  6. jquery 调用数据
  7. 【积硅计划】http协议基础
  8. 扩展KMP题目
  9. 为WPF版的GridControl控件添加行序号功能
  10. maven项目配置Project Facets时further configuration available不出来问题
  11. Spring 3.0 Aop 入门
  12. Struts2 02--通配符
  13. boost::this_thread::sleep_for()死锁
  14. JavaScript与C# Windows应用程序交互方法
  15. Windows更新导致的打印问题
  16. 『Python』装饰器
  17. [HAOI2015]按位或(min-max容斥,FWT,FMT)
  18. Hadoop 尝试
  19. Centos7 下mariadb安装
  20. 我编写 33 个 VSCode 扩展的原因以及管理扩展的经验

热门文章

  1. js——<script>标签的加载顺序
  2. SQL 创建索引的作用以及如何创建索引
  3. mysql 无法远程访问(授权也没办法,确切的说是因为只绑定了127IP)
  4. shell脚本初析
  5. iOS各种动画效果
  6. 12个强大的Chrome插件
  7. Java异常--读书笔记
  8. 如何在redhat下安装WineQQ
  9. linux下的powershell,pash试用手记
  10. ModuleWorks免费下载使用方法大全