[U-Boot] MPC8xx malloc failing

saugat mitra saugat.mitra at gmail.com
Tue Feb 1 14:23:14 CET 2011


Hi

I have moved onto 2009.11, though more new versions are available but still ..
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 -

Bus Fault @ 0x00fc9988, fixup 0x00000000
Machine check in kernel mode.
Caused by (from msr): regs 00f42e20 Unknown values in msr
NIP: 00FC9988 XER: 20002D10 LR: 00FC9988 REGS: 00f42e20 TRAP: 0200 DAR: 7D8C6218
MSR: 00001002 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00

GPR00: 00FC9988 00F42F10 00F42F90 00000000 00FEC4AC 00F42B10 00000000 00000000
GPR08: 00000020 02202800 B060C000 00000020 82C00428 090700D8 00FFE400 FDFC7000
GPR16: 00019040 000448D1 045744A8 02420830 01A400E2 00000001 0074832A 00000000
GPR24: 00F42F90 00F42F78 00004008 00000072 00FF81E4 B0610008 00FFE424 7D8C6214
Call backtrace:
00FC9988 00FDCD34 00FCCD60 00FC93B8
machine check
### ERROR ### Please RESET the board ###


Help Required.
Thanks
Saugat.

On Mon, Jan 24, 2011 at 6:16 PM, Stefano Babic <sbabic at denx.de> wrote:
> On 01/24/2011 01:12 PM, saugat mitra wrote:
>> Hi
>>
>
> Hi,
>
>> I am trying to boot a MPC8XXX based board using uboot version 1.1.3.
>> I am able to get the serial console up. But when I try to ping it
>> gives me a time out error.
>> On trying "mii info" and enabling debug messages I see that all the
>> mii read messages are
>> returning 0xffff. Could any one please suggest me steps to debug.
>
> make yourself a favour and upgrade to last U-Boot version. Your version
> is so ancient that is impossible to find which is the fix for you. And
> on current release, ethernet works well on mpc8xx (tested on a TQ
> tqm860L board).
>
> Best regards,
> Stefano Babic
>
> --
> =====================================================================
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
> =====================================================================
>


More information about the U-Boot mailing list