mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Jan Lübbe" <jlu@pengutronix.de>
To: barebox@lists.infradead.org
Subject: Re: Memory size issue
Date: Tue, 22 Jan 2013 10:48:51 +0100	[thread overview]
Message-ID: <1358848131.3996.5.camel@coredoba.hi.pengutronix.de> (raw)
In-Reply-To: <1358847900.233899647@f243.mail.ru>

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

  reply	other threads:[~2013-01-22  9:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-22  9:45 Alexander Shiyan
2013-01-22  9:48 ` Jan Lübbe [this message]
2013-01-22  9:51   ` Re[2]: " Alexander Shiyan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1358848131.3996.5.camel@coredoba.hi.pengutronix.de \
    --to=jlu@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox