[meta-freescale] Trouble including firmware-imx

Daiane Angolini daiane.list at gmail.com
Mon Apr 7 08:36:34 PDT 2014


On Mon, Apr 7, 2014 at 11:46 AM, Stuart Weaver <stuart.weaver at port.ac.uk> wrote:
> Hi all,
>
>
>
> I'm trying to create a rootfs using my own image file but including the
> freescale firmware so that I can include vpu functionality etc. However,
> when I try a simple:
>
>
>
> gst-launch videotestsrc num-buffers=200 ! vpuenc codec=6 ! filesink
> location=test.264
>
>
>
> I get
>
>
>
> [ERR]     Error in opening firmware binary file
>
> [ERR]     Please put bin file to /lib/firmware/vpu folder or export
> VPU_FW_PATH env
>
>
>
> Obviously I'm not including the binary into the yocto build as there isn't
> even a firmware folder in the rootfs. However the following is my image
> file:
>
>
>
> include recipes-core/images/core-image-minimal.bb

core-image-minimal does not include any RRECOMMENDS as default.

And imx-firmware is RRECOMMENDS.

So, add this by yourself, in your image, or use core-image-base instead.

Daiane
>
> IMAGE_FEATURES += "debug-tweaks hwcodecs ssh-server-dropbear"
>
> DISTRO_FEATURES += "pulseaudio"
>
> SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
>
> # Add extra image features
>
> EXTRA_IMAGE_FEATURES += " \
>
>     ${SOC_EXTRA_IMAGE_FEATURES} \
>
>     nfs-server \
>
>     tools-debug \
>
>     tools-profile \
>
> "
>
> IMAGE_INSTALL += " \
>
>     packagegroup-core-basic \
>
>     packagegroup-core-directfb \
>
>     packagegroup-fsl-gstreamer \
>
>     packagegroup-fsl-gstreamer-streamer \
>
>     packagegroup-fsl-tools-testapps \
>
>     packagegroup-fsl-tools-benchmark \
>
>     gpu-viv-bin-mx6q \
>
>     alsa-utils \
>
>     alsa-tools \
>
>     libfslcodec \
>
>     libfslparser \
>
>     libfslvpuwrap \
>
>     firmware-imx \
>
>     imx-lib \
>
>     imx-test \
>
>     imx-vpu \
>
> "
>
> export IMAGE_BASENAME = "fsl-my-image"
>
>
>
> As can be seen I'm including the firmware-imx package in the IMAGE_INSTALL
> section? Does anyway know what I could be doing wrong to stop it being
> included?
>
>
>
> Regards,
>
> Stu
>
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


More information about the meta-freescale mailing list