Skip to contentSkip to conversation

mpc8360sar

DISCUSSION Alex Zeffertt 3 participants 8 messages Jul 20, 2006 – Jul 21, 2006

lore
Share & tools
lore
#0 lore raw

Hi lists,

I'm writing to announce a new project http://mpc8360sar.sourceforge.net . This is an ATM driver for the QUICC Engine (QE) of the PowerQUICC II Pro range of processors. It is based on Tony Li's fsl-atm driver and my mpc8260sar driver. I've basically used Tony's driver for the most low level stuff and ported a lot of extra functionality from my PQII driver.

You will need the Linux BSP from Freescale to build this driver.

I have only tested this driver on mpc832xe-mds, but it should also work on the mpc8360e-pb board.

If you use mpc8360sar, please let me know how you get on. In particular let me know if you work out how to stop the QE occaisionally corrupting the TCT when using external channels.

Regards,

Alex

#1 lore raw

Hi, alex
I am tony li. I am glad to know that you add many features support. Do you have test the UBR and AAL0 ? I am lack of enviroment test them now.
I have not read your code detailly.:)
And which ltib release version is your base ? I have updated my code a little which contain a workaround for a bug.

Tony.li =20

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Alex Zeffertt
Sent: Thursday, July 20, 2006 6:40 PM
To: [email protected]; [email protected]
Subject: [Linux-ATM-General] mpc8360sar

Hi lists,

I'm writing to announce a new project http://mpc8360sar.sourceforge.net
.
This is an ATM driver for the QUICC Engine (QE) of the PowerQUICC II Pro range of processors. It is based on Tony Li's fsl-atm driver and my mpc8260sar driver. I've basically used Tony's driver for the most low level stuff and ported a lot of extra functionality from my PQII driver.

You will need the Linux BSP from Freescale to build this driver.

I have only tested this driver on mpc832xe-mds, but it should also work on the mpc8360e-pb board.

If you use mpc8360sar, please let me know how you get on. In particular let me know if you work out how to stop the QE occaisionally corrupting the TCT when using external channels.

Regards,

Alex

------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDE
V
_______________________________________________
Linux-atm-general mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-atm-general

#2 lore raw

Hi,

Yes, UBR and AAL0 work. I've also added support for the qos parameters min_pcr, pcr, and max_pcr.

I used ltib-mpc832xemds-20060615 as my base. More details are on the website.

BTW, I left all your code in. There's a simple config option now which allows you to choose between the two drivers.

Alex

PS Thanks!

Quoted 52 lines · Li Tony-r64360 wrote:

Hi, alex
I am tony li. I am glad to know that you add many features support. Do you have test the UBR and AAL0 ? I am lack of enviroment test them now.
I have not read your code detailly.:)
And which ltib release version is your base ? I have updated my code a little which contain a workaround for a bug.

Tony.li

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Alex Zeffertt
Sent: Thursday, July 20, 2006 6:40 PM
To: [email protected]; [email protected]
Subject: [Linux-ATM-General] mpc8360sar

Hi lists,

I'm writing to announce a new project http://mpc8360sar.sourceforge.net
.
This is an ATM driver for the QUICC Engine (QE) of the PowerQUICC II Pro range of processors. It is based on Tony Li's fsl-atm driver and my mpc8260sar driver. I've basically used Tony's driver for the most low level stuff and ported a lot of extra functionality from my PQII driver.

You will need the Linux BSP from Freescale to build this driver.

I have only tested this driver on mpc832xe-mds, but it should also work on the mpc8360e-pb board.

If you use mpc8360sar, please let me know how you get on. In particular let me know if you work out how to stop the QE occaisionally corrupting the TCT when using external channels.

Regards,

Alex

------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Linux-atm-general mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-atm-general

#3 lore raw
Quoted 8 lines · Alex Zeffertt

Hi,

Yes, UBR and AAL0 work. I've also added support for the qos parameters min_pcr, pcr, and max_pcr.

