i.MX 7Dual SPL boot

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

i.MX 7Dual SPL boot

跳至解决方案
2,342 次查看
urimashiach
Contributor III

Hello,

We have recently upgraded to i.MX 7Dual MCIMX7D5EVM10SD.

We are not able to boot with SPL U-Boot.

According to the Final Product Change Notification, one of the modification is:

"ROM performance enhancement".

Please provide more details regarding the above modification.

Thanks,

Uri

标签 (2)
标记 (1)
0 项奖励
回复
1 解答
2,084 次查看
urimashiach
Contributor III

Hello gusarambula,

The problem was solved by increasing the SPL base address by 4 Kbyte.

According to i.MX 7Dual Applications Processor Reference Manual, section 6.6.4.1 (Internal ROM/RAM memory map):

The entire OCRAM region can be used freely after the boot.

In silicon revision 1.3, the SPL is functioning only if loaded 4 Kbyte after the beginning of the OCRAM region.

It seems like the above modification is not documented.

Thanks,

Uri

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,084 次查看
steveschefterti
Contributor III

Thanks for posting this very useful information Uri.  I'll just add that the entirety of SPL must be loaded above 4K after the beginning of OCRAM, not just the code.

The default value for CONFIG_SPL_TEXT_BASE is 0x00911000, which is already 4K into OCRAM.  However, the code is preceded by a small header so it is necessary to set CONFIG_SPL_TEXT_BASE to 0x00912000.  I had originally thought that the text base had already been bumped by 4K due to the problem that Uri described, but that was not the case.

0 项奖励
回复
2,084 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Uri,

The change in Silicon Revision 1.3 regarding the ROM enhancement is the addition of a couple of fuses to the fusemap related to the Serial Download Mode. Fuse SDP_DISABLE enables/disables Serial Download mode support. Fuse SDP_READ_ENABLE enables/disables reads using Serial Download mode.

I hope this information helps,

Regards,

0 项奖励
回复
2,085 次查看
urimashiach
Contributor III

Hello gusarambula,

The problem was solved by increasing the SPL base address by 4 Kbyte.

According to i.MX 7Dual Applications Processor Reference Manual, section 6.6.4.1 (Internal ROM/RAM memory map):

The entire OCRAM region can be used freely after the boot.

In silicon revision 1.3, the SPL is functioning only if loaded 4 Kbyte after the beginning of the OCRAM region.

It seems like the above modification is not documented.

Thanks,

Uri

0 项奖励
回复