打印
[ARM入门]

明远智睿MY-IMX6 MfgTool 烧录指导手册

[复制链接]
946|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
明远智睿2017|  楼主 | 2018-3-14 13:51 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
适用范围(Applicable scope)
评估板所对应的操作系统支持(the operating system of evaluation board)
评估板型号
(Evaluation board)
Linux系统版本支持 (Supported Linux versions)
Linux-3.0.35Linux-3.14.52Linux-4.1.15
MY-IMX6-EK140
MY-IMX6-EK140P
MY-IMX6-EK200
MY-IMX6-EK314
MY-IMX6-EK336
评估板型号
(Evaluation board)
Android系统版本支持 (Supported Android versions)
Android-4.2.2Android-4.4.2Android-5.1.1
MY-IMX6-EK140
MY-IMX6-EK140P
MY-IMX6-EK200
MY-IMX6-EK314
MY-IMX6-EK336
操作系统所对应的文件系统支持(operating system VS file system)
  由于 Linux 系统与文件系统的关系是一对多,同一个 Linux 系统可以支持不同的文件系统,这里把对应的关系列表如下:
   Because Linux OS correspond Multiple file system,the following table can support Correspondence:

  另外,文件系统相对比较大,最小的文件虽然只有几MB,但是最大的文件系统有1GB多。为了节省大家的下载时间,大家先根据下表预先选定自己需要的文件系统,在下载文件系统那一步骤的时候就可以只下载自己需要的文件系统。
  In addition,the size of file system is very big,the minimal file system is only 6.9MB,big file system up to 1GB.In order to save everyone's download time, we first according to the table below the pre-selected file system, in the download file system that step can only download the file systemyou need.
操作系统
(operating system)
文件系统支持
(file system)
文件系统的文件名
(the name of file system)
文件系统的文件大小
(the size of file system)
文件系统说明
(the note of file system)
Linux-3.0.35
rootfs-linux-minimal.tar.bz26.9MB最小的(精简的) Linux 文件系统
(the simple Linux file system)
rootfs-linux.tar.bz264.4MB常规的 Linux 文件系统
(the common Linux file system)
rootfs-linux-qt4.tar.bz290.8MBLinux QT4 文件系统
(Linux QT4 file system)
ubuntu-12.04.tar.bz21.45GBUbuntu 12.04 文件系统
(Ubuntu 12.04 file system)
Linux-3.14.52
distro-core-image-base.tar.bz221.4MB最小的(精简的) Linux 文件系统
(the simple Linux file system)
distro-fsl-image.tar.bz2227MB常规的 Linux 文件系统
(the common Linux file system)
distro-fsl-imx-fb-image-qt5.tar.bz2304MBLinux-QT5 文件系统
(Linux QT5 file system)
distro-fsl-image-6ul.tar.bz299.7MB6UL (EK140) 的 Linux 文件系统
(6UL-EK140 Linux file system)
armhf-rootfs-ubuntu-xenial.tar.bz2176MBUbuntu 16.04 文件系统(无GUI)
(Ubuntu 16.04 file system and no GUI)
armhf-rootfs-ubuntu-xenial-lxde.tar.bz2838MBUbuntu 16.04 文件系统,GUI 为 LXDE
(Ubuntu 16.04 file system and GUI is LXDE)
Linux-4.1.15
core-image-base-myimx6a9.tar.bz225.4MBMYIMX6A9 系列最小的(精简的) Linux 文件系统
(the simple Linux file system)
fsl-image-linux-myimx6a9.tar.bz2201MBMYIMX6A9 系列常规的 Linux 文件系统
(the common Linux file system)
fsl-image-qt5-myimx6a9.tar.bz2376MBMYIMX6A9 系列Linux-QT5.6.1 文件系统
(Linux QT5 file system)
core-image-base-myimx6a7.tar.bz224.3MBMYIMX6A7 系列最小的(精简的) Linux 文件系统
(the simple Linux file system)
fsl-image-linux-myimx6a7.tar.bz2120MBMYIMX6A7 系列常规的 Linux 文件系统
(the common Linux file system)
fsl-image-qt5-myimx6a7.tar.bz2158MBMYIMX6A7 系列Linux-QT5.6.1 文件系统
(Linux QT5 file system)
Android-4.2.2
system-ard422-myimx6ek200.img280MBMYIMX6EK200 的 Android 4.2.2 系统文件
(Android 4.2.2 file system for MYIMX6EK200)
Android-4.4.2
system-ard442-myimx6ek200.img360MBMYIMX6EK200 的 Android 4.4.2 系统文件
(Android 4.4.2 file system for MYIMX6EK200)
system-ard442-myimx6ek314.img360MBMYIMX6EK314 的 Android 4.4.2 系统文件
(Android 4.4.2 file system for MYIMX6EK314)
Android-5.1.1
system-ard511.img303MBAndroid 5.1.1 系统文件
(Android 5.1.1 file system)
  注意:Ubuntu 16 GUI(armhf-rootfs-ubuntu-xenial-lxde.tar.bz2)文件系统第一次进入图形界面需要几分钟的时间,之后每次登录进入图形界面就快了。
  Caution:First time login Ubuntu 16 GUI(armhf-rootfs-ubuntu-xenial-lxde.tar.bz2) file system will take several minutes ,after that login quickly.
