From: Sascha Hauer <s.hauer@pengutronix.de>
To: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Cc: barebox@lists.infradead.org, Bahadir Balban <bbalban@b-labs.com>
Subject: Re: [PATCH v3] Add basic support from ARM Versatile/PB
Date: Tue, 12 Oct 2010 19:38:19 +0200 [thread overview]
Message-ID: <20101012173819.GG28242@pengutronix.de> (raw)
In-Reply-To: <AANLkTimi49xXMg1giyMOyz1uA491++cfRy5s_1=zsPVQ@mail.gmail.com>
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@jcrosoft.com> 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2010-10-12 17:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-11 16:29 Alexey Zaytsev
2010-10-12 6:00 ` Jean-Christophe PLAGNIOL-VILLARD
2010-10-12 9:07 ` Alexey Zaytsev
2010-10-12 17:38 ` Sascha Hauer [this message]
2010-11-14 0:57 ` Jean-Christophe PLAGNIOL-VILLARD
2010-11-14 1:37 ` Alexey Zaytsev
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=20101012173819.GG28242@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=alexey.zaytsev@gmail.com \
--cc=barebox@lists.infradead.org \
--cc=bbalban@b-labs.com \
/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