zoukankan      html  css  js  c++  java
  • I.MX6 mfgtool2-android-mx6q-sabresd-emmc.vbs hacking

    /********************************************************************
     *    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:8
        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 1 and 4.
           -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.0.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. 
  • 相关阅读:
    Ubuntu 12.10 安装破解sublimetext 2
    封装一个类型转换的方法
    【转】CultureInfo中重要的InvariantCulture
    C# 36进制转10进制
    用泛型的IEqualityComparer<T>接口去重复项
    关于wamp启动是80端口被占用的问题详解(win7系统下WAMP 80端口被MicrosoftHTTPAPI/2.0占用的解决办法)
    Ubuntu 更改鼠标滚轮速度
    edge ctrl+c 复制不起作用
    centos 7 mysql8 安装和卸载
    Windows Terminal 终端 SSH连接centos7 linux
  • 原文地址:https://www.cnblogs.com/zengjfgit/p/5882686.html
Copyright © 2011-2022 走看看