
10 Nov
2015
10 Nov
'15
4:38 p.m.
On Tue, Nov 10, 2015 at 1:21 PM, Simon Glass sjg@chromium.org wrote:
Is this patch against mainline or does your tree have other changes?
This change is against a clean mainline tree.
/* DDR initialization */ spl_dram_init();
It is the ame issue I reported back in August: http://lists.denx.de/pipermail/u-boot/2015-August/222406.html
After I followed your suggestion to call spl_init() prior to malloc() the issue went away.
However with 5ba534d247d4 applied, this no longer works, so I am interested in knowing the appropriate way to fix this malloc() issue inside SPL.
Are you using CONFIG_SYS_MALLOC_F?
No, I am not, but I have also tried adding CONFIG_SYS_MALLOC_F_LEN inside configs/mx6sabresd_spl_defconfig, but it did not help.
Regards,
Fabio Estevam