On Tue, Oct 12, 2010 at 01:07:50PM +0400, Alexey Zaytsev wrote: > On Tue, Oct 12, 2010 at 10:00, Jean-Christophe PLAGNIOL-VILLARD > <plagnioj@xxxxxxxxxxxx> wrote: > >> +if MACH_VERSATILEPB > >> + > >> +config ARCH_TEXT_BASE > >> + hex > >> + default 0 > > sure? > > That's one thing I wanted to ask - where should I place the barebox? > Currently, I'm placing it at 5M, with 4M malloc and the stack below. > Do I get it right that the downloaded images are stored in the malloc > area? It depends. If you download images to the filesystem they end up in the malloc area, so this should at least be big enough to store a kernel image. You also can tftp directly to flash, so the malloc space does not have to be as big as your rootfs. Normally I put barebox at the end of RAM and use 4-16MB of malloc area. Please make sure that there is ~4MB of free space at the beginning of the SDRAM since this is used during start of Linux images. 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