Support boot mode from secondary image for i.MX6solo

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Support boot mode from secondary image for i.MX6solo

跳至解决方案
1,279 次查看
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.

标签 (2)
标记 (1)
0 项奖励
1 解答
1,184 次查看
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 项奖励
8 回复数
1,184 次查看
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 项奖励
1,184 次查看
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 项奖励
1,184 次查看
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 项奖励
1,184 次查看
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 项奖励
1,184 次查看
Yuri
NXP Employee
NXP Employee

Hello,

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

Regards,

Yuri.

0 项奖励
1,184 次查看
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 项奖励
1,185 次查看
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 项奖励
1,184 次查看
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 项奖励