I.MX6 mfgtool2-android-mx6q-sabresd-emmc.vbs hacking

简介: /******************************************************************** *   I.MX6 mfgtool2-android-mx6q-sabresd-emmc.vbs hacking * 说明: * 以前用的mfgtool2是直接执行MfgTool2.exe就行了,现在的NXP将其封 * 装在vbs文件内,这是左栋告诉我的,这里记录一下命令行参数的本质。
/********************************************************************
 *    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. 

 

目录
相关文章
|
Android开发 Linux 图形学
I.MX6 android 获取framebuffer信息
/******************************************************************************** * I.MX6 android 获取framebuffer信息 * 声明: * 调试显示屏的时候,我们可能会需要去知道我们设置的信息是否正确,或者有时候 * 需要去确认别人的设置的是否正确。
717 0
|
Android开发
Android ashmem hacking
/********************************************************************** * Android ashmem hacking * 声明: * 最近有些东西涉及到binder,而binder又涉及到ashmem,于是先跟一下这 * 部分的内容。
795 0
|
Android开发
I.MX6 Android U-blox miniPCI 4G porting
/************************************************************************** * I.MX6 Android U-blox miniPCI 4G porting * 声明: * 在移植U-blox的4G模块的过程中遇到了不少的问题,有不少是自己的这边疏忽 * 的问题,无论怎么说,问题解决了就行。
1336 0
|
Android开发 编解码
mokoid android open source HAL hacking in a picture
/************************************************************************** * mokoid android HAL hacking in a picture * 声明: * 之前已经对mokoid开源项目源代码进行跟踪分析,但是总感觉对其中的工作 * 机制运行理解不到位,所以索性这次采用更直观的分析方式,用图来表示她的工 * 做原理,调用机制。
881 0
|
前端开发 Android开发
Android custom View AirConditionerView hacking
package com.example.arc.view; import android.content.Context; import android.graphics.Canvas; import android.
644 0
|
定位技术 Android开发 iOS开发
I.MX6 GPS Android HAL Framework 调试
I.MX6 GPS Android HAL Framework 调试 一、参考文章: android4.3 GPS定位问题 http://blog.
1466 0
|
Android开发
I.MX6 Android mmm convenient to use
# # 主要是记录mmm的简便自动化执行方式,为了减少键盘输入 # if [ $# -ne 1 ]; then echo echo " Usage: ./remmm.
714 0
|
定位技术 Android开发
Android GPS GPSBasics project hacking
一、参考源码:   GPS Basic Example - Android Example     http://androidexample.com/GPS_Basic__-__Android_Example/index.
643 0
|
Shell C++ Android开发
I.MX6 Manufacturing Tool V2 (MFGTool2) Emmc mksdcard-android.sh hacking
#!/bin/bash # 参考文章: # 1. Shell特殊变量:Shell $0, $#, $*, $@, $?, $$和命令行参数 # http://c.biancheng.
1065 0
|
Linux Android开发 移动开发
I.MX6 Android Linux UART send receive with multi-thread and multi-mode demo
/******************************************************************************************* * I.
670 0