[U-Boot-Users] Getting Error Relocating the code
raju rediff
diffraju at rediffmail.com
Mon Oct 4 08:30:05 CEST 2004
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20041004/d472730e/attachment.htm
-------------- next part --------------
Hi,
We are porting u-boot on our card. We have take SBC board as reference
and changed the code from that board's code.
In the process, we got stuck-up with a problem of relocating the code.
Please see the following dump. We are loading the code through emulator
into the ram at address 0x00000000.
======================================================================
U-Boot 1.1.1 (Sep 22 2004 - 13:28:21)
MPC8260 Reset Status: External Soft, External Hard
MPC8260 Clock Configuration
- Bus-to-Core Mult 4x, VCO Div 2, 60x Bus Freq 25-75 , Core Freq 100-300
- dfbrg 1, corecnf 0x1a, busdf 4, cpmdf 1, plldf 1, pllmf 4
- vco_out 330000000, scc_clk 82500000, brg_clk 20625000
- cpu_clk 264000000, cpm_clk 165000000, bus_clk 66000000
CPU: MPC8260 (HiP4 Rev 14, Mask B.1 4K25A) at 264 MHz
Board: EST ALI8260
DRAM:
Setup 60x SDRAM controller
Setup Local SDRAM controller64 MB
Bus Fault @ 0x00003388, fixup 0x00000000
Machine check in kernel mode.
Caused by (from msr): regs 07fb5c58 Unknown values in msr
NIP: 00003388 XER: 20000000 LR: 00004A20 REGS: 07fb5c58 TRAP: 0200 DAR: 46498442MSR: 00003000 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 00
GPR00: 8408FFFC 07FB5D48 00000000 07FD6000 04000000 FC024000 00000020 03FD6000
GPR08: FFFFFFFC 07FB5D6C 07FD6000 07FB5DB4 00000020 00000000 03FFF000 03FD6000
GPR16: 00000000 00000000 00000000 00000000 0000A920 00000001 00001002 0000E87C
GPR24: 00000000 00000000 00000001 07FB5D6C 07FD6000 F0003F80 03FFF0B4 07FB5D48
Call backtrace:
machine check
=======================================================================
The bus fault location @3388 corresponds to the function "relocate_code" from objdump. The header file of the card is attached to this mail.
Please let us know if you can identify any problem with the header file.
With Best Regards,
Raju
More information about the U-Boot
mailing list