public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Theodore Tso <tytso@mit.edu>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	James.Bottomley@HansenPartnership.com,
	ksummit-2008-discuss@lists.linux-foundation.org,
	David Miller <davem@davemloft.net>,
	linux-kernel@vger.kernel.org
Subject: Re: RFC: Moving firmware blobs out of the kernel.
Date: Thu, 29 May 2008 15:12:46 -0400	[thread overview]
Message-ID: <483F002E.5060002@garzik.org> (raw)
In-Reply-To: <1212077700.26088.83.camel@shinybook.infradead.org>

David Woodhouse wrote:
> I'm kind of hoping that this is going to be one of those topics that
> resolves itself -- but just in case it isn't, I'd like to discuss it at
> the kernel summit:
> 
> I'd like to remove all firmware blobs from the kernel source tree.
> 
> With the intention of making that less contentious, I've done the
> following: 
> 
> I've added support to the firmware loader for finding firmware in a
> special section of the static kernel, so that using request_firmware()
> no longer forces you to use an initrd or udev. You can build _arbitrary_
> firmware files into your kernel, if you want to. Whether you're allowed
> to distribute the resulting vmlinux or not is still a question you ought
> to ask your lawyer.
> 
> I'm working on converting drivers over to use request_firmware(), and
> shifting their firmware blobs into .ihex files in a firmware/ directory
> of the source tree. For each one, I'm giving the option of continuing to
> build it in statically, using the above mechanism.
> 
> I've implemented a 'make firmware_install' Kbuild target, which takes
> all those firmware blobs and installs them somewhere where udev can load
> them on request.
> 
> By the time the kernel summit comes around, we should have made decent
> progress on moving _all_ the firmware blobs to the firmware/ directory.
> And at that point I'd like to remove them completely, to a separate git
> tree and tarball. Those who really want to build them in to their static
> kernel would still be able to, but it wouldn't be the default behaviour.


I like your idea, all the way to the point where you actually remove the 
firmware file from the kernel tree :)

I think it's a good move to make the firmware files standalone and not 
#include'd as a C header file, but it's just plain easier to ship them 
with the kernel tree in a lot of cases.  $FOO-firmware packages in 
Fedora prove other methods of firmware distribution are quite usable, 
but that does not therefore imply that in-kernel built-in firmwares have 
no utility.

Personally, living in an imaginary all-open-source world, I wouldn't 
mind seeing firmware source for firmware built into drivers, a la 
drivers/scsi/aic7xxx/aicasm/, living in the kernel tree.

If the firmware has a compatible license and is required for critical 
operations like booting the machine, built-in firmware should remain an 
option.  For certain embedded cases, I could certainly see that 
in-kernel firmware being the best method for firmware distribution, for 
both $Platform's users and $Platform's developers.

	Jeff




  parent reply	other threads:[~2008-05-29 19:13 UTC|newest]

