production hab type for imx25

cancel
Showing results for 
Search instead for 
Did you mean: 

production hab type for imx25

157 Views
Contributor I

Everything is fine for secure boot when we are in engineering mode. So we decided to try production hab type. The device is booted successfully in production mode hab type.
After that we erased the flash of the device in order to test another signed u-boot image.
The device now starts in programming mode and we want to flash something with mfg tool but it does not boot the mfg firmware.
The device waits forever in the memory initialization section. What shoud we use to initialize the device to boot from memory in order to reprogram?
Logs:
 
Friday, April 28, 2017 17:13:43
1 - Panel A Start processing TEST<LIST/>.
Panel A Start <CMD/> type="find" body="BootStrap" file="" timeout="60" onError="" text="".
1 - Panel A Finished <CMD/> type="find" body="BootStrap" file="" timeout="60" onError="" text="" SUCCESS code=0x0.
Panel A Start <CMD/> type="init" body="Memory" file="mx25ddr2.xml" timeout="10" onError="" text="".
Panel A: Reason is unknown,Operation stopped by user. The process terminated unexpectedly.
UCL.xml file
    <CMD type="find" body="BootStrap" timeout="60"/>
    <CMD type="init" body="Memory" file ="mx25ddr2.xml" />
    <CMD type="load" file="uImage" address="0x80100000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Doing preLoad."</CMD>
    <CMD type="load" file="initramfs.cpio.gz.uboot" address="0x80800000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Doing preLoad."</CMD>                                
    <CMD type="load" file="u-boot-signed.bin" address="0x83F00000" loadSection="OTH" setSection="APP" HasFlashHeader="TRUE" >Loading OS image.</CMD>
We also tried this but it again waits for ever in the first line:
 
<CMD type="boot" body="BootStrap" file ="u-boot-signed.bin" >Read from DDR script from U-Boot to init DDR Memory.</CMD> 
    <CMD type="load" file="uImage" address="0x80100000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Doing preLoad."</CMD>
    <CMD type="load" file="initramfs.cpio.gz.uboot" address="0x80800000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Doing preLoad."</CMD>                                
Labels (1)
0 Kudos
4 Replies

5 Views
NXP TechSupport
NXP TechSupport

Hello,

  the MFG image in itself should be signed in the production mode. 

Regards,

Yuri.

0 Kudos

5 Views
Contributor I

Hi,

The mfg uboot image is already signed with production mode

Thanks

0 Kudos

5 Views
NXP TechSupport
NXP TechSupport

Hello,

  is it possible to look at i.MX25 console (UART) boot log during MFG operations ?

Regards,

Yuri.

0 Kudos

5 Views
NXP TechSupport
NXP TechSupport

You can boot the device from SD card and cleen NAND flash.

Have a great day,
Victor

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

0 Kudos