Re[2]: Memory size issue

Alexander Shiyan shc_work at mail.ru
Tue Jan 22 04:51:12 EST 2013


> On Tue, 2013-01-22 at 13:45 +0400, Alexander Shiyan wrote:
> > Hello.
> > 
> > I found a discrepancy between the size of memory in the system and
> > report by meminfo.
> > In the following example, the system registered 512M, but the meminfo
> > shows only 256M.
> > Error or so and originally intended?
> > 
> > barebox at i.MX51:/ devinfo mem0
> > resources:
> > num   : 0
> > name  : ram0
> > start : 0x90000000
> > size  : 0x20000000
> > driver: mem
> > bus: platform
> > 
> > no info available for mem0
> > no parameters available
> > barebox at i.MX51:/ meminfo
> > max system bytes =     245760
> > system bytes     =     245760
> > in use bytes     =     223200
> 
> This is 240kiB, not 256MiB. As meminfo shows only the memory used by
> barebox, this is should not be the same as the SDRAM size.
Ahh, yes. Thanks.

---


More information about the barebox mailing list