linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Robert Woodworth <rwoodworth@securics.com>
To: David Baird <dhbaird@gmail.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: TLB Miss booting linux kernel on ppc 405
Date: Thu, 21 Feb 2008 12:12:03 -0700	[thread overview]
Message-ID: <1203621123.5231.36.camel@PisteOff> (raw)
In-Reply-To: <440abda90802211004h3833ed00ke1cdc1257e2b0379@mail.gmail.com>

I'm no expert but....

I did configure my device with the DCR enabled and connected the PLBv46
DCR to the PPC.  In the TLB miss ISR I read the PLB registers and the
MCSR I *DID* notice that the PLB error registers were set.

I added some asm code to read MCSR (see Xilinx UG011.pdf, page 213) and
I also added the asm code to read the DCR of the PLB.  Sure enough, the
MCSR and PLB-DCR registers showed a DPLBError.

It's only a couple of asm statements:

mfspr   r30, 0x23c



Question to Xilinx experts:
What would cause the PLB to issue the DPLBError?????




<note to Xilinx>

Hey Xilinx guys!
Can you hack the gdb included with EDK such that it will recognize the
MCSR when gdb reads registers!

</note to Xilinx>

 


On Thu, 2008-02-21 at 11:04 -0700, David Baird wrote:
> Hi Robert,
> 
> On Wed, Feb 20, 2008 at 2:24 PM, Robert Woodworth
> <rwoodworth@securics.com> wrote:
> >  I'm under the suspicion that the PLB is issuing an error when switching
> >  to virtual mode and that there is either a timing/synthesis error or a
> >  fundamental error with the way the FPGA is getting synthesized with the
> >  PLB.
> 
> Can you offer a suggestion how I can check to see if the PLB is
> issuing an error (a good application note for me to read or anything)?
>  I was having a similar problem in virtual mode on one of my systems,
> and I might be able to see also if I am having a problem with the PLB
> bus.
> 
> -David

      reply	other threads:[~2008-02-21 19:12 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-13 16:50 TLB Miss booting linux kernel on ppc 405 Ricardo Ayres Severo
2008-02-13 17:17 ` David Baird
2008-02-13 17:38   ` Ricardo Ayres Severo
2008-02-13 17:51     ` David Baird
2008-02-13 18:03       ` Ricardo Ayres Severo
2008-02-13 18:32         ` David Baird
2008-02-13 18:49           ` Ricardo Ayres Severo
2008-02-13 19:02             ` David Baird
2008-02-20 21:24               ` Robert Woodworth
2008-02-20 21:29                 ` Ricardo Ayres Severo
2008-02-20 21:47                   ` David Baird
2008-02-21 17:50                     ` Ricardo Ayres Severo
2008-02-21 18:00                       ` David Baird
2008-02-21 18:04                 ` David Baird
2008-02-21 19:12                   ` Robert Woodworth [this message]

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=1203621123.5231.36.camel@PisteOff \
    --to=rwoodworth@securics.com \
    --cc=dhbaird@gmail.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).