[U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

Simon Glass sjg at chromium.org
Tue Nov 10 22:29:21 CET 2015


Hi Fabio,

On 10 November 2015 at 14:23, Fabio Estevam <festevam at gmail.com> wrote:
> Hi Simon,
>
> On Tue, Nov 10, 2015 at 7:19 PM, Simon Glass <sjg at chromium.org> wrote:
>
>> Then I wonder why malloc() is failing? Is it because there is too much
>
> In the example I sent I only allocate 64 bytes. malloc() does fail
> even if I decrease this number.
>
>> being allocated, or is the simple malloc region not being set up
>> correctly?
>
> This puzzles me too. I am not very familiar with this code and I don't
> know the reason why reverting 5ba534d247d41 'fixes' the problem.

Are you able to check what is happening in malloc_simple()? It is a
really simple function.

Regards,
Simon


More information about the U-Boot mailing list