Thanks all for the feedback. I don't feel that this gives any other
severe side effects either, besides incorrect values at boot and in
/proc/meminfo (and free command).  But we will of course change to the
correct setting. 

 

A couple of other details I have been thinking about (M5208EVB):

 

In the "ram.ld" file:

 

It says ORIGIN = 0x4002 0000 and LENGTH = 0x01e0 0000.

 

I agree that useable SDRAM starts at 0x4002 0000 since dBUG uses the
first 0x20000. The physical end address of the SDRAM is 0x4200 0000
(32MB).

 

But shouldn't the LENGTH in ram.ld be 0x4200 0000 - 0x4002 0000 = 0x01fe
0000?

 

I guess this is just a minor issue since the used RAM in all practical
situations at link time is not even near the maximum available.

 

In the "crt0_ram.S" file:

 

Since the first 0x20000 is used by dBUG, why is MEM_BASE 0x4000 0000 and
not 0x4002 0000? Any shouldn't MEM_SIZE be adjusted down with 0x20000
accordingly?

 

All comments very appreciated.

 

/Martin

 

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to