I used ltib-mpc832xemds-20060615 as my base. More details are on the website.

Quoted 6 lines

BTW, I left all your code in. There's a simple config option now which allows you to choose between the two drivers.

Alex

PS Thanks!

Any reason we dont try to get your work up stream into the mainline kernel?

- kumar

Quoted 59 lines
Quoted 41 lines · Li Tony-r64360 wrote:

Hi, alex
I am tony li. I am glad to know that you add many features support. Do you have test the UBR and AAL0 ? I am lack of enviroment test them now.
I have not read your code detailly.:)
And which ltib release version is your base ? I have updated my code a little which contain a workaround for a bug.

Tony.li

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Alex Zeffertt
Sent: Thursday, July 20, 2006 6:40 PM
To: [email protected]; [email protected]
Subject: [Linux-ATM-General] mpc8360sar

Hi lists,

I'm writing to announce a new project http://mpc8360sar.sourceforge.net
.
This is an ATM driver for the QUICC Engine (QE) of the PowerQUICC II Pro range of processors. It is based on Tony Li's fsl-atm driver and my mpc8260sar driver. I've basically used Tony's driver for the most low level stuff and ported a lot of extra functionality from my PQII driver.

You will need the Linux BSP from Freescale to build this driver.

I have only tested this driver on mpc832xe-mds, but it should also work on the mpc8360e-pb board.

If you use mpc8360sar, please let me know how you get on. In particular let me know if you work out how to stop the QE occaisionally corrupting the TCT when using external channels.

Regards,

Alex

Quoted 12 lines

---------------------------------------------------------------------
---
-
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Linux-atm-general mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-atm-general

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

#4 lore raw
Quoted 6 lines

Any reason we dont try to get your work up stream into the mainline kernel?

- kumar

I'd like to see it upstreamed - the more people who use it the more help I get!

However, mpc8360sar is built on Freescale's BSP which adds basic support for the board, the MPC832xE-MDS, to the stock linux kernel. This support consists of the following patches:

Patch0 : patch-2.6.11.bz2
Patch1 : linux-2.6.11-mpc8349e-general-20060414.patch
Patch2 : linux-2.6.11-mpc8349e-pci-3.patch
Patch3 : linux-2.6.11-mpc8349e-pci-agent.patch
Patch4 : linux-2.6.11-mpc8349e-watchdog.patch
Patch5 : linux-2.6.11-mpc83xx-sec2.patch
Patch6 : mpc832x-sec2v15-config-1.patch
Patch7 : linux-2.6.11-mpc8349e-usb-gadget.patch
Patch8 : linux-2.6.11-mpc8349e-usb-host.patch
Patch9 : linux-2.6.11-mpc8360-general-1.patch
Patch10 : linux-2.6.11-mpc8360-pci-agent.patch
Patch11 : linux-2.6.11-mpc832x-basic-4.patch
Patch12 : linux-2.6.11-mpc832x-pci-agent.patch
Patch13 : linux-2.6.11-mpc832x-spi-1.patch
Patch14 : linux-2.6.11-mpc832x-BIT.patch
Patch15 : linux-2.6.11-mpc83xx-ct-1.patch
Patch16 : linux-2.6.11-mpc832x-usb-gadget.patch
Patch17 : linux-2.6.11-mpc832x-atm-1.patch

I guess there's no point upstreaming mpc8360sar until freescale have upstreamed these patches (and ported them to the current kernel).

Alex

PS It's probable that mpc8360sar actually only requires a handful of the above patches to be applied.

#5 lore raw
Quoted 29 lines · Alex Zeffertt
Quoted 3 lines

Any reason we dont try to get your work up stream into the mainline kernel?
- kumar

I'd like to see it upstreamed - the more people who use it the more help I get!

However, mpc8360sar is built on Freescale's BSP which adds basic support for the board, the MPC832xE-MDS, to the stock linux kernel. This support consists of the following patches:

