mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: 张忠山 <zzs213@126.com>
Cc: barebox@lists.infradead.org
Subject: Re: How to change filesystem size of root
Date: Sat, 15 Apr 2017 08:34:36 +0200	[thread overview]
Message-ID: <20170415063436.umvxggf7bran2dox@pengutronix.de> (raw)
In-Reply-To: <45b7af9b-719f-e34e-1075-60770af91c4a@126.com>

On Fri, Apr 14, 2017 at 03:03:36PM +0800, 张忠山 wrote:
> 在 2017年04月14日 11:48, 张忠山 写道:
> > When transfer a large file to root through tftp. "Out of memory" error
> > like this:
> > 
> > # tftp /xy7520/output_file.rbf a.rbf
> > T     [###########write: Out of memory                                  ]
> > 
> > My board has 1G ddr but the file jus 23M. So the memory large enough to
> > hold the file.
> > 
> > I think it should have a method to adjust the filesystem's size of root.
> > But I can't find it.
> > Help me please.
> 
> Juct change the size of "MALLOC_SIZE"

Which size was configured? Normally you can specify it to 0x0 and
barebox figures out a good malloc space area automatically. That would
be roughly half of the memory. (This is at least true for ARM)

Sascha

-- 
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:[~2017-04-15  6:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-14  3:48 张忠山
2017-04-14  7:03 ` 张忠山
2017-04-15  6:34   ` Sascha Hauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-04-14  3:40 张忠山
2017-04-17 13:44 ` Alexander Aring

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=20170415063436.umvxggf7bran2dox@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=zzs213@126.com \
    /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