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

From ESS-WIKI
Jump to: navigation, search
Line 6: Line 6:
 
-->
 
-->
  
=Step 1=
+
=Enter recovery mode=
 
===ROM-5420===
 
===ROM-5420===
 
:Set the correct boot mode, then power on.
 
:Set the correct boot mode, then power on.
Line 19: Line 19:
 
:[[File:other_project_mfgtool.jpg|200px]]
 
:[[File:other_project_mfgtool.jpg|200px]]
  
=Step 2=
+
=Connect the OTG to the PC=
==Connect the OTG to the PC==
 
 
:After connecting to PC, a HID-compliant device will be shown in the Device
 
:After connecting to PC, a HID-compliant device will be shown in the Device
 
:[[File:dm_mfgtool.jpg ‎|500px]]
 
:[[File:dm_mfgtool.jpg ‎|500px]]
  
=Step 3=
+
=Modify config file=
 
==modify cfg.ini==
 
==modify cfg.ini==
 
:path: mfgtools/cfg.ini
 
:path: mfgtools/cfg.ini
Line 53: Line 52:
 
  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
 +
#then power on system
 +
#perform “resize2fs /dev/mmcblk0p2”
 +
#restart system.
 +
 +
=Running mfgtool and update=
 +
running the MfgTool2.exe and update
 +
:[[File:Mfgtool.jpg ‎ ‎|400px]]
 +
#If you can’t running mfgtool2.exe, you can check MfgTool.log
 +
#Click “Start”,you can get information form debug console
 +
#:[[File:Debug mfgtool.jpg ‎ ‎ ‎|600px]]
 +
#After update finish,it will be shown below
 +
#:[[File:Mfgtool2.jpg  ‎ ‎ ‎|400px]]
 +
#Click “Exit” to terminate the application.

Revision as of 03:58, 3 June 2016

User Guide for using mfgtool

Enter recovery mode

ROM-5420

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

ROM-3420

  1. ATX mode
    In power off state,press power key for 5 secs and release
  2. AT mode
    Press power key ,then plug AC adapter,release power key after 5 secs

Other Projects

Set end 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

path: mfgtools/cfg.ini
[profiles]
chip = Linux

[platform]
board = SabreSD

[LIST]
name = ADV u-boot

[variable]
dtb = imx6dl-rom5420-b1
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 kernel		update zImage and dtb file
ADV u-boot		update u-boot
ADV adv-loader		update adv-loader

define config variable

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

After updating image

  1. then power on system
  2. perform “resize2fs /dev/mmcblk0p2”
  3. restart system.

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.