Dear all,
I am using the evaluation kit of the i.MX8 nano ( 8MNANOOD4-EVK).
I have managed to build a Yocto image that boots from SD CARD.
Now i am trying to build a Yocto image that could be flashed into the evaluation kit eMMC memory.
I read both i.MX Linux® User's Guide and i.MX Yocto Project User's Guide documentations.
I updated the local.conf file as follows: echo "UBOOT_CONFIG = \"emmc\"" >> conf/local.conf
Use the following commands to build an image from scratch:
1. DISTRO=fsl-imx-xwayland MACHINE=imx8mnevk source imx-setup-release.sh -b xwayland_build
2. bitbake imx-image-full
Got the following errors:
ERROR: imx-boot-0.2-r0 do_compile: Execution of '/usr/nissim/imx-yocto-bsp/xwayland_build/tmp/work/imx8mnevk-poky-linux/imx-boot/0.2-r0/temp/run.do_compile.27741' failed with exit code 1:
cp: cannot stat '/usr/nissim/imx-yocto-bsp/xwayland_build/tmp/deploy/images/imx8mnevk/u-boot-spl.bin-imx8mnevk-emmc': No such file or directory
WARNING: exit code 1 from a shell command.
ERROR: Logfile of failure stored in: /usr/nissim/imx-yocto-bsp/xwayland_build/tmp/work/imx8mnevk-poky-linux/imx-boot/0.2-r0/temp/log.do_compile.27741
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: 8MQ/8MM boot binary build
| NOTE: Copy ddr_firmware: ddr4_imem_1d_201810.bin from /usr/nissim/imx-yocto-bsp/xwayland_build/tmp/deploy/images/imx8mnevk -> /usr/nissim/imx-yocto-bsp/xwayland_build/tmp/work/imx8mnevk-poky-linux/imx-boot/0.2-r0/git/iMX8M
| NOTE: Copy ddr_firmware: ddr4_dmem_1d_201810.bin from /usr/nissim/imx-yocto-bsp/xwayland_build/tmp/deploy/images/imx8mnevk -> /usr/nissim/imx-yocto-bsp/xwayland_build/tmp/work/imx8mnevk-poky-linux/imx-boot/0.2-r0/git/iMX8M
| NOTE: Copy ddr_firmware: ddr4_imem_2d_201810.bin from /usr/nissim/imx-yocto-bsp/xwayland_build/tmp/deploy/images/imx8mnevk -> /usr/nissim/imx-yocto-bsp/xwayland_build/tmp/work/imx8mnevk-poky-linux/imx-boot/0.2-r0/git/iMX8M
| NOTE: Copy ddr_firmware: ddr4_dmem_2d_201810.bin from /usr/nissim/imx-yocto-bsp/xwayland_build/tmp/deploy/images/imx8mnevk -> /usr/nissim/imx-yocto-bsp/xwayland_build/tmp/work/imx8mnevk-poky-linux/imx-boot/0.2-r0/git/iMX8M
| cp: cannot stat '/usr/nissim/imx-yocto-bsp/xwayland_build/tmp/deploy/images/imx8mnevk/u-boot-spl.bin-imx8mnevk-emmc': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/usr/nissim/imx-yocto-bsp/xwayland_build/tmp/work/imx8mnevk-poky-linux/imx-boot/0.2-r0/temp/run.do_compile.27741' failed with exit code 1:
| cp: cannot stat '/usr/nissim/imx-yocto-bsp/xwayland_build/tmp/deploy/images/imx8mnevk/u-boot-spl.bin-imx8mnevk-emmc': No such file or directory
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/usr/nissim/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-bsp/imx-mkimage/imx-boot_0.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5129 tasks of which 2881 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/usr/nissim/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-bsp/imx-mkimage/imx-boot_0.2.bb:do_compile
Please advice,
Nissim