Hello, everyone. I have been trying to make GC2083 and OV5647 sensors work on Duo-S simultaneously. I made some progress, but I found it difficult loading isp params(.bin file). It seems that CVI_BIN_ImportBinData can only load all sensors’ params at once(otherwise it will return 0xCB000016: Sensor number exceeds specified sensor number in bin file.), however, only separate bin(cvi_sdr_OV5647.bin and cvi_sdr_gc2083) are provided. CVI_BIN_ImportBinData is also closed source, so there’s no way editing or patching it. AFAIK, the best solution may be merging two bin files to one, but I can’t find the method. I tried CVI PQ Tools, but isp_daemon always raises Segmentation fault after being connected.
My fault. CVI_BIN_ImportBinData is indeed open, however it does not show the structure of these two bin files. The real binary parser may lie in getParamFromBinFunc function, which is closed. The two bin files are used to save isp params, such as hdr/wdr and so on. It is detailed explained in this document.
I tried to ask customer service in taobao for help, however I was asked to make a bulk order. Before the solution using Duo-S and dual camera is approved right, we can’t do that, so we just switch to another solution.
Now I understand ..
The real “communication partner” should be sophgo in this are.
BUt the kernel is heavently patches and the video drivers using ioctl a lot.
And the driver are not well documented also