准备烧录工具(Prepare MFG Tool)
烧录工具的目录及文件说明(Contents of MFG Tool)
  这里直观的描述出完整的烧录工具目录及文件结构,并简要的对目录及文件进行说明,方便大家理解烧录工具。
  In order to easy to understand MFG Tool ,below have a explanation about MFG Tool.)
/
|-> Profiles
|  |-> Linux
|    |-> OS Firmware
|      |-> firmware-3035:烧录工具使用的固件(the firmware of MFG Tool)
|      |-> firmware-31452:烧录工具使用的固件(the firmware of MFG Tool)
|      |-> image-android-422:目标烧录文件(Android-4.2.2)(target of burn files(Android-4.2.2)
|      |-> image-android-442:目标烧录文件(Android-4.4.2)(target of burn files(Android-4.4.2)
|      |-> image-android-511:目标烧录文件(Android-5.1.1)(target of burn files(Android-5.1.1)
|      |-> image-linux-3035:目标烧录文件(Linux-3.0.35)(target of burn filesLinux-3.0.35)
|      |-> image-linux-31452:目标烧录文件(Linux-3.14.52)(target of burn files(Linux-3.14.52)
|      |-> ucl2.xml:烧录规则文件(Burning rules)
|
|-> cfg.ini:烧录工具配置文件 (Configuration of MFG Tool)
|
|-> MfgTool2.exe:烧录工具主程序 (Main program)
|
|-> MfgToolLib.dll:烧录工具的动态链接库文件 (Dynamic link database of MFG Tool)
|
|-> UICfg.ini:烧录工具的 UI 配置文件 (The UI configuration of MFG Tool )

烧录工具主程序包(The package of MFG Tool)
  烧录工具主程序包包括:MfgTool2.exe、MfgToolLib.dll、UICfg.ini 以及空的“Profiles/Linux/OS Firmware”目录。
  The MFG Tool contains MfgTool2.exe、MfgToolLib.dll、UICfg.ini and “Profiles/Linux/OS Firmware”)
  在网盘中下载烧录工具主程序压缩包“MY-IMX6-MfgTool.rar”,并解压到 Windows 系统。
  Download compression package “MY-IMX6-MfgTool.rar”and unzip to Windows. )
  备注:目前使用的烧录工具压缩包是“my-imx6-mfgtool-lib262-final.rar”
  Note:At moment the compression package is “my-imx6-mfgtool-lib262-final.rar”

烧录工具配置文件(The configuration file of MFG Tool)
  在网盘中下载烧录工具配置文件“cfg.ini”,并将“cfg.ini”放到烧录工具目录下,与“MfgTool2.exe”在同一级目录下。
  The directory of “OS Firmware” contains ucl2.xml、firmware-3035、firmware-31452、image-*,and it’s necessary,In order to avoid unnecessary errors, it is recommended to download the entire "OS Firmware" directory, and "OS Firmware" directory into the "Profiles /Linux /" directory of the MFG Tool.

系统固件(必要的文件)(System firmware,it’s necessary)
  网盘中的“OS Firmware”目录包括 ucl2.xml、firmware-3035、firmware-31452、image-* 的部分文件,这些大部分是必要的,而且整个目录也不大,为了避免出现不必要的错误,建议下载整个“OS Firmware”目录,并将“OS Firmware”目录放到烧录工具的“Profiles/Linux/”目录下。
  The directory of “OS Firmware” contains ucl2.xml、firmware-3035、firmware-31452、image-*,and it’s necessary,In order to avoid unnecessary errors, it is recommended to download the entire "OS Firmware" directory, and "OS Firmware" directory into the "Profiles / Linux /" directory of the MFG Tool.

系统固件(文件系统)(System firmware,file system)
  根据前面“操作系统所对应的文件系统支持”表中自己选定的文件系统文件名,在“OS Firmware_rootfs”目录中找到对应的文件并下载,放到烧录工具“Profiles/Linux/OS Firmware/”对应的目录下。
  refer "operating system VS file system” above,choose the name of file system ,in the "OS Firmware_rootfs" directory to find the corresponding file and download, into the MFG tool "Profiles / Linux / OS Firmware /" corresponding to the directory.

如(Eg):
  需要Linux-3.0.35的QT4文件系统,那就在网盘下载“OS Firmware_rootfs/image-linux-3035/rootfs-linux-qt4.tar.bz2”,并把“rootfs-linux-qt4.tar.bz2”放到烧录工具的“Profiles/Linux/OS Firmware/image-linux-3035/”目录下。
  Need Linux-3.0.35 QT4 file system, then download "OS Firmware_rootfs / image-linux-3035 / rootfs-linux-qt4.tar.bz2", and put the "rootfs-linux-qt4.tar.bz2 "into" Profiles / Linux / OS Firmware / image-linux-3035 / “directory of the MFG Tool.
  需要Linux-3.14.52的Linux最小文件系统,那就在网盘下载“OS Firmware_rootfs/image-linux-31452/distro-core-image-base.tar.bz2”,并把“distro-core-image-base.tar.bz2”放到烧录工具的“Profiles/Linux/OS Firmware/image-linux-31452/”目录下。
  Need Linux-3.14.52 Linux minimum file system, then download the "OS Firmware_rootfs / image-linux-31452 / distro-core-image-base.tar.bz2" ,and put the "distro-core-image- Base.tar.bz2 "into the" Profiles / Linux / OS Firmware / image-linux-31452 / "directory of the MFG tool.

配置烧录工具(configurate MFG Tool )
配置说明(Configuration instructions)配置文件(cfg.ini)(Configuration file cfg.ini)
  配置文件位于MY-IMX6-MfgTool目录下,文件名为cfg.ini。打开cfg.ini可以看到该文件中有几个配置项。
  Configuration file cfg.ini at directory of MY-IMX6-MfgTool ,open the cfg.ini file can see configuration.

目标烧录系统与需要配置的项(Target burn file and the configuration)
  配置文件(cfg.ini)中目标烧录系统与各配置项的关系见下表:
  The configuration file (cfg.ini)
目标系统
(Target system)
目标系统对应 cfg.ini 文件中需要配置的项
(Red is must configurate)
nameek_nameek_specrootfs_l3035_filerootfs_l31452_filerootfs_l4115_file
Linux-3.0.35忽略(ignore)忽略(ignore)
Linux-3.14.52忽略(ignore)忽略(ignore)
Linux-4.1.15忽略(ignore)忽略(ignore)
Android-4.2.2忽略(ignore)忽略(ignore)忽略(ignore)
Android-4.4.2忽略(ignore)忽略(ignore)忽略(ignore)
Android-5.1.1忽略(ignore)忽略(ignore)忽略(ignore)
  • 说明(Note):
  深蓝色背景表示烧录工具支持烧录的系统类型。
  Blue is OS of MFG Tool supported.
  黄色背景表示烧录工具的配置文件(cfg.ini)中可以配置的项。
  Yellow is configuration file (cfg.ini) can configurate item.
  红色背景表示与目标烧录系统对应必须要配置的项。
  Red is must configurate.
  白色背景表示与目标系统无关的配置项,即与目标系统对应可以忽略或不用配置的项。
  White is ignore.
开始配置烧录项(Begin configuring burning item)name 项配置(name item)
  name 项是配置目标烧录系统的。如需要烧录 Linux-3.0.35 系统,则配置 name = Linux-3.0.35,并确保其它“name”行前面有“#”号。
  Name item configurate target system.if you want to burn Linux-3.0.35 system,you can configurate eg: name = Linux-3.0.35,and make sure other item keep "#"
配置项
(Configuring item)
目标值
(Target)
说明
(Note)
nameLinux-3.0.35配置目标烧录系统为Linux-3.0.35
(Burning system is Linux-3.0.35)
Linux-3.14.52配置目标烧录系统为Linux-3.14.52
(Burning system is Linux-3.14.52)
Android-4.2.2配置目标烧录系统为Android-4.2.2
(Burning system is Android-4.2.2)
Android-4.4.2配置目标烧录系统为Android-4.4.2
(Burning system is Android-4.4.2)
Android-5.1.1配置目标烧录系统为Android-5.1.1
(Burning system is Android-5.1.1)
  • 配置示例(Eg:)
  name = Linux-3.0.35
  #name = Linux-3.14.52
  #name = Android-4.2.2
  #name = Android-4.4.2
  #name = Android-5.1.1

ek_name项配置(ek_name configuring item)
  ek_name项是配置评估板主型号的,该项与评估板主型号对应。如需要往MY-IMX6-EK200中烧录系统,则配置ek_name = myimx6ek200,并确保其它“ek_name”行前面有“#”号。
  Ek_name item is for evaluation board,eg:if you want to burn MY-IMX6-EK200 evaluation board,you can configurate ek_name = myimx6ek200,and make sure other item keep "#".
配置项
(Configuring item)
目标值
(Target)
说明
(Note)
ek_namemyimx6ek140配置目标烧录的评估板型号为MY-IMX6-EK140
(configuring board is MY-IMX6-EK140)
myimx6ek200配置目标烧录的评估板型号为MY-IMX6-EK200
(configuring board is MY-IMX6-EK200)
myimx6ek314配置目标烧录的评估板型号为MY-IMX6-EK314
(configuring board is MY-IMX6-EK314)
myimx6ek336配置目标烧录的评估板型号为MY-IMX6-EK336
(configuring board is MY-IMX6-EK336)
  • 配置示例:(Eg:)
  #ek_name = myimx6ek140
  ek_name = myimx6ek200
  #ek_name = myimx6ek314
  #ek_name = myimx6ek336

ek_spec项配置(ek_name configuring item)
  ek_spec项是配置评估板的规格的,该项与评估板的规格对应。如目标评估板的CPU是四核、内存标配的,则配置ek_spec = 6q,并确保其它“ek_spec”行前面有“#”号。
  Ek_spec configuring item is for parameter of evaluation board,eg:if you want to burn CPU=4 core,RAM=1G(default),you can configurate ek_spec = 6q and make sure other item keep "#".
配置项
(Configuring item)
目标值
(Target)
说明
(Note)
ek_spec6qp目标评估板的配置为:i.MX 6QuadPlus CPU,标配内存(1G)
(evaluation board:CPU=I.MX6 QuadPlus,RAM=1GB)
6qp-2g目标评估板的配置为:i.MX 6QuadPlus CPU,内存2G
(evaluation board:CPU=I.MX6 QuadPlus,RAM=2GB)
6q目标评估板的配置为:i.MX 6Quad CPU,标配内存(1G)
(evaluation board:CPU=I.MX6 Quad,RAM=1GB)
6q-2g目标评估板的配置为:i.MX 6Quad CPU,内存2G
(evaluation board:CPU=I.MX6 Quad,RAM=2GB)
6u目标评估板的配置为:i.MX 6DualLite CPU,标配内存(1G)
(evaluation board:CPU=I.MX6 DualLite ,RAM=1GB)
6s目标评估板的配置为:i.MX6Solo CPU,标配内存(512M)
(evaluation board:CPU=I.MX6 Solo ,RAM=512MB)
6s-1g目标评估板的配置为:i.MX6Solo CPU,内存1G
(evaluation board:CPU=I.MX6 Solo ,RAM=1GB)
6g目标评估板的配置为:i.MX6UL CPU,标配内存(256M)
(evaluation board:CPU=I.MX6 UltraLite,RAM=256MB)
6g-512m目标评估板的配置为:i.MX6UL CPU,内存512M
(evaluation board:CPU=I.MX6 UltraLite ,RAM=512MB)
  • 配置示例:(Eg:)
  #ek_spec = 6qp
  #ek_spec = 6qp-2g
  ek_spec = 6q
  #ek_spec = 6q-2g
  #ek_spec = 6u
  #ek_spec = 6s
  #ek_spec = 6s-1g
  #ek_spec = 6g
  #ek_spec = 6g-512m

rootfs_l3035_file 项配置(rootfs_l3035_file configuring item)
  rootfs_l3035_file 项是配置 Linux-3.0.35 的文件系统的。如需要烧录 rootfs-linux.tar.bz2 系统,则配置 rootfs_l3035_file = rootfs-linux.tar.bz2,并确保其它 rootfs_l3035_file 行前面有“#”号
  Rootfs_l3035_file item is configured for file system of Linux-3.0.35。if need to program rootfs-linux.tar.bz2 system,then configure rootfs_l3035_file = rootfs-linux.tar.bz2,and make sure other lines of rootfs_l3035_file prefixed with“#”
  如果 name 项配置的不是Linux-3.0.35,则可以跳过 rootfs_l3035_file 配置,因为这时该项会被烧录工具忽略。
  If name item is not configured with Linux-3.0.35,then skip the step of configuration for rootfs_l3035_file ,because this item will be ignored by programming tool at this hour。
配置项
(configuration item)
目标值
(target value )
说明
(instruction)
rootfs_l3035_filerootfs-linux-minimal.tar.bz2对应最小的 Linux 文件系统
(corresponding to minimal Linux file system)
rootfs-linux.tar.bz2对应常规的 Linux 文件系统
(corresponding to conventional Linux file system)
rootfs-linux-qt4.tar.bz2对应 Linux QT 文件系统
(corresponding to Linux QT file system)
ubuntu-12.04.tar.bz2对应 Ubuntu 12.04 文件系统
(corresponding to Ubuntu 12.04 file system)
  • 配置示例(configuration example)
  #rootfs_l3035_file = rootfs-linux-minimal.tar.bz2
  rootfs_l3035_file = rootfs-linux.tar.bz2
  #rootfs_l3035_file = rootfs-linux-qt4.tar.bz2
  #rootfs_l3035_file = ubuntu-12.04.tar.bz2

rootfs_l31452_file 项配置(rootfs_l31452_file item configuration)
  rootfs_l31452_file 项是配置 Linux-3.14.52 的文件系统的。如需要烧录 distro-fsl-image.tar.bz2 系统,则配置 rootfs_l3035_file = distro-fsl-image.tar.bz2 ,并确保其它 rootfs_l31452_file 行前面有“#”号
  Rootfs_l31452_file item is configured for Linux-3.14.52 file system。if need to program distro-fsl-image.tar.bz2 system,then configure rootfs_l3035_file = distro-fsl-image.tar.bz2 ,and make sure other lines of rootfs_l31452_file prefixed with“#”

  如果 name 项配置的不是Linux-3.14.52,则可以跳过 Linux-3.14.52 配置,因为这时该项会被烧录工具忽略。
  If configuration of name item is not Linux-3.14.52,then skip configuration of Linux-3.14.52 ,because this item will be ignore by programming tool。
配置项
(configuration item)
目标值
(target value)
说明
(instruction)
rootfs_l31452_filedistro-core-image-base.tar.bz2对应最小的 Linux 文件系统
(corresponding to minumal Linux file system)
distro-fsl-image.tar.bz2对应常规的 Linux 文件系统
(corresponding to conventional Linux file system)
distro-fsl-image-qt5.tar.bz2对应 Linux-QT5 文件系统
(corresponding to Linux-QT5 file system)
distro-fsl-image-6ul.tar.bz2对应 6UL(EK140)的 Linux 文件系统(无GPU)
(corresponding to Linux file system(without GPU)of 6UL(EK140))
armhf-rootfs-ubuntu-xenial.tar.bz2对应 Ubuntu 16.04 文件系统(无GUI)
(corresponding to Ubuntu 16.04 file system(without GUI))
armhf-rootfs-ubuntu-xenial-lxde.tar.bz2对应 Ubuntu 16.04 文件系统,GUI 为 LXDE
(corresponding to Ubuntu 16.04 file system,GUI is LXDE)
  • 配置示例(Configuration example)
  #rootfs_l31452_file = distro-core-image-base.tar.bz2
  rootfs_l31452_file = distro-fsl-image.tar.bz2
  #rootfs_l31452_file = distro-fsl-image-qt5.tar.bz2
  #rootfs_l31452_file = distro-fsl-image-6ul.tar.bz2
  #rootfs_l31452_file = armhf-rootfs-ubuntu-xenial.tar.bz2
  #rootfs_l31452_file = armhf-rootfs-ubuntu-xenial-lxde.tar.bz2

检查配置(check configuration)
  检查配置文件中各个配置项,确保每个配置项没有被二次配置,该配置项其它所在行的行首都有“#”字符。
  Check each configuration item in configuration file,ensure each configuration item without re-configuration,each line in the configured item should be prefixed with“#”。

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

38

主题

61

帖子

0

粉丝