How to disable MMU in e5500 core?

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

How to disable MMU in e5500 core?

ソリューションへジャンプ
1,399件の閲覧回数
veerendranathj
Contributor III

Hi,

I want to use e5500 in real mode without any translation functionality. How can we disable MMU(Both L1 and L2) of e5500 core?

Thanks and Regards,

Veerendranath

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 解決策
1,199件の閲覧回数
r8070z
NXP Employee
NXP Employee

Have a great day,

The e5500 MMU cannot be disabled. However you can program the L2 TLB1 to cover all available physical address space statically. The L1 TLBs are transparent for your software you should not care of it. The L1 TLBs is loaded form the L2 TLBs by the core hardware. The simplest way is using L2 TLB1 which has 64 entries, each entry support variable size page up to 4 GBytes. When the core comes out of reset, its MMU has one 4 KB page defined at 0x0_FFFF_Fnnn. When the core executes code from that page it can program L2 TLB1 to cover all required physical memories at once. For example U-boot programs the MMU in this way. Of course software can set effective address of page equal to the physical address and we get “real” mode.

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

元の投稿で解決策を見る

1 返信
1,200件の閲覧回数
r8070z
NXP Employee
NXP Employee

Have a great day,

The e5500 MMU cannot be disabled. However you can program the L2 TLB1 to cover all available physical address space statically. The L1 TLBs are transparent for your software you should not care of it. The L1 TLBs is loaded form the L2 TLBs by the core hardware. The simplest way is using L2 TLB1 which has 64 entries, each entry support variable size page up to 4 GBytes. When the core comes out of reset, its MMU has one 4 KB page defined at 0x0_FFFF_Fnnn. When the core executes code from that page it can program L2 TLB1 to cover all required physical memories at once. For example U-boot programs the MMU in this way. Of course software can set effective address of page equal to the physical address and we get “real” mode.

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