Hi,
I formatted a 100GB USB drive with the ext4 filesystem to build Yocto images using the instruction in this doc:
https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf
I built a configuration environment using the fslc-xwayland distro and the imx8mm-ddr4-evk machine.
Then, I attempted at doing to be conservative with disk space.:
bitbake core-image-minimal
Unfortunately, after hours of waiting, I see that 1 task failed:
ERROR: Task (/media/ernesto/yocto_imgs/imx-yocto-bsp/sources/meta-freescale/recipes-kernel/linux/linux-fslc-imx_5.4.bb:do_compile) failed with exit code '1'.
Before that essage, I also get these:
...
| MODINFO modules.builtin.modinfo
| LD .tmp_vmlinux.kallsyms1
| KSYM .tmp_vmlinux.kallsyms1.o
| LD .tmp_vmlinux.kallsyms2
| KSYM .tmp_vmlinux.kallsyms2.o
| LD vmlinux
| SORTEX vmlinux
| SYSMAP System.map
| OBJCOPY arch/arm64/boot/Image
| DTC arch/arm64/boot/dts/freescale/imx8mm-ddr4-evk.dtb
| make[2]: *** No rule to make target 'arch/arm64/boot/dts/freescale/imx8mm-ddr4-evk-revb-rm67199.dtb'. Stop.
| make[1]: *** [/media/ernesto/yocto_imgs/imx-yocto-bsp/build_fslc-xwayland_imx8mm-ddr4-evk/tmp/work-shared/imx8mm-ddr4-evk/kernel-source/Makefile:1270: freescale/imx8mm-ddr4-evk-revb-rm67199.dtb] Error 2
| make: *** [/media/ernesto/yocto_imgs/imx-yocto-bsp/build_fslc-xwayland_imx8mm-ddr4-evk/tmp/work-shared/imx8mm-ddr4-evk/kernel-source/Makefile:179: sub-make] Error 2
| WARNING: exit code 1 from a shell command.
From what I gather, bitbake fails to compile those sources. What can I do to solve this?
Hello icemb,
Sorry you have to erase everything and start rebuilding that whole yocto but you need at least 200GB in the host.
Regards