* How to change filesystem size of root
@ 2017-04-14 3:48 张忠山
2017-04-14 7:03 ` 张忠山
0 siblings, 1 reply; 5+ messages in thread
From: 张忠山 @ 2017-04-14 3:48 UTC (permalink / raw)
To: barebox
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.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to change filesystem size of root
2017-04-14 3:48 How to change filesystem size of root 张忠山
@ 2017-04-14 7:03 ` 张忠山
2017-04-15 6:34 ` Sascha Hauer
0 siblings, 1 reply; 5+ messages in thread
From: 张忠山 @ 2017-04-14 7:03 UTC (permalink / raw)
To: barebox
在 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"
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to change filesystem size of root
2017-04-14 7:03 ` 张忠山
@ 2017-04-15 6:34 ` Sascha Hauer
0 siblings, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2017-04-15 6:34 UTC (permalink / raw)
To: 张忠山; +Cc: barebox
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to change filesystem size of root
2017-04-14 3:40 张忠山
@ 2017-04-17 13:44 ` Alexander Aring
0 siblings, 0 replies; 5+ messages in thread
From: Alexander Aring @ 2017-04-17 13:44 UTC (permalink / raw)
To: barebox
Hi,
On 04/14/2017 05:40 AM, 张忠山 wrote:
> 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.
>
not sure, but I think you need to increase the malloc space. There is
some Kconfig entry.
- Alex
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* How to change filesystem size of root
@ 2017-04-14 3:40 张忠山
2017-04-17 13:44 ` Alexander Aring
0 siblings, 1 reply; 5+ messages in thread
From: 张忠山 @ 2017-04-14 3:40 UTC (permalink / raw)
To: barebox
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.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-04-17 13:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-14 3:48 How to change filesystem size of root 张忠山
2017-04-14 7:03 ` 张忠山
2017-04-15 6:34 ` Sascha Hauer
-- strict thread matches above, loose matches on Subject: below --
2017-04-14 3:40 张忠山
2017-04-17 13:44 ` Alexander Aring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox