From: Roland Dreier <rdreier@cisco.com>
To: Philip Downer <phil@csldevices.co.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: firmware loading interface
Date: Fri, 13 Nov 2009 16:35:01 -0800 [thread overview]
Message-ID: <aday6mac5ai.fsf@roland-alpha.cisco.com> (raw)
In-Reply-To: <4AFD9BAF.1010200@csldevices.co.uk> (Philip Downer's message of "Fri, 13 Nov 2009 17:47:27 +0000")
> However our device will have flash to store the firmware in and, whilst
> it looks as though it would be possible for us to use request_firmware
> to provide occasional firmware upgrades from userspace, I can't find any
> reference as to whether this is an accepted method for doing so. Could
> someone please confirm for me whether or not it's a good idea to use
> request_firmware for this, or perhaps point me at another standard
> method for doing firmware updates from userspace?
I think request_firmware() is fine for this... you could have a look at
drivers/net/cxgb3 to see a device that writes new firmware to flash when
it detects a version mismatch between driver and device.
- R.
next prev parent reply other threads:[~2009-11-14 0:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4AFD971C.3090204@csldevices.co.uk>
2009-11-13 17:47 ` firmware loading interface Philip Downer
2009-11-13 19:29 ` Arnd Bergmann
[not found] ` <53ea87da0911140951q1050212fwe9f5839b900b3804@mail.gmail.com>
2009-11-14 17:54 ` Arnd Bergmann
2009-11-16 10:57 ` Philip Downer
2009-11-14 0:35 ` Roland Dreier [this message]
2009-11-14 16:08 ` Robert Hancock
[not found] ` <53ea87da0911140855u7993989aod746bcaf18ee4c31@mail.gmail.com>
2009-11-14 18:19 ` Robert Hancock
2009-11-14 18:29 ` Arjan van de Ven
2009-11-16 11:16 ` Philip Downer
2009-12-01 9:14 ` Dmitry Torokhov
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=aday6mac5ai.fsf@roland-alpha.cisco.com \
--to=rdreier@cisco.com \
--cc=linux-kernel@vger.kernel.org \
--cc=phil@csldevices.co.uk \
/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