Jump to content

H5 + OpenCV + NEON


cavricks

Recommended Posts

Hello,

 

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?

Link to comment
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.

Link to comment
Share on other sites

On 11/14/2019 at 9:36 AM, cavricks said:

Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid

 

Can somebody help me enabling NEON and VFPV flags?

 

Read the Flags... 

 

It's there - https://developer.arm.com/architectures/instruction-sets/simd-isas/neon/neon-programmers-guide-for-armv8-a/introducing-neon-for-armv8-a/fundamentals-of-armv8-neon-technology

 

 

Link to comment
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!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines