[PATCH 2/2] Add Raspberry-Pi defconfig

Carlo Caione carlo.caione at gmail.com
Wed Sep 19 18:19:11 EDT 2012


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.

> Best Regards,
> J.

Regards,

--
Carlo Caione


More information about the barebox mailing list