Difference between revisions of "IoTGateway/BSP/Linux/iMX6/Mfgtool"

From ESS-WIKI
Jump to: navigation, search
Line 13: Line 13:
 
:Set the correct boot mode, then power on.
 
:Set the correct boot mode, then power on.
 
:[[File:Rom5420-mfgtool.jpg|200px|Rom5420-mfgtool.jpg]]
 
:[[File:Rom5420-mfgtool.jpg|200px|Rom5420-mfgtool.jpg]]
 
=== ROM-3420 ===
 
 
:Set eng mode,then power on(1-off,2-on)
 
:[[File:Rom3420-mfgtool.jpg|200px|Rom3420-mfgtool.jpg]]
 
 
=== ROM-7421 DP/ROM-7421 QP/ROM-7421 SOLO ===
 
 
:Set eng mode,then power on(1-off,2-on)
 
:[[File:Rom7421-mfgtool.jpg|200px|Rom7421-mfgtool.jpg]]
 
 
=== UBC-220 ===
 
 
:Set eng mode,then power on(1-off,2-on)
 
:[[File:UBC220-mfgtool.jpg|200px|UBC220-mfgtool.jpg]]
 
 
=== ROM-7420 ===
 
 
:Set the correct boot mode, then power on.
 
:[[File:Rom7420-mfgtool.jpg|200px|Rom7420-mfgtool.jpg]]
 
  
 
=== EBC-RS03 ===
 
=== EBC-RS03 ===
Line 59: Line 39:
 
  [profiles]
 
  [profiles]
 
  chip = Linux
 
  chip = Linux
 
[platform]
 
board = SabreSD
 
 
   
 
   
 
  [LIST]
 
  [LIST]
Line 67: Line 44:
 
   
 
   
 
  [variable]
 
  [variable]
  dtb = imx6dl-rom5420-b1
+
  DDR = 1G
 +
board = imx6qrom5420b1
 
  mmc = 0
 
  mmc = 0
 
  image = fsl-image-x11-imx6qrom5420-20141218174618.rootfs.sdcard
 
  image = fsl-image-x11-imx6qrom5420-20141218174618.rootfs.sdcard
 
+
which operation you want to do
=== ROM-3420 ===
 
 
 
[profiles]
 
chip = Linux
 
 
[platform]
 
board = SabreSD
 
 
[LIST]
 
name = ADV u-boot
 
 
[variable]
 
dtb = imx6q-rom3420-a1
 
mmc = 0
 
image = fsl-image-qt5-imx6qrom3420a1-20170117173534.rootfs.sdcard
 
 
 
=== ROM-7421 DP/QP ===
 
 
 
[profiles]
 
chip = Linux
 
 
[platform]
 
board = SabreSD
 
 
[LIST]
 
name = ADV u-boot
 
 
[variable]
 
dtb = imx6qp-rom7421-a1
 
mmc = 0
 
image = fsl-image-qt5-imx6qprom7421a1-20170116192833.rootfs.sdcard
 
 
 
=== ROM-7421 SOLO ===
 
 
 
[profiles]
 
chip = Linux
 
 
[platform]
 
board = SabreSD
 
 
[LIST]
 
name = ADV u-boot
 
 
[variable]
 
dtb = imx6dl-rom7421-a1
 
mmc = 0
 
image = fsl-image-qt5-imx6dlrom7421a1-20170302214104.rootfs.sdcard
 
 
 
=== UBC-220 ===
 
 
 
[profiles]
 
chip = Linux
 
 
[platform]
 
board = SabreSD
 
 
[LIST]
 
name = ADV u-boot
 
 
[variable]
 
dtb = imx6dl-ubc220-a1
 
mmc = 0
 
image = fsl-image-qt5-imx6dlubc220a1-20170208223506.rootfs.sdcard
 
 
 
=== ROM-7420 ===
 
 
 
[profiles]
 
chip = Linux
 
 
[platform]
 
board = SabreSD
 
 
[LIST]
 
name = ADV u-boot
 
 
[variable]
 
dtb = imx6q-rom7420-a1
 
mmc = 0
 
image = fsl-image-qt5-imx6qrom7420a1-20170330025819.rootfs.sdcard
 
 
 
=== EBC-RS03 ===
 
 
 
