From: "Jan Lübbe" <jlu@pengutronix.de>
To: "\"Breixo López García\"" <Breixo.Lopez@gmx.de>
Cc: barebox@lists.infradead.org
Subject: Re: Problems with the Load a new kernel image
Date: Tue, 02 Apr 2013 10:39:49 +0200 [thread overview]
Message-ID: <1364891989.4213.8.camel@coredoba.hi.pengutronix.de> (raw)
In-Reply-To: <trinity-9b800437-dda7-4884-9539-55f191f34bcd-1364888497084@3capp-gmx-bs47>
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
prev parent reply other threads:[~2013-04-02 8:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-02 7:41 "Breixo López García"
2013-04-02 8:39 ` Jan Lübbe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1364891989.4213.8.camel@coredoba.hi.pengutronix.de \
--to=jlu@pengutronix.de \
--cc=Breixo.Lopez@gmx.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox