XM 2280 Installation Issue on OpenVINO 2020.4 with Ubuntu 18.04

Options
thamml
thamml New Member Posts: 1

I need an assistance on installing XM 2280 and running HDDL on OpenVINO.
My OS is Linux version 5.4.0-48-generic (buildd@lcy01-amd64-023) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04))

I completed installation according to
https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_linux.html#install-openvino
and successful run demo_security_barrier_camera.sh on 1. CPU 2. GPU and 3. MYRIAD* (on either Neural Stick 2 or XM 2280). * I tested them separately by unplugging one.

I proceed with the steps for the VPU installation
https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_linux_ivad_vpu.html but FAIL.

Here is the error I obtain.

root@thamml-NUC8i7BEH:/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl# ./
bin/ etc/ include/
config/ generate_udev_rules.sh install_IVAD_VPU_dependencies.sh
drivers/ hddl-bsl/ lib/
root@thamml-NUC8i7BEH:/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl# ./
bin/ etc/ include/
config/ generate_udev_rules.sh install_IVAD_VPU_dependencies.sh
drivers/ hddl-bsl/ lib/
root@thamml-NUC8i7BEH:/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl# ./install_IVAD_VPU_dependencies.sh
Can't get HDDL_INSTALL_DIR env. Please source your_openvino_intall_path/openvino/bin/setupvars.sh before running.
root@thamml-NUC8i7BEH:/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl# source /opt/intel/openvino/bin/setupvars.sh
[setupvars.sh] OpenVINO environment initialized
root@thamml-NUC8i7BEH:/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl# ./install_IVAD_VPU_dependencies.sh
Ubuntu18.04
Reading package lists... Done
Building dependency tree
Reading state information... Done
libboost-program-options1.65.1 is already the newest version (1.65.1+dfsg-0ubuntu5).
libusb-1.0-0 is already the newest version (2:1.0.21-2).
libelf-dev is already the newest version (0.170-0.4ubuntu0.1).
libjson-c3 is already the newest version (0.12.1-1.3ubuntu0.3).
libssl1.0.0 is already the newest version (1.0.2n-1ubuntu5.4).
libudev1 is already the newest version (237-3ubuntu10.42).
The following packages were automatically installed and are no longer required:
gir1.2-geocodeglib-1.0 libegl1-mesa libfwup1 libllvm8 ubuntu-web-launchers
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Copying to /etc/udev/rules.d/98-hddlbsl.rules
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Running install for component drv_vsc
if [[ "" != "" ]]; then sudo rmmod myd_vsc; fi;
make[1]: Entering directory '/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc'
rm -f .o *.ko *.order *.mod.c *.symvers ..cmd
rm -rf .tmp_versions
make[1]: Leaving directory '/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc'
make[1]: Entering directory '/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc'
make -C /lib/modules/uname -r/build M=$PWD ccflags-y+=
make[2]: Entering directory '/usr/src/linux-headers-5.4.0-48-generic'
AR /opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc/built-in.a
CC [M] /opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc/myd_vsc.o
Building modules, stage 2.
MODPOST 1 modules
CC [M] /opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc/myd_vsc.mod.o
LD [M] /opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc/myd_vsc.ko
make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-48-generic'
make[1]: Leaving directory '/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/external/hddl/drivers/drv_vsc'
mkdir -p /lib/modules/5.4.0-48-generic/kernel/drivers/myd/
cp myd_vsc.ko /lib/modules/5.4.0-48-generic/kernel/drivers/myd/myd_vsc.ko
Driver myd_vsc.ko is installed to /lib/modules/5.4.0-48-generic/kernel/drivers/myd/myd_vsc.ko
sudo depmod
modprobe: ERROR: could not insert 'myd_vsc': Operation not permitted
Makefile:74: recipe for target 'install' failed
make: *** [install] Error 1
Fail: myd_vsc don't been loaded!

Kindly advise.
Tham

Comments

  • DCleri
    DCleri Administrator, AAEON Posts: 1,213 admin
    Options

    At the moment we have tested up to OpenVINO 2020.3 LTS on our boards with our supported kernel 5.0 on Ubuntu 18.04.

    We will release later this year an updated kernel based on the 5.4 from Ubuntu and test it with newer OpenVINO releases.

    At this moment you can check on the Intel communities if they are aware of any incompatibilities between their release of OpenVINO 2020.4 and the Ubuntu kernel 5.4