Hello,
I am trying to replicate the tutorial below:
However, I realized that my board is running a significantly newer BSP than the one used in the tutorial, and I am encountering issues building the VX delegate required to use the NPU.
Device Information (tdx_info):
Software Summary:
Bootloader: U-Boot
Kernel version: 6.6.84-7.2.0-g87bfb710b6f1 #1-Torizon SMP PREEMPT Mon Mar 31 08:47:48 UTC 2025
Kernel command line: root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 ostree=/ostree/boot.1/torizon/157a467dd3b97eaebfbf6e17d0c8859fdd0abc1d397c637c6ecd808f79dc0260/0
Distro name: NAME=“Torizon OS”
Distro version: VERSION_ID=7.2.0-build.13
Distro variant: VARIANT=“Docker”
Hostname: verdin-imx8mp
Hardware info:
HW model: Toradex Verdin iMX8M Plus WB on Verdin Development Board
Toradex version: 0070 V1.1A
Processor arch: aarch64
The tutorial uses BSP 5.15 and corresponding lf-5.15.71_2.2.0 branches.
Since I am on BSP 7.2 (kernel 6.6), I updated the repositories to my branch version:
-
nn-imx
-
tim-vx-imx
-
tensorflow-imx
-
tflite-vx-delegate-imx
The build completes, but the required libraries for NPU inference are not generated:
-
libtim-vx.so -
libvx_delegate.so
Because of that, I cannot load the delegate:
tf.load_delegate('/usr/lib/libvx_delegate.so')
and inference falls back to CPU.
Is there an updated branch combination or build procedure for Torizon OS 7.2 / kernel 6.6?
Are additional patches or build flag changes required compared to the 5.15-based tutorial?
Is the delegate workflow still the recommended way to access the NPU on BSP 7.2 ? Has anyone successfully built the VX delegate?
Thank you.