Any compact pci driver for MCP750?
Hi:
I am using CPX8216. I want to run linuxppc on the system board MCP750. Is
there any device driver which can support DEC21154 (or DEC21554 for MCPN750) so that I can operate the memory on board(MCPN750) through the compact pci bus?
thanks
Yours Gong
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 6 lines · Gong Zhuo_sina
Hi:
I am using CPX8216. I want to run linuxppc on the system board MCP750. Is
there any device driver which can support DEC21154 (or DEC21554 for MCPN750) so that I can operate the memory on board(MCPN750) through the compact pci bus?
For the MCP750, you should have no problems. But to access MCPN750, the code is not written and even the infrastructure is not (yet) there. some more work to support non transparent PCI<->PCI bridges is necessary.
For various reasons (getting a larger PCI memory space being the first one in your case to be able t oaccess several MCPN750 in a single backplane), you might be interested in my prepboot loader which reorganizes Raven or Hawk bridges in CHRP mode rather than PreP mode (ftp:://vlab1.iram.es/linux-2.2/mvme*patch*).
Regards,
Gabriel.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 3 lines · Gabriel Paubert
For the MCP750, you should have no problems. But to access MCPN750, the code is not written and even the infrastructure is not (yet) there. some more work to support non transparent PCI<->PCI bridges is necessary.
On x86 architecture, Ziatech have CompactNet, which uses the 21554 non-transparent bridge. This should be portable to PowerPC, though some work may be required:
http://www.compactnet.com/
I've done some similar work on a PowerPC, but on PCI cards and using a very different core logic design which avoided the need for a non-transparent bridge:
http://www.agelectronics.co.uk/tpe3.html
The kernel for this board passes ethernet frames over the PCI backplane between boards. The novelty over traditional shared memory networking is the use of I2O units.
- Adrian Cox, AG Electronics
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 10 lines · Adrian Cox
Quoted 3 lines · Gabriel Paubert
For the MCP750, you should have no problems. But to access MCPN750, the code is not written and even the infrastructure is not (yet) there. some more work to support non transparent PCI<->PCI bridges is necessary.
On x86 architecture, Ziatech have CompactNet, which uses the 21554 non-transparent bridge. This should be portable to PowerPC, though some work may be required:
http://www.compactnet.com/
MontaVista's Hard Hat Net already works on x86 and PowerPC boards (including the MCPN750). You can pick it up at
http://www.mvista.com/download/hhnet-1.0-1.src.rpm
--
Matt Porter
[email protected]
This is Linux Country. On a quiet night, you can hear Windows reboot.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
----- Original Message -----
From: Gabriel Paubert <[email protected]>
To: Gong Zhuo_sina <[email protected]>
Cc: linuxppc dev <[email protected]>
Sent: Thursday, May 04, 2000 6:08 PM
Subject: Re: Any compact pci driver for MCP750?
Quoted 7 lines · Gong Zhuo_sina
Quoted 4 lines
Hi:
I am using CPX8216. I want to run linuxppc on the system board MCP750.
Is
Quoted 1 line
Quoted 1 line
there any device driver which can support DEC21154 (or DEC21554 for
MCPN750)
Quoted 1 line
Quoted 1 line
so that I can operate the memory on board(MCPN750) through the compact
pci
Quoted 6 lines
Quoted 1 line
bus?
For the MCP750, you should have no problems. But to access MCPN750, the code is not written and even the infrastructure is not (yet) there. some more work to support non transparent PCI<->PCI bridges is necessary.
Quoted 6 lines
For various reasons (getting a larger PCI memory space being the first one in your case to be able t oaccess several MCPN750 in a single backplane), you might be interested in my prepboot loader which reorganizes Raven or Hawk bridges in CHRP mode rather than PreP mode (ftp:://vlab1.iram.es/linux-2.2/mvme*patch*).
In fact , I am moving from VME bus to CompactPCI bus . I have used your VME bus drivers for MVME2600 and it is very good . Thank you very much. Does you meaning there is a similar driver for DEC21154(MCP750) so that 'open' 'close' 'mmap' and so on can be done on C-PCI just like your VME bus drivers?
Regards,
Gong Zhuo.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 19 lines · Gong Zhuo
Quoted 2 lines
Quoted 2 lines
Hi:
I am using CPX8216. I want to run linuxppc on the system board MCP750.Is
Quoted 1 line
Quoted 1 line
there any device driver which can support DEC21154 (or DEC21554 for
MCPN750)
Quoted 1 line
Quoted 1 line
so that I can operate the memory on board(MCPN750) through the compact
pci
Quoted 6 lines
Quoted 1 line
bus?
For the MCP750, you should have no problems. But to access MCPN750, the code is not written and even the infrastructure is not (yet) there. some more work to support non transparent PCI<->PCI bridges is necessary.
Quoted 6 lines
For various reasons (getting a larger PCI memory space being the first one in your case to be able t oaccess several MCPN750 in a single backplane), you might be interested in my prepboot loader which reorganizes Raven or Hawk bridges in CHRP mode rather than PreP mode (ftp:://vlab1.iram.es/linux-2.2/mvme*patch*).
Quoted 5 lines
In fact , I am moving from VME bus to CompactPCI bus . I have used your VME bus drivers for MVME2600 and it is very good . Thank you very much. Does you meaning there is a similar driver for DEC21154(MCP750) so that 'open' 'close' 'mmap' and so on can be done on C-PCI just like your VME bus drivers?
Thanks for the comments on my VME driver. It's always good to have feedback, especially positive feedback :-)
This can be done simply by opening /dev/mem and using mmap, but it does not take into account the offsets in the bridges. This you have to know in your application level code (the VME driver does it for you because it's needed anyway to abstract this for kernel drivers and the amount of code needed to expose it as a user interface is small).
There are othehr problems is if you want to access I/O space which can be at any HW address on PPC and this problem has been raised several times for various reasons (most notably X servers). When combined with non transparent bridges, it can IMHO only be solved cleanly and generically by an extension of the current resource tree framework (at least for kernel code which wants to access a device and memory on a CPCI system with multiple CPUs, then a way to expose it to application code has to be found).
Regards,
Gabriel.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/