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. 

 

时间: 2024-10-23 01:24:42

I.MX6 mfgtool2-android-mx6q-sabresd-emmc.vbs hacking的相关文章

I.MX6 Android 5.1 回到 Android 4.2 emmc 启动

/*************************************************************************** * I.MX6 Android 5.1 回到 Android 4.2 emmc 启动 * 说明: * 使用了Android 5.1,重新烧录Android 4.2之后发现U-Boot总是自动重启.详细 * 情况请参照参考文档内容. * * 2017-4-6 深圳 南山平山村 曾剑锋 *******************************

I.MX6 GPS Android HAL Framework 调试

I.MX6 GPS Android HAL Framework 调试 一.参考文章: android4.3 GPS定位问题 http://blog.csdn.net/bzw073/article/details/44341943 二.修改GPS配置文件: 1. myzr@myzr:~/myandroid/device$ grep ttymxc2 * -R ...... fsl/imx6/etc/ueventd.freescale.rc:/dev/ttymxc2 0660 system gps f

Android Mokoid Open Source Project hacking

/***************************************************************************** * Android Mokoid Open Source Project hacking * * 声明: * 1. 本文主要是为了了解Android HAL工作机制,从而决定分析mokoid开源项目: * 2. 源代码URL:https://code.google.com/p/mokoid/source/checkout: * 3. 本文通

OK335xS EMMC Partition hacking

#! /bin/sh # # OK335xS EMMC Partition hacking # 说明: # 本文主要是为了解读同事对EMMC分区的写法,其中有很多写法重复了,但 # 依然尽量保留其作者写的原貌. # # 2016-3-24 深圳 南山平山村 曾剑锋 # 卸载分区 umount /dev/mmcblk1boot0 umount /dev/mmcblk1boot1 umount /dev/mmcblk1p1 umount /dev/mmcblk1p2 sync sync sleep

I.MX6 2G DDR3 16G eMMC

/************************************************************************* * I.MX6 2G DDR3 16G eMMC * 说明: * 最近需要修改2G内存16G eMMC,4G换16G eMMC直接更换就OK了,1G内存换 * 2G内存需要在U-boot中修改内存的配置,这部分工作是左栋完成的,以下是他 * 在修改的时候参考的主要文档. * * 2016-8-25 深圳 南山平山村 曾剑锋 ************

I.MX6 Ethernet UI patch failed

/*********************************************************************** * I.MX6 Ethernet UI patch failed * 说明: * 最近想要在I.MX6的Android上添加Ethernet UI界面,但是使用NXP提供的 * patch,结果失败了. * * 2016-4-21 深圳 南山平山村 曾剑锋 ************************************************

I.MX6Q MfgTool2 ucl2.xml eMMC

/**************************************************************************** * I.MX6Q MfgTool2 ucl2.xml eMMC * 说明: * 记录修改MfgTool2来完成I.MX6Q芯片的烧录. * * 2016-7-9 深圳 南山平山村 曾剑锋 ***************************************************************************/ <

I.MX6 Manufacturing Tool V2 (MFGTool2) Emmc mksdcard-android.sh hacking

#!/bin/bash # 参考文章: # 1. Shell特殊变量:Shell $0, $#, $*, $@, $?, $$和命令行参数 # http://c.biancheng.net/cpp/view/2739.html # <CMD state="Updater" type="push" body="send" file="mksdcard-android.sh.tar">Sending partition

I.MX6 Manufacturing Tool V2 (MFGTool2) Emmc mksdcard.sh hacking

#!/bin/sh # 参考文章: # 1. MFGTool Emmc mksdcard.sh MFGTool Emmc mksdcard.sh comment # http://jordonwu.github.io/blog/2015/05/14/mfgtool-emmc-mksdcard-dot-sh/ # 2. linux sfdisk partition # http://blog.csdn.net/shell_albert/article/details/8425530 #<!-- p