Inforce Computing Forums

inforce computing forums to discuss about inforce products

IMX230 Linux driver

Questions and discussions related to Inforce 6601™ development kit

by tamo2 » Tue Feb 13, 2018 3:13 pm

Hi. I purchased an IMX230 camera from Inforce: https://www.inforcecomputing.com/produc ... dragon-820
I am using debian linux for development. Is there a driver for the IMX230? How can I capture from this camera?
Thanks,
tamo
tamo2
 
Posts: 27
Joined: Tue Jun 13, 2017 4:39 pm

by Sundeep » Tue Feb 27, 2018 11:40 am

Hello Tamo,
Sensors with RAW/Bayer output format are not supported on Linux by Qualcomm owing to the presence of proprietary software modules in the camera pipeline (that only have Android support). So enabling IMX230 on a Snapdragon platform running Linux is not possible today.

Cheers,
Sundeep
Sundeep
 
Posts: 44
Joined: Wed Jul 01, 2015 9:10 pm

by kim760407 » Wed Apr 04, 2018 10:10 am

Hi Sundeep,

Will support for RAW formats (bayer) be added in future Linux releases or never? Is it possible for me to write a linux driver for a camera that outputs only bayer formats and be able to capture?

Thanks,
Kim
kim760407
 
Posts: 19
Joined: Thu Jan 04, 2018 7:51 am

by Sundeep » Thu Apr 05, 2018 1:44 am

Hello Tamo,
No, it will not be possible for you to write a linux driver for a camera that outputs only bayer formats and be able to capture because of the presence of proprietary software modules in the camera pipeline.

'Never' is a bit harsh and support for RAW formats on Linux will someday be available.

Cheers,
Sundeep
Sundeep
 
Posts: 44
Joined: Wed Jul 01, 2015 9:10 pm

by kim760407 » Fri Apr 06, 2018 7:06 am

Hi Sundeep,

I am still a little confused. What I would like to do is get the pixels from the sensor and dump them into memory. I don't want any formatting done. Just the raw pixels. This documents describes a raw data dump:

https://github.com/96boards/documentati ... -module.md

I would think it would be similar to how the ov5640 sensor is configured:
sudo media-ctl -d /dev/media0 -l '"msm_csiphy0":1->"msm_csid0":0[1],"msm_csid0":1->"msm_ispif0":0[1],"msm_ispif0":1->"msm_vfe0_rdi0":0[1]'

sudo media-ctl -d /dev/media0 -V '"ov5640 12-0078":0[fmt:UYVY2X8/1920x1080],"msm_csiphy0":0[fmt:UYVY2X8/1920x1080],"msm_csid0":0[fmt:UYVY2X8/1920x1080],"msm_ispif0":0[fmt:UYVY2X8/1920x1080],"msm_vfe0_rdi0":0[fmt:UYVY2X8/1920x1080]'

and then I should be able to run: v4l2-ctl --stream-mmap=4 or use gstreamer.
To be clear, I don't want to use any special qcom hardware that does anything to bayer formats. I just want to raw pixel data dumped to a memory buffer.

Is this still not possible?
Thanks,
Kim
kim760407
 
Posts: 19
Joined: Thu Jan 04, 2018 7:51 am


Return to INFORCE 6601™ DEVELOPMENT KIT

cron

Contact Us.