NPU Quick Verification failure on Fogwise Airbox Q900

Following these instructions, I get an error on the qnn-net-run command:

(.venv) radxa@airbox:~/npu_quickverification$ export PRODUCT_SOC=9075
(.venv) radxa@airbox:~/npu_quickverification$ cd resnet50_qairt/${PRODUCT_SOC}
(.venv) radxa@airbox:~/npu_quickverification/resnet50_qairt/9075$ chmod +x qnn-net-run
(.venv) radxa@airbox:~/npu_quickverification/resnet50_qairt/9075$ ./qnn-net-run --backend ./libQnnHtp.so --retrieve_context ./resnet50_aimet_quantized_${PRODUCT_SOC}.bin --input_list ./test_list.txt --output_dir output_bin
qnn-net-run pid:22569
qnn-net-run build version: v2.37.1.250807093845_124904
qnn-net-run log level is : QNN_LOG_LEVEL_ERROR
 <W> Initializing HtpProvider
Processing inference input(s):
../data/test/crop/ILSVRC2012_val_00003441.raw
../data/test/crop/ILSVRC2012_val_00008465.raw
../data/test/crop/ILSVRC2012_val_00010218.raw
../data/test/crop/ILSVRC2012_val_00044076.raw
    12.7ms [ ERROR ]  <E> createUnsignedPD unsigned PD or DSPRPC_GET_DSP_INFO not supported by HTP

    12.9ms [ ERROR ]  <E> DspTransport.openSession qnn_open failed, 0x00000072, prio 100

    12.9ms [ ERROR ]  <E> DspTransport.getHandle failed, error 0x00000007

    12.9ms [ ERROR ]  <E> createDspTransportInstance failed to config transport object

    12.9ms [ ERROR ]  <E> error in creation of transport instance

    12.9ms [ ERROR ]  <E> Failed to create transport for device, error: 1002

    12.9ms [ ERROR ]  <E> Failed to load skel, error: 1002

    12.9ms [ ERROR ]  <E> Transport layer setup failed: 14001

    13.0ms [ ERROR ]  <E> Failed to parse default platform info: 14001

    13.0ms [ ERROR ]  <E> Failed to load default platform info: 14001

    13.0ms [ ERROR ]  <E> Failed to parse platform config: 14001

Device Creation failure
 <W> Backend 1 free cleanup called during process exit

The machine is fresh out of the box, with very little setup other than connecting to the net and accepting software updates. One of which seems to be a kernal update that failed, don’t know if that’s related:

(.venv) radxa@airbox:~$ sudo dpkg --configure -a
[sudo] password for radxa:
Setting up linux-image-6.8.0-1056-qcom (6.8.0-1056.57) …
Processing triggers for linux-image-6.8.0-1056-qcom (6.8.0-1056.57) …
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.8.0-1056-qcom
/etc/kernel/postinst.d/zz-qcom-dtb:
mount: /tmp/mnt/qcom-dtb: can’t read superblock on /dev/sde6.
dmesg(1) may have more information after failed mount system call.
run-parts: /etc/kernel/postinst.d/zz-qcom-dtb exited with return code 32
dpkg: error processing package linux-image-6.8.0-1056-qcom (–configure):
installed linux-image-6.8.0-1056-qcom package post-installation script subprocess returned error exit status 32
Errors were encountered while processing:
linux-image-6.8.0-1056-qcom

with dmesg outputting



[ 4604.839649] FAT-fs (sde6): logical sector size too small for device (logical sector size = 512)

Any assistance appreciated.

1 Like

try

sudo chmod 777 /dev/fastrpc-cdsp
sudo chmod 666 /dev/dma_heap/system

also check if /usr/lib/dsp directory exists
sudo cp -r /usr/share/qcom/sa8775p/Qualcomm/SA8775P-RIDE/dsp /usr/lib if not

Thank you, but same result. Also if I sudo the command. I’m going to try to recover a clean system state following this and then try again, while carefully avoiding accepting any updates.

1 Like

I successfully reinstalled the system and then the quick verification worked. Probably accepting Ubuntu’s offer to update things broke the device tree.

1 Like