From: "Albrecht Dreß" <albrecht.dress@arcor.de>
To: Linux PPC Development <linuxppc-dev@ozlabs.org>
Subject: MPC5200/BestComm functions question
Date: Sat, 12 Sep 2009 14:36:21 +0200 [thread overview]
Message-ID: <1252758988.3310.0@antares> (raw)
[-- Attachment #1: Type: text/plain, Size: 944 bytes --]
Hi all,
I have a MPC5200B based system with a 16-bit peripheral attached to the
Local Bus, and I am looking into possibilities to use BestComm for the
data transfer.
I found Grant Likely's cool 'mpc5200-localplus-test.c' driver which
demonstrates this using the 'gen_bd' driver, and which is apparently a
great starting point.
However, I also have to (a) 32-bit endianess-swap the data and (b)
calculate a 32-bit crc on it. Of course, this is possible with the
buffers using the cpu, but I saw some remarks that the Bestcomm engine
also includes functions which can perform swapping and crc
calculation. I believe it would unload the cpu if the BestComm engine
could perform these tasks, but I cannot find a good
documentation/example for that. Does anyone know any pointers for
that? Or maybe even a tool to create the bestcomm tasks from a
'readable' source?
Thanks in advance,
Albrecht.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2009-09-12 12:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-12 12:36 Albrecht Dreß [this message]
2009-09-12 14:01 ` MPC5200/BestComm functions question Grant Likely
2009-09-13 16:13 ` Albrecht Dreß
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=1252758988.3310.0@antares \
--to=albrecht.dress@arcor.de \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).