Support boot mode from secondary image for i.MX6solo

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

Support boot mode from secondary image for i.MX6solo

Jump to solution
1,739 Views
takayuki_ishii
Contributor IV

Hello community,

I have one question about usage of redundant boot and secondary boot image.

Following boot mode are supported redundant boot and it can boot from secondary image.

  • NAND boot
  • MMCSD/eSD/SDXC boot
  • SATA( HDD and SSD) boot (Sorry I missed. i.MX6 Solo/Dual Lite not support SATA I/F)

And others not support redundant boot

  • Parallel NOR Flash
  • One NAND
  • EEPROMa boot (SPI, I2C)

Is it correct?

Best regards,

Ishii.

Labels (2)
Tags (1)
0 Kudos
Reply
1 Solution
1,644 Views
Yuri
NXP Employee
NXP Employee

 Hello, Ishii!

  Appears, You are right: in case of NAND ECC errors, secondary boot option is also provided. 

I agree with Your considerations above.  

Regards,

Yuri. 

View solution in original post

0 Kudos
Reply
8 Replies
1,644 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

  The redundant boot is supported for MMC/eMMC and SD/eSD compliant devices.

 

Have a great day,

Yuri.

 

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

Note:

- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored

 

Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

0 Kudos
Reply
1,644 Views
takayuki_ishii
Contributor IV

Hello Yuri,

Thank you for your quick response.

And sorry for my bad question.

I hope to know when is secondary image used by boot ROM.

I think it has 4 pattern

  1. ECC error in raw NAND boot.
  2. Load image error? in redundant boot(MMC/eMMC/SD/eSD)
  3. Authenticate Image is fail in Figure 8-1 of Reference Manual IMS6SDLRM rev4.
  4. SATA boot for i.MX6DQ

In case 3, If it is correct, it seems that all internal boot mode will be used secondary image if authenticate is failed.

Which boot mode does it support to use secondary image in this case?

If other case it is used secondary image, please let me know.

SecondaryImage_table8_1.bmp

Best regards,

Ishii.

0 Kudos
Reply
1,644 Views
Yuri
NXP Employee
NXP Employee

Hello, Ishii !

  The secondary image is used in the Closed mode, if  Authenticate failed.

No more scenarios for the redundant mode.

    For the Closed mode, if there are failures during primary image authentication, the boot
ROM turns on the PERSIST_SECONDARY_BOOT bit (see Table 8-6) and performs the
software reset. (After the software reset, the secondary image is used.)

Regards,

Yuri.

0 Kudos
Reply
1,644 Views
takayuki_ishii
Contributor IV

Hello Yuri,

Thank you for your answer.

I understand that the secondary image is used in the closed mode only.

If I use Parallel NOR-Flash boot with closed mode, where is a location of Secondary Image Table?

Boot Rom will read table from address 0x200 is correct?

IVT offset is different both NOR and OneNAND in table 8-23.

But I can't find location of secondary image table for NOR flash boot

both Reference Manual and Security Reference Manual.

Best regards,

Ishii.

0 Kudos
Reply
1,644 Views
Yuri
NXP Employee
NXP Employee

Hello,

  The redundant boot is supported only for MMC/eMMC and SD/eSD. 

Regards,

Yuri.

0 Kudos
Reply
1,644 Views
takayuki_ishii
Contributor IV

Hello Yuri,

I confused now.

Boot ROM are set secondary image persistent bit only following 2 condition.

  1. Redundant boot=Yes, Closed mode=Yes, Primary boot image authentication is fail.
  2. In NAND boot, ECC can't correct during the primary image read.

So, the secondary image may only be referenced during a NAND boot or

redundant boot (it support for MMC/eMMC/SD).

Other boot mode(Parallel NOR, OneNAND, EEPROM) have no time to referenced secondary imae.

Is it correct?

Best regards,

Ishii.

0 Kudos
Reply
1,645 Views
Yuri
NXP Employee
NXP Employee

 Hello, Ishii!

  Appears, You are right: in case of NAND ECC errors, secondary boot option is also provided. 

I agree with Your considerations above.  

Regards,

Yuri. 

0 Kudos
Reply
1,644 Views
takayuki_ishii
Contributor IV

Hello Yuri,

Thank you for your quick response.

I was able to understand how work boot ROM and secondary image.

Best regards,

Ishii.

0 Kudos
Reply