Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
32 Views

ARMv6 build of the inference engine and Myriad plugin

Hi,

Any chance of having an **armv6l** build of the inference engine ? Is there any limitations that prevent it from being just a recompilation with the appropriate flags ?

I'd like to get an NCS working on a Raspberry Pi Zero, which architecture is ARMv6.

Many thanks,
Simon

0 Kudos
13 Replies
Highlighted
32 Views

Hi, Simon!

As you can see there are two libraries in the package: OpenCV and Inference Engine. OpenCV's cross compilation toolchain is just more flexible for now and as far as I know, you can run OpenCV from OpenVINO for RPI package as with ARMv7 as with ARMv6 (let me check it this weekend).

 

I think the problem for now is to align OpenCV and Inference Engine toolchains and in the future releases we can rename raspbian_9/armv7l to raspbian_9/armhf.

0 Kudos
Highlighted
Beginner
32 Views

Hi Dmitry !

Thanks a lot for your answer !

Just to give you some context, I'm trying to run the object detection sample from this installation guide on a Raspberry Pi Zero (which is armv6 instead of armv7 as required by the guide). So I'm not using OpenCV for now.

Do you mean I should be able to run the examples on my Pi Zero with a Neural Compute Stick 1 ? Correct me if I'm mistaken but the Myriad plugin shared library used by the inference engine has been compiled for armv7 processors. If that is not the case, that means I have a compilation issue on my side and I should be able to solve it.

0 Kudos
Highlighted
32 Views

Simon,

Most likely you'll catch "Illegal instruction" error if you'll try to run Inference Engine binaries on ARMv6.

I haven't tried to replace "-march=armv7-a" to something different so I cannot say if there is a workaround. For now OpenVINO package for ARM is tested only for ARMv7 CPU arch (can be checked from output of "cat /proc/cpuinfo").

If you'll able to run it - please share your steps so we can add it to the guide.

0 Kudos
Highlighted
Beginner
32 Views

Thanks for your insight Dmitry. Indeed I tried to build the samples with the proper march flag it and caught the "Illegal instruction" error. :(

I'm now trying to recompile the inference engine from the Github repository with the proper architecture and I'll just drop the precompiled Myriad plugin in there... I don't have much hope though.

So my initial question remains but is more narrowed down I think: would it be possible to release an ARMv6 version of the Myriad plugin for which we don't have access to the source code ?

0 Kudos
Highlighted
32 Views

Simon, so let's wait for the future releases. I either have two RPI boards with ARMv6 and two Google AIY Vision Kits (RPI Zero) so I'd like to use OpenVINO with it.

 

As for me, even with access to the source code it's better to have pre-built binaries.

0 Kudos
Highlighted
Beginner
32 Views

Any idea on a possible release date ? We are on a rather tight schedule so I might need to evaluate alternative solutions in the mean time.

0 Kudos
Highlighted
32 Views

Simon, I haven't seen any release schedules yet. I just can promise that I'll try to test current package with ARMv6 on weekends.

0 Kudos
Highlighted
Beginner
32 Views

OK, thanks a lot Dmitry ! :) I'll let you know if I manage to get the current package working.

0 Kudos
Highlighted
Beginner
32 Views

Would be very interested in armv6 support too. For now, OpenVino seems like a regression compared to the NCSDK when it comes to Movidius NCS support.

0 Kudos
Highlighted
32 Views

Hi Simon and Julien!

According to this page: https://wiki.debian.org/RaspberryPi we cannot use Debian 9 image (which was used for cross-compilation of current RPI package) for armv6. That means current release of OpenVINO for Raspberry Pi works only with Raspberry Pi 2 and Raspberry Pi 3 (ARMv7 CPU as mentioned in the install guide).

0 Kudos
Highlighted
Beginner
32 Views

julien_c wrote:

Would be very interested in armv6 support too. For now, OpenVino seems like a regression compared to the NCSDK when it comes to Movidius NCS support.

Better for compiling networks, worse for running them, I agree on that!

0 Kudos
Highlighted
Beginner
32 Views

Hello,

Any update on this ?

 

Best,

0 Kudos
Highlighted
Beginner
32 Views

Hi Dmitry Kurtaev (Intel),

I am also curious about armv6 build. Is it possible or should not we expect in the near future?

Thank you.

Regards,

Laci

0 Kudos