Hello all,
I want to flash the latest linux 6 kernel, on my imx8qm board.
The file uuu.auto-imx8qmmek is working, the linux is flashed to emmc, but how can I use the uuu.xen? there is no information on how to use, and inside of it there are references to "_flash" things that the zip package with the images does not contain.
Can somebody explain it to me? or send a working reference script?
Br,
this script should be useful, if you uses the nxp prebuilt images, it seems the package doesn't include all of images for XEN, the "_flash" in the script stands for uboot image, you can use "imx-boot-imx8qmmek-sd.bin-flash" to replace it, but you still need to use "fsl-imx8qm-mek-dom0.dtb", so you need built your own images according to the yocto user guide
the script is just for reference, if you need to use it, replace "_flash.bin" by "imx-boot-imx8qmmek-sd.bin-flash", I haven't built imx8qm on my work station now, you can build the imx8qm board according to the yocto user guide, after finish building, you can check if your bsp has XEN or not, you should find "fsl-imx8qm-mek-dom0.dtb" there, add this in the script too, another option is building standalone xen package, this example is for 4.9 change it according to your own bsp version
−Env:
−Linux Kernel
−U-Boot
−ATF
−Scfw
−imx-mkimage
−XEN
I checked the xen source code, it seems that this doesn't new bsp anymore,
https://github.com/nxp-imx/imx-xen/tree/lf-5.10.y_2.0.0
but we released demo images for 4.14.98, maybe you can test that
Embedded Linux for i.MX Applications Processors | NXP Semiconductors
this is demo images
L_VIRT_4.11_0.10_ga_MX8QM (nxp.com)
this is user guide, you can follow that