Skip to content

Instantly share code, notes, and snippets.

@jailuthra
Last active October 9, 2023 12:51
Show Gist options
  • Save jailuthra/eaeb3af3c65b67e1bc0d5db28180131d to your computer and use it in GitHub Desktop.
Save jailuthra/eaeb3af3c65b67e1bc0d5db28180131d to your computer and use it in GitHub Desktop.
CSI v8/v9/v10 testing logs
root@am62axx-evm:~# uname -a
Linux am62axx-evm 6.6.0-rc5-next-20231009-00022-g30e55e4f6a35 #74 SMP PREEMPT Mon Oct 9 18:17:37 IST 2023 aarch64 aarch64 aarch64 GNU/Linux
root@am62axx-evm:~# media-ctl -p
Media controller API version 6.6.0
Media device information
------------------------
driver j721e-csi2rx
model TI-CSI2RX
serial
bus info platform:30102000.ticsi2rx
hw revision 0x1
driver version 6.6.0
Device topology
- entity 1: cdns_csi2rx.30101000.csi-bridge (5 pads, 2 links, 0 route)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Sink
[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
<- "imx219 4-0010":0 [ENABLED,IMMUTABLE]
pad1: Source
[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
-> "j721e-csi2rx":0 [ENABLED,IMMUTABLE]
pad2: Source
[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
pad3: Source
[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
pad4: Source
[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
- entity 7: imx219 4-0010 (1 pad, 1 link, 0 route)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev1
pad0: Source
[stream:0 fmt:SRGGB10_1X10/3280x2464 field:none colorspace:raw xfer:none ycbcr:601 quantization:full-range
crop.bounds:(8,8)/3280x2464
crop:(8,8)/3280x2464]
-> "cdns_csi2rx.30101000.csi-bridge":0 [ENABLED,IMMUTABLE]
- entity 11: j721e-csi2rx (1 pad, 1 link, 0 route)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "cdns_csi2rx.30101000.csi-bridge":1 [ENABLED,IMMUTABLE]
root@am62axx-evm:~# cam -c1 -C -s width=1920,height=1080,pixelformat=SRGGB10
[0:00:44.563981045] [472] INFO Camera camera_manager.cpp:298 libcamera v0.0.5+dirty (2023-07-06T12:59:14+00:00)
[0:00:44.574304665] [474] WARN CameraSensor camera_sensor.cpp:244 'imx219 4-0010': Recommended V4L2 control 0x009a0922 not supported
[0:00:44.574399710] [474] WARN CameraSensor camera_sensor.cpp:311 'imx219 4-0010': The sensor kernel driver needs to be fixed
[0:00:44.574435280] [474] WARN CameraSensor camera_sensor.cpp:313 'imx219 4-0010': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[0:00:44.576603720] [474] WARN CameraSensor camera_sensor.cpp:459 'imx219 4-0010': Failed to retrieve the camera location
Using camera /base/bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10 as cam0
[0:00:44.580116680] [472] INFO Camera camera.cpp:1028 configuring streams: (0) 1920x1080-SRGGB10
cam0: Capture until user interrupts by SIGINT
44.651953 (0.00 fps) cam0-stream0 seq: 000000 bytesused: 4147200
44.685279 (30.01 fps) cam0-stream0 seq: 000001 bytesused: 4147200
44.718603 (30.01 fps) cam0-stream0 seq: 000002 bytesused: 4147200
44.751926 (30.01 fps) cam0-stream0 seq: 000003 bytesused: 4147200
44.785257 (30.00 fps) cam0-stream0 seq: 000004 bytesused: 4147200
44.818583 (30.01 fps) cam0-stream0 seq: 000005 bytesused: 4147200
44.851907 (30.01 fps) cam0-stream0 seq: 000006 bytesused: 4147200
44.885235 (30.00 fps) cam0-stream0 seq: 000007 bytesused: 4147200
44.918561 (30.01 fps) cam0-stream0 seq: 000008 bytesused: 4147200
44.951885 (30.01 fps) cam0-stream0 seq: 000009 bytesused: 4147200
44.985216 (30.00 fps) cam0-stream0 seq: 000010 bytesused: 4147200
45.018541 (30.01 fps) cam0-stream0 seq: 000011 bytesused: 4147200
45.051865 (30.01 fps) cam0-stream0 seq: 000012 bytesused: 4147200
45.085196 (30.00 fps) cam0-stream0 seq: 000013 bytesused: 4147200
45.118519 (30.01 fps) cam0-stream0 seq: 000014 bytesused: 4147200
45.151846 (30.01 fps) cam0-stream0 seq: 000015 bytesused: 4147200
45.185174 (30.00 fps) cam0-stream0 seq: 000016 bytesused: 4147200
45.218498 (30.01 fps) cam0-stream0 seq: 000017 bytesused: 4147200
45.251827 (30.00 fps) cam0-stream0 seq: 000018 bytesused: 4147200
45.285152 (30.01 fps) cam0-stream0 seq: 000019 bytesused: 4147200
45.318478 (30.01 fps) cam0-stream0 seq: 000020 bytesused: 4147200
45.351807 (30.00 fps) cam0-stream0 seq: 000021 bytesused: 4147200
45.385133 (30.01 fps) cam0-stream0 seq: 000022 bytesused: 4147200
45.418460 (30.01 fps) cam0-stream0 seq: 000023 bytesused: 4147200
45.451787 (30.01 fps) cam0-stream0 seq: 000024 bytesused: 4147200
45.485113 (30.01 fps) cam0-stream0 seq: 000025 bytesused: 4147200
45.518439 (30.01 fps) cam0-stream0 seq: 000026 bytesused: 4147200
45.551766 (30.01 fps) cam0-stream0 seq: 000027 bytesused: 4147200
45.585093 (30.01 fps) cam0-stream0 seq: 000028 bytesused: 4147200
45.618418 (30.01 fps) cam0-stream0 seq: 000029 bytesused: 4147200
45.651746 (30.00 fps) cam0-stream0 seq: 000030 bytesused: 4147200
45.685072 (30.01 fps) cam0-stream0 seq: 000031 bytesused: 4147200
45.718398 (30.01 fps) cam0-stream0 seq: 000032 bytesused: 4147200
^CExiting
root@am62axx-evm:~# cam -c1 -C20 -s width=1920,height=1080,pixelformat=SRGGB8
[0:00:52.622262095] [475] INFO Camera camera_manager.cpp:298 libcamera v0.0.5+dirty (2023-07-06T12:59:14+00:00)
[0:00:52.628614510] [476] WARN CameraSensor camera_sensor.cpp:244 'imx219 4-0010': Recommended V4L2 control 0x009a0922 not supported
[0:00:52.628710195] [476] WARN CameraSensor camera_sensor.cpp:311 'imx219 4-0010': The sensor kernel driver needs to be fixed
[0:00:52.628744265] [476] WARN CameraSensor camera_sensor.cpp:313 'imx219 4-0010': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[0:00:52.630375155] [476] WARN CameraSensor camera_sensor.cpp:459 'imx219 4-0010': Failed to retrieve the camera location
Using camera /base/bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10 as cam0
[0:00:52.633072720] [475] INFO Camera camera.cpp:1028 configuring streams: (0) 1920x1080-SRGGB8
cam0: Capture 20 frames
52.704287 (0.00 fps) cam0-stream0 seq: 000000 bytesused: 2073600
52.737613 (30.01 fps) cam0-stream0 seq: 000001 bytesused: 2073600
52.770939 (30.01 fps) cam0-stream0 seq: 000002 bytesused: 2073600
52.804264 (30.01 fps) cam0-stream0 seq: 000003 bytesused: 2073600
52.837585 (30.01 fps) cam0-stream0 seq: 000004 bytesused: 2073600
52.870915 (30.00 fps) cam0-stream0 seq: 000005 bytesused: 2073600
52.904244 (30.00 fps) cam0-stream0 seq: 000006 bytesused: 2073600
52.937568 (30.01 fps) cam0-stream0 seq: 000007 bytesused: 2073600
52.970896 (30.00 fps) cam0-stream0 seq: 000008 bytesused: 2073600
53.004223 (30.01 fps) cam0-stream0 seq: 000009 bytesused: 2073600
53.037548 (30.01 fps) cam0-stream0 seq: 000010 bytesused: 2073600
53.070874 (30.01 fps) cam0-stream0 seq: 000011 bytesused: 2073600
53.104202 (30.00 fps) cam0-stream0 seq: 000012 bytesused: 2073600
53.137527 (30.01 fps) cam0-stream0 seq: 000013 bytesused: 2073600
53.170855 (30.00 fps) cam0-stream0 seq: 000014 bytesused: 2073600
53.204181 (30.01 fps) cam0-stream0 seq: 000015 bytesused: 2073600
53.237504 (30.01 fps) cam0-stream0 seq: 000016 bytesused: 2073600
53.270835 (30.00 fps) cam0-stream0 seq: 000017 bytesused: 2073600
53.304160 (30.01 fps) cam0-stream0 seq: 000018 bytesused: 2073600
53.337487 (30.01 fps) cam0-stream0 seq: 000019 bytesused: 2073600
root@am62axx-evm:~# ^C
root@am62axx-evm:~# cam -c1 -C20 -s width=1640,height=1232,pixelformat=SRGGB10
[0:00:59.291385275] [477] INFO Camera camera_manager.cpp:298 libcamera v0.0.5+dirty (2023-07-06T12:59:14+00:00)
[0:00:59.297792680] [478] WARN CameraSensor camera_sensor.cpp:244 'imx219 4-0010': Recommended V4L2 control 0x009a0922 not supported
[0:00:59.297892015] [478] WARN CameraSensor camera_sensor.cpp:311 'imx219 4-0010': The sensor kernel driver needs to be fixed
[0:00:59.297928310] [478] WARN CameraSensor camera_sensor.cpp:313 'imx219 4-0010': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[0:00:59.299707360] [478] WARN CameraSensor camera_sensor.cpp:459 'imx219 4-0010': Failed to retrieve the camera location
Using camera /base/bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10 as cam0
[0:00:59.302534835] [477] INFO Camera camera.cpp:1028 configuring streams: (0) 1640x1232-SRGGB10
cam0: Capture 20 frames
59.377983 (0.00 fps) cam0-stream0 seq: 000000 bytesused: 4040960
59.411314 (30.00 fps) cam0-stream0 seq: 000001 bytesused: 4040960
59.444637 (30.01 fps) cam0-stream0 seq: 000002 bytesused: 4040960
59.477961 (30.01 fps) cam0-stream0 seq: 000003 bytesused: 4040960
59.511289 (30.00 fps) cam0-stream0 seq: 000004 bytesused: 4040960
59.544615 (30.01 fps) cam0-stream0 seq: 000005 bytesused: 4040960
59.577939 (30.01 fps) cam0-stream0 seq: 000006 bytesused: 4040960
59.611268 (30.00 fps) cam0-stream0 seq: 000007 bytesused: 4040960
59.644593 (30.01 fps) cam0-stream0 seq: 000008 bytesused: 4040960
59.677918 (30.01 fps) cam0-stream0 seq: 000009 bytesused: 4040960
59.711248 (30.00 fps) cam0-stream0 seq: 000010 bytesused: 4040960
59.744574 (30.01 fps) cam0-stream0 seq: 000011 bytesused: 4040960
59.777900 (30.01 fps) cam0-stream0 seq: 000012 bytesused: 4040960
59.811227 (30.01 fps) cam0-stream0 seq: 000013 bytesused: 4040960
59.844553 (30.01 fps) cam0-stream0 seq: 000014 bytesused: 4040960
59.877880 (30.01 fps) cam0-stream0 seq: 000015 bytesused: 4040960
59.911208 (30.00 fps) cam0-stream0 seq: 000016 bytesused: 4040960
59.944532 (30.01 fps) cam0-stream0 seq: 000017 bytesused: 4040960
59.977859 (30.01 fps) cam0-stream0 seq: 000018 bytesused: 4040960
60.011188 (30.00 fps) cam0-stream0 seq: 000019 bytesused: 4040960
root@am62axx-evm:~# v4l2-compliance -m /dev/media0
v4l2-compliance 1.24.1, 64 bits, 64-bit time_t
Compliance test for j721e-csi2rx device /dev/media0:
Media Driver Info:
Driver name : j721e-csi2rx
Model : TI-CSI2RX
Serial :
Bus info : platform:30102000.ticsi2rx
Media version : 6.6.0
Hardware revision: 0x00000001 (1)
Driver version : 6.6.0
Required ioctls:
test MEDIA_IOC_DEVICE_INFO: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/media0 open: OK
test MEDIA_IOC_DEVICE_INFO: OK
test for unlimited opens: OK
Media Controller ioctls:
test MEDIA_IOC_G_TOPOLOGY: OK
Entities: 3 Interfaces: 3 Pads: 7 Links: 5
test MEDIA_IOC_ENUM_ENTITIES/LINKS: OK
test MEDIA_IOC_SETUP_LINK: OK
Total for j721e-csi2rx device /dev/media0: 8, Succeeded: 8, Failed: 0, Warnings: 0
--------------------------------------------------------------------------------
Compliance test for j721e-csi2rx device /dev/video0:
Driver Info:
Driver name : j721e-csi2rx
Card type : j721e-csi2rx
Bus info : platform:30102000.ticsi2rx
Driver version : 6.6.0
Capabilities : 0xa4200001
Video Capture
I/O MC
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x24200001
Video Capture
I/O MC
Streaming
Extended Pix Format
Media Driver Info:
Driver name : j721e-csi2rx
Model : TI-CSI2RX
Serial :
Bus info : platform:30102000.ticsi2rx
Media version : 6.6.0
Hardware revision: 0x00000001 (1)
Driver version : 6.6.0
Interface Info:
ID : 0x0300000d
Type : V4L Video
Entity Info:
ID : 0x0000000b (11)
Name : j721e-csi2rx
Function : V4L2 I/O
Pad 0x0100000c : 0: Sink
Link 0x0200000f: from remote pad 0x1000003 of entity 'cdns_csi2rx.30101000.csi-bridge' (Video Interface Bridge): Data, Enabled, Immutable
Required ioctls:
test MC information (see 'Media Driver Info' above): OK
test VIDIOC_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/video0 open: OK
test VIDIOC_QUERYCAP: OK
test VIDIOC_G/S_PRIORITY: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 1 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls (Input 0):
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK (Not Supported)
test VIDIOC_QUERYCTRL: OK (Not Supported)
test VIDIOC_G/S_CTRL: OK (Not Supported)
test VIDIOC_G/S/TRY_EXT_CTRLS: OK (Not Supported)
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK (Not Supported)
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 0 Private Controls: 0
Format ioctls (Input 0):
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
test VIDIOC_G/S_PARM: OK (Not Supported)
test VIDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: OK
test VIDIOC_TRY_FMT: OK
test VIDIOC_S_FMT: OK
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK
Codec ioctls (Input 0):
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls (Input 0):
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
test VIDIOC_EXPBUF: OK
test Requests: OK (Not Supported)
Total for j721e-csi2rx device /dev/video0: 46, Succeeded: 46, Failed: 0, Warnings: 0
--------------------------------------------------------------------------------
Compliance test for device /dev/v4l-subdev0:
Driver Info:
Driver version : 6.6.0
Capabilities : 0x00000000
Required ioctls:
test VIDIOC_SUDBEV_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/v4l-subdev0 open: OK
test VIDIOC_SUBDEV_QUERYCAP: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK (Not Supported)
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 0 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK (Not Supported)
test VIDIOC_QUERYCTRL: OK (Not Supported)
test VIDIOC_G/S_CTRL: OK (Not Supported)
test VIDIOC_G/S/TRY_EXT_CTRLS: OK (Not Supported)
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK (Not Supported)
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 0 Private Controls: 0
Format ioctls:
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK (Not Supported)
test VIDIOC_G/S_PARM: OK (Not Supported)
test VIDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: OK (Not Supported)
test VIDIOC_TRY_FMT: OK (Not Supported)
test VIDIOC_S_FMT: OK (Not Supported)
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK (Not Supported)
Codec ioctls:
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls:
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK (Not Supported)
test VIDIOC_EXPBUF: OK (Not Supported)
test Requests: OK (Not Supported)
Total for device /dev/v4l-subdev0: 43, Succeeded: 43, Failed: 0, Warnings: 0
--------------------------------------------------------------------------------
Compliance test for device /dev/v4l-subdev1:
Driver Info:
Driver version : 6.6.0
Capabilities : 0x00000000
Required ioctls:
test VIDIOC_SUDBEV_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/v4l-subdev1 open: OK
test VIDIOC_SUBDEV_QUERYCAP: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK (Not Supported)
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 0 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
test VIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
test VIDIOC_G/S/TRY_EXT_CTRLS: OK
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 17 Private Controls: 0
Format ioctls:
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK (Not Supported)
test VIDIOC_G/S_PARM: OK (Not Supported)
test VIDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: OK (Not Supported)
test VIDIOC_TRY_FMT: OK (Not Supported)
test VIDIOC_S_FMT: OK (Not Supported)
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK (Not Supported)
Codec ioctls:
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls:
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK (Not Supported)
test VIDIOC_EXPBUF: OK (Not Supported)
test Requests: OK (Not Supported)
Total for device /dev/v4l-subdev1: 43, Succeeded: 43, Failed: 0, Warnings: 0
Grand Total for j721e-csi2rx device /dev/media0: 140, Succeeded: 140, Failed: 0, Warnings: 0
root@am62axx-evm:~# media-ctl -p
Media device information
------------------------
driver j721e-csi2rx
model TI-CSI2RX
serial
bus info platform:30102000.ticsi2rx
hw revision 0x1
driver version 6.5.0
Device topology
- entity 1: cdns_csi2rx.30101000.csi-bridge (5 pads, 2 links, 0 route)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Sink
[stream:0 fmt:SRGGB10_1X10/1640x1232 field:none colorspace:rec709 xfer:srgb quantization:full-range]
<- "imx219 4-0010":0 [ENABLED,IMMUTABLE]
pad1: Source
[stream:0 fmt:SRGGB10_1X10/1640x1232 field:none colorspace:rec709 xfer:srgb quantization:full-range]
-> "j721e-csi2rx":0 [ENABLED,IMMUTABLE]
pad2: Source
[stream:0 fmt:SRGGB10_1X10/1640x1232 field:none colorspace:rec709 xfer:srgb quantization:full-range]
pad3: Source
[stream:0 fmt:SRGGB10_1X10/1640x1232 field:none colorspace:rec709 xfer:srgb quantization:full-range]
pad4: Source
[stream:0 fmt:SRGGB10_1X10/1640x1232 field:none colorspace:rec709 xfer:srgb quantization:full-range]
- entity 7: imx219 4-0010 (1 pad, 1 link, 0 route)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev1
pad0: Source
[stream:0 fmt:SRGGB10_1X10/1640x1232 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range
crop.bounds:(8,8)/3280x2464
crop:(8,8)/3280x2464]
-> "cdns_csi2rx.30101000.csi-bridge":0 [ENABLED,IMMUTABLE]
- entity 11: j721e-csi2rx (1 pad, 1 link, 0 route)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "cdns_csi2rx.30101000.csi-bridge":1 [ENABLED,IMMUTABLE]
root@am62axx-evm:~# uname -a
Linux am62axx-evm 6.5.0-rc4-next-20230731-00023-g0d6516b525fb #14 SMP PREEMPT Mon Jul 31 13:51:49 IST 2023 aarch64 aarch64 aarch64 GNU/
Linux
root@am62axx-evm:~# cam -c1 -C -s width=1920,height=1080,pixelformat=SRGGB10
[0:00:25.850393615] [500] INFO Camera camera_manager.cpp:298 libcamera v0.0.5+dirty (2023-07-06T12:59:14+00:00)
[0:00:25.861025320] [501] WARN CameraSensor camera_sensor.cpp:244 'imx219 4-0010': Recommended V4L2 control 0x009a0922 not supported
[0:00:25.861116560] [501] WARN CameraSensor camera_sensor.cpp:311 'imx219 4-0010': The sensor kernel driver needs to be fixed
[0:00:25.861149255] [501] WARN CameraSensor camera_sensor.cpp:313 'imx219 4-0010': See Documentation/sensor_driver_requirements.rst in
[0:00:25.863143580] [501] WARN CameraSensor camera_sensor.cpp:459 'imx219 4-0010': Failed to retrieve the camera location
Using camera /base/bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10 as cam0
[0:00:25.866734540] [500] INFO Camera camera.cpp:1028 configuring streams: (0) 1920x1080-SRGGB10
cam0: Capture until user interrupts by SIGINT
25.940296 (0.00 fps) cam0-stream0 seq: 000000 bytesused: 4147200
25.973624 (30.00 fps) cam0-stream0 seq: 000001 bytesused: 4147200
26.006942 (30.01 fps) cam0-stream0 seq: 000002 bytesused: 4147200
26.040267 (30.01 fps) cam0-stream0 seq: 000003 bytesused: 4147200
26.073597 (30.00 fps) cam0-stream0 seq: 000004 bytesused: 4147200
26.106925 (30.00 fps) cam0-stream0 seq: 000005 bytesused: 4147200
26.140249 (30.01 fps) cam0-stream0 seq: 000006 bytesused: 4147200
26.173577 (30.00 fps) cam0-stream0 seq: 000007 bytesused: 4147200
26.206900 (30.01 fps) cam0-stream0 seq: 000008 bytesused: 4147200
26.240228 (30.00 fps) cam0-stream0 seq: 000009 bytesused: 4147200
26.273555 (30.01 fps) cam0-stream0 seq: 000010 bytesused: 4147200
26.306881 (30.01 fps) cam0-stream0 seq: 000011 bytesused: 4147200
26.340209 (30.00 fps) cam0-stream0 seq: 000012 bytesused: 4147200
26.373533 (30.01 fps) cam0-stream0 seq: 000013 bytesused: 4147200
26.406860 (30.01 fps) cam0-stream0 seq: 000014 bytesused: 4147200
26.440188 (30.00 fps) cam0-stream0 seq: 000015 bytesused: 4147200
26.473513 (30.01 fps) cam0-stream0 seq: 000016 bytesused: 4147200
26.506839 (30.01 fps) cam0-stream0 seq: 000017 bytesused: 4147200
26.540169 (30.00 fps) cam0-stream0 seq: 000018 bytesused: 4147200
26.573493 (30.01 fps) cam0-stream0 seq: 000019 bytesused: 4147200
26.606820 (30.01 fps) cam0-stream0 seq: 000020 bytesused: 4147200
26.640148 (30.00 fps) cam0-stream0 seq: 000021 bytesused: 4147200
26.673475 (30.01 fps) cam0-stream0 seq: 000022 bytesused: 4147200
26.706800 (30.01 fps) cam0-stream0 seq: 000023 bytesused: 4147200
26.740129 (30.00 fps) cam0-stream0 seq: 000024 bytesused: 4147200
26.773453 (30.01 fps) cam0-stream0 seq: 000025 bytesused: 4147200
26.806780 (30.01 fps) cam0-stream0 seq: 000026 bytesused: 4147200
26.840108 (30.00 fps) cam0-stream0 seq: 000027 bytesused: 414720^CExiting
root@am62axx-evm:~# cam -c1 -C20 -s width=1920,height=1080,pixelformat=SRGGB8
[0:00:35.984880455] [502] INFO Camera camera_manager.cpp:298 libcamera v0.0.5+dirty (2023-07-06T12:59:14+00:00)
[0:00:35.991583585] [503] WARN CameraSensor camera_sensor.cpp:244 'imx219 4-0010': Recommended V4L2 control 0x009a0922 not supported
[0:00:35.991671965] [503] WARN CameraSensor camera_sensor.cpp:311 'imx219 4-0010': The sensor kernel driver needs to be fixed
[0:00:35.991704265] [503] WARN CameraSensor camera_sensor.cpp:313 'imx219 4-0010': See Documentation/sensor_driver_requirements.rst in
[0:00:35.993316430] [503] WARN CameraSensor camera_sensor.cpp:459 'imx219 4-0010': Failed to retrieve the camera location
Using camera /base/bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10 as cam0
[0:00:35.995885435] [502] INFO Camera camera.cpp:1028 configuring streams: (0) 1920x1080-SRGGB8
cam0: Capture 20 frames
36.068402 (0.00 fps) cam0-stream0 seq: 000000 bytesused: 2073600
36.101724 (30.01 fps) cam0-stream0 seq: 000001 bytesused: 2073600
36.135049 (30.01 fps) cam0-stream0 seq: 000002 bytesused: 2073600
36.168379 (30.00 fps) cam0-stream0 seq: 000003 bytesused: 2073600
36.201700 (30.01 fps) cam0-stream0 seq: 000004 bytesused: 2073600
36.235026 (30.01 fps) cam0-stream0 seq: 000005 bytesused: 2073600
36.268356 (30.00 fps) cam0-stream0 seq: 000006 bytesused: 2073600
36.301681 (30.01 fps) cam0-stream0 seq: 000007 bytesused: 2073600
36.335006 (30.01 fps) cam0-stream0 seq: 000008 bytesused: 2073600
36.368335 (30.00 fps) cam0-stream0 seq: 000009 bytesused: 2073600
36.401660 (30.01 fps) cam0-stream0 seq: 000010 bytesused: 2073600
36.434988 (30.00 fps) cam0-stream0 seq: 000011 bytesused: 2073600
36.468313 (30.01 fps) cam0-stream0 seq: 000012 bytesused: 2073600
36.501639 (30.01 fps) cam0-stream0 seq: 000013 bytesused: 2073600
36.534968 (30.00 fps) cam0-stream0 seq: 000014 bytesused: 2073600
36.568294 (30.01 fps) cam0-stream0 seq: 000015 bytesused: 2073600
36.601620 (30.01 fps) cam0-stream0 seq: 000016 bytesused: 2073600
36.634948 (30.00 fps) cam0-stream0 seq: 000017 bytesused: 2073600
36.668272 (30.01 fps) cam0-stream0 seq: 000018 bytesused: 2073600
36.701598 (30.01 fps) cam0-stream0 seq: 000019 bytesused: 2073600
root@am62axx-evm:~# cam -c1 -C20 -s width=1640,height=1232,pixelformat=SRGGB10
[0:00:47.018427765] [504] INFO Camera camera_manager.cpp:298 libcamera v0.0.5+dirty (2023-07-06T12:59:14+00:00)
[0:00:47.025251725] [505] WARN CameraSensor camera_sensor.cpp:244 'imx219 4-0010': Recommended V4L2 control 0x009a0922 not supported
[0:00:47.025341420] [505] WARN CameraSensor camera_sensor.cpp:311 'imx219 4-0010': The sensor kernel driver needs to be fixed
[0:00:47.025374315] [505] WARN CameraSensor camera_sensor.cpp:313 'imx219 4-0010': See Documentation/sensor_driver_requirements.rst in
[0:00:47.026936700] [505] WARN CameraSensor camera_sensor.cpp:459 'imx219 4-0010': Failed to retrieve the camera location
Using camera /base/bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10 as cam0
[0:00:47.029571340] [504] INFO Camera camera.cpp:1028 configuring streams: (0) 1640x1232-SRGGB10
cam0: Capture 20 frames
47.106191 (0.00 fps) cam0-stream0 seq: 000000 bytesused: 4040960
47.139513 (30.01 fps) cam0-stream0 seq: 000001 bytesused: 4040960
47.172837 (30.01 fps) cam0-stream0 seq: 000002 bytesused: 4040960
47.206166 (30.00 fps) cam0-stream0 seq: 000003 bytesused: 4040960
47.239489 (30.01 fps) cam0-stream0 seq: 000004 bytesused: 4040960
47.272815 (30.01 fps) cam0-stream0 seq: 000005 bytesused: 4040960
47.306145 (30.00 fps) cam0-stream0 seq: 000006 bytesused: 4040960
47.339470 (30.01 fps) cam0-stream0 seq: 000007 bytesused: 4040960
47.372794 (30.01 fps) cam0-stream0 seq: 000008 bytesused: 4040960
47.406126 (30.00 fps) cam0-stream0 seq: 000009 bytesused: 4040960
47.439449 (30.01 fps) cam0-stream0 seq: 000010 bytesused: 4040960
47.472774 (30.01 fps) cam0-stream0 seq: 000011 bytesused: 4040960
47.506104 (30.00 fps) cam0-stream0 seq: 000012 bytesused: 4040960
47.539429 (30.01 fps) cam0-stream0 seq: 000013 bytesused: 4040960
47.572754 (30.01 fps) cam0-stream0 seq: 000014 bytesused: 4040960
47.606084 (30.00 fps) cam0-stream0 seq: 000015 bytesused: 4040960
47.639408 (30.01 fps) cam0-stream0 seq: 000016 bytesused: 4040960
47.672734 (30.01 fps) cam0-stream0 seq: 000017 bytesused: 4040960
47.706062 (30.00 fps) cam0-stream0 seq: 000018 bytesused: 4040960
47.739386 (30.01 fps) cam0-stream0 seq: 000019 bytesused: 4040960
root@am62axx-evm:~# v4l2-compliance -m /dev/media0
v4l2-compliance 1.24.1, 64 bits, 64-bit time_t
Compliance test for j721e-csi2rx device /dev/media0:
Media Driver Info:
Driver name : j721e-csi2rx
Model : TI-CSI2RX
Serial :
Bus info : platform:30102000.ticsi2rx
Media version : 6.5.0
Hardware revision: 0x00000001 (1)
Driver version : 6.5.0
Required ioctls:
test MEDIA_IOC_DEVICE_INFO: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/media0 open: OK
test MEDIA_IOC_DEVICE_INFO: OK
test for unlimited opens: OK
Media Controller ioctls:
test MEDIA_IOC_G_TOPOLOGY: OK
Entities: 3 Interfaces: 3 Pads: 7 Links: 5
test MEDIA_IOC_ENUM_ENTITIES/LINKS: OK
test MEDIA_IOC_SETUP_LINK: OK
Total for j721e-csi2rx device /dev/media0: 8, Succeeded: 8, Failed: 0, Warnings: 0
--------------------------------------------------------------------------------
Compliance test for j721e-csi2rx device /dev/video0:
Driver Info:
Driver name : j721e-csi2rx
Card type : j721e-csi2rx
Bus info : platform:30102000.ticsi2rx
Driver version : 6.5.0
Capabilities : 0xa4200001
Video Capture
I/O MC
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x24200001
Video Capture
I/O MC
Streaming
Extended Pix Format
Media Driver Info:
Driver name : j721e-csi2rx
Model : TI-CSI2RX
Serial :
Bus info : platform:30102000.ticsi2rx
Media version : 6.5.0
Hardware revision: 0x00000001 (1)
Driver version : 6.5.0
Interface Info:
ID : 0x0300000d
Type : V4L Video
Entity Info:
ID : 0x0000000b (11)
Name : j721e-csi2rx
Function : V4L2 I/O
Pad 0x0100000c : 0: Sink
Link 0x0200000f: from remote pad 0x1000003 of entity 'cdns_csi2rx.30101000.csi-bridge' (Video Interface Bridge): Data, Enable
Required ioctls:
test MC information (see 'Media Driver Info' above): OK
test VIDIOC_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/video0 open: OK
test VIDIOC_QUERYCAP: OK
test VIDIOC_G/S_PRIORITY: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 1 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls (Input 0):
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK (Not Supported)
test VIDIOC_QUERYCTRL: OK (Not Supported)
test VIDIOC_G/S_CTRL: OK (Not Supported)
test VIDIOC_G/S/TRY_EXT_CTRLS: OK (Not Supported)
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK (Not Supported)
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 0 Private Controls: 0
Format ioctls (Input 0):
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
test VIDIOC_G/S_PARM: OK (Not Supported)
test V[ 52.338442] cdns_csi2rx.30101000.csi-bridge: ================= START STATUS =================
IDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: 52.349407] cdns_csi2rx.30101000.csi-bridge: ================== END STATUS ==================
[32mOK
test VIDIOC_TRY_FMT: OK
test VIDIOC_S_FMT: OK
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK
Codec ioctls (Input 0):
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls (Input 0):
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
test VIDIOC_EXPBUF: OK
test Requests: OK (Not Supported)
Total for j721e-csi2rx device /dev/video0: 46, Succeeded: 46, Failed: 0, Warnings: 0
--------------------------------------------------------------------------------
Compliance test for device /dev/v4l-subdev0:
Driver Info:
Driver version : 6.5.0
Capabilities : 0x00000000
Required ioctls:
test VIDIOC_SUDBEV_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/v4l-subdev0 open: OK
test VIDIOC_SUBDEV_QUERYCAP: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK (Not Supported)
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 0 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK (Not Supported)
test VIDIOC_QUERYCTRL: OK (Not Supported)
test VIDIOC_G/S_CTRL: OK (Not Supported)
test VIDIOC_G/S/TRY_EXT_CTRLS: OK (Not Supported)
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK (Not Supported)
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 0 Private Controls: 0
Format ioctls:
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK (Not Supported)
test VIDIOC_G/S_PARM: OK (Not Supported)
test VIDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: OK (Not Supported)
test VIDIOC_TRY_FMT: OK (Not Supported)
test VIDIOC_S_FMT: OK (Not Supported)
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK (Not Supported)
Codec ioctls:
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls:
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK (Not Supported)
test VIDIOC_EXPBUF: OK (Not Supported)
test Requests: OK (Not Supported)
Total for device /dev/v4l-subdev0: 43, Succeeded: 43, Failed: 0, Warnings: 0
--------------------------------------------------------------------------------
Compliance test for device /dev/v4l-subdev1:
Driver Info:
Driver version : 6.5.0
Capabilities : 0x00000000
Requi[ 52.696822] imx219 4-0010: ================= START STATUS =================
red ioctls:
test VIDIOC_SUDBEV_QUERYCAP: OK
test in[ 52.709441] imx219 4-0010: ================== END STATUS ==================
valid ioctls: OK
Allow for multiple opens:
test second /dev/v4l-subdev1 open: OK
test VIDIOC_SUBDEV_QUERYCAP: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK (Not Supported)
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 0 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
test VIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
test VIDIOC_G/S/TRY_EXT_CTRLS: OK
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 17 Private Controls: 0
Format ioctls:
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK (Not Supported)
test VIDIOC_G/S_PARM: OK (Not Supported)
test VIDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: OK (Not Supported)
test VIDIOC_TRY_FMT: OK (Not Supported)
test VIDIOC_S_FMT: OK (Not Supported)
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK (Not Supported)
Codec ioctls:
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls:
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK (Not Supported)
test VIDIOC_EXPBUF: OK (Not Supported)
test Requests: OK (Not Supported)
Total for device /dev/v4l-subdev1: 43, Succeeded: 43, Failed: 0, Warnings: 0
root@am62axx-evm:~# uname -a
Linux am62axx-evm 6.5.0-rc5-next-20230809-00022-g2d333934b02c #52 SMP PREEMPT Fri Aug 11 15:26:16 IST 2023 aarch64 aarch64 aarch64 GNU/Linux
root@am62axx-evm:~# media-ctl -p
Media controller API version 6.5.0
Media device information
------------------------
driver j721e-csi2rx
model TI-CSI2RX
serial
bus info platform:30102000.ticsi2rx
hw revision 0x1
driver version 6.5.0
Device topology
- entity 1: cdns_csi2rx.30101000.csi-bridge (5 pads, 2 links, 0 route)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Sink
[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
<- "imx219 4-0010":0 [ENABLED,IMMUTABLE]
pad1: Source
[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
-> "j721e-csi2rx":0 [ENABLED,IMMUTABLE]
pad2: Source
[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
pad3: Source
[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
pad4: Source
[stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
- entity 7: imx219 4-0010 (1 pad, 1 link, 0 route)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev1
pad0: Source
[stream:0 fmt:SRGGB10_1X10/3280x2464 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range
crop.bounds:(8,8)/3280x2464
crop:(8,8)/3280x2464]
-> "cdns_csi2rx.30101000.csi-bridge":0 [ENABLED,IMMUTABLE]
- entity 11: j721e-csi2rx (1 pad, 1 link, 0 route)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "cdns_csi2rx.30101000.csi-bridge":1 [ENABLED,IMMUTABLE]
root@am62axx-evm:~# v4l2-compliance -m /dev/media0
v4l2-compliance 1.24.1, 64 bits, 64-bit time_t
Compliance test for j721e-csi2rx device /dev/media0:
Media Driver Info:
Driver name : j721e-csi2rx
Model : TI-CSI2RX
Serial :
Bus info : platform:30102000.ticsi2rx
Media version : 6.5.0
Hardware revision: 0x00000001 (1)
Driver version : 6.5.0
Required ioctls:
test MEDIA_IOC_DEVICE_INFO: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/media0 open: OK
test MEDIA_IOC_DEVICE_INFO: OK
test for unlimited opens: OK
Media Controller ioctls:
test MEDIA_IOC_G_TOPOLOGY: OK
Entities: 3 Interfaces: 3 Pads: 7 Links: 5
test MEDIA_IOC_ENUM_ENTITIES/LINKS: OK
test MEDIA_IOC_SETUP_LINK: OK
Total for j721e-csi2rx device /dev/media0: 8, Succeeded: 8, Failed: 0, Warnings: 0
--------------------------------------------------------------------------------
Compliance test for j721e-csi2rx device /dev/video0:
Driver Info:
Driver name : j721e-csi2rx
Card type : j721e-csi2rx
Bus info : platform:30102000.ticsi2rx
Driver version : 6.5.0
Capabilities : 0xa4200001
Video Capture
I/O MC
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x24200001
Video Capture
I/O MC
Streaming
Extended Pix Format
Media Driver Info:
Driver name : j721e-csi2rx
Model : TI-CSI2RX
Serial :
Bus info : platform:30102000.ticsi2rx
Media version : 6.5.0
Hardware revision: 0x00000001 (1)
Driver version : 6.5.0
Interface Info:
ID : 0x0300000d
Type : V4L Video
Entity Info:
ID : 0x0000000b (11)
Name : j721e-csi2rx
Function : V4L2 I/O
Pad 0x0100000c : 0: Sink
Link 0x0200000f: from remote pad 0x1000003 of entity 'cdns_csi2rx.30101000.csi-bridge' (Video Interface Bridge): Data, Enabled, Immutable
Required ioctls:
test MC information (see 'Media Driver Info' above): OK
test VIDIOC_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/video0 open: OK
test VIDIOC_QUERYCAP: OK
test VIDIOC_G/S_PRIORITY: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 1 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls (Input 0):
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK (Not Supported)
test VIDIOC_QUERYCTRL: OK (Not Supported)
test VIDIOC_G/S_CTRL: OK (Not Supported)
test VIDIOC_G/S/TRY_EXT_CTRLS: OK (Not Supported)
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK (Not Supported)
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 0 Private Controls: 0
Format ioctls (Input 0):
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
test VIDIOC_G/S_PARM: OK (Not Supported)
test VIDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: OK
test VIDIOC_TRY_FMT: OK
test VIDIOC_S_FMT: OK
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK
Codec ioctls (Input 0):
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls (Input 0):
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
test VIDIOC_EXPBUF: OK
test Requests: OK (Not Supported)
Total for j721e-csi2rx device /dev/video0: 46, Succeeded: 46, Failed: 0, Warnings: 0
--------------------------------------------------------------------------------
Compliance test for device /dev/v4l-subdev0:
Driver Info:
Driver version : 6.5.0
Capabilities : 0x00000000
Required ioctls:
test VIDIOC_SUDBEV_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/v4l-subdev0 open: OK
test VIDIOC_SUBDEV_QUERYCAP: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK (Not Supported)
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 0 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK (Not Supported)
test VIDIOC_QUERYCTRL: OK (Not Supported)
test VIDIOC_G/S_CTRL: OK (Not Supported)
test VIDIOC_G/S/TRY_EXT_CTRLS: OK (Not Supported)
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK (Not Supported)
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 0 Private Controls: 0
Format ioctls:
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK (Not Supported)
test VIDIOC_G/S_PARM: OK (Not Supported)
test VIDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: OK (Not Supported)
test VIDIOC_TRY_FMT: OK (Not Supported)
test VIDIOC_S_FMT: OK (Not Supported)
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK (Not Supported)
Codec ioctls:
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls:
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK (Not Supported)
test VIDIOC_EXPBUF: OK (Not Supported)
test Requests: OK (Not Supported)
Total for device /dev/v4l-subdev0: 43, Succeeded: 43, Failed: 0, Warnings: 0
--------------------------------------------------------------------------------
Compliance test for device /dev/v4l-subdev1:
Driver Info:
Driver version : 6.5.0
Capabilities : 0x00000000
Required ioctls:
test VIDIOC_SUDBEV_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/v4l-subdev1 open: OK
test VIDIOC_SUBDEV_QUERYCAP: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK (Not Supported)
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 0 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
test VIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
test VIDIOC_G/S/TRY_EXT_CTRLS: OK
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 17 Private Controls: 0
Format ioctls:
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK (Not Supported)
test VIDIOC_G/S_PARM: OK (Not Supported)
test VIDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: OK (Not Supported)
test VIDIOC_TRY_FMT: OK (Not Supported)
test VIDIOC_S_FMT: OK (Not Supported)
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK (Not Supported)
Codec ioctls:
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls:
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK (Not Supported)
test VIDIOC_EXPBUF: OK (Not Supported)
test Requests: OK (Not Supported)
Total for device /dev/v4l-subdev1: 43, Succeeded: 43, Failed: 0, Warnings: 0
Grand Total for j721e-csi2rx device /dev/media0: 140, Succeeded: 140, Failed: 0, Warnings: 0
root@am62axx-evm:~# cam -c1 -C -s width=1920,height=1080,pixelformat=SRGGB10
[0:01:18.163626480] [483] INFO Camera camera_manager.cpp:298 libcamera v0.0.5+dirty (2023-07-06T12:59:14+00:00)
[0:01:18.174164835] [484] WARN CameraSensor camera_sensor.cpp:244 'imx219 4-0010': Recommended V4L2 control 0x009a0922 not supported
[0:01:18.174259615] [484] WARN CameraSensor camera_sensor.cpp:311 'imx219 4-0010': The sensor kernel driver needs to be fixed
[0:01:18.174293500] [484] WARN CameraSensor camera_sensor.cpp:313 'imx219 4-0010': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[0:01:18.176394855] [484] WARN CameraSensor camera_sensor.cpp:459 'imx219 4-0010': Failed to retrieve the camera location
Using camera /base/bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10 as cam0
[0:01:18.179985530] [483] INFO Camera camera.cpp:1028 configuring streams: (0) 1920x1080-SRGGB10
cam0: Capture until user interrupts by SIGINT
78.254703 (0.00 fps) cam0-stream0 seq: 000000 bytesused: 4147200
78.288027 (30.01 fps) cam0-stream0 seq: 000001 bytesused: 4147200
78.321351 (30.01 fps) cam0-stream0 seq: 000002 bytesused: 4147200
78.354680 (30.00 fps) cam0-stream0 seq: 000003 bytesused: 4147200
78.388005 (30.01 fps) cam0-stream0 seq: 000004 bytesused: 4147200
78.421331 (30.01 fps) cam0-stream0 seq: 000005 bytesused: 4147200
78.454658 (30.01 fps) cam0-stream0 seq: 000006 bytesused: 4147200
78.487983 (30.01 fps) cam0-stream0 seq: 000007 bytesused: 4147200
78.521312 (30.00 fps) cam0-stream0 seq: 000008 bytesused: 4147200
78.554638 (30.01 fps) cam0-stream0 seq: 000009 bytesused: 4147200
78.587964 (30.01 fps) cam0-stream0 seq: 000010 bytesused: 4147200
78.621293 (30.00 fps) cam0-stream0 seq: 000011 bytesused: 4147200
78.654617 (30.01 fps) cam0-stream0 seq: 000012 bytesused: 4147200
78.687943 (30.01 fps) cam0-stream0 seq: 000013 bytesused: 4147200
78.721274 (30.00 fps) cam0-stream0 seq: 000014 bytesused: 4147200
78.754598 (30.01 fps) cam0-stream0 seq: 000015 bytesused: 4147200
78.787925 (30.01 fps) cam0-stream0 seq: 000016 bytesused: 4147200
78.821253 (30.00 fps) cam0-stream0 seq: 000017 bytesused: 4147200
78.854580 (30.01 fps) cam0-stream0 seq: 000018 bytesused: 4147200
78.887903 (30.01 fps) cam0-stream0 seq: 000019 bytesused: 4147200
78.921233 (30.00 fps) cam0-stream0 seq: 000020 bytesused: 4147200
78.954557 (30.01 fps) cam0-stream0 seq: 000021 bytesused: 4147200
78.987883 (30.01 fps) cam0-stream0 seq: 000022 bytesused: 4147200
79.021212 (30.00 fps) cam0-stream0 seq: 000023 bytesused: 4147200
79.054539 (30.01 fps) cam0-stream0 seq: 000024 bytesused: 4147200
79.087863 (30.01 fps) cam0-stream0 seq: 000025 bytesused: 4147200
79.121193 (30.00 fps) cam0-stream0 seq: 000026 bytesused: 4147200
79.154520 (30.01 fps) cam0-stream0 seq: 000027 bytesused: 4147200
79.187846 (30.01 fps) cam0-stream0 seq: 000028 bytesused: 4147200
^CExiting
root@am62axx-evm:~# cam -c1 -C20 -s width=1920,height=1080,pixelformat=SRGGB8
[0:01:32.941054730] [485] INFO Camera camera_manager.cpp:298 libcamera v0.0.5+dirty (2023-07-06T12:59:14+00:00)
[0:01:32.947700415] [486] WARN CameraSensor camera_sensor.cpp:244 'imx219 4-0010': Recommended V4L2 control 0x009a0922 not supported
[0:01:32.947795365] [486] WARN CameraSensor camera_sensor.cpp:311 'imx219 4-0010': The sensor kernel driver needs to be fixed
[0:01:32.947830550] [486] WARN CameraSensor camera_sensor.cpp:313 'imx219 4-0010': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[0:01:32.949524280] [486] WARN CameraSensor camera_sensor.cpp:459 'imx219 4-0010': Failed to retrieve the camera location
Using camera /base/bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10 as cam0
[0:01:32.952290805] [485] INFO Camera camera.cpp:1028 configuring streams: (0) 1920x1080-SRGGB8
cam0: Capture 20 frames
93.025533 (0.00 fps) cam0-stream0 seq: 000000 bytesused: 2073600
93.058860 (30.01 fps) cam0-stream0 seq: 000001 bytesused: 2073600
93.092185 (30.01 fps) cam0-stream0 seq: 000002 bytesused: 2073600
93.125509 (30.01 fps) cam0-stream0 seq: 000003 bytesused: 2073600
93.158838 (30.00 fps) cam0-stream0 seq: 000004 bytesused: 2073600
93.192163 (30.01 fps) cam0-stream0 seq: 000005 bytesused: 2073600
93.225488 (30.01 fps) cam0-stream0 seq: 000006 bytesused: 2073600
93.258816 (30.00 fps) cam0-stream0 seq: 000007 bytesused: 2073600
93.292141 (30.01 fps) cam0-stream0 seq: 000008 bytesused: 2073600
93.325468 (30.01 fps) cam0-stream0 seq: 000009 bytesused: 2073600
93.358797 (30.00 fps) cam0-stream0 seq: 000010 bytesused: 2073600
93.392123 (30.01 fps) cam0-stream0 seq: 000011 bytesused: 2073600
93.425451 (30.00 fps) cam0-stream0 seq: 000012 bytesused: 2073600
93.458775 (30.01 fps) cam0-stream0 seq: 000013 bytesused: 2073600
93.492101 (30.01 fps) cam0-stream0 seq: 000014 bytesused: 2073600
93.525433 (30.00 fps) cam0-stream0 seq: 000015 bytesused: 2073600
93.558758 (30.01 fps) cam0-stream0 seq: 000016 bytesused: 2073600
93.592084 (30.01 fps) cam0-stream0 seq: 000017 bytesused: 2073600
93.625410 (30.01 fps) cam0-stream0 seq: 000018 bytesused: 2073600
93.658735 (30.01 fps) cam0-stream0 seq: 000019 bytesused: 2073600
root@am62axx-evm:~# cam -c1 -C20 -s width=1640,height=1232,pixelformat=SRGGB10
[0:01:42.906016865] [487] INFO Camera camera_manager.cpp:298 libcamera v0.0.5+dirty (2023-07-06T12:59:14+00:00)
[0:01:42.912692560] [488] WARN CameraSensor camera_sensor.cpp:244 'imx219 4-0010': Recommended V4L2 control 0x009a0922 not supported
[0:01:42.912787750] [488] WARN CameraSensor camera_sensor.cpp:311 'imx219 4-0010': The sensor kernel driver needs to be fixed
[0:01:42.912821925] [488] WARN CameraSensor camera_sensor.cpp:313 'imx219 4-0010': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[0:01:42.914446465] [488] WARN CameraSensor camera_sensor.cpp:459 'imx219 4-0010': Failed to retrieve the camera location
Using camera /base/bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10 as cam0
[0:01:42.917146895] [487] INFO Camera camera.cpp:1028 configuring streams: (0) 1640x1232-SRGGB10
cam0: Capture 20 frames
102.994908 (0.00 fps) cam0-stream0 seq: 000000 bytesused: 4040960
103.028235 (30.01 fps) cam0-stream0 seq: 000001 bytesused: 4040960
103.061558 (30.01 fps) cam0-stream0 seq: 000002 bytesused: 4040960
103.094883 (30.01 fps) cam0-stream0 seq: 000003 bytesused: 4040960
103.128207 (30.01 fps) cam0-stream0 seq: 000004 bytesused: 4040960
103.161537 (30.00 fps) cam0-stream0 seq: 000005 bytesused: 4040960
103.194863 (30.01 fps) cam0-stream0 seq: 000006 bytesused: 4040960
103.228187 (30.01 fps) cam0-stream0 seq: 000007 bytesused: 4040960
103.261515 (30.00 fps) cam0-stream0 seq: 000008 bytesused: 4040960
103.294844 (30.00 fps) cam0-stream0 seq: 000009 bytesused: 4040960
103.328169 (30.01 fps) cam0-stream0 seq: 000010 bytesused: 4040960
103.361495 (30.01 fps) cam0-stream0 seq: 000011 bytesused: 4040960
103.394822 (30.01 fps) cam0-stream0 seq: 000012 bytesused: 4040960
103.428148 (30.01 fps) cam0-stream0 seq: 000013 bytesused: 4040960
103.461475 (30.01 fps) cam0-stream0 seq: 000014 bytesused: 4040960
103.494799 (30.01 fps) cam0-stream0 seq: 000015 bytesused: 4040960
103.528130 (30.00 fps) cam0-stream0 seq: 000016 bytesused: 4040960
103.561454 (30.01 fps) cam0-stream0 seq: 000017 bytesused: 4040960
103.594782 (30.00 fps) cam0-stream0 seq: 000018 bytesused: 4040960
103.628107 (30.01 fps) cam0-stream0 seq: 000019 bytesused: 4040960
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment