Anybody have an mpc5200b mscan linux driver under 2.6.24, ARCH=powerpc or equiv?

Daniel Schnell daniel.schnell at marel.com
Thu Jun 19 20:38:22 EST 2008


Mike,

We are using the attached patch from socketcan svn trunk r679 against
2.6.24.


Best regards,

Daniel.


Mike Timmons wrote:
> Thanks for the quick response. I'm currently using 2.6.24
> ARCH=powerpc on the Lite5200b. I just searched for an obvious patch
> but it is unclear to me what patch(es) I should take at this point.  
> 
> Can you direct me to the patch(es) I need? Again, thank you.
> 
> -Mike
> 
> -----Original Message-----
> From: Wolfgang Grandegger [mailto:wg at grandegger.com]
> Sent: Wednesday, June 18, 2008 8:45 AM
> To: Mike Timmons
> Cc: linuxppc-embedded at ozlabs.org
> Subject: Re: Anybody have an mpc5200b mscan linux driver under
> 2.6.24, ARCH=powerpc or equiv? 
> 
> Mike Timmons wrote:
>> I'm trying to wrestle the peak CAN driver for the old,
>> non-device-tree ppc into submission but I'm making a mess of it so
>> far. 
>> 
>> I think I'll get it going at some point, but if anybody has or knows
>> of an mscan driver for the mpc5200 can you alert me?
> 
> http://svn.berlios.de/svnroot/repos/socketcan/trunk/README
> 
> The Socket-CAN core is part of the official kernel since 2.6.25.
> 
> Wolfgang.
> 
>> 
>> Thanks,
>> Mike
>> 
>> -----Original Message-----
>> From: linuxppc-embedded-bounces+mike_timmons=trimble.com at ozlabs.org
>>
[mailto:linuxppc-embedded-bounces+mike_timmons=trimble.com at ozlabs.org]
>> On Behalf Of Scott Wood Sent: Tuesday, June 17, 2008 4:30 PM
>> To: Mike Winter
>> Cc: linuxppc-embedded at ozlabs.org
>> Subject: Re: PCI DMA Problems With 82xx?
>> 
>> Mike Winter wrote:
>>> We are developing with an 8248-based platform, and we have a vendor
>>> telling us that the PCI hardware is unreliable on this CPU family,
>>> in 
> 
>>> particular the DMA functionality.  A quick search of this list
>>> doesn't 
>> 
>>> turn up any horror stories, although the processor does have some
>>> PCI 
> 
>>> errata listed.  Does anybody have any practical experience using
>>> PCI on the 8248 or similar that they can share with me?   Thanks.
>> 
>> Make sure that you park the bus on PCI, and elevate PCI's arbitration
>> priority.  See fixup_pci() in arch/powerpc/boot/cuboot-pq2.c.
>> 
>> I haven't had a problem with PCI DMA when that is done, though I
>> haven't 
>> 
>> done significant stress testing.
>> 
>> -Scott
>> _______________________________________________
>> Linuxppc-embedded mailing list
>> Linuxppc-embedded at ozlabs.org
>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>> _______________________________________________
>> Linuxppc-embedded mailing list
>> Linuxppc-embedded at ozlabs.org
>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>> 
>> 
> 
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-2.6.24-socketcan-all-r679.gz
Type: application/x-gzip
Size: 85176 bytes
Desc: patch-2.6.24-socketcan-all-r679.gz
URL: <http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20080619/931d1dd3/attachment-0001.bin>


More information about the Linuxppc-embedded mailing list