From: "Leon Woestenberg" <leon.woestenberg@gmail.com>
To: Florian Fainelli <florian@openwrt.org>
Cc: Thiago Galesi <thiagogalesi@gmail.com>,
Hugo Villeneuve <hugo@hugovil.com>,
linux-kernel@vger.kernel.org, linux-embedded@vger.kernel.org
Subject: Re: FPGA programming driver architecture
Date: Fri, 9 Jan 2009 00:07:09 +0100 [thread overview]
Message-ID: <c384c5ea0901081507v5d186eai5ec71d56b4c7a972@mail.gmail.com> (raw)
In-Reply-To: <200901082357.24432.florian@openwrt.org>
Hello,
On Thu, Jan 8, 2009 at 11:57 PM, Florian Fainelli <florian@openwrt.org> wrote:
> Le Thursday 08 January 2009 23:47:58 Leon Woestenberg, vous avez écrit :
>> The programming back end should be generic enough so that it can use
>> other subsystems.
>>
> That's the idea behind using request_firmware, which provides you with both a
> pointer to the data and the size of the blob.
I know, that's what I would call the front-end (near userspace).
I meant the low-level back-end (towards hardware):
> - fpgaload-core which contains all the code that can be shared
> between the drivers like requesting firmware, providing sysfs
> attributes,
> - fpgaload-spi would handle the low-level SPI connection
> - fpgaload-par would handle the low-level parallel connection
>
> fpgaload-ser and par would register with fpgaload-core and they could
> register a fpga loading callback which is low-level specific for
> instance.
My $0.02 was:
Those callbacks should also be able to accept chunks of data
(preferably in the same way using ptr/len).
Regards,
--
Leon
next prev parent reply other threads:[~2009-01-08 23:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20081212150314.6ea24996.hugo@hugovil.com>
2008-12-13 12:58 ` FPGA programming driver architecture Florian Fainelli
2008-12-15 18:16 ` Hugo Villeneuve
2009-01-08 20:18 ` Hugo Villeneuve
2009-01-08 22:14 ` Thiago Galesi
2009-01-08 22:47 ` Leon Woestenberg
2009-01-08 22:57 ` Florian Fainelli
2009-01-08 23:07 ` Leon Woestenberg [this message]
2009-01-09 3:14 ` Duane Ellis
2009-01-09 12:24 ` Alexander Clouter
2009-01-09 15:07 ` Hugo Villeneuve
2009-01-09 23:40 ` Hans J. Koch
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=c384c5ea0901081507v5d186eai5ec71d56b4c7a972@mail.gmail.com \
--to=leon.woestenberg@gmail.com \
--cc=florian@openwrt.org \
--cc=hugo@hugovil.com \
--cc=linux-embedded@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=thiagogalesi@gmail.com \
/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).