All of lore.kernel.org
 help / color / mirror / Atom feed
From: Armand Ciejak <armand.ciejak@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] DataTLBError with MPC8540
Date: Tue, 31 May 2005 16:37:23 +0200	[thread overview]
Message-ID: <d7hs5i$hbg$1@sea.gmane.org> (raw)

I'm working on porting u-boot 1.1.2 for a Metrowerks eval board.
I have modified the MPC8540ADS.h to make it compatible with the board.
I removed the RapidIO initialisation in init.S since I don't use it.

Whatever I try to do the CPU enter the DataTLBError exception:
-> If I set a breakpoint (no matter where)
-> If I step through the code


Here is a "typical" session:

BDI>info
     Target CPU        : MPC8560/8540 Rev.2
     Target state      : halted
     Debug entry cause : COP halt
     Current PC        : 0xfffffffc
     Current CR        : 0x00000000
     Current MSR       : 0x02000200
     Current LR        : 0x00000000
     Current CCSRBAR   : 0xff700000

gdb>go
BDI>info
     Target CPU        : MPC8560/8540 Rev.2
     Target state      : running
BDI>halt
     Target CPU        : MPC8560/8540 Rev.2
     Target state      : halted
     Debug entry cause : COP halt
     Current PC        : 0xfff81400
     Current CR        : 0x20000000
     Current MSR       : 0x00001000
     Current LR        : 0xfffff218
     Current CCSRBAR   : 0xe0000000

dear: 0x000211a8  135592
srr0: 0xfff81410  -519152 -> I know that this is not the primary source 
of the DataTLBError, but I didn't find a way to stop at the first exception.
srr1: 0x00001000  4096
esr : 0x00800000  8388608
mas0: 0x00000001  1
mas1: 0x80000000  -2147483648
mas2: 0x00021000  135168
mas3: 0x00000000  0

TLB0 valid entries:
IDX  PID      EPN  SIZE V TS         RPN U0-U3 WIMGE UUUSSS
   0 : 00 ff700000   4KB V  0 -> ff700000  0000 -I-G- ---RWX
  16 : 00 e4010000   4KB V  0 -> e4010000  0000 ----- ---RWX
  17 : 00 e4011000   4KB V  0 -> e4011000  0000 ----- ---RWX
  18 : 00 e4012000   4KB V  0 -> e4012000  0000 ----- ---RWX
  19 : 00 e4013000   4KB V  0 -> e4013000  0000 ----- ---RWX

TLB1 valid entries:
IDX  PID      EPN  SIZE V TS         RPN U0-U3 WIMGE UUUSSS
   0 : 00 ff000000  16MB V  0 -> ff000000  0000 -I-G- ---RWX -> Flash
   1 : 00 80000000 256MB V  0 -> 80000000  0000 -I-G- ---RWX -> PCI 1/2
   2 : 00 90000000 256MB V  0 -> 90000000  0000 -I-G- ---RWX -> PCI 2/2
   5 : 00 e0000000  64MB V  0 -> e0000000  0000 -I-G- ---RWX -> CCSRBAR
   6 : 00 f0000000  64MB V  0 -> f0000000  0000 ----- ---RWX -> LBC_SDRAM
   7 : 00 f8000000  16KB V  0 -> f8000000  0000 -I-G- ---RWX -> BCSR

Environment:
- Board: Metrowerks board with a MPC8540 CPU.
- U-boot version: 1.1.2
- Toolchain: ELDK3.1
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: myMPC8540.h
Url: http://lists.denx.de/pipermail/u-boot/attachments/20050531/327f5ad5/attachment.txt 

                 reply	other threads:[~2005-05-31 14:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='d7hs5i$hbg$1@sea.gmane.org' \
    --to=armand.ciejak@free.fr \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.