Tool/software:
HI TI
I want to change the camera and display the captured camera on the dp screen, but I encounter the following error and nothing is displayed on the screen
Terminal commands are shown as follows,
root@j7-evm:~# media-ctl -p Media controller API version 5.10.162 Media device information ------------------------ driver j721e-csi2rx model TI-CSI2RX serial bus info platform:4500000.ticsi2rx hw revision 0x1 driver version 5.10.162 Device topology - entity 1: 4500000.ticsi2rx (17 pads, 17 links, 1 route) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev3 routes: 0/0 -> 1/0 [ACTIVE] pad0: Sink [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] <- "cdns_csi2rx.4504000.csi-bridge":1 [ENABLED,IMMUTABLE] pad1: Source [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] -> "4500000.ticsi2rx context 0":0 [ENABLED,IMMUTABLE] pad2: Source -> "4500000.ticsi2rx context 1":0 [ENABLED,IMMUTABLE] pad3: Source -> "4500000.ticsi2rx context 2":0 [ENABLED,IMMUTABLE] pad4: Source -> "4500000.ticsi2rx context 3":0 [ENABLED,IMMUTABLE] pad5: Source -> "4500000.ticsi2rx context 4":0 [ENABLED,IMMUTABLE] pad6: Source -> "4500000.ticsi2rx context 5":0 [ENABLED,IMMUTABLE] pad7: Source -> "4500000.ticsi2rx context 6":0 [ENABLED,IMMUTABLE] pad8: Source -> "4500000.ticsi2rx context 7":0 [ENABLED,IMMUTABLE] pad9: Source -> "4500000.ticsi2rx context 8":0 [ENABLED,IMMUTABLE] pad10: Source -> "4500000.ticsi2rx context 9":0 [ENABLED,IMMUTABLE] pad11: Source -> "4500000.ticsi2rx context 10":0 [ENABLED,IMMUTABLE] pad12: Source -> "4500000.ticsi2rx context 11":0 [ENABLED,IMMUTABLE] pad13: Source -> "4500000.ticsi2rx context 12":0 [ENABLED,IMMUTABLE] pad14: Source -> "4500000.ticsi2rx context 13":0 [ENABLED,IMMUTABLE] pad15: Source -> "4500000.ticsi2rx context 14":0 [ENABLED,IMMUTABLE] pad16: Source -> "4500000.ticsi2rx context 15":0 [ENABLED,IMMUTABLE] - entity 19: cdns_csi2rx.4504000.csi-bridge (5 pads, 2 links, 0 route) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev4 pad0: Sink [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] <- "ds90ub960 9-003d":4 [ENABLED,IMMUTABLE] pad1: Source [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] -> "4500000.ticsi2rx":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 25: ds90ub960 9-003d (6 pads, 2 links, 1 route) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev5 routes: 0/0 -> 4/0 [ACTIVE] pad0: Sink [stream:0 fmt:UYVY8_2X8/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] <- "ds90ub953 9-0044":1 [ENABLED,IMMUTABLE] pad1: Sink pad2: Sink pad3: Sink pad4: Source [stream:0 fmt:UYVY8_2X8/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] -> "cdns_csi2rx.4504000.csi-bridge":0 [ENABLED,IMMUTABLE] pad5: Source - entity 34: ds90ub953 9-0044 (2 pads, 2 links, 1 route) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev6 routes: 0/0 -> 1/0 [ACTIVE] pad0: Sink [stream:0 fmt:UYVY8_2X8/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] <- "imx390 10-0036":0 [ENABLED,IMMUTABLE] pad1: Source [stream:0 fmt:UYVY8_2X8/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] -> "ds90ub960 9-003d":0 [ENABLED,IMMUTABLE] - entity 39: imx390 10-0036 (1 pad, 1 link, 2 routes) type V4L2 subdev subtype Sensor flags 0 device node name /dev/v4l-subdev7 routes: 0/0 -> 0/0 [ACTIVE, IMMUTABLE, SOURCE] 0/0 -> 0/1 [INACTIVE, IMMUTABLE, SOURCE] pad0: Source [stream:0 fmt:SRGGB12_1X12/1920x1284@1/30 field:none colorspace:smpte170m] -> "ds90ub953 9-0044":0 [ENABLED,IMMUTABLE] - entity 45: 4500000.ticsi2rx context 0 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video18 pad0: Sink <- "4500000.ticsi2rx":1 [ENABLED,IMMUTABLE] - entity 51: 4500000.ticsi2rx context 1 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video19 pad0: Sink <- "4500000.ticsi2rx":2 [ENABLED,IMMUTABLE] - entity 57: 4500000.ticsi2rx context 2 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video20 pad0: Sink <- "4500000.ticsi2rx":3 [ENABLED,IMMUTABLE] - entity 63: 4500000.ticsi2rx context 3 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video21 pad0: Sink <- "4500000.ticsi2rx":4 [ENABLED,IMMUTABLE] - entity 69: 4500000.ticsi2rx context 4 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video22 pad0: Sink <- "4500000.ticsi2rx":5 [ENABLED,IMMUTABLE] - entity 75: 4500000.ticsi2rx context 5 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video23 pad0: Sink <- "4500000.ticsi2rx":6 [ENABLED,IMMUTABLE] - entity 81: 4500000.ticsi2rx context 6 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video24 pad0: Sink <- "4500000.ticsi2rx":7 [ENABLED,IMMUTABLE] - entity 87: 4500000.ticsi2rx context 7 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video25 pad0: Sink <- "4500000.ticsi2rx":8 [ENABLED,IMMUTABLE] - entity 93: 4500000.ticsi2rx context 8 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video26 pad0: Sink <- "4500000.ticsi2rx":9 [ENABLED,IMMUTABLE] - entity 99: 4500000.ticsi2rx context 9 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video27 pad0: Sink <- "4500000.ticsi2rx":10 [ENABLED,IMMUTABLE] - entity 105: 4500000.ticsi2rx context 10 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video28 pad0: Sink <- "4500000.ticsi2rx":11 [ENABLED,IMMUTABLE] - entity 111: 4500000.ticsi2rx context 11 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video29 pad0: Sink <- "4500000.ticsi2rx":12 [ENABLED,IMMUTABLE] - entity 117: 4500000.ticsi2rx context 12 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video30 pad0: Sink <- "4500000.ticsi2rx":13 [ENABLED,IMMUTABLE] - entity 123: 4500000.ticsi2rx context 13 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video31 pad0: Sink <- "4500000.ticsi2rx":14 [ENABLED,IMMUTABLE] - entity 129: 4500000.ticsi2rx context 14 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video32 pad0: Sink <- "4500000.ticsi2rx":15 [ENABLED,IMMUTABLE] - entity 135: 4500000.ticsi2rx context 15 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video33 pad0: Sink <- "4500000.ticsi2rx":16 [ENABLED,IMMUTABLE] root@j7-evm:~# eld: none]':~# media-ctl -V '"ds90ub953 9-0044":0 [fmt:SRGGB12_1X12/1920x1284 fie root@j7-evm:~# media-ctl -R '"ds90ub960 9-003d" [0/0 -> 4/0 [1]]' eld: none]':~# media-ctl -V '"ds90ub960 9-003d":0 [fmt:SRGGB12_1X12/1920x1284 fie root@j7-evm:~# media-ctl -R '"4500000.ticsi2rx" [0/0 -> 1/0 [1]]' root@j7-evm:~# yavta -c8 -f SRGGB12 -s 1936x1284 /dev/video18 Device /dev/video18 opened. Device `j721e-csi2rx' on `platform:4500000.ticsi2rx' is a video output (without mplanes) device. Video format set: SRGGB12 (32314752) 1936x1284 (stride 3872) field none buffer size 4971648 Video format: SRGGB12 (32314752) 1936x1284 (stride 3872) field none buffer size 4971648 8 buffers requested. length: 4971648 offset: 0 timestamp type/source: mono/EoF Buffer 0/0 mapped at address 0xffff84af5000. length: 4971648 offset: 4972544 timestamp type/source: mono/EoF Buffer 1/0 mapped at address 0xffff84637000. length: 4971648 offset: 9945088 timestamp type/source: mono/EoF Buffer 2/0 mapped at address 0xffff84179000. length: 4971648 offset: 14917632 timestamp type/source: mono/EoF Buffer 3/0 mapped at address 0xffff83cbb000. length: 4971648 offset: 19890176 timestamp type/source: mono/EoF Buffer 4/0 mapped at address 0xffff837fd000. length: 4971648 offset: 24862720 timestamp type/source: mono/EoF Buffer 5/0 mapped at address 0xffff8333f000. length: 4971648 offset: 29835264 timestamp type/source: mono/EoF Buffer 6/0 mapped at address 0xffff82e81000. length: 4971648 offset: 34807808 timestamp type/source: mono/EoF Buffer 7/0 mapped at address 0xffff829c3000. 0 (0) [-] any 0 4971648 B 455.138670 455.138684 44.585 fps ts mono/EoF 1 (1) [-] any 1 4971648 B 455.155237 455.155245 60.361 fps ts mono/EoF 2 (2) [-] any 2 4971648 B 455.171815 455.171823 60.321 fps ts mono/EoF 3 (3) [-] any 3 4971648 B 455.188394 455.188400 60.317 fps ts mono/EoF 4 (4) [-] any 4 4971648 B 455.204972 455.204979 60.321 fps ts mono/EoF 5 (5) [-] any 5 4971648 B 455.221549 455.221556 60.325 fps ts mono/EoF 6 (6) [-] any 6 4971648 B 455.238128 455.238134 60.317 fps ts mono/EoF 7 (7) [-] any 7 4971648 B 455.254706 455.254712 60.321 fps ts mono/EoF Captured 8 frames in 0.138470 seconds (57.773970 fps, 287231840.765696 B/s). 8 buffers released. =1920, height=1284, format=UYVY ! autovideosinkdev/video18" ! video/x-raw, width= Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock ^Chandling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:00:10.449361130 Setting pipeline to NULL ... Freeing pipeline ... root@j7-evm:~# gst-launch-1.0 v4l2src device="/dev/video18" ! video/x-raw, widt =1920, height=1284, format=UYVY ! autovideosinkdev/video18" ! video/x-raw, width= Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock