cavricks Posted November 14, 2019 Posted November 14, 2019 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?
Igor Posted November 14, 2019 Posted November 14, 2019 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.
sfx2000 Posted November 17, 2019 Posted November 17, 2019 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
cavricks Posted November 19, 2019 Author Posted November 19, 2019 On 11/17/2019 at 4:52 AM, sfx2000 said: 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 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!
Recommended Posts