* Linux PCI support on Ocotea
@ 2004-12-09 1:10 Chris Love
2004-12-09 1:49 ` Matt Porter
0 siblings, 1 reply; 3+ messages in thread
From: Chris Love @ 2004-12-09 1:10 UTC (permalink / raw)
To: linuxppc-embedded
Hi folks,
We have an Ocotea reference board (PPC 440GX) w/256M and have
tried running both stable 2.4.26 and 2.6.10-rc3 kernels from
penguinppc.org. For now the bootloader is still PIBS, though
we'll get U-Boot installed shortly.
As a first experiment we've tried installing a legacy card
with an Intel 82559 device on it. The warning seen from
pci_setup_device() suggests that PCI config space wasn't
read cleanly: a header type of 0x7f is encountered. Nothing
shows up under /proc/bus/pci. The card we'd actually like to
install has a transparent bridge (Intel 21152) and other devices
behind the bridge. Both cards are PCI-33 versus PCI-X.
To ask some really stupid questions first: what is the state of
PCI support with linux on this board? Have others tried to do
something like this with 33/66 Mhz PCI devices or am I in
uncharted waters?
Of the PCI #defines in platforms/ocotea.h I can correlate most
with data from the user's manual, but not the following:
#define OCOTEA_PCI_LOWER_IO 0x00000000
#define OCOTEA_PCI_UPPER_IO 0x0000ffff
#define OCOTEA_PCI_LOWER_MEM 0x80000000
#define OCOTEA_PCI_UPPER_MEM 0xffffefff
Is there some documentation I'm missing on these values?
Thanks in advance for any suggestions,
Chris
--
Chris Love // Continuous Computing Corporation
love@ccpu.com // http://www.ccpu.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Linux PCI support on Ocotea
2004-12-09 1:10 Linux PCI support on Ocotea Chris Love
@ 2004-12-09 1:49 ` Matt Porter
2004-12-09 2:20 ` Chris Love
0 siblings, 1 reply; 3+ messages in thread
From: Matt Porter @ 2004-12-09 1:49 UTC (permalink / raw)
To: Chris Love; +Cc: linuxppc-embedded
On Wed, Dec 08, 2004 at 05:10:54PM -0800, Chris Love wrote:
> Hi folks,
>
> We have an Ocotea reference board (PPC 440GX) w/256M and have
> tried running both stable 2.4.26 and 2.6.10-rc3 kernels from
> penguinppc.org. For now the bootloader is still PIBS, though
> we'll get U-Boot installed shortly.
>
> As a first experiment we've tried installing a legacy card
> with an Intel 82559 device on it. The warning seen from
> pci_setup_device() suggests that PCI config space wasn't
> read cleanly: a header type of 0x7f is encountered. Nothing
> shows up under /proc/bus/pci. The card we'd actually like to
> install has a transparent bridge (Intel 21152) and other devices
> behind the bridge. Both cards are PCI-33 versus PCI-X.
Sounds like something is wrong with your hardware configuration.
> To ask some really stupid questions first: what is the state of
> PCI support with linux on this board? Have others tried to do
> something like this with 33/66 Mhz PCI devices or am I in
> uncharted waters?
No, this works fine for many other people, so don't get too worried.
Do verify that you have jumpered for 33Mhz operation since you
are using a 33Mhz device. PIBS should warn you about this and
advise to make the change, but maybe you have a different
version than I've seen. What rev. ocotea board and version of
PIBS do you have?
> Of the PCI #defines in platforms/ocotea.h I can correlate most
> with data from the user's manual, but not the following:
>
> #define OCOTEA_PCI_LOWER_IO 0x00000000
> #define OCOTEA_PCI_UPPER_IO 0x0000ffff
> #define OCOTEA_PCI_LOWER_MEM 0x80000000
> #define OCOTEA_PCI_UPPER_MEM 0xffffefff
>
> Is there some documentation I'm missing on these values?
The code is self-documenting as they say. :) These are the address
ranges used by the pci_auto code to assign base addresses to each
BAR that is encountered.
-Matt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Linux PCI support on Ocotea
2004-12-09 1:49 ` Matt Porter
@ 2004-12-09 2:20 ` Chris Love
0 siblings, 0 replies; 3+ messages in thread
From: Chris Love @ 2004-12-09 2:20 UTC (permalink / raw)
To: Matt Porter; +Cc: linuxppc-embedded
Matt Porter wrote:
> On Wed, Dec 08, 2004 at 05:10:54PM -0800, Chris Love wrote:
>
>>Hi folks,
>>
>>We have an Ocotea reference board (PPC 440GX) w/256M and have
>>tried running both stable 2.4.26 and 2.6.10-rc3 kernels from
>>penguinppc.org. For now the bootloader is still PIBS, though
>>we'll get U-Boot installed shortly.
>>
>>As a first experiment we've tried installing a legacy card
>>with an Intel 82559 device on it. The warning seen from
>>pci_setup_device() suggests that PCI config space wasn't
>>read cleanly: a header type of 0x7f is encountered. Nothing
>>shows up under /proc/bus/pci. The card we'd actually like to
>>install has a transparent bridge (Intel 21152) and other devices
>>behind the bridge. Both cards are PCI-33 versus PCI-X.
>
>
> Sounds like something is wrong with your hardware configuration.
>
>
>>To ask some really stupid questions first: what is the state of
>>PCI support with linux on this board? Have others tried to do
>>something like this with 33/66 Mhz PCI devices or am I in
>>uncharted waters?
>
>
> No, this works fine for many other people, so don't get too worried.
> Do verify that you have jumpered for 33Mhz operation since you
> are using a 33Mhz device. PIBS should warn you about this and
> advise to make the change, but maybe you have a different
> version than I've seen. What rev. ocotea board and version of
> PIBS do you have?
Hi Matt,
PIBS version text is "Version 1.80 JUNE/17/2004".
Ocotea rev appears to be rev 5.
Changing the settings for the U80 switches did the trick, at
least as far as silencing the PIBS warning and enumerating the bus
by Linux.
Thanks for the suggestion; this was lurking on the board schematics.
Chris
--
Chris Love // Continuous Computing Corporation
love@ccpu.com // http://www.ccpu.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-09 2:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-09 1:10 Linux PCI support on Ocotea Chris Love
2004-12-09 1:49 ` Matt Porter
2004-12-09 2:20 ` Chris Love
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).