Thread overview: 109+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-28 17:20 [Ksummit-2008-discuss] Fixing the Kernel Janitors project James Bottomley
2008-05-28 17:43 ` H. Peter Anvin
2008-05-28 19:08 ` Rik van Riel
2008-05-28 20:15   ` Chris Mason
2008-05-29 10:34     ` Jiri Kosina
2008-05-31  8:38       ` Pavel Machek
2008-05-28 20:38   ` James Bottomley
2008-05-28 20:49 ` David Woodhouse
2008-05-28 21:01   ` James Bottomley
2008-05-28 21:31     ` Pekka Enberg
2008-05-28 21:42       ` James Bottomley
2008-05-28 22:18         ` David Woodhouse
2008-05-28 22:35           ` James Bottomley
2008-05-28 22:51             ` Greg KH
2008-05-28 23:23               ` Luck, Tony
2008-05-29  0:36                 ` Greg KH
2008-05-29  1:00                   ` Dave Jones
2008-05-29  2:26                     ` Greg KH
2008-05-30 20:23                       ` How many contributors are we losing Luck, Tony
2008-05-30 20:46                         ` Willy Tarreau
2008-05-30 20:47                         ` Greg KH
2008-05-30 23:37                           ` [Ksummit-2008-discuss] " Grant Grundler
2008-05-31 19:53                             ` Stefan Richter
2008-05-30 21:01                         ` [Ksummit-2008-discuss] " Daniel Walker
2008-05-30 21:13                         ` Hugh Dickins
2008-05-30 22:05                           ` Luck, Tony
2008-05-30 22:53                             ` Theodore Tso
2008-05-30 23:10                           ` H. Peter Anvin
2008-05-31  1:12                         ` Josh Boyer
2008-05-29  6:12               ` [Ksummit-2008-discuss] Fixing the Kernel Janitors project David Miller
2008-05-29  6:09             ` David Miller
2008-05-29 13:24               ` Peter Zijlstra
2008-05-29 14:36               ` James Bottomley
2008-05-29 15:06                 ` Jiri Kosina
2008-05-29 16:32                   ` Matthew Wilcox
2008-05-30  0:24                     ` Stefan Richter
2008-06-02 10:32                     ` Jiri Kosina
2008-06-02 10:43                       ` Rafael J. Wysocki
2008-05-29 17:37                   ` James Bottomley
2008-05-29 20:24                     ` Rafael J. Wysocki
2008-05-31 19:21                   ` Lars Noschinski
2008-06-01 16:09                     ` store-same-blocksonce (was Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project) Pavel Machek
2008-06-02  8:18               ` [Ksummit-2008-discuss] Fixing the Kernel Janitors project Paul Jackson
2008-05-29  2:27 ` Matthew Wilcox
2008-05-29  5:58 ` David Miller
2008-05-29  6:17   ` Benjamin Herrenschmidt
2008-05-29 12:45     ` Theodore Tso
2008-05-29 16:15       ` RFC: Moving firmware blobs out of the kernel David Woodhouse
2008-05-29 16:47         ` [Ksummit-2008-discuss] " Greg KH
2008-05-29 20:29           ` Arjan van de Ven
2008-05-29 20:47             ` Matthew Wilcox
2008-05-29 20:55               ` Yinghai Lu
2008-05-29 20:59                 ` James Bottomley
2008-05-29 21:03                 ` Greg KH
2008-05-30  9:20                   ` Alan Cox
2008-05-30 10:38                     ` David Woodhouse
2008-05-29 21:31                 ` David Miller
2008-05-29 21:57                   ` Yinghai Lu
2008-05-30  9:52                     ` Takashi Iwai
2008-05-30 10:37                       ` David Woodhouse
2008-05-29 21:09             ` David Miller
2008-05-29 21:11               ` Arjan van de Ven
2008-05-29 23:04                 ` David Woodhouse
2008-05-30 13:47                   ` Arnaldo Carvalho de Melo
2008-06-01 16:17                   ` Pavel Machek
2008-06-06 14:46                     ` David Woodhouse
2008-06-07  9:53                       ` Pavel Machek
2008-06-08 11:13                   ` Mauro Carvalho Chehab
2008-05-29 22:11               ` David Woodhouse
2008-05-30 18:37                 ` Grant Grundler
2008-06-07 22:14               ` Alexandre Oliva
2008-05-29 19:12         ` Jeff Garzik [this message]
2008-05-29 21:17           ` Peter Zijlstra
2008-05-29 23:39             ` H. Peter Anvin
2008-05-30  9:31               ` Alan Cox
2008-05-30  9:50                 ` Peter Zijlstra
2008-05-30 13:53                   ` Jeff Garzik
2008-05-30 21:08                   ` Alexandre Oliva
2008-05-30 23:14                 ` H. Peter Anvin
2008-05-31 14:05                   ` Alan Cox
2008-05-31 15:10                     ` H. Peter Anvin
2008-05-30  1:27             ` Benjamin Herrenschmidt
2008-05-29 21:18           ` David Woodhouse
2008-05-30  1:22         ` Benjamin Herrenschmidt
2008-05-29 20:54       ` [Ksummit-2008-discuss] Fixing the Kernel Janitors project David Miller
2008-05-29 20:59         ` Matthew Wilcox
2008-05-29 21:12           ` Greg KH
2008-05-30  1:25           ` Benjamin Herrenschmidt
2008-05-30  2:20             ` Matthew Wilcox
2008-05-29 21:14         ` Theodore Tso
2008-05-29 21:39           ` David Miller
2008-06-01 14:11             ` Thomas Gleixner
2008-06-01 14:24               ` James Bottomley
2008-06-01 16:21                 ` s2ram video problems " Pavel Machek
2008-06-01 17:55                   ` Rafael J. Wysocki
2008-06-01 18:04                   ` James Bottomley
2008-06-01 18:14                     ` Rafael J. Wysocki
2008-06-01 18:14                     ` Matthew Garrett
2008-06-01 18:17               ` Matthew Garrett
2008-06-01 20:22                 ` Thomas Gleixner
2008-06-01 20:36                   ` Matthew Garrett
2008-06-01 23:56                   ` Benjamin Herrenschmidt
2008-05-30  1:20       ` Benjamin Herrenschmidt
2008-05-30  6:55         ` David Miller
2008-05-29 16:03     ` Jonathan Corbet
2008-05-30  0:40       ` Neil Brown
2008-05-29 14:26   ` James Bottomley
2008-05-29 11:32 ` Helge Hafting
2008-05-29 13:44 ` Adrian Bunk

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=483F002E.5060002@garzik.org \
    --to=jeff@garzik.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=benh@kernel.crashing.org \
    --cc=davem@davemloft.net \
    --cc=dwmw2@infradead.org \
    --cc=ksummit-2008-discuss@lists.linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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