# edk2 error when build system image for VOXL 2

Source: https://forum.modalai.com/topic/4701/edk2-error-when-build-system-image-for-voxl-2
Category: VOXL 2 and VOXL 2 Mini (https://forum.modalai.com/category/26/voxl-2-and-voxl-2-mini)
Tags: voxl-2
Posted: 2025-08-26 05:01:36 UTC by Guest
Replies: 0 · Views: 229

## Guest · 2025-08-26 05:01:36 UTC

Hi ModalAI Team!
I get an error when building the system image for VOXL 2 related to edk2 like below:
ERROR: Task (/yocto_build/qrb5165-voxl2_build-dir_v1.8.02/poky/meta-qti-bsp/recipes-kernel/edk2/edk2_git.bb:do_compile) failed with exit code '1'

I used qrb5165-kernel-build-docker and replaced the following 3 lines:
bitbake linux-msm -c cleanall
bitbake linux-msm
bitbake qti-ubuntu-robotics-image -fc do_make_bootimg
To:
bitbake qti-ubuntu-robotics-image

to create the desired system image with output have qti-ubuntu-robotics-image-m0054-sysfs.ext4 but fail and I get error like above.

What can I do to fix this error?
I want to build a system image so that the output has both qti-ubuntu-robotics-image-m0054-sysfs.ext4 and qti-ubuntu-robotics-image-m0054-boot.img
Please help me!
