public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Getting Error Relocating the code
@ 2004-10-04  6:30 raju rediff
  2004-10-04 20:31 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: raju rediff @ 2004-10-04  6:30 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] Getting Error Relocating the code
  2004-10-04  6:30 [U-Boot-Users] Getting Error Relocating the code raju rediff
@ 2004-10-04 20:31 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2004-10-04 20:31 UTC (permalink / raw)
  To: u-boot

In message <20041004063005.3854.qmail@webmail31.rediffmail.com> you wrote:
> 
> <P>=0AHi,<BR>=0A<BR>=0AWe are porting u-boot on our card. We have take SBC =
> board as reference<BR>=0Aand changed the code from that board's code. <BR>=
> =0AIn the process, we got stuck-up with a problem of relocating the code.<B=
> R>=0APlease see the following dump. We are loading the code through emulato=
> r<BR>=0Ainto the ram at address 0x00000000.<BR>=0A<BR>=0A=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>=0A<BR>=0AU-Boot 1.1.1 (Sep 2=
> 2 2004 - 13:28:21)<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &=
> nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=
>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbs=
...


Please do not send HTML messages.

Please send plain text only.

Message unreadable, ignored. Sorry.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-04 20:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-04  6:30 [U-Boot-Users] Getting Error Relocating the code raju rediff
2004-10-04 20:31 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox