Re: Problems with PCI on 8280

2008-01-18 Thread Scott Wood
On Thu, Jan 17, 2008 at 06:27:46PM -0600, Rune Torgersen wrote: > BTW. there is a bug in the inbound window size calculation. The mem_log2 > variable sould be the shift value, not 1<< shift. and on the next line the > window size mask sould be anded with 0x000f_ before or'ed with > 0xa000_

RE: Problems with PCI on 8280

2008-01-17 Thread Rune Torgersen
From: Scott Wood >Hmm... that suggests that something in u-boot's setup is either >incorrect, or (more likely in this case) doesn't match the device tree. Turns out u-boot was not setting u the inbound window size correctly. It was hardcoded to 512MB and we have a gig of ram. Set it correctly,

Re: Problems with PCI on 8280

2008-01-17 Thread Scott Wood
Rune Torgersen wrote: > >From: Scott Wood > >Are you using cuImage, or a regular uImage with a device-tree-aware u-boot > > cuImage for now. > > >If the former, try commenting out the call to fixup_pci() in > >arch/powerpc/boot/cuboot-pq2.c and let me know if that changes anything. > > Did t

RE: Problems with PCI on 8280

2008-01-17 Thread Rune Torgersen
>From: Scott Wood >Are you using cuImage, or a regular uImage with a device-tree-aware u-boot cuImage for now. >If the former, try commenting out the call to fixup_pci() in >arch/powerpc/boot/cuboot-pq2.c and let me know if that changes anything. Did that, That made our PCI bus fail completely

Re: Problems with PCI on 8280

2008-01-17 Thread Scott Wood
Rune Torgersen wrote: > Our problem is that we can only access the first 128MB of the > prefetchable area. > an access to 0x87ff_ works (after ioremap), while an access to > 0x8800_ causes an bus error. > > trying to access 0x87FC -> 0x > trying to access 0x8800 ->Machine