RFC: Moving firmware blobs out of the kernel.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Theodore Tso <tytso@...>
Cc: Benjamin Herrenschmidt <benh@...>, <James.Bottomley@...>, <ksummit-2008-discuss@...>, David Miller <davem@...>, <linux-kernel@...>
Date: Thursday, May 29, 2008 - 12:15 pm

On Thu, 2008-05-29 at 08:45 -0400, Theodore Tso 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.

-- 
dwmw2

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Ksummit-2008-discuss] Fixing the Kernel Janitors project, James Bottomley, (Wed May 28, 1:20 pm)
Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project, James Bottomley, (Thu May 29, 10:26 am)
Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project, Benjamin Herrenschmidt, (Thu May 29, 2:17 am)
Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project, Benjamin Herrenschmidt, (Thu May 29, 9:20 pm)
Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project, Benjamin Herrenschmidt, (Sun Jun 1, 7:56 pm)
Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project, Benjamin Herrenschmidt, (Thu May 29, 9:25 pm)
RFC: Moving firmware blobs out of the kernel., David Woodhouse, (Thu May 29, 12:15 pm)
Re: RFC: Moving firmware blobs out of the kernel., Benjamin Herrenschmidt, (Thu May 29, 9:22 pm)
Re: [Ksummit-2008-discuss] RFC: Moving firmware blobs out of..., Mauro Carvalho Chehab, (Sun Jun 8, 7:13 am)
Re: [Ksummit-2008-discuss] RFC: Moving firmware blobs out of..., Arnaldo Carvalho de Melo, (Fri May 30, 9:47 am)
Re: RFC: Moving firmware blobs out of the kernel., Jeff Garzik, (Thu May 29, 3:12 pm)
Re: [Ksummit-2008-discuss] RFC: Moving firmware blobs out of..., Benjamin Herrenschmidt, (Thu May 29, 9:27 pm)
Re: RFC: Moving firmware blobs out of the kernel., David Woodhouse, (Thu May 29, 5:18 pm)
Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project, James Bottomley, (Thu May 29, 10:36 am)
Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project, Rafael J. Wysocki, (Thu May 29, 4:24 pm)
Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project, Rafael J. Wysocki, (Mon Jun 2, 6:43 am)
How many contributors are we losing, Luck, Tony, (Fri May 30, 4:23 pm)
Re: How many contributors are we losing, Josh Boyer, (Fri May 30, 9:12 pm)
Re: How many contributors are we losing, Greg KH, (Fri May 30, 4:47 pm)
Re: How many contributors are we losing, Stefan Richter, (Sat May 31, 3:53 pm)
Re: How many contributors are we losing, Willy Tarreau, (Fri May 30, 4:46 pm)