Re: PCI on 834x

2010-02-25 Thread Scott Wood
Gary Thomas wrote: On 02/25/2010 02:24 PM, Scott Wood wrote: Gary Thomas wrote: On 02/25/2010 02:03 PM, Scott Wood wrote: Gary, can you check that the MMIO addresses are going to the PCI bus as-is, and aren't being translated down to zero? I.e. POTARn should equal POBARn, and likewise in the

Re: PCI on 834x

2010-02-25 Thread Gary Thomas
On 02/25/2010 02:24 PM, Scott Wood wrote: Gary Thomas wrote: On 02/25/2010 02:03 PM, Scott Wood wrote: Gary, can you check that the MMIO addresses are going to the PCI bus as-is, and aren't being translated down to zero? I.e. POTARn should equal POBARn, and likewise in the device tree's pci n

Re: PCI on 834x

2010-02-25 Thread Benjamin Herrenschmidt
On Thu, 2010-02-25 at 15:03 -0600, Scott Wood wrote: > > It can, but I don't see how that would help, if the problem is that the > video card doesn't like the low 30 bits of its MMIO address being zero. My idea was the video card, if it's an old piece of shit, may not be decoding all address bit

Re: PCI on 834x

2010-02-25 Thread Scott Wood
Gary Thomas wrote: On 02/25/2010 02:03 PM, Scott Wood wrote: Gary, can you check that the MMIO addresses are going to the PCI bus as-is, and aren't being translated down to zero? I.e. POTARn should equal POBARn, and likewise in the device tree's pci node's ranges. Hmm, that doesn't match wit

Re: PCI on 834x

2010-02-25 Thread Gary Thomas
On 02/25/2010 02:03 PM, Scott Wood wrote: Benjamin Herrenschmidt wrote: On Thu, 2010-02-25 at 07:25 -0700, Gary Thomas wrote: I may have been too hasty pronouncing this fixed. Indeed, the SATA interface now works, but my video card (Fujitsu Coral-P) does not work when it's mapped at the bottom

Re: PCI on 834x

2010-02-25 Thread Scott Wood
Benjamin Herrenschmidt wrote: On Thu, 2010-02-25 at 07:25 -0700, Gary Thomas wrote: I may have been too hasty pronouncing this fixed. Indeed, the SATA interface now works, but my video card (Fujitsu Coral-P) does not work when it's mapped at the bottom of the PCI space :-( With the bridge mapp

Re: PCI on 834x

2010-02-25 Thread Benjamin Herrenschmidt
On Thu, 2010-02-25 at 07:25 -0700, Gary Thomas wrote: > I may have been too hasty pronouncing this fixed. Indeed, the > SATA interface now works, but my video card (Fujitsu Coral-P) > does not work when it's mapped at the bottom of the PCI space :-( > > With the bridge mapped, the video ends up a

Re: PCI on 834x

2010-02-25 Thread Gary Thomas
On 02/24/2010 04:08 PM, Gary Thomas wrote: On 02/24/2010 03:25 PM, Kumar Gala wrote: On Feb 24, 2010, at 4:14 PM, Gary Thomas wrote: On 02/24/2010 01:51 PM, Anton Vorontsov wrote: On Wed, Feb 24, 2010 at 02:26:20PM -0600, Scott Wood wrote: Gary Thomas wrote: Yes, I'm using the exact same k

Re: PCI on 834x

2010-02-24 Thread Gary Thomas
On 02/24/2010 03:25 PM, Kumar Gala wrote: On Feb 24, 2010, at 4:14 PM, Gary Thomas wrote: On 02/24/2010 01:51 PM, Anton Vorontsov wrote: On Wed, Feb 24, 2010 at 02:26:20PM -0600, Scott Wood wrote: Gary Thomas wrote: Yes, I'm using the exact same kernel with these two different PCI setups (d

Re: PCI on 834x

2010-02-24 Thread Kumar Gala
On Feb 24, 2010, at 4:14 PM, Gary Thomas wrote: > On 02/24/2010 01:51 PM, Anton Vorontsov wrote: >> On Wed, Feb 24, 2010 at 02:26:20PM -0600, Scott Wood wrote: >>> Gary Thomas wrote: Yes, I'm using the exact same kernel with these two different PCI setups (done by the boot loader).

Re: PCI on 834x

2010-02-24 Thread Gary Thomas
On 02/24/2010 01:51 PM, Anton Vorontsov wrote: On Wed, Feb 24, 2010 at 02:26:20PM -0600, Scott Wood wrote: Gary Thomas wrote: Yes, I'm using the exact same kernel with these two different PCI setups (done by the boot loader). Restricting the memory via mem=128M has no effect - the PCI layout i

Re: PCI on 834x

2010-02-24 Thread Anton Vorontsov
On Wed, Feb 24, 2010 at 02:26:20PM -0600, Scott Wood wrote: > Gary Thomas wrote: > >Yes, I'm using the exact same kernel with these two different PCI > >setups (done by the boot loader). > > > >Restricting the memory via mem=128M has no effect - the PCI layout > >is the same. > > > >I think the out

Re: PCI on 834x

2010-02-24 Thread Scott Wood
Gary Thomas wrote: Yes, I'm using the exact same kernel with these two different PCI setups (done by the boot loader). Restricting the memory via mem=128M has no effect - the PCI layout is the same. I think the outbound window size is required because of how the Linux PCI remaps the space (no

Re: PCI on 834x

2010-02-24 Thread Gary Thomas
On 02/24/2010 12:31 PM, Scott Wood wrote: Gary Thomas wrote: On 02/24/2010 11:48 AM, Scott Wood wrote: Gary Thomas wrote: Does anyone have experience setting up the PCI controller on the MPC8349? I have it running fine when my system has 128MB or less of main memory, but when I have 256MB or m

Re: PCI on 834x

2010-02-24 Thread Scott Wood
Gary Thomas wrote: On 02/24/2010 11:48 AM, Scott Wood wrote: Gary Thomas wrote: Does anyone have experience setting up the PCI controller on the MPC8349? I have it running fine when my system has 128MB or less of main memory, but when I have 256MB or more, it all falls apart :-( Any indication

Re: PCI on 834x

2010-02-24 Thread Gary Thomas
On 02/24/2010 11:48 AM, Scott Wood wrote: Gary Thomas wrote: Does anyone have experience setting up the PCI controller on the MPC8349? I have it running fine when my system has 128MB or less of main memory, but when I have 256MB or more, it all falls apart :-( Any indication of the pertinent se

Re: PCI on 834x

2010-02-24 Thread Scott Wood
Gary Thomas wrote: Does anyone have experience setting up the PCI controller on the MPC8349? I have it running fine when my system has 128MB or less of main memory, but when I have 256MB or more, it all falls apart :-( Any indication of the pertinent settings would be appreciated. Check the i