From: "Remi Lefevre" <rlefevre@gmail.com>
To: linuxppc-dev@ozlabs.org
Subject: FHCI driver adaptation for CPM2
Date: Wed, 17 Dec 2008 16:10:16 +0100 [thread overview]
Message-ID: <4e0b9cb00812170710n3374d558xab3584dc61980756@mail.gmail.com> (raw)
Hi,
I have a few questions with regard to adapting the FHCI USB host
controller driver (for QE) from Anton Vorontsov to CPM2, based
on past discussions from linuxppc-dev & linuxppc-embedded.
http://ozlabs.org/pipermail/linuxppc-dev/2008-April/054253.html
>On Tuesday 08 April 2008 14:16, Anton Vorontsov wrote:
>> On Mon, Apr 07, 2008 at 06:11:15PM +0200, Laurent Pinchart wrote:
>> > I had a first go at hacking the FHCI driver to make it run on a CPM2
>> > platform. Results so far are quite good. After getting rid of qe-speci=
fic
>> > APIs as explained above, and adding SOF token generation support, I've
>> > been able to access a mass storage device. The driver hasn't been
>> > stress-tested yet though.
>>
>> Wow, awesome! That's great news, really. Looking forward for the patch. =
:-)
>
>The current version of the code is CPM2-specific and won't work on QE-base=
d
>platforms. Should I still post it ?
Has this CPM2 patch adaptation been posted somewhere ?
I will have soon to evaluate an USB disk on MPC8270 and it would be great t=
o
spend time working on adapting the patch to last gpio changes and trying to
merge it with the original QE patch rather than doing this work again.
http://ozlabs.org/pipermail/linuxppc-embedded/2008-June/030541.html
>Laurent Pinchart-4 wrote:
>The bad news is that, from my experience with the CPM2, the controller is
>almost unusable. It eats around 40% CPU time on my MPC8248 system, and
>requires software help to generate SOF tokens, which results in bad SOF
>tokens being sent on the bus. Most USB disks don't seem to care, but all t=
he
>USB Bluetooth host controllers I've tested crashed.
Does this mean than SOF tokens handling can be ignored when working with
USB disks, or only that they don't care of a few errors ?
Also 40% seems quite a lot, even at 1000Hz interruptions, an idea how much
does the CRC computation contribute in this CPU hogging ?
Best regards,
R=E9mi Lef=E8vre
next reply other threads:[~2008-12-17 15:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-17 15:10 Remi Lefevre [this message]
2008-12-17 15:33 ` FHCI driver adaptation for CPM2 Laurent Pinchart
2008-12-17 20:27 ` Remi Lefevre
2008-12-18 10:23 ` Laurent Pinchart
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=4e0b9cb00812170710n3374d558xab3584dc61980756@mail.gmail.com \
--to=rlefevre@gmail.com \
--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).