Hello,
Release: yocto imx-6.1.55-2.2.0.xml
Board: i.MX8MM-evk
compile: DISTRO=fsl-imx-xwayland MACHINE=imx8mm-lpddr4-evk source imx-setup-release.sh -b build-xwayland-imx8mmevk-imx-gui
bitbake core-image-minimal
I now need to separate the image packaging module from yocto so that I can develop it more flexibly. I will copy the core-image-minimal from yocto , So I did the following:
1) cp /mnt/data/alan/grace_imx8mm/imx-yocto-bsp/build-xwayland-imx8mmevk-imx-gui/tmp/work/imx8mm_lpddr4_evk-poky-linux/core-image-minimal ~ -r
2) Modify the absolute path of the script vi ~/ core-image-minimal/1.0-r0/temp/run.do_image_wic for creating the xxx.wic.zst file, and replace /mnt/data/alan/grace_imx8mm/imx-yocto-bsp/build-xwayland-imx8mmevk-imx-gui/tmp/work/imx8mm_lpddr4_evk-poky-linux/core-image-minimal with ~/core image mini~/core-image-minimal
3) Modify environment variables:/mnt/data/alan/grace_imx8mm/imx-yocto-bsp/build-xwayland-imx8mmevk-imx-gui/tmp/sysroots/imx8mm-lpddr4-evk/imgdata/core-image-minimal.env
repace /mnt/data/alan/grace_imx8mm/imx-yocto-bsp/build-xwayland-imx8mmevk-imx-gui/tmp/work/imx8mm_lpddr4_evk-poky-linux/core-image-minimal with ~/core-image-minimal
4) Run script run.do_image_wic,generate core-image-minimal-imx8mm-lpddr4-evk-20240408092645.rootfs.wic
Then I burned core-image-minimal-imx8mm-lpddr4-evk-20240408092645.rootfs.wic and imx-boot-imx8mm-lpddr4-evk-sd.bin-flash_evk(uboot),But when I started, I encountered the following problem:

After I log in, enter the command:systemctl status system-resolved.service

I have checked all failed services:

What should I do to replace $IMAGE_ROOTFS in core-image-minimal.env, so that the system can start normally?
Looking forward to your reply