Patch0 : patch-2.6.11.bz2
Patch1 : linux-2.6.11-mpc8349e-general-20060414.patch
Patch2 : linux-2.6.11-mpc8349e-pci-3.patch
Patch3 : linux-2.6.11-mpc8349e-pci-agent.patch
Patch4 : linux-2.6.11-mpc8349e-watchdog.patch
Patch5 : linux-2.6.11-mpc83xx-sec2.patch
Patch6 : mpc832x-sec2v15-config-1.patch
Patch7 : linux-2.6.11-mpc8349e-usb-gadget.patch
Patch8 : linux-2.6.11-mpc8349e-usb-host.patch
Patch9 : linux-2.6.11-mpc8360-general-1.patch
Patch10 : linux-2.6.11-mpc8360-pci-agent.patch
Patch11 : linux-2.6.11-mpc832x-basic-4.patch
Patch12 : linux-2.6.11-mpc832x-pci-agent.patch
Patch13 : linux-2.6.11-mpc832x-spi-1.patch
Patch14 : linux-2.6.11-mpc832x-BIT.patch
Patch15 : linux-2.6.11-mpc83xx-ct-1.patch
Patch16 : linux-2.6.11-mpc832x-usb-gadget.patch
Patch17 : linux-2.6.11-mpc832x-atm-1.patch

Quoted 2 lines

I guess there's no point upstreaming mpc8360sar until freescale have upstreamed these patches (and ported them to the current kernel).

True, a large number of these patches are upstream, and if I had access to MPC836x or MPC832x HW I'd work on getting the others that are reasonable.

Quoted 4 lines

Alex

PS It's probable that mpc8360sar actually only requires a handful of the above patches to be applied.

Agreed.

- kumar

#6 lore raw
Quoted 37 lines · Kumar Gala
Quoted 29 lines · Alex Zeffertt
Quoted 3 lines

Any reason we dont try to get your work up stream into the mainline kernel?
- kumar

I'd like to see it upstreamed - the more people who use it the more help I get!

However, mpc8360sar is built on Freescale's BSP which adds basic support for the board, the MPC832xE-MDS, to the stock linux kernel. This support consists of the following patches:

Patch0 : patch-2.6.11.bz2
Patch1 : linux-2.6.11-mpc8349e-general-20060414.patch
Patch2 : linux-2.6.11-mpc8349e-pci-3.patch
Patch3 : linux-2.6.11-mpc8349e-pci-agent.patch
Patch4 : linux-2.6.11-mpc8349e-watchdog.patch
Patch5 : linux-2.6.11-mpc83xx-sec2.patch
Patch6 : mpc832x-sec2v15-config-1.patch
Patch7 : linux-2.6.11-mpc8349e-usb-gadget.patch
Patch8 : linux-2.6.11-mpc8349e-usb-host.patch
Patch9 : linux-2.6.11-mpc8360-general-1.patch
Patch10 : linux-2.6.11-mpc8360-pci-agent.patch
Patch11 : linux-2.6.11-mpc832x-basic-4.patch
Patch12 : linux-2.6.11-mpc832x-pci-agent.patch
Patch13 : linux-2.6.11-mpc832x-spi-1.patch
Patch14 : linux-2.6.11-mpc832x-BIT.patch
Patch15 : linux-2.6.11-mpc83xx-ct-1.patch
Patch16 : linux-2.6.11-mpc832x-usb-gadget.patch
Patch17 : linux-2.6.11-mpc832x-atm-1.patch

Quoted 2 lines

I guess there's no point upstreaming mpc8360sar until freescale have upstreamed these patches (and ported them to the current kernel).

True, a large number of these patches are upstream, and if I had access to MPC836x or MPC832x HW I'd work on getting the others that are reasonable.

Quoted 8 lines
Quoted 4 lines

Alex

PS It's probable that mpc8360sar actually only requires a handful of the above patches to be applied.

