i.MX6DL - Determine Boot From Recovery Device

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

i.MX6DL - Determine Boot From Recovery Device

跳至解决方案
1,696 次查看
christian_neuwi
Contributor III

Hi,

we're building our own hardware based on an i.MX6DL using an eMMC as primary boot device and an SPI NOR Flash as recovery device.

Our board behaves as expected when there is no bootloader in eMMC, i.e. it boots from SPI NOR Flash, but I can find no indication about that fact in any of the SRC registers I've been looking at.

Is there such an indication at all and - if so - where can I find it?

Regards,

Chris.

标签 (1)
0 项奖励
回复
1 解答
1,501 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Chris

I am afraid there is no such indication which recovery device was used.

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

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,501 次查看
christian_neuwi
Contributor III

FYI:

The flag PERSIST_SECONDARY_BOOT (SRC_GPR10[30]) does indicate that booting occurred from the recovery device. It might not say exactly which recovery device was used, but since you can have only one that information is usually good enough for the firmware to react appropriately if needed.

Best regards,

Chris.

0 项奖励
回复
1,502 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Chris

I am afraid there is no such indication which recovery device was used.

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

0 项奖励
回复