How to use mfgtool under i.MX28 EVK board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use mfgtool under i.MX28 EVK board

Jump to solution
1,910 Views
garylijs
Contributor II

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.

Labels (1)
0 Kudos
1 Solution
1,230 Views
igorpadykov
NXP Employee
NXP Employee

Hi gary

old files should be replaced with new ones in folder

mfgtools..\Profiles\MX28 WinCE Update\OS firmware\files.

wfl used with sandy.mp3, does not flash this file to SD,

please check attached MFG client driver guide.pdf and wfw

command usage. For rebuilding mfg firmware, it is

mfgtools\Profiles\MX28 WinCE Update\OS firmware\uce_ivt.sb,

refer to sect.2.3 Sample OS Design Solutions

EVK_imx28_WinCE60_UG.pdf

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
4 Replies
1,231 Views
igorpadykov
NXP Employee
NXP Employee

Hi gary

old files should be replaced with new ones in folder

mfgtools..\Profiles\MX28 WinCE Update\OS firmware\files.

wfl used with sandy.mp3, does not flash this file to SD,

please check attached MFG client driver guide.pdf and wfw

command usage. For rebuilding mfg firmware, it is

mfgtools\Profiles\MX28 WinCE Update\OS firmware\uce_ivt.sb,

refer to sect.2.3 Sample OS Design Solutions

EVK_imx28_WinCE60_UG.pdf

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
1,230 Views
garylijs
Contributor II

Hi igor,

Thanks for your kindly support first.

"wfl used with sandy.mp3, does not flash this file to SD,"

>>>I know sandy.mp3 is not flashed  to SD, I wanted to confirm with you if sandy.mp3 file I can find in the "My Device\SDMemory" disk of the Windows CE6.0.BUT in fact, I don't find it in "My Device\SDMemory".

NOW,I know why sandy.mp3 is not in "My Device\SDMemory" disk of the Windows CE6.0.BECAUSE MFG client driver didn't create MBR section with my uce_ivt.sb.

So I have new question need you support ,maybe I have missed something.

1. why MFG client driver doesn't create MBR section in SD  with my uce_ivt.sb?

uce_ivt.sb:  generated by iMX28-EVK-PDK1_9-UUT directly. --->can't create MBR section in SD, so sandy.mp3 can't be written to SD.

eboot_ivt.sb, nk.nb0: generated by iMX28-EVK-PDK1_9-Mobility directly. --->both of them are OK.


I only installed the i.MX28 EVK SDK directly, and SYSGEN iMX28-EVK-PDK1_9-UUT project. THEN rename nk_ivt.sb to uce_ivt.sb, and copy it to  "mfgtools\Profiles\MX28 WinCE Update\OS firmware".


Thanks,

Gary



0 Kudos
1,230 Views
igorpadykov
NXP Employee
NXP Employee

Hi gary

I would suggest to create new thread for new questions.

Thanks!

igor

0 Kudos
1,230 Views
garylijs
Contributor II

Hi igor,

Thanks. I have created a new one.

Best regards,

Gary

0 Kudos