iMX 8mm - anti rollback protection

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX 8mm - anti rollback protection

ソリューションへジャンプ
2,905件の閲覧回数
jorge_ramirez
Contributor III

Hi,

i.MX families using AHAB seem to have firmware anti-rollback protection via SECO as documented here https://www.nxp.com/docs/en/application-note/AN12312.pdf

What about other iMX8 socs (like iMX8mm) with HAB instead of AHAB? how could they protect from firmware roll-back at hardware level? is there any command that can be set by the CST to enable this?

many thanks

Jorge

 

ラベル(1)
0 件の賞賛
返信
1 解決策
2,888件の閲覧回数
jorge_ramirez
Contributor III

@Yuri, ok thanks for confirming so quick. that is pretty much what I thought as well.

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
2,881件の閲覧回数
jorge_ramirez
Contributor III

@Yuri, just another thing, in the case of AHAB, can the ROM check the version during SPL boot?

0 件の賞賛
返信
2,869件の閲覧回数
Yuri
NXP Employee
NXP Employee

@jorge_ramirez 

Hello,
   

    the boot ROM in itself does not check versions. SPL as user's code - can check 
versions.

 

~Yuri.

0 件の賞賛
返信
2,862件の閲覧回数
jorge_ramirez
Contributor III

right but it seems strange, since the version can be embedded in the container header at build time for AHAB to process. https://www.nxp.com/docs/en/application-note/AN12312.pdf [page 4]

do you know why ROM/AHAB do not run this check and instead it expects the bootloader to do it? seems much safer the other way around...

 

0 件の賞賛
返信
2,889件の閲覧回数
jorge_ramirez
Contributor III

@Yuri, ok thanks for confirming so quick. that is pretty much what I thought as well.

0 件の賞賛
返信
2,890件の閲覧回数
Yuri
NXP Employee
NXP Employee

@jorge_ramirez 
Hello,

   The boot ROM (HAB) does not check boot image versions, this verification
can be implemented by customer's secondary boot (as U-boot).
Note, i.MX8Mm supports non-rollover monotonic counter. Please refer to
Security Reference Manual for i.MX 8M Mini for more details.

https://www.nxp.com/webapp/Download?colCode=IMX8MMSRM&appType=moderatedWithoutFAE

 

Regards,
Yuri.