Hi team,
Customer has the following questions and need help.
==============================================================================================================================
n Desay TDA4VM mass production board (not TDA4 EVM development board), which the board environment is qnx710/aarch64 (A72), I calls opencv4.3.0 libraries enabled NEON and compiled with qnx710 toolchain. But errors are reported as follows: This opencv build doesn't support current CPU/HW configuration. ID=100(NEON) – NOT AVAILABLE。 What are the possible reasons?
The tests I have done are as follows:
- I used the demo program to call the opencv library that enables neon running in the Qualcomm SA8155 QNX board, it’s OK and no error. But the same program will report an error in the tda4 QNX board.: This opencv build doesn't support current CPU/HW configuration. NEON – NOT AVAILABLE
- I recompiled the opencv source code with qnx710 and added the compilation option:-DENABLE_NEON=OFF, turn off neon actively. And then I use the same program to run in TDA44 qnx710 board. it’s OK and no error.
Analysis: The opencv Library enabled neon can run in Qualcomm sa8155 qnx board, but it cannot run in tda4 qnx board. However, The opencv Library not enabled neon can run in tda4 qnx board. Then we suspect that the running environment in tda4 board may cause the bug. Possible reasons are as follows:
- Maybe there is a problem with TDA4 SOC BSP?
- Or there is a problem with the customized qnx710 system running on the tda4 board. One of the two reasons does not enable neon, so the opencv library with neon cannot run on tda4 SOC.
I want to know what are the possible reasons?
The demo program is as follows: opencv_neon_test.cpp
#include <opencv2/opencv.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/highgui.hpp>
using namespace cv;
int main(int argc, char const *argv[])
{
cv::Mat src_img = cv::imread("./01.jpg", IMREAD_COLOR);
// cv::imshow("src", src_img);
// cv::waitKey(0);
cv::imwrite("src.jpg", src_img);
printf("OPENCV API TEST SUCCESS");
return 0;
Thanks,
Annie