detect installed ram before mmu turned on

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

detect installed ram before mmu turned on

ソリューションへジャンプ
1,858件の閲覧回数
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,798件の閲覧回数
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,798件の閲覧回数
Yuri
NXP Employee
NXP Employee

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

0 件の賞賛
返信
1,798件の閲覧回数
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,798件の閲覧回数
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,799件の閲覧回数
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 件の賞賛
返信