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 Otavio / Brian,

On Tue, Oct 6, 2020 at 7:10 PM Brian Hutchinson <b.hutchman@...> wrote:

On Tue, Oct 6, 2020 at 09:50 AM, Otavio Salvador wrote:

Hello Brian,

See if below change fixes it:
That should actually do the trick! I just realized that the mx8m is
completely missing the MACHINE_FIRMWARE definition. I'm starting to
wonder - was it actually ever defined for mx8m?

Let me try this out on the imx8mmevk, I'll get back on this one.


diff --git a/conf/machine/include/imx-base.inc
b/conf/machine/include/imx-base.inc
index 83e49969..db27bd84 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -231,6 +231,7 @@ MACHINE_FIRMWARE_append_mx6sll = " firmware-imx-epdc"
MACHINE_FIRMWARE_append_mx6ull = " firmware-imx-epdc"
MACHINE_FIRMWARE_append_mx53 = " firmware-imx-vpu-imx53
firmware-imx-sdma-imx53"
MACHINE_FIRMWARE_append_mx51 = " firmware-imx-vpu-imx51
firmware-imx-sdma-imx51"
+MACHINE_FIRMWARE_append_mx8mm = " linux-firmware-imx-sdma-imx7d"
MACHINE_FIRMWARE_append_mx8mp = " firmware-imx-easrc-imx8mn
firmware-imx-xcvr-imx8mp firmware-sof-imx"
MACHINE_FIRMWARE_append_use-mainline-bsp = "
linux-firmware-imx-sdma-imx6q linux-firmware-imx-sdma-imx7d
firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d"

So I did build of core-image-minimal with local.conf containing MACHINE_FIRMWARE = 'MACHINE_FIRMWARE_append_mx7d' and still got the sdma errors.

No firmware-imx packages were installed and no /lib/firmware directory created so I guess that explains why.

Now I'm off trying core-image-base. I'll comment out:

MACHINE_FIRMWARE = 'MACHINE_FIRMWARE_append_mx7d'

... and try that first.
Brian,
Did you try Otavio's patch? Would be curious to know if that solved
the absence of SDMA FW package for you.


Mush Ryzen 9 3900x, mush!



--
Regards,
Andrey.

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.