AnsweredAssumed Answered

How to use mfgtool under i.MX28 EVK board

Question asked by gary lee on Mar 9, 2015
Latest reply on Mar 10, 2015 by gary lee

I have one i.MX28 EVK develop board on my hand. The mfgtool is downloaded from freescale website,whose version is "Rel-1.6.2.0322".

Now, I try to update the eboot_ivt.sb, nk.nb0 and sandy.mp3 to SD/MMC with mfgtool,the program bar of mfgtool shows GREEN, so the result of update is successful.

Plug in SD/MMC to EVK, then power on it. The Windows CE 6.0 has been launched, but I don't find the "sandy.mp3" file under the SDMemory, I don't know why it's not existed in SDMemory,who can help me, thanks a lot!

>>>>>>1. Follow is about my UCL.XML file, all configurations are default:

<UCL>

  <CFG>

    <STATE name="Recovery" dev="IMX28"/>

    <STATE name="Updater"   dev="Updater" /> 

    <DEV name="IMX28" vid="15A2" pid="004F"/>

    <DEV name="Updater" vid="066F" pid="37FF" />

  </CFG>

    <LIST name="NAND" desc="Choose NAND as media">

        <CMD type="boot" body="Recovery" file="uce_ivt.sb">Booting Update Client Engine.</CMD>

        <CMD type="find" body="Updater" timeout="180"/>

        <CMD type="push" body="MediaType:NAND">Send media type.</CMD>       

  <!--<CMD type="push" body="QueryStoreStatus:DSK1:,Timeout:10">Query store status.</CMD>-->

  <CMD type="push" body="QueryStoreName:NAND FLASH Storage,Timeout:10">Send store name.</CMD>

        <CMD type="push" body="wfw">Notity device to prepare receiving a firmware.</CMD>

  <CMD type="push" body="fwtype:EB_SB">Specify firmware type.</CMD>

        <CMD type="push" body="send" file="files/eboot_ivt.sb">Sending a firmware file.</CMD>

        <CMD type="push" body="save">write the firmware to NAND flash.</CMD>

        <CMD type="push" body="wfw">Notity device to prepare receiving a firmware.</CMD>

  <CMD type="push" body="fwtype:NK_NB">Specify firmware type.</CMD>

  <CMD type="push" body="send" file="files/nk.nb0">Sending a firmware file.</CMD>

  <CMD type="push" body="save">write the firmware to NAND media.</CMD>

  <CMD type="push" body="QueryFolderStatus:NANDFlash,Timeout:10">Query store folder status.</CMD>

  <CMD type="push" body="wfl">Notity device to prepare receiving a file.</CMD>

  <CMD type="push" body="filename:NANDFlash\\sandy.mp3">Sending file name.</CMD>

  <CMD type="push" body="send" file="files/sandy.mp3">Sending a file.</CMD>

  <CMD type="push" body="save">Finish sending data.</CMD>

        <CMD type="push" body="Done">Whole update work is finished.</CMD>

  </LIST>

    <LIST name="SD/MMC" desc="Choose SD/MMC as media">

  <CMD type="boot" body="Recovery" file="uce_ivt.sb">Booting Update Client Engine.</CMD>

        <CMD type="find" body="Updater" timeout="180"/>

        <CMD type="push" body="MediaType:SDMMC">Send media type.</CMD>

        <!--<CMD type="push" body="QueryStoreStatus:DSK1:,Timeout:10">Query store status.</CMD>-->

  <CMD type="push" body="QueryStoreName:SD Memory Card,Timeout:10">Query store name.</CMD>

  <CMD type="push" body="Partitions:EBOOT:64MB,NK:32MB,File">Starting partitions.</CMD>

  <CMD type="push" body="wfw">Notity device to prepare receiving a firmware.</CMD>

  <CMD type="push" body="fwtype:EB_SB">Specify firmware type.</CMD>

        <CMD type="push" body="send" file="files/eboot_ivt.sb">Sending a firmware file.</CMD>

  <CMD type="push" body="save">write the firmware to SD/MMC media.</CMD>

  <CMD type="push" body="wfw">Notity device to prepare receiving a firmware.</CMD>

  <CMD type="push" body="fwtype:NK_NB">Specify firmware type.</CMD>

  <CMD type="push" body="send" file="files/nk.nb0">Sending a firmware file.</CMD>

  <CMD type="push" body="save">write the firmware to SD/MMC media.</CMD>

  <CMD type="push" body="QueryFolderStatus:SDMemory,Timeout:10">Query store folder status.</CMD>

  <CMD type="push" body="wfl">Notity device to prepare receiving a file.</CMD>

  <CMD type="push" body="filename:SDMemory\\sandy.mp3">Sending file name.</CMD>

  <CMD type="push" body="send" file="files/sandy.mp3">Sending a file.</CMD>

  <CMD type="push" body="save">Finish sending data.</CMD>

        <CMD type="push" body="Done">Whole update work is finished.</CMD>

    </LIST>

</UCL>

 

>>>>>2. Follow is the mfgtool log:

