mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Problems with the Load a new kernel image
@ 2013-04-02  7:41 "Breixo López García"
  2013-04-02  8:39 ` Jan Lübbe
  0 siblings, 1 reply; 2+ messages in thread
From: "Breixo López García" @ 2013-04-02  7:41 UTC (permalink / raw)
  To: barebox

[-- Attachment #1: Type: text/html, Size: 9377 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problems with the Load a new kernel image
  2013-04-02  7:41 Problems with the Load a new kernel image "Breixo López García"
@ 2013-04-02  8:39 ` Jan Lübbe
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Lübbe @ 2013-04-02  8:39 UTC (permalink / raw)
  To: "Breixo López García"; +Cc: barebox

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-02  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-02  7:41 Problems with the Load a new kernel image "Breixo López García"
2013-04-02  8:39 ` Jan Lübbe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox