I’m building a yocto linux image for my Genio 520 EVK using the instructions here: Build Genio 720/520 EVK Images from Latest IoT Yocto v25.1-dev
I’m interested in adding the ONNX runtime to my image using the mediatek-experimental-layer mentioned here: ONNX Runtime — IoT Yocto documentation
However, I get the error below. In the link above, step 4 mentions ‘Add the following to your local.conf: " onnxruntime onnxruntime-examples onnxruntime-staticdev "
I have removed " onnxruntime-staticdev " from the image and have successfully built the image.
Is " onnxruntime-staticdev " necessary? What will I be missing?
ERROR: rity-demo-image-1.0-r0 do_rootfs: Unable to install packages. Command ‘/home/nimisht/iot-yocto/build/tmp/work/genio_720_evk-poky-linux/rity-demo-image/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /home/nimisht/iot-yocto/build/tmp/work/genio_720_evk-poky-linux/rity-demo-image/1.0/opkg.conf -t /home/nimisht/iot-yocto/build/tmp/work/genio_720_evk-poky-linux/rity-demo-image/1.0/temp/ipktemp/ -o /home/nimisht/iot-yocto/build/tmp/work/genio_720_evk-poky-linux/rity-demo-image/1.0/rootfs --force_postinstall --prefer-arch-to-version install autotest-suite ax88179 base-passwd benchmark-suite gstreamer1.0-meta-audio gstreamer1.0-meta-base gstreamer1.0-meta-debug gstreamer1.0-meta-video gstreamer1.0-python ite-it6510-driver lontium-lt6911-driver ltp maxim-serdes-driver onnxruntime onnxruntime-examples onnxruntime-staticdev opkg packagegroup-base packagegroup-base-extended packagegroup-core-base-utils packagegroup-core-boot packagegroup-core-full-cmdline packagegroup-core-ssh-dropbear packagegroup-rity-ai-ml packagegroup-rity-audio-extended packagegroup-rity-debug packagegroup-rity-debug-extended packagegroup-rity-devel-extended packagegroup-rity-display-extended packagegroup-rity-graphics packagegroup-rity-mtk-neuropilot packagegroup-rity-mtk-video packagegroup-rity-multimedia-extended packagegroup-rity-net-extended packagegroup-rity-optee-extended packagegroup-rity-tools packagegroup-rity-tools-extended packagegroup-rity-zeroconf-extended packagegroup-tools-bluetooth python3-opencv python3-pip rity-demo-opencl run-postinsts shadow stress-scripts u-boot-env’ returned 255:
-
opkg_prepare_url_for_install: Couldn’t find anything to satisfy ‘onnxruntime-staticdev’.
ERROR: Logfile of failure stored in: /home/nimisht/iot-yocto/build/tmp/work/genio_720_evk-poky-linux/rity-demo-image/1.0/temp/log.do_rootfs.1262256ERROR: Task (/home/nimisht/iot-yocto/src/poky/../meta-rity/meta-rity-demo/recipes-demo/images/rity-demo-image.bb:do_rootfs) failed with exit code ‘1’