Monday, March 09, 2015 15:11:39

1 - Panel A Start processing SD/MMC <LIST/>.

Panel A Start <CMD/> type="boot" body="Recovery" file="uce_ivt.sb" timeout="10" onError="" text="Booting Update Client Engine.".

1 - Panel A Finished <CMD/> type="boot" body="Recovery" file="uce_ivt.sb" timeout="10" onError="" text="Booting Update Client Engine." SUCCESS code=0x0.

Panel A Start <CMD/> type="find" body="Updater" file="" timeout="180" onError="" text="".

Panel A UtpUpdate Event: DeviceRemoval Msg: (null) DevState: Disconnected OpState: WAITING_FOR_DEVICE

Panel A UtpUpdate Event: VolumeArrival Msg: (null) DevState: Updater OpState: WAITING_FOR_DEVICE

1 - Panel A Finished <CMD/> type="find" body="Updater" file="" timeout="180" onError="" text="" SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="MediaType:SDMMC" file="" timeout="10" onError="" text="Send media type.".

1 - Panel A Finished <CMD/> type="push" body="MediaType:SDMMC" file="" timeout="10" onError="" text="Send media type." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="QueryStoreName:SD Memory Card,Timeout:10" file="" timeout="10" onError="" text="Query store name.".

1 - Panel A Finished <CMD/> type="push" body="QueryStoreName:SD Memory Card,Timeout:10" file="" timeout="10" onError="" text="Query store name." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="Partitions:EBOOT:64MB,NK:32MB,File" file="" timeout="10" onError="" text="Starting partitions.".

1 - Panel A Finished <CMD/> type="push" body="Partitions:EBOOT:64MB,NK:32MB,File" file="" timeout="10" onError="" text="Starting partitions." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="wfw" file="" timeout="10" onError="" text="Notity device to prepare receiving a firmware.".

1 - Panel A Finished <CMD/> type="push" body="wfw" file="" timeout="10" onError="" text="Notity device to prepare receiving a firmware." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="fwtype:EB_SB" file="" timeout="10" onError="" text="Specify firmware type.".

1 - Panel A Finished <CMD/> type="push" body="fwtype:EB_SB" file="" timeout="10" onError="" text="Specify firmware type." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="send" file="files/eboot_ivt.sb" timeout="10" onError="" text="Sending a firmware file.".

1 - Panel A Finished <CMD/> type="push" body="send" file="files/eboot_ivt.sb" timeout="10" onError="" text="Sending a firmware file." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="save" file="" timeout="10" onError="" text="write the firmware to SD/MMC media.".

1 - Panel A Finished <CMD/> type="push" body="save" file="" timeout="10" onError="" text="write the firmware to SD/MMC media." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="wfw" file="" timeout="10" onError="" text="Notity device to prepare receiving a firmware.".

1 - Panel A Finished <CMD/> type="push" body="wfw" file="" timeout="10" onError="" text="Notity device to prepare receiving a firmware." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="fwtype:NK_NB" file="" timeout="10" onError="" text="Specify firmware type.".

1 - Panel A Finished <CMD/> type="push" body="fwtype:NK_NB" file="" timeout="10" onError="" text="Specify firmware type." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="send" file="files/nk.nb0" timeout="10" onError="" text="Sending a firmware file.".

1 - Panel A Finished <CMD/> type="push" body="send" file="files/nk.nb0" timeout="10" onError="" text="Sending a firmware file." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="save" file="" timeout="10" onError="" text="write the firmware to SD/MMC media.".

1 - Panel A Finished <CMD/> type="push" body="save" file="" timeout="10" onError="" text="write the firmware to SD/MMC media." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="QueryFolderStatus:SDMemory,Timeout:10" file="" timeout="10" onError="" text="Query store folder status.".

1 - Panel A Finished <CMD/> type="push" body="QueryFolderStatus:SDMemory,Timeout:10" file="" timeout="10" onError="" text="Query store folder status." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="wfl" file="" timeout="10" onError="" text="Notity device to prepare receiving a file.".

1 - Panel A Finished <CMD/> type="push" body="wfl" file="" timeout="10" onError="" text="Notity device to prepare receiving a file." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="filename:SDMemory\sandy.mp3" file="" timeout="10" onError="" text="Sending file name.".

1 - Panel A Finished <CMD/> type="push" body="filename:SDMemory\sandy.mp3" file="" timeout="10" onError="" text="Sending file name." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="send" file="files/sandy.mp3" timeout="10" onError="" text="Sending a file.".

1 - Panel A Finished <CMD/> type="push" body="send" file="files/sandy.mp3" timeout="10" onError="" text="Sending a file." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="save" file="" timeout="10" onError="" text="Finish sending data.".

1 - Panel A Finished <CMD/> type="push" body="save" file="" timeout="10" onError="" text="Finish sending data." SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="Done" file="" timeout="10" onError="" text="Whole update work is finished.".

1 - Panel A Finished <CMD/> type="push" body="Done" file="" timeout="10" onError="" text="Whole update work is finished." SUCCESS code=0x0.

Outcomes