On Fri, 2020-03-27 at 08:00 +0000, Silvano Di Ninno wrote:
Hello Volodymyr,
If you would like to boot on i.MX 8QM MEK board you best option I would say is to go with the yocto receipe you will find on Code aurora. You can use imx-5.4.3-2.0.0.xml manifest that you will find there https://source.codeaurora.org/external/imx/imx-manifest/tree/?h=imx-linux-ze... You will be able to generate a complete image with Linux and file system If you do not want everything you will be able to generate a boot binary (imx-boot) that you give you everything to boot up to a u-boot prompt.
On QM the boot is slightly different than on the MQ that Rouven described below as the System Controller is controlling the boot sequence. Also as you may have understood, we do not use barebox as bootloader but u-boot.
Oh, my bad, I misread QM as MQ. The naming scheme this generation is quite confusing. IMO its best to go with the YOCTO BSP too, since this solves a lot of moving parts problems in the build. Barebox does not Support i.MX8Q* currently.
If you want to go that route then the step you should follow the guide https://source.codeaurora.org/external/imx/imx-manifest/tree/README?h=imx-li... In you specific case the MACHINE= imx8qmmek and DISTRO=fsl-imx-xwayland
Finally a bitbake core-image-minimal will give you that simple sdcard image ready to boot bitbake imx-boot will give you a boot image to be burn in the sdcard
once you have that up and running, you may be able to look at the recipe available in yocto to understand how the image is construct.
hope it helps Silvano
Regards, Rouven