MCF5484 and MMU initialisation

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

MCF5484 and MMU initialisation

1,594 次查看
schiller
Contributor III

Hi all,

 

I have a custom MCF5484 board with 128Mb RAM. My development environnement is :

- U-Boot

- Linux 2.6.10

- gcc version 4.2.3 (Sourcery G++ Lite 4.2-125)

 

Under U-Boot, I'm able to see and use the whole 128Mb.

CONFIG_SDRAM_SIZE is set to 0x8000000 in the Linux configuration. Linux starts with 128Mb (displayed at boot time). When /sbin/init is called, the system freezes. I tried to change the configuration of the MMU in head.S but nothing has changed.

I read that the TLB of the MCF5484 has 32 lines of 1Mb leading to use no more than 32Mb with the MMU.

 

So, my question is : is there a possibility to use the whole RAM I have on my board (128Mb) with the MCF5484 and the MMU ?

If not, why am I able to use the 5485EVB board with 64Mb of RAM (2.6.25 Linux kernel) ?

 

Thanks for your help!

标签 (1)
0 项奖励
回复
2 回复数

691 次查看
fsl_linux_spt
Contributor III

I am not aware of any limitations for this.  Have you tried running the 2.6.25 kernel on your board to see if that behaves any differently?

0 项奖励
回复

691 次查看
schiller
Contributor III

No, I did not try to run the 2.6.25 kernel. I manage to get my board working with the full 128Mb by merging the head.S files of those two kernels (2.6.10 and 2.6.25).

 

I'm a newbie with MMU based board and I'm still trying to understand why Linux is able to see 128Mb whereas I only map 32Mb of the memory. In other words, how the others 96Mb are used and why are they available? 

I guess this question might be  stupid but I need to understand :smileyhappy:.

 

Thanks for your help!

0 项奖励
回复