[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#651723: linux-source: CONFIG_FIRMWARE_IN_KERNEL option doesn't work



In data domenica 11 dicembre 2011 19:37:49, Jonathan Nieder ha scritto:
> Maybe it would be worth adding some rules from firmware/Makefile back.

It's a wish list so, Please :)

However, "brutal" solution:

/usr/src/linux-source-3.1$ mkdir firmware/

copy from vanilla source

/usr/src/linux-source-3.1$ cp ../linux-3.1.5/firmware/Makefile firmware/
/usr/src/linux-source-3.1$ cp ../linux-3.1.5/firmware/radeon/ -fr firmware/
[1]/usr/src/linux-source-3.1$ cp ../linux-3.1.5/firmware/bnx2* -fr firmware/ 

in /usr/src/linux-source-3.1/Makefile, line 508, replace:

'drivers-y	:= drivers/ sound/'

with 

'drivers-y	:= drivers/ sound/ firmware/'



[1]without bnx2 the precess fails, so It's not something that can be solved by 
copying/edit some files, there is an interdependencies between firmware that are 
not necessarily related, it can be a problem if you need to build-in  firmware-
free and the process need a firmware non-free.


at this point R520_cp.bin it's built but not embedded:
make[2]: *** No rule to make target `firmware/bnx2/bnx2-mips-09-6.2.1a.fw', 
needed by `firmware/bnx2/bnx2-mips-09-6.2.1a.fw.gen.o'.  Stop.
  mkdir -p /usr/src/linux-source-3.1/firmware/bnx2
make[1]: *** [firmware] Error 2

Moreover to build firmware we need .ihex , firmware-linux* provide .bin files.



> Never mind about that last part.  This is
> 
>   * Move firmware-linux-free to separate source package (firmware-free)

Mea culpa!


Sorry for my english, I hope I've been clear

Thank you Jonathan

--
felipe



Reply to: