AnsweredAssumed Answered

SoftISP application on i.MX8MMini

Question asked by Devendra Devadiga on Jun 23, 2020
Latest reply on Jun 24, 2020 by igorpadykov

Hi team,

 

We are working on Camera module OV4689 with i.MX8M Mini platform.

https://www.ovt.com/sensors/OV4689

The output format supported by OV4689 is 10-bit RAW RGB (MIPI) i.e RGB Bayer.

We added the driver for OV4689 and able to capture the raw frame using below commands:

v4l2-ctl --device /dev/video0 --set-fmt-video=width=2688,height=1520,pixelformat=BG10
v4l2-ctl --device /dev/video0 --stream-mmap --stream-to=frame.raw --stream-count=1

 

But the captured data is in raw format.

From NXP communtiy discussion I came to know that RAW data from camera can't be handled directly by i.MX8 and this RAW input data format is not supported by i.MX8M Mini VPU.

 

So NXP suggested to use Software for processing i.e Software Image Signal Processing (SoftISP)

https://www.nxp.com/design/designs/i-mx8-software-image-signal-processing:SOFTISP-I.MX8

I tried to build the OpenVX and OpenCL SoftISP application and run on the i.MX8M Mini target. But I am getting the error.

I had posted the the error details whatever I am getting in below community link and not getting any reply.

https://community.nxp.com/thread/534571

 

Currently I build the SoftISP application using standalone method and I am able to run the application in our i.MX8M Mini platform, but getting error.

 

But I don't have the details of what are the different argument we need to give for that application to capture a image.

Please can you share the document for that application which explains procedure to capture the image?

 

I got some of the arguments list from below link but didn't get any example command to capture the image

https://github.com/NXPmicro/gtec-demo-framework/tree/master/DemoApps/OpenCL/SoftISP

 

If I gave "-h" to get the help, its giving error like below:

root@iWave-G34M:~# OpenCL.SoftISP -h
terminate called after throwing a[ 1114.860124] audit: type=1701 audit(1582024697.916:18): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=3810 comm="OpenCL.SoftISP" exe="/usr/bin/OpenCL.SoftISP" sig=6 res=1
n instance of 'std::runtime_error'
what(): failed to create the full path
Aborted (core dumped)
root@iWave-G34M:~#

Parallelly we will try to integrate the SoftISP application to i.MX8QM BSP and try to run the application.

Outcomes