There is no package called zd1211 that I can identify. If I run $ _bitbake atmel-qt5-demo-image __-g -u depexp_ It does not list a package that has zd1211 in it. Having said that, if I run $ find -name zd1211*It shows that zd1211rw and zd1211rw.ko files are in the rootfs in the tmp/work directory under kernel/drivers/net/wirless. Is that what you are referring to? Lachlan ----- Original Message ----- From: "Alexandru Vaduva" To:"peterengcomau...@adam.com.au" , "Anders Darander" , "Bryan Evenson" Cc:"yocto@yoctoproject.org" Sent:Sat, 15 Nov 2014 19:53:14 +0000 (UTC) Subject:Re: [yocto] recipe fails to load local files
Is "zd1211" available in packages and package-split/zd1211-firmware*? On Saturday, November 15, 2014 9:09 PM, "peterengcomau...@adam.com.au" wrote: Thanks, I have done the changes and no longer get the error. However, the firmware files still do not get generated when I build the image. The current recipe I am using is: ______________________________________ DESCRIPTION = "Belkin Wifi Firmware" LICENSE = "GPL" PR = "r0" FILESPATH = "${THISDIR}/${PN}" FILES_${PN} += "/lib/firmware/zd1211" SRC_URI = " file://zd1211_ub file://zd1211_uph file://zd1211_uphm file://zd1211_uphr file://zd1211_ur " S = "${WORKDIR}" do_install() { install -d ${D}/lib/firmware/zd1211 install -m 0555 ${WORKDIR}/zd1211_* ${D}/lib/firmware/zd1211/ } ________________________________________ No errors result when building the image. However, there is no directory or files in: ~/poky/build-atmel/tmp/work/sama5d3xek-poky-linux-gnueabi/atmel-qt5-demo-image/1.0-r0/rootfs/lib/firmware The recipes are in file: ~/poky/meta-atmel-lsp/recipes-lsp/zd1211-firmware There are other recipes in ~/poky/meta-atmel-lsp/recipes-lsp that work, so bitbake can see these ok (but these are bbappend, not bb files) In ideas why the ----- Original Message ----- From: "Anders Darander" To:"Bryan Evenson" Cc:"peterengcomau...@adam.com.au" , "yocto@yoctoproject.org" Sent:Fri, 14 Nov 2014 15:44:24 +0100 Subject:Re: [yocto] recipe fails to load local files Just a few nitpick's... * Bryan Evenson [141114 15:21]: > > LICENSE = "CLOSED" > > FILES_${PN} += "~/poky/meta-atmel-lsp/recipes-lsp/zd1211- > > firmware/zd1211-firmware" > FILES doesn't specify where to find the files on the build machine, it > specifies where the installed files exist on the target filesystem. > This is what the error you are seeing is telling you; the files were > installed in the do_install step but they did not get placed in the > final package. In your case I believe: > FILES_${PN} += "${libdir}/zd1211_*" FILES_${PN} += "/lib/firmware/zd1211" > would work. > > SRC_URI = " > > file://zd1211_ub > > file://zd1211_uph > > file://zd1211_uphm > > file://zd1211_uphr > > file://zd1211_ur > > " > > do_install() { > > install -d ${D}/lib/firmware/zd1211 > > install -m 0555 ${WORKDIR}/zd1211_* ${D}/lib/firmware/zd1211/ > > } > As mentioned in the FILES variable description in the Yocto manual, > you should use the standard path variables whenever possible. The > list of available path variables are near the top of > meta/conf/bitbake.conf. That means in your case the following would > be better: Well, in general that's true. Though, in this specific case, it should actually be a hardcoded /lib/firmware. ${libdir} could be lib64 or something else, especially in a multilib-build. However, the firmware files are always searched for in /lib/firmware. Cheers, Anders > do_install() { > install -d ${D}/${libdir}/firmware/zd1211 > install -m 0555 ${WORKDIR}/zd1211_* ${D}/${libdir}/firmware/zd1211/ -- Anders Darander ChargeStorm AB / eStorm AB ---- Message sent via Adam Internet WebMail - http://www.adam.com.au/ -- _______________________________________________ yocto mailing list yocto@yoctoproject.org [1] https://lists.yoctoproject.org/listinfo/yocto [2] Links: ------ [1] mailto:yocto@yoctoproject.org [2] https://lists.yoctoproject.org/listinfo/yocto
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto