I have an iMX8 mini yocto build for a custom board. I have defined a custom MACHINE in our custom meta-bsp layer (ex:imx8mmcustom.conf) in the conf file I pretty much cloned the entries from the iMX8m mini evk.
Now I would like to replace the imx-m4-demo files with my custom-m4.bin file.
I am not sure how or where to add a layer/recipe with a .bbappend which will add my custom M4 file that will be included in the image/ sd card image generation.
Can someone help?
Hello David Vescovi,
The code that installs the binaries is located at:
<BSP_DIR>/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/m4-demos/imx-m4-demos-2.inc
You may append the recipe that inherits this file, which is the following, as to make it include the changed files.
<BSP_DIR>/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/m4-demos/imx-m4-demos_2.5.0.bb
The BSP porting guide available as part of the BSP Release documentation and the Yocto Reference Manual are good sources for more details on customizing your BSP.
https://www.yoctoproject.org/docs/2.5/ref-manual/ref-manual.html
I hope this helps!
Regards,