On 00:19 Thu 20 Sep , Carlo Caione wrote: > > On Sep 19, 2012, at 12:07 AM, Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> wrote: > > > On 22:30 Tue 18 Sep , Carlo Caione wrote: > >> Signed-off-by: Carlo Caione <carlo@xxxxxxxxxxxxxxx> > >> --- > >> 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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox