IMX8mm CSI RAW10 (IMX258 sony)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX8mm CSI RAW10 (IMX258 sony)

693件の閲覧回数
HAKANAYDN
Contributor III

Hi,

 

I want to run IMX258 camera sensor on IMX8 mini. But IMX258 sensor supports RAW10 video mode but As far as I understand, IMX8 support UYVY, YUYV, YUV32, RAWRGB8 mode. You can see it mx6s_capture.c in linux kernel 5.15.32. How can I solve this problem ?

ラベル(1)
タグ(2)
0 件の賞賛
7 返答(返信)

433件の閲覧回数
HAKANAYDN
Contributor III

Hi,
I applied the patches file into imx8m mini.And then I record a jpeg file from IMX258 but the file is not correct. I record the file as RAW10 RGGB format and convert it into jpeg file.

Test Command
gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! video/x-bayer,format=rggb,width=1048,height=780 ! bayer2rgb ! videoconvert ! jpegenc ! filesink location=test.jpeg

 

test.jpeg

0 件の賞賛

405件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

try to use pngenc  or v4l2-ctl -d /dev/video0 --verbose --set-fmt-video xxx this command, I don't know what patch you apply, if still failed, pls dump the registers to double check, and check the logfile to trace, it's hard to find the root cause based on one picture

0 件の賞賛

664件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

659件の閲覧回数
HAKANAYDN
Contributor III
Thank you for reply. I have seen this link before. And I applied it. But I didnt work my camera. How can I test my camera using gststream on wayland ? My camera supports RAW10 format.
0 件の賞賛

636件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

your information is too limited, I don't know how your camera doesn't work, for capture, the link shows how to use bayer2rgb capture the raw data to file, then you can open the file to check your capture correct or not, because imx8mm couldn't handle raw data, no HW to convert raw data to yuv or rgb, so couldn't preview raw data to the display directly

570件の閲覧回数
HAKANAYDN
Contributor III
How can ı display raw10 video format on wayland.?
0 件の賞賛

540件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

I answered this question before, pls save the raw data to the file to check capture correct or not, because imx8mm no HW to handle raw data, you can use bayer2rgb to convert it then save it to the file

0 件の賞賛