I updated today to the latest fenix from github and compiled a SD-USB image for kernel 4.9, ubuntu focal, xfce. The system works well but the inception_v3 NPU demo now segfaults. It used to work about a month ago with the same build settings.
I see in the recent git logs that the NPU kernel driver was updated, but the demo binary from gitlab seems older. Maybe it just needs to be recompiled and posted to gitlab aml_npu_demo_binaries again?
here is a trace when I run inception_v3 in gdb:
Starting program: /root/aml_npu_demo_binaries/inceptionv3/VIM3/inceptionv3 inception_v3.nb …/goldfish_299x299.jpg
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/aarch64-linux-gnu/libthread_db.so.1”.
[New Thread 0x7fb591a1c0 (LWP 4970)]
E [_init_tensor:393]Create vx tensor fail.
E [vsi_nn_copy_tensor_patch:2095]Invalid parameter
E [vsi_nn_FillTensorWithValue:575]Copy data to tensor fail
E [_create_tensor:463]Create vx tensor fail.
Thread 1 “inceptionv3” received signal SIGSEGV, Segmentation fault.
0x0000007fb68a7f14 in vsi_nn_DumpGraphToJson () from /lib/libovxlib.so