Re: How to get firmware-imx for imx8mm evk into sdcard image? I'm getting firmware loading errors for sdma-imx7d.bin etc.
Andrey Zhizhikin
Hello Brian,
On Tue, Oct 6, 2020 at 10:58 PM Brian Hutchinson <b.hutchman@...> wrote: Well, this is I guess an expected behavior. firmware packages are listed in MACHINE_EXTRA_RRECOMMENDS, which is (according to Yocto Reference manual, link https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-MACHINE_EXTRA_RRECOMMENDS) is only considered when packagegroup-base is installed in the image and does not affect 'core-image-minimal' or 'core-image-full-cmdline' images. That is the reason that even if the package is added in the imx-base.inc (like Otavio suggested in his patch) - you would not receive it in core-image-minimal and you would have to install it explicitly. As for firmware packages themselves, I guess it should be changed from MACHINE_EXTRA_RRECOMMENDS to MACHINE_EXTRA_RDEPENDS in order to bail out at the build time rather than figure out that they are not present on the device at boot time. But this is yet a separate point, which actually would not solve your original issue as you either need an image recipe which includes packagegroup-base or you have to explicitly list them in IMAGE_INSTALL. I see there is a firmware-imx-8m package so maybe I should add it.This package is actually empty, and only serves as a deploy target to provide Cadence HDMI FW for imx-boot to build a boot container. Even if you try to install it - you would not receive any FW files on the target.
-- Regards, Andrey. |
|