Re: [Bug #12617] unable to compile e100 firmware into kernel

Andrey Borzenkov
2009-02-15T19:58:52Z

[-- Attachment #1: Type: text/plain, Size: 1684 bytes --]

On 15 of February 2009 20:38:15 David Woodhouse wrote:
> On Sat, 2009-02-14 at 21:38 +0100, Rafael J. Wysocki wrote:
> > This message has been generated automatically as a part of a
> > report of recent regressions.
> >
> > The following bug entry is on the current list of known regressions
> > from 2.6.28. Please verify if it still should be listed and let me
> > know (either way).
> >
> >
> > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12617
> > Subject : unable to compile e100 firmware into kernel
> > Submitter : Andrey Borzenkov <arvidjaar@mail.ru>
> > Date : 2009-01-31 15:59 (15 days old)
> > References :
> > http://marc.info/?l=linux-kernel&m=123341764915181&w=4
>
> I thought this was resolved?

I guess it has to be closed. This was caused by config options mismatch
and I do not see how we can programmatically express "this device could
be required before any (even early) user space is available, so make
sure everything that this device needs is built in".

One possibility is following:

--- drivers/base/Kconfig.orig 2009-01-17 14:46:28.000000000 +0300
+++ drivers/base/Kconfig 2009-02-15 22:57:02.000000000 +0300
@@ -37,7 +37,7 @@ config FW_LOADER

config FIRMWARE_IN_KERNEL
bool "Include in-kernel firmware blobs in kernel binary"
- depends on FW_LOADER
+ depends on FW_LOADER = y
default y
help
The kernel source tree includes a number of firmware 'blobs'

On assumption that compiling firmware in kernel makes no sense as long
as kernel does not even have facility to actually access it.

Does it make sense?

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]