[U-Boot-Users] get_ram_size() returns wrong value

Wolfgang Denk wd at denx.de
Fri Apr 8 00:21:46 CEST 2005


In message <9b7ca6570504062133713b09d2 at mail.gmail.com> you wrote:
> On Apr 6, 2005 10:20 PM, Wolfgang Denk <wd at denx.de> wrote:
> > Umm.. this seems bogus to me. If the actual size is  !=  MAX_RAM_SIZE
> > thenyou  will  have a hole in your mapping; this is not what you want
> > to do. See the README how to handle such a situation.
> 
> Okay this sounds rather dumb, but I cant seem to find it anywhere in
> READMEs. Any hint ?

Read here:

	[System Initialization:]
	...
	Next, all (potentially) available memory banks are mapped using a 
	preliminary mapping. For example, we put them on 512 MB boundaries
	...


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
f u cn rd ths, itn tyg h myxbl cd.




More information about the U-Boot mailing list