Agreed.

- kumar

Tony, can you let me know when CONFIG_MPC832XE_MDS support is upstreamed to a kernel.org kernel. I'll then try to get the mpc8360sar working with this kernel and then upstream it.

Alex

PS I'm not entirely sure how "upstreaming" is done.

#7 lore raw

Alex, we are working on the 8360 upstream. As the similarity between
832x and 8360, if the 8360 has benn accepted, it would be easy for 832x upstream.
We have submit the 8360 patch to the opensource. But we are waiting it to be accepted.

BTW, the new version QOC3-ATM card will adopt. The QOC3-ATM card code need some modification.=20
I send the new code to you if it done. Ok ?
Tony

Quoted 73 lines

-----Original Message-----
From: Alex Zeffertt [mailto:[email protected]]=20
Sent: Friday, July 21, 2006 12:15 AM
To: Kumar Gala
Cc: Li Tony-r64360; [email protected];=20 [email protected]
Subject: Re: [Linux-ATM-General] mpc8360sar
=20

Quoted 5 lines · Kumar Gala

=20
On Jul 20, 2006, at 8:33 AM, Alex Zeffertt wrote:
=20

Quoted 2 lines
Quoted 2 lines

Any reason we dont try to get your work up stream into=20

the mainline=20

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

kernel?
- kumar

I'd like to see it upstreamed - the more people who use it=20

the more=20

Quoted 4 lines
Quoted 4 lines

help I get!

However, mpc8360sar is built on Freescale's BSP which adds basic=20 support for the board, the MPC832xE-MDS, to the stock=20

linux kernel. =20

Quoted 21 lines
Quoted 21 lines

This support consists of the following patches:

Patch0 : patch-2.6.11.bz2
Patch1 : linux-2.6.11-mpc8349e-general-20060414.patch
Patch2 : linux-2.6.11-mpc8349e-pci-3.patch
Patch3 : linux-2.6.11-mpc8349e-pci-agent.patch
Patch4 : linux-2.6.11-mpc8349e-watchdog.patch
Patch5 : linux-2.6.11-mpc83xx-sec2.patch
Patch6 : mpc832x-sec2v15-config-1.patch
Patch7 : linux-2.6.11-mpc8349e-usb-gadget.patch
Patch8 : linux-2.6.11-mpc8349e-usb-host.patch
Patch9 : linux-2.6.11-mpc8360-general-1.patch
Patch10 : linux-2.6.11-mpc8360-pci-agent.patch
Patch11 : linux-2.6.11-mpc832x-basic-4.patch
Patch12 : linux-2.6.11-mpc832x-pci-agent.patch
Patch13 : linux-2.6.11-mpc832x-spi-1.patch
Patch14 : linux-2.6.11-mpc832x-BIT.patch
Patch15 : linux-2.6.11-mpc83xx-ct-1.patch
Patch16 : linux-2.6.11-mpc832x-usb-gadget.patch
Patch17 : linux-2.6.11-mpc832x-atm-1.patch

Quoted 1 line
Quoted 1 line

I guess there's no point upstreaming mpc8360sar until=20

freescale have=20

Quoted 9 lines
Quoted 1 line

upstreamed these patches (and ported them to the current kernel).

=20
True, a large number of these patches are upstream, and if I had=20 access to MPC836x or MPC832x HW I'd work on getting the others that=20 are reasonable.
=20

Quoted 3 lines

Alex

PS It's probable that mpc8360sar actually only requires a=20

handful of=20

Quoted 5 lines
Quoted 1 line

the above patches to be applied.

=20
Agreed.
=20
- kumar

=20
=20
Tony, can you let me know when CONFIG_MPC832XE_MDS support is=20 upstreamed to a kernel.org kernel. I'll then try to get the=20 mpc8360sar working with this kernel and then upstream it. =20
Alex
=20
PS I'm not entirely sure how "upstreaming" is done. =20