
15 May
2014
15 May
'14
11:20 a.m.
Hi Tim,
On 15/05/2014 00:32, Tim Harvey wrote:
I figured this one out - it has nothing to do with the order of calling arch_cpu_init() its that the MMDC isn't always 'ready' by the time the BSS is cleared and thus in my failure case the BSS isn't getting entirely cleared which causes the spl_image global var to not be cleared as expected and triggers an invalid codepath. I will update the mmdc config patch when I find the right solution.
Thanks for the explanation ! I cannot guess why arch_cpu_init() should be called later. Nice you found the reason !
Sorry for the noise.
There was no noise ;-)
Best regards, Stefano
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================