From: Rogier Wolff <R.E.Wolff@BitWizard.nl>
To: Jiri Slaby <jirislaby@gmail.com>
Cc: Linux kernel mailing list <linux-kernel@vger.kernel.org>,
R.E.Wolff@BitWizard.nl
Subject: Re: preferred way of fw loading
Date: Wed, 1 Nov 2006 08:29:57 +0100 [thread overview]
Message-ID: <20061101072957.GA14955@bitwizard.nl> (raw)
In-Reply-To: <4547E720.4080505@gmail.com>
On Wed, Nov 01, 2006 at 01:15:28AM +0100, Jiri Slaby wrote:
> Hello,
>
> is preferred to have firmware in kernel binary (and go through array of chars)
> or userspace (and load it through standard kernel api)?
IMHO, from a theoretical point-of-view, I prefer the way it is:
the driver will upload any firmware you tell it to upload.
Since writing the driver, some consensus has been reached on how
this is done. This, for example, doesn't involve the misc device
that I use.
> For char sx driver in this case (I hope there is no later fw):
> ftp://ftp.bitwizard.nl/specialix/sx_firmware_306c.tgz
> Now it's 2 .c files used by loader through ioctl. After compilation it has:
> text data bss dec hex filename
> 4 8416 2 8422 20e6 si2_z280.o
> 4 19484 2 19490 4c22 si3_t225.o
I see two different processors, there are three.
> So convert it to binary (and load it through userspace) or simply #include it in
> the sources? I hope the former is preferred?
>From a legal point of view, that is undesirable: You'd be linking
the propritary firmware with the kernel, which disallows distribution
of the resulting kernel or module binary.
Roger.
--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
Q: It doesn't work. A: Look buddy, doesn't work is an ambiguous statement.
Does it sit on the couch all day? Is it unemployed? Please be specific!
Define 'it' and what it isn't doing. --------- Adapted from lxrbot FAQ
next prev parent reply other threads:[~2006-11-01 7:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-01 0:15 preferred way of fw loading Jiri Slaby
2006-11-01 7:29 ` Rogier Wolff [this message]
2006-11-01 18:28 ` Jiri Slaby
2006-11-01 8:17 ` Arjan van de Ven
2006-11-01 12:07 ` Alan Cox
2006-11-01 16:48 ` Arnd Bergmann
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=20061101072957.GA14955@bitwizard.nl \
--to=r.e.wolff@bitwizard.nl \
--cc=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.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