From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ovro.ovro.caltech.edu (ovro.ovro.caltech.edu [192.100.16.2]) by ozlabs.org (Postfix) with ESMTP id 5DB612C0077 for ; Tue, 6 Aug 2013 06:36:34 +1000 (EST) Message-ID: <52000ACA.1010606@ovro.caltech.edu> Date: Mon, 05 Aug 2013 13:27:54 -0700 From: David Hawkins MIME-Version: 1.0 To: Peter LaDow Subject: Re: Failure to detect PCI card References: <20130805202559.0086e806@crub> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: Anatolij Gustschin , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Pete, > On Mon, Aug 5, 2013 at 11:25 AM, Anatolij Gustschin wrote: >> Maybe this card needs bigger delay to respond after PCI reset. You can >> try to re-build U-Boot with defined CONFIG_PCI_BOOTDELAY. Use 1000 >> for CONFIG_PCI_BOOTDELAY in the first step and if detection works, >> try to decrease this value. > > That didn't work. But perhaps the problem is because these are older > PCI parts, and don't implement ECAM (only the older CAM)? I don't > think u-boot limits itself... Since you're looking for suggestions (apologies if these are "too obvious"); 1. Have you checked the power supplies on the PCI board? PCI boards can be powered from 3.3V or 5V, or both. I've had old PCs that only supply one or the other rail, and various evaluation boards that only supply 3.3V. If you can put together a "working" x86 setup that detects the board, then you could poke around and see what voltages exist on some of the decoupling components, then plug it into your real system, and see what voltages you measure there. 2. Have you probed the PCI bus using a bus analyzer or scope? If you have a PCI bus analyzer (or can find someone with one), plug it in and see what happens at power-on (there should be configuration cycles). At a minimum, if you have a 'scope, see if the PCI configuration space access handshakes are active during power-on. 3. Is debugging this PCI card worth your time? Sometimes the "solution" involves tossing old hardware in the trash. Cheers, Dave