[PATCH 2/2] Add Raspberry-Pi defconfig
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Thu Sep 20 01:19:48 EDT 2012
On 00:19 Thu 20 Sep , Carlo Caione wrote:
>
> On Sep 19, 2012, at 12:07 AM, Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com> wrote:
>
> > On 22:30 Tue 18 Sep , Carlo Caione wrote:
> >> Signed-off-by: Carlo Caione <carlo at 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.
More information about the barebox
mailing list