[U-Boot] MPC8xx malloc failing

Wolfgang Denk wd at denx.de
Tue Feb 1 14:29:38 CET 2011


Dear saugat mitra,

In message <AANLkTi=SOo3RaVp8asHBRUYnOq4TTC_F07Miz3WrKRKT at mail.gmail.com> you wrote:
> 
> I have moved onto 2009.11, though more new versions are available but still ..

Stefano wrote:

| > make yourself a favour and upgrade to last U-Boot version...

Can you please explain why you stick again with code that is > 1 year
old?


> I am using a MPC8XX based board( as earlier), but now the code is crashing
> in env_relocate() function. On applying debug prints I found that the
> code was failing
> in malloc with a Bus Fault with the following dump -

It would have been easier if you had just decoded the backtrace:

> Call backtrace:
> 00FC9988 00FDCD34 00FCCD60 00FC93B8
> machine check

Which routines are these addresses from?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In C we had to code our own bugs, in C++ we can inherit them.


More information about the U-Boot mailing list