Large PCI region mapping 8272
kmilligan at austin.polycom.com
Fri Nov 19 07:05:36 EST 2004
I am having trouble getting PCI devices mapped correctly under Linux 2.4.22
running on an MPC8272ADS evaluation board.
I have multiple PCI-attached devices with a total of 512MB of prefetchable
memory and about 200MB of non-prefetchable memory address spaces in various
block sizes. All of the devices are behind a PCI-to-PCI bridge that is
plugged into the ADS.
At this stage in my project, these devices are initializing themselves to
base addresses that need to be moved when Linux boots on the 8272. The
problem I am having is that Linux is trying to remap everything, but is
unable to allocate regions for everything, so I end up with most of the
devices mapped to the same (invalid) address.
I've tried hacking the kernel PCI initialization to manually set all the
base addresses, but it seems to be ignoring that for the most part.
Could someone point me in the right direction to getting everything
initialized and mapped correctly?
More information about the Linuxppc-dev