H5 + OpenCV + NEON

Recommended Posts



I've been trying to compile armbian for my OrangePI Zero Plus H5 with NEON and VFPV support for OpenCV .


If I use the providede default image from OrangePI I can see that NEON and VFPV are enabled with lscpu command. 


When compiling armbian from source or downloading the pre-compiled images, I see the following:


root@orangepizeroplus2:~# lscpu
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
NUMA node(s):        1
Vendor ID:           ARM
Model:               4
Model name:          Cortex-A53
Stepping:            r0p4
CPU max MHz:         816.0000
CPU min MHz:         120.0000
BogoMIPS:            48.00
NUMA node0 CPU(s):   0-3
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid


Can somebody help me enabling NEON and VFPV flags?

Share this post

Link to post
Share on other sites
1 hour ago, cavricks said:

When compiling armbian from source

It's normal. We use modern kernel (mainline + hundreds of patches) where features are ported step by step. This process is slow, expensive and its not finished ... some features are never ported and there is nothing we can do about. If you need this - use old kernel with all the bugs and without any support or invest into R&D. Third option is waiting.

If feature exists, but its not enabled do some research how to enable it.

Share this post

Link to post
Share on other sites
On 11/17/2019 at 4:52 AM, sfx2000 said:


Thanks for this reply!

Indeed, as the link you provided says, for Aarch64 the flag "asimd" stands for NEON too.

I have just compiled OpenCV with neon and it was imported without any problems.


Many thanks!

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.