Step 1: Image installation and Setup
OS: R1
radxa@radxa-dragon-q6a:~$ sudo dmidecode -s bios-version
6.0.260120.BOOT.MXF.1.0.1-00549-KODIAKWP-1
dd if=radxa-dragon-q6a_noble_gnome_r1.output_512.img of=/dev/sda bs=4M status=progress, where /dev/sda is the SD card that will be installed on the board
For BIOS settings, UEFI device tree loading is enabled, Hypervisor override is enabled.
Everything else is the default. (Even if I put hypervisor override as default, it still returned the same error.)
I have also tried updating the system with rsetup with no avail.
Step 2: Enable NPU
sudo apt update
sudo apt install fastrpc fastrpc-dev libcdsprpc1 radxa-firmware-qcs6490
didn’t return any errors.
Output
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
radxa-firmware-qcs6490 is already the newest version (0.2.28).
radxa-firmware-qcs6490 set to manually installed.
The following NEW packages will be installed:
fastrpc fastrpc-dev libcdsprpc1
0 upgraded, 3 newly installed, 0 to remove and 31 not upgraded.
Need to get 160 kB of archives.
After this operation, 904 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 README qcs6490-noble/main arm64 fastrpc arm64 1.0.3-1 [4,728 B]
Get:2 README qcs6490-noble/main arm64 fastrpc-dev arm64 1.0.3-1 [24.0 kB]
Get:3 README qcs6490-noble/main arm64 libcdsprpc1 arm64 1.0.3-1 [132 kB]
Fetched 160 kB in 1s (216 kB/s)
Selecting previously unselected package fastrpc.
(Reading database … 99021 files and directories currently installed.)
Preparing to unpack …/fastrpc_1.0.3-1_arm64.deb …
Unpacking fastrpc (1.0.3-1) …
Selecting previously unselected package fastrpc-dev.
Preparing to unpack …/fastrpc-dev_1.0.3-1_arm64.deb …
Unpacking fastrpc-dev (1.0.3-1) …
Selecting previously unselected package libcdsprpc1.
Preparing to unpack …/libcdsprpc1_1.0.3-1_arm64.deb …
Unpacking libcdsprpc1 (1.0.3-1) …
Setting up fastrpc (1.0.3-1) …
Setting up libcdsprpc1 (1.0.3-1) …
Setting up fastrpc-dev (1.0.3-1) …
Processing triggers for libc-bin (2.39-0ubuntu8.6) …
Scanning processes…
Scanning processor microcode…
Scanning linux images…
Running kernel seems to be up-to-date.
The processor microcode seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
Step 3: NPU Quick Verification
Everything up until qnn-net-run didn’t return any errors.
qnn-net-run returned the following:
(.venv) radxa@radxa-dragon-q6a:~/resnet50_qairt/6490$ ./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:2323
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
14.9ms [ ERROR ] <E> DspTransport.openSession qnn_open failed, 0x80000600, prio 100
14.9ms [ ERROR ] <E> DspTransport.getHandle failed, error 0x0000000f
15.0ms [ ERROR ] <E> createDspTransportInstance failed to config transport object
15.1ms [ ERROR ] <E> error in creation of transport instance
15.1ms [ ERROR ] <E> Failed to create transport for device, error: 1002
15.1ms [ ERROR ] <E> Failed to load skel, error: 1002
15.1ms [ ERROR ] <E> Transport layer setup failed: 14001
15.2ms [ ERROR ] <E> Failed to parse default platform info: 14001
15.2ms [ ERROR ] <E> Failed to load default platform info: 14001
15.2ms [ ERROR ] <E> Failed to parse platform config: 14001
Device Creation failure
<W> Backend 1 free cleanup called during process exit
journalctl -b
Had the following relevant logs:
Journalctl Logs
Feb 13 16:47:58 radxa-dragon-q6a qnn-net-run[2323]: fastrpc_apps_user.c:4170: fastrpc_apps_user_init done. default domain:3 and &fastrpc_trace:0xffff959325c0
Feb 13 16:47:58 radxa-dragon-q6a qnn-net-run[2323]: fastrpc_apps_user.c:4291: multidsplib_env_init: libcdsprpc.so loaded
Feb 13 16:47:58 radxa-dragon-q6a qnn-net-run[2323]: fastrpc_apps_user.c:2668: remote_session_control Unsigned PD enable 1 request for domain 3
Feb 13 16:47:58 radxa-dragon-q6a qnn-net-run[2323]: fastrpc_apps_user.c:2645: remote_session_control DSP info request for domain 3, thread priority -1, stack size 17408
Feb 13 16:47:58 radxa-dragon-q6a qnn-net-run[2323]: apps_std_imp.c:1062: Successfully opened file /usr/lib/dsp/cdsp/fastrpc_shell_unsigned_3
Feb 13 16:47:58 radxa-dragon-q6a qnn-net-run[2323]: fastrpc_apps_user.c:3328: close_device_node: closed dev 5 on domain 3
Feb 13 16:47:58 radxa-dragon-q6a qnn-net-run[2323]: fastrpc_apps_user.c:3800: Error 0x80000600: remote_init failed for domain 3, errno Success, ioErr -2147482112
Feb 13 16:47:58 radxa-dragon-q6a qnn-net-run[2323]: fastrpc_apps_user.c:4009: Error 0x80000600: domain_init (-1) failed for domain 3 (errno Success)
Feb 13 16:47:58 radxa-dragon-q6a qnn-net-run[2323]: fastrpc_apps_user.c:1829: Error 0x80000600: remote_handle64_open failed for file:///libQnnHtpV68Skel.so?qnn_skel_handle_invok>
Feb 13 16:47:58 radxa-dragon-q6a qnn-net-run[2323]: fastrpc_apps_user.c:4063: fastrpc_apps_user_deinit done