On Tue, 2013-04-02 at 09:41 +0200, "Breixo López García" wrote: > malloc space: 0x80b00000 -> 0x80ffffff (size 5 MB) > stack space: 0x80af8000 -> 0x80b00000 (size 32 kB) > running /env/bin/init... > > Hit any key to stop autoboot: 3 > barebox@Phytec phyCORE-AM335x:/ boot -k tftp -r net > do_tftpb: /.tftp_tmp_path/linuximage -> /image > 100Mbps full duplex link detected > ################################################################# > ################################################################# > ################################################################# > ################################################################# > ############write: Out of memory > > I have changed the barebox's property malloc_size of the barebox > because the image is >4MB and I supposed that the problem was that the > kernel is out of the reserver area for kernel in the RAM (tftp mode) > before it is saved in the flash but without successful. What is the > real Issue that doesn't allow to boot propertly the kernel > > The kernel that is used: > $ ls -l /tftpboot > -rw-r--r-- 1 sst sst 4964864 Apr 2 09:35 linuximage Please try with a larger malloc size than 5MB, barebox needs malloc space for other things besides the kernel image as well. Why is it so small when your board has 512MB? 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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox