mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Carlo Caione <carlo.caione@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 2/2] Add Raspberry-Pi defconfig
Date: Thu, 20 Sep 2012 07:19:48 +0200	[thread overview]
Message-ID: <20120920051948.GA26553@game.jcrosoft.org> (raw)
In-Reply-To: <D61358EC-6DC0-4F9B-82B0-CE44AA0976EB@gmail.com>

On 00:19 Thu 20 Sep     , Carlo Caione wrote:
> 
> On Sep 19, 2012, at 12:07 AM, Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> wrote:
> 
> > On 22:30 Tue 18 Sep     , Carlo Caione wrote:
> >> Signed-off-by: Carlo Caione <carlo@carlocaione.org>
> >> ---
> >> arch/arm/configs/rpi_defconfig |   45 ++++++++++++++++++++++++++++++++++++++++
> > add this in the board patch
> >> 1 file changed, 45 insertions(+)
> >> create mode 100644 arch/arm/configs/rpi_defconfig
> >> 
> >> diff --git a/arch/arm/configs/rpi_defconfig b/arch/arm/configs/rpi_defconfig
> >> new file mode 100644
> >> index 0000000..2b35ef8
> >> --- /dev/null
> >> +++ b/arch/arm/configs/rpi_defconfig
> >> @@ -0,0 +1,45 @@
> >> +CONFIG_ARCH_BCM2835=y
> >> +CONFIG_ARCH_TEXT_BASE=0x00008000
> >> +CONFIG_MEMORY_LAYOUT_FIXED=y
> > why fixed?
> 
> The problem here is that TEXT_BASE is at 0x00008000 and without setting CONFIG_MALLOC_BASE my malloc space falls outside of sdram.
because your TEXT_BASE is wrong put it at 64MiB it will work

you can load barebox anywhere in ddr and jump, barebox will relocate itself at
it's correct address

Best Regards,
J.

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

  reply	other threads:[~2012-09-20  5:22 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-18 20:30 [PATCH 1/2] Add bcm2835/Raspberry-Pi support Carlo Caione
2012-09-18 20:30 ` [PATCH 2/2] Add Raspberry-Pi defconfig Carlo Caione
2012-09-18 22:07   ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-19 22:19     ` Carlo Caione
2012-09-20  5:19       ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-09-18 22:06 ` [PATCH 1/2] Add bcm2835/Raspberry-Pi support Jean-Christophe PLAGNIOL-VILLARD
2012-09-19  7:42   ` Juergen Beisert
2012-09-19  8:14     ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-19  8:54       ` Juergen Beisert
2012-09-19  9:37         ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-19  9:10 ` Jan Lübbe
2012-09-19 10:00   ` Carlo Caione
2012-09-19 10:08     ` Jan Lübbe
2012-09-19 10:49       ` Carlo Caione
2012-09-19 10:49       ` Marc Kleine-Budde
2012-09-19 11:10         ` Carlo Caione
2012-09-19 11:13           ` Marc Kleine-Budde
2012-09-20 10:25     ` Thomas Petazzoni
2012-09-20 15:40 ` Jan Lübbe
2012-09-20 16:18   ` Carlo Caione

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=20120920051948.GA26553@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    --cc=carlo.caione@gmail.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