* Memory size issue
@ 2013-01-22 9:45 Alexander Shiyan
2013-01-22 9:48 ` Jan Lübbe
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Shiyan @ 2013-01-22 9:45 UTC (permalink / raw)
To: barebox
[-- Attachment #1.1: Type: text/plain, Size: 549 bytes --]
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@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@i.MX51:/ meminfo
max system bytes = 245760
system bytes = 245760
in use bytes = 223200
---
[-- Attachment #1.2: Type: text/html, Size: 1409 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Memory size issue
2013-01-22 9:45 Memory size issue Alexander Shiyan
@ 2013-01-22 9:48 ` Jan Lübbe
2013-01-22 9:51 ` Re[2]: " Alexander Shiyan
0 siblings, 1 reply; 3+ messages in thread
From: Jan Lübbe @ 2013-01-22 9:48 UTC (permalink / raw)
To: barebox
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@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@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.
Regards,
Jan
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re[2]: Memory size issue
2013-01-22 9:48 ` Jan Lübbe
@ 2013-01-22 9:51 ` Alexander Shiyan
0 siblings, 0 replies; 3+ messages in thread
From: Alexander Shiyan @ 2013-01-22 9:51 UTC (permalink / raw)
To: Jan L�bbe; +Cc: barebox
> 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@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@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.
---
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-22 9:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-22 9:45 Memory size issue Alexander Shiyan
2013-01-22 9:48 ` Jan Lübbe
2013-01-22 9:51 ` Re[2]: " Alexander Shiyan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox