[yocto] Using MACHINE_EXTRA_RDEPENDS to install wifi Firmware

Khem Raj raj.khem at gmail.com
Thu Feb 27 16:54:49 PST 2014


On Thu, Feb 27, 2014 at 4:41 PM, Ash Charles <ashcharles at gmail.com> wrote:
> Hi Khem,
>
> Thanks for your response.
> On Thu, Feb 27, 2014 at 4:26 PM, Khem Raj <raj.khem at gmail.com> wrote:
>> it seems this module is installing/overwriting a file thats coming
>> from some other recipe
>> that you omitted from the errors above so cant tell which one exactly.
> I've posted a more complete log: http://pastebin.com/zydaCXe2
>
> I looked in the work directory to see which other recipe might be
> trying to supply a duplicate file and see both linux-firmware and my
> kernel recipe (based on linux-yocto.inc) e.g.
> ash at gumstux:~/Store/Yocto/yocto/build/tmp/work$ find . -name whiteheat.fw
> ./all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+600caefd83-r0/git/whiteheat.fw
> ./all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+600caefd83-r0/packages-split/linux-firmware/lib/firmware/whiteheat.fw
> ./all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+600caefd83-r0/package/lib/firmware/whiteheat.fw
> ./all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+600caefd83-r0/image/lib/firmware/whiteheat.fw
> ./all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+600caefd83-r0/sysroot-destdir/lib/firmware/whiteheat.fw
> ./overo-poky-linux-gnueabi/linux-gumstix/3.5.7-r0/linux-overo-standard-build/firmware/whiteheat.fw
> ./overo-poky-linux-gnueabi/linux-gumstix/3.5.7-r0/packages-split/kernel-firmware-whiteheat/lib/firmware/whiteheat.fw
> ./overo-poky-linux-gnueabi/linux-gumstix/3.5.7-r0/package/lib/firmware/whiteheat.fw
> ./overo-poky-linux-gnueabi/linux-gumstix/3.5.7-r0/image/lib/firmware/whiteheat.fw
> ./overo-poky-linux-gnueabi/linux-gumstix/3.5.7-r0/sysroot-destdir/lib/firmware/whiteheat.fw
>
> This makes me think that linux-firmware shouldn't be getting pulled in
> as the kernel recipe is providing the right firmware.  But without
> MACHINE_EXTRA_RDEPENDS += "linux-firmware-sd8686", no firmware is
> included in the image at all.

as you can see kernel-firmware-whiteheat is the package name under
which kernel is packaging it
so include that if you want the kernel provided one.

>
> --Ash



More information about the yocto mailing list