Hi, 6by9,
From sensor's datasheet, I confirmed that it works with Continuous mode (400MHz) so I removed "clock-noncontinuous" statement from dts.
But it seems not working. I couldn't get any streams.
I tried imx708 (Raspberry Pi camera module v3), but it also stucked at "v4l2-ctl --stream-mmap=3 --stream-to=test.raw --stream-count=1".
Despite libcamera-hello worked.
I checked "v4l2-ctl --log-status" result.I think "Detected resolution: 0x0" is my issue.
Is there any specific settings to use stream-mmap?
In my sensor, it also shows "Detected resolution: 0x0"
I tried these commands before get log-status.It seems some buffers were allocated, but detected resolution is 0.Is there any other ways to get unicam outputs?
Thank you again.
From sensor's datasheet, I confirmed that it works with Continuous mode (400MHz) so I removed "clock-noncontinuous" statement from dts.
But it seems not working. I couldn't get any streams.
I tried imx708 (Raspberry Pi camera module v3), but it also stucked at "v4l2-ctl --stream-mmap=3 --stream-to=test.raw --stream-count=1".
Despite libcamera-hello worked.
I checked "v4l2-ctl --log-status" result.
Code:
Status Log: [ 1171.549336] unicam fe801000.csi: ================= START STATUS ================= [ 1171.549359] unicam fe801000.csi: -----Receiver status----- [ 1171.549365] unicam fe801000.csi: V4L2 width/height: 2304x1296 [ 1171.549374] unicam fe801000.csi: Mediabus format: 00003007 [ 1171.549381] unicam fe801000.csi: V4L2 format: 41414270 [ 1171.549389] unicam fe801000.csi: Unpacking/packing: 0 / 0 [ 1171.549395] unicam fe801000.csi: ----Live data---- [ 1171.549400] unicam fe801000.csi: Programmed stride: 2880 [ 1171.549406] unicam fe801000.csi: Detected resolution: 0x0 [ 1171.549413] unicam fe801000.csi: Write pointer: d0b00000 [ 1171.549419] unicam fe801000.csi: ================== END STATUS ==================
Is there any specific settings to use stream-mmap?
In my sensor, it also shows "Detected resolution: 0x0"
I tried these commands before get log-status.
Code:
"v4l2-ctl -v width=1024,height=1024,pixelformat=Y10P""v4l2-ctl --stream-mmap=3 --stream-to=test.raw --stream-count=1"
Code:
Status Log: [ 230.895925] unicam fe801000.csi: ================= START STATUS ================= [ 230.895938] unicam fe801000.csi: -----Receiver status----- [ 230.895940] unicam fe801000.csi: V4L2 width/height: 1024x1024 [ 230.895944] unicam fe801000.csi: Mediabus format: 0000200a [ 230.895947] unicam fe801000.csi: V4L2 format: 50303159 [ 230.895951] unicam fe801000.csi: Unpacking/packing: 0 / 0 [ 230.895953] unicam fe801000.csi: ----Live data---- [ 230.895955] unicam fe801000.csi: Programmed stride: 1280 [ 230.895958] unicam fe801000.csi: Detected resolution: 0x0 [ 230.895961] unicam fe801000.csi: Write pointer: ceb00000 [ 230.895963] unicam fe801000.csi: ================== END STATUS ==================
Thank you again.
Statistics: Posted by Koyuki — Tue Oct 01, 2024 2:41 am