[profiles]
 
chip = Linux
 
 
[platform]
 
board = SabreSD
 
 
[LIST]
 
name = ADV u-boot
 
 
[variable]
 
dtb = imx6q-ebcrs03-a1
 
mmc = 0
 
image = fsl-image-qt5-imx6qebcrs03a1-20171205195530.rootfs.sdcard
 
 
 
== which operation you want to do ==
 
 
 
 
  [LIST]
 
  [LIST]
 
  name =  
 
  name =  
 
  ADV Image update whole image(including rootfs)
 
  ADV Image update whole image(including rootfs)
 +
ADV adv-loader & Image adv-loader & Image
 
  ADV kernel update zImage and dtb file
 
  ADV kernel update zImage and dtb file
 
  ADV u-boot update u-boot
 
  ADV u-boot update u-boot
Line 179: Line 60:
  
 
  [variable]
 
  [variable]
  dtb = (name of dtb file)
+
  DDR = (size of memory)
 +
board = (projects name)
 
  mmc = ( “0” means “emmc” ,”1” means “SD Card” .)
 
  mmc = ( “0” means “emmc” ,”1” means “SD Card” .)
 
  image = (If you want to update whole image,fill the image file name )
 
  image = (If you want to update whole image,fill the image file name )
 
'''After updating image(ADV Image)'''
 
 
#then power on system
 
#perform “resize2fs /dev/mmcblk0p2”
 
#restart system.
 
  
 
= Copy file =
 
= Copy file =
  
You must copy file to '''Profiles\Linux\OS Firmware\files'''
+
You must copy file to '''Profiles\Linux\OS Firmware\files\imx6qrsb4411a1-1G\'''
  
 
  ADV Image fsl-image-qt5-imx6qprom7421a1-20170116192833.rootfs.sdcard
 
  ADV Image fsl-image-qt5-imx6qprom7421a1-20170116192833.rootfs.sdcard
Line 197: Line 73:
 
  ADV u-boot u-boot_crc.bin.crc & u-boot_crc.bin
 
  ADV u-boot u-boot_crc.bin.crc & u-boot_crc.bin
 
  ADV adv-loader SPL
 
  ADV adv-loader SPL
 +
  
  

Revision as of 04:02, 22 May 2018

User Guide for using mfgtool

Enter recovery mode

ROM-5420

Set the correct boot mode, then power on.
Rom5420-mfgtool.jpg

EBC-RS03

Set the correct boot mode, then power on.
Ebcrs03-mfgtool.jpg

Other Projects

Set eng mode,then power on(1-off,2-on)
Other project mfgtool.jpg

Connect the OTG to the PC

After connecting to PC, a HID-compliant device will be shown in the Device
Dm mfgtool.jpg

Modify config file

modify cfg.ini

mfgtools/cfg.ini

ROM-5420

[profiles]
chip = Linux

[LIST]
name = ADV u-boot

[variable]
DDR = 1G
board = imx6qrom5420b1
mmc = 0
image = fsl-image-x11-imx6qrom5420-20141218174618.rootfs.sdcard

which operation you want to do

[LIST]
name = 
ADV Image 		update whole image(including rootfs)
ADV adv-loader & Image adv-loader & Image
ADV kernel		update zImage and dtb file
ADV u-boot		update u-boot
ADV adv-loader		update adv-loader

define config variable

[variable]
DDR = (size of memory)
board = (projects name)
mmc = ( “0” means “emmc” ,”1” means “SD Card” .)
image = (If you want to update whole image,fill the image file name )

Copy file

You must copy file to Profiles\Linux\OS Firmware\files\imx6qrsb4411a1-1G\

ADV Image 		fsl-image-qt5-imx6qprom7421a1-20170116192833.rootfs.sdcard
ADV kernel		zImage and dtb file
ADV u-boot		u-boot_crc.bin.crc & u-boot_crc.bin
ADV adv-loader		SPL


Running mfgtool and update

running the MfgTool2.exe and update

Mfgtool.jpg
  1. If you can’t running mfgtool2.exe, you can check MfgTool.log
  2. Click “Start”,you can get information form debug console
    Debug mfgtool.jpg
  3. After update finish,it will be shown below
    Mfgtool2.jpg
  4. Click “Exit” to terminate the application.