detect installed ram before mmu turned on

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

detect installed ram before mmu turned on

跳至解决方案
1,149 次查看
johnballance
Contributor III

This may sound daft, but how can I check the amount of installed RAM in an imx6 in the early stages of booting .. system is 'bare metal, hence it is up to me...

thanks'

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
1,089 次查看
johnballance
Contributor III

Hi Yuri

I guess that as I'm not sure what is on the board at all, I have to set up ram in the DCD data to enable the max there could be, then integrate the possibility of a data abort within my ram tester... I cannot rely on anything having been set up with more knowledge of the hardware than I can  detect

Many thanks

John

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,089 次查看
Yuri
NXP Employee
NXP Employee

Just run simple memory test to define really writable / readable zones.

0 项奖励
回复
1,089 次查看
johnballance
Contributor III

Hi Yuri.. Thats what I thought, but I'm getting a data abort, which is unexpected. Any thoughts?.. or do I just need to make sure I have an abort handler in place first?

Thanks

John

0 项奖励
回复
1,089 次查看
Yuri
NXP Employee
NXP Employee

I would not say that data abort is not expected. This event states about non-exitent memory - what is we should find.
Perhaps it would be better to calculate memory size using memory controller settings : number of rows, columns, data port size,

number of banks.

1,090 次查看
johnballance
Contributor III

Hi Yuri

I guess that as I'm not sure what is on the board at all, I have to set up ram in the DCD data to enable the max there could be, then integrate the possibility of a data abort within my ram tester... I cannot rely on anything having been set up with more knowledge of the hardware than I can  detect

Many thanks

John

0 项奖励
回复