Skip to contentSkip to conversation

PCI for mpc8270

DISCUSSION Chris Simmonds 3 participants 5 messages Nov 4, 2003 – Nov 7, 2003

lore
Share & tools
lore
#1 lore raw

If mpc8270 has 60x bus,I think you can use CPC710,MV64361....................

----- Original Message -----
From: "Chris Simmonds" <[email protected]>
To: <[email protected]>
Sent: Tuesday, November 04, 2003 9:25 PM
Subject: PCI for mpc8270

Quoted 5 lines

Hi,

Can anybody point me to a sample implementation of PCI on an mpc8270?

Quoted 11 lines

Thanks,
Chris.

--

Chris Simmonds                        2net Limited
[email protected]                      http://www.2net.co.uk/
Tel:   +44 (0)1962 869003             Fax:   +44 (0)870 056 7556

"If it's not connected, it's not effective"(tm)

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 1 line · shanggao

If mpc8270 has 60x bus,I think you can use CPC710,MV64361....................

The 8270 has the internal PCI bridge, like the 8265/66. The linuxppc_2_4_devel kernel has the PCI functions and setup for the 8266 on the Motorola ADS board. It would be a starting point for you.

	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#3 lore raw

o, need some code ..............sorry,I have little time do it.

----- Original Message -----
From: "Dan Malek" <[email protected]>
To: "shanggao" <[email protected]>
Cc: "Chris Simmonds" <[email protected]>; <[email protected]>
Sent: Wednesday, November 05, 2003 9:33 AM
Subject: Re: PCI for mpc8270

Quoted 4 lines
Quoted 1 line · shanggao

If mpc8270 has 60x bus,I think you can use CPC710,MV64361....................

Quoted 8 lines

The 8270 has the internal PCI bridge, like the 8265/66. The linuxppc_2_4_devel kernel has the PCI functions and setup for the 8266 on the Motorola ADS board. It would be a starting point for you.

-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#4 lore raw
In reply to Dan Malek

Dan,

Thanks, I have included that code in my kernel and it seems to be working ok - haven't really tested it yet but at least bus enumeration works.

This code is based on the PCI 9 workaround for the bug in the 8265, which uses an IDMA channel for all access. Has anybody looked at doing a version without the woorkaround? Would it make any difference to the performance of the system?

Bye for now,
Chris.

Quoted 6 lines · Dan Malek
Quoted 2 lines · shanggao

If mpc8270 has 60x bus,I think you can use
CPC710,MV64361....................

Quoted 8 lines

The 8270 has the internal PCI bridge, like the 8265/66. The linuxppc_2_4_devel kernel has the PCI functions and setup for the 8266 on the Motorola ADS board. It would be a starting point for you.

    -- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/