[U-Boot-Users] [Patch] Fix malloc hang on 82xx after relocationfixes

Rune Torgersen runet at innovsys.com
Wed Oct 24 23:02:25 CEST 2007


> From: Rune Torgersen
> 
> Temporarily set gd->reloc_off so malloc_bin_reloc will work 
> correctly after the relocation fixup patches.
> Signed-off-by: Rune Torgersen <runet at innovsys.com>
>
> When CONFIG_RELOC_FIXUP_WORKS is defined, gd->reloc_off is 
> set to 0, and the 
> pointers will continue to point to flash.
> 

Turns out none of the relocation stuff seems to work.
U-boot boots to command prompt, but if I try to run any commands, I get
a machine check exception.

CPU1 =>
CPU1 => ?
Machine check in kernel mode.
Caused by (from msr): regs 0ff99b38 Unknown values in msr
NIP: 5FD84D78 XER: 20000000 LR: FFF15D64 REGS: 0ff99b38 TRAP: 0200 DAR:
00000000
MSR: 0000b000 EE: 1 PR: 0 FP: 1 ME: 1 IR/DR: 00

GPR00: 00000004 0FF99C28 FF2FF7FF FFF29DB0 FFF29DB0 FFF23A6F 0FFAA350
0FFF8684
GPR08: FFFFFFFF 5FD84D7A 00000000 FFF2EDF4 44028024 9FBFFBFD 0FFFE000
00000000
GPR16: 00000000 00000000 00000000 00000000 00003002 0FF99D98 00000000
0FF99C50
GPR24: 00000005 0000004D 0FF99C60 00000001 FFF29DB0 0FF99F64 FFF34F38
0FF99D98
Call backtrace:
PCI: err status 0 err mask 1fff err ctrl 10ff
     error address c error data 0 ctrl 3f11abb1
machine check





More information about the U-Boot mailing list