LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: Marco Stornelli <marco.stornelli@coritel.it>
Cc: LinuxPPC-Embedded <linuxppc-embedded@ozlabs.org>
Subject: Re: MPC8641D PCI-Express problem
Date: Thu, 27 Mar 2008 07:52:51 -0500	[thread overview]
Message-ID: <D06A33A2-7DE7-4E00-9AA0-1C11EE7D4375@kernel.crashing.org> (raw)
In-Reply-To: <47E8F836.9060603@coritel.it>


On Mar 25, 2008, at 8:03 AM, Marco Stornelli wrote:
> Kumar Gala ha scritto:
>> On Mar 25, 2008, at 3:02 AM, Marco Stornelli wrote:
>>> Hi,
>>>
>>> do you remember my problem with the pci-express? I have an  
>>> mpc8641d_hpcn (rev. 2.0) board connected via pci-express with the  
>>> Xilinx ML555 evaluation board. I'm using the 2.6.24 kernel. I'm  
>>> observing this strange behavior:
>>>
>>> 1) I turn on the board and I stop the U-boot
>>> 2) I load the FPGA microcode
>>> 3) I start the system
>>> 4) I load the driver module and I read a version register in the  
>>> FPGA
>>> 5) The system crashes with a "machine check exception: transfer  
>>> error ack signal"
>>> 6) reboot
>>> 7) same procedure (without load the FPGA again)
>>> 8) now I can read the registers!
>>>
>>> If I repeat the procedure again it doesn't work anymore. I think  
>>> it's a problem with pci-express controller. Have you got any  
>>> suggestions?
>>>
>>> Thanks.
>> Where are you loading the FPGA microcode (linux, u-boot)?  Also, is  
>> the FPGA the only device connected over PCIe?
>> - k
> I load the FPGA with JTAG and with a Xilinx program without a  
> specific linux driver or u-boot. Yes, it is the only device  
> connected over PCIe.

The issue may be related to the PCIe link training.  Are you able to  
access the FPGA in u-boot?  Can you try reseting the PCIe controller  
after you've loaded up the FPGA (see u-boot code in drivers/pci/ 
fsl_pci_init.c and look for CONFIG_FSL_PCIE_RESET)

- k

  parent reply	other threads:[~2008-03-27 12:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-25  8:02 MPC8641D PCI-Express problem Marco Stornelli
2008-03-25 12:55 ` Kumar Gala
2008-03-25 13:03   ` Marco Stornelli
2008-03-25 21:28     ` I Need to Reset a PPC405EP PCI Bridge From a Kernel Driver Without Reboot Darcy Watkins
2008-03-27 12:52     ` Kumar Gala [this message]
2008-03-28 15:15       ` MPC8641D PCI-Express problem marco.stornelli

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=D06A33A2-7DE7-4E00-9AA0-1C11EE7D4375@kernel.crashing.org \
    --to=galak@kernel.crashing.org \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=marco.stornelli@coritel.it \
    /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