capture the generic data from IPU-CSI use v4l2_capture driver?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

capture the generic data from IPU-CSI use v4l2_capture driver?

1,456 次查看
wwfdzh2012
Contributor I

hello everyone.
I would like to get generic data from IPU-CSI Interface use v4l2_capture driver from no-standard image formate for example sensor or FPGA, and send the data to application space for computing.I refer to the document of I.MX6Q processor, the data flow should be:Sensor(FPGA)--->IPU-CSI--->SMFC(Sensor multi FIFO Ctrl)--->IDMAC(Image DMA Contriller)---->Memory, refer to the image below(red line):

飞鸽截图20170608201211.png

The driver only to capture the data,computing can work in application space,because I want to use openCL framework and neon  instruction set speed the computing, It running in kernel space looks inappropriate.

It seems that the soc_camera framework can not work in I.MX6Q processor on linux-3.14.52 kernel after I test. I don't know whether i config error.So I want to use v4l2_capture driver now, but, According to the driver source code It seems that can not support to capturing generic data.The driver source are located in drivers/media/platform/mxc/capture/mxc_v4l2_capture.c. So if I want to capture the generic data use ipu-csi from e.g. FPGA or other sensor, I should use mxc_v4l2_capture driver or soc_camera framework or write a no-stantard driver for me by myself?Thank you for your help first.

标签 (5)
0 项奖励
回复
2 回复数

1,169 次查看
igorpadykov
NXP Employee
NXP Employee

Hi

seems one will have to write a some kind no-stantard driver, as standard

uses color info. One can look at examples which may be useful

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

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

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,169 次查看
wwfdzh2012
Contributor I

thank you for your reply!I am sure that the V4L2 framework is not support generic data,but soc_camera framework support according to the source code.But is the default I.MX6Q filesystem support for soc_camera framwork?I use the linux-3.14.52 kernel?

0 项奖励
回复
An error has occurred when reading existing sub-variable "Language_PG_Configuration"; see cause exception! The type of the containing value was: extended_hash+string (lithium.coreapi.webui.template.models.NamedValueByNameTemplateModel wrapped into f.e.b.StringModel) ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign redirect_lingo_page_url = web... [in template "language_macro_header.ftl" at line 173, column 1] - Reached through: #include "language_macro_header.ftl" [in template "Language_translator_Dashboard" at line 3, column 1] ----