From: Wolfgang Grandegger <wg@grandegger•com>
To: Mike Timmons <mike_timmons@trimble•com>
Cc: linuxppc-embedded@ozlabs•org
Subject: Re: Anybody have an mpc5200b mscan linux driver under 2.6.24, ARCH=powerpc or equiv?
Date: Wed, 18 Jun 2008 16:18:34 +0200 [thread overview]
Message-ID: <4859193A.1040105@grandegger.com> (raw)
In-Reply-To: <161B3BAD77161449A144FF054231C3D6022FEAC0@uss-am-xch-01.am.trimblecorp.net>
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.
As a first try you can build Socket-CAN out of tree by just downloading
the SVN trunk repository as described here:
http://developer.berlios.de/svn/?group_id=6475
Then go to trunk/kernel/2.6 and type:
$ make ARCH=powerpc KERNELDIR=<path-to-kernel> \
CONFIG_CAN_MSCAN=m CONFIG_CAN_MPC52XX=m
You need the following modules on your target:
drivers/net/can/*.ko
drivers/net/can/mscan/*.ko
There is a script to create kernel patches, but I don't known if it
works right now (there have been some issues recently). Please ask on
the Socket-CAN mailing list.
Wolfgang.
>
> -Mike
>
> -----Original Message-----
> From: Wolfgang Grandegger [mailto:wg@grandegger•com]
> Sent: Wednesday, June 18, 2008 8:45 AM
> To: Mike Timmons
> Cc: linuxppc-embedded@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@ozlabs•org
>> [mailto:linuxppc-embedded-bounces+mike_timmons=trimble.com@ozlabs•org]
>> On Behalf Of Scott Wood
>> Sent: Tuesday, June 17, 2008 4:30 PM
>> To: Mike Winter
>> Cc: linuxppc-embedded@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@ozlabs•org
>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>> _______________________________________________
>> Linuxppc-embedded mailing list
>> Linuxppc-embedded@ozlabs•org
>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>>
>>
>
>
next prev parent reply other threads:[~2008-06-18 14:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-17 19:32 PCI DMA Problems With 82xx? Mike Winter
2008-06-17 21:29 ` Scott Wood
2008-06-17 21:49 ` Rune Torgersen
2008-06-17 21:51 ` Rune Torgersen
2008-06-17 21:52 ` Scott Wood
2008-06-18 13:32 ` Anybody have an mpc5200b mscan linux driver under 2.6.24, ARCH=powerpc or equiv? Mike Timmons
2008-06-18 13:45 ` Wolfgang Grandegger
2008-06-18 14:02 ` Mike Timmons
2008-06-18 14:18 ` Wolfgang Grandegger [this message]
2008-06-18 16:16 ` Mike Timmons
2008-06-19 10:38 ` Daniel Schnell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4859193A.1040105@grandegger.com \
--to=wg@grandegger$(echo .)com \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
--cc=mike_timmons@trimble$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox