Re: How to change filesystem size of root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux