Hello,
I am using GPIO1_10 as wakeup source from suspend. I enabled it by adding following devicetree overlay k3-am62x-sk-lpm-wkup-sources.dtbo.
When I wake system from suspend and use gstreamer command to stream from IMX 219 sensor. It is giving the following error.
root@am62axx-evm:/opt/edgeai-gst-apps# gst-launch-1.0 v4l2src device=/dev/video-rpi-cam0 io-mode=5 ! queue leaky=2 ! video/x-bayer, width=1920, height=1080,format=rggb ! tiovxisp sink_0::device=/dev/v4l-rpi-subdev0 sensor-name="SENSOR_SONY_IMX219_RPI" dcc-isp-file=/opt/imaging/imx219/linear/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/imx219/linear/dcc_2a.bin format-msb=7 ! tiovxmultiscaler ! video/x-raw, format=NV12, width=1920, height=1080 ! kmssink driver-name=tidss sync=false APP: Init ... !!! MEM: Init ... !!! MEM: Initialized DMA HEAP (fd=6) !!! MEM: Init ... Done !!! IPC: Init ... !!! IPC: Init ... Done !!! REMOTE_SERVICE: Init ... !!! REMOTE_SERVICE: Init ... Done !!! 1008.625459 s: GTC Frequency = 200 MHz APP: Init ... Done !!! 1008.627548 s: VX_ZONE_INIT:Enabled 1008.627583 s: VX_ZONE_ERROR:Enabled 1008.627592 s: VX_ZONE_WARNING:Enabled 1008.629628 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!! 1008.631188 s: VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!! Setting pipeline to PAUSED ... [ 1002.428345] Console: switching to colour frame buffer device 240x67 [ 1002.451600] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock [ 1003.746742] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_determine_rate+0x68/0xf0) [ 1003.756824] ti-sci 44043000.system-controller: Mbox send fail -110 [ 1003.763032] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-110 [ 1004.738726] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_put_device+0x18/0x24) [ 1004.748722] ti-sci 44043000.system-controller: Mbox send fail -110 [ 1004.802724] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_determine_rate+0x68/0xf0) [ 1004.812796] ti-sci 44043000.system-controller: Mbox send fail -110 [ 1004.819003] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-110 [ 1004.898724] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_put_device+0x18/0x24) [ 1004.908706] ti-sci 44043000.system-controller: Mbox send fail -110 [ 1005.858723] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_determine_rate+0x68/0xf0) [ 1005.868795] ti-sci 44043000.system-controller: Mbox send fail -110 [ 1005.875008] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-110 [ 1005.885729] cpu cpu0: _opp_config_clk_single: failed to set clock rate: -22 [ 1005.892713] cpufreq: __target_index: Failed to change cpu frequency: -22 [ 1006.914721] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_determine_rate+0x68/0xf0) [ 1006.924782] ti-sci 44043000.system-controller: Mbox send fail -110 [ 1006.930984] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-110 [ 1007.970724] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_determine_rate+0x68/0xf0) [ 1007.980783] ti-sci 44043000.system-controller: Mbox send fail -110 [ 1007.986984] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-110 [ 1009.026740] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_determine_rate+0x68/0xf0) [ 1009.036804] ti-sci 44043000.system-controller: Mbox send fail -110 [ 1009.043007] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-110 [ 1009.053730] cpu cpu0: _opp_config_clk_single: failed to set clock rate: -22 [ 1009.060715] cpufreq: __target_index: Failed to change cpu frequency: -22 [ 1010.082737] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_determine_rate+0x68/0xf0) [ 1010.092805] ti-sci 44043000.system-controller: Mbox send fail -110 [ 1010.099010] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-110 [ 1011.138738] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_determine_rate+0x68/0xf0) [ 1011.148814] ti-sci 44043000.system-controller: Mbox send fail -110 [ 1011.155023] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-110 [ 1012.194741] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: sci_clk_determine_rate+0x68/0xf0) [ 1012.204804] ti-sci 44043000.system-controller: Mbox send fail -110 [ 1012.211008] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-110 [ 1012.221732] cpu cpu0: _opp_config_clk_single: failed to set clock rate: -22 [ 1012.228718] cpufreq: __target_index: Failed to change cpu frequency: -22
GStreamer Command:
gst-launch-1.0 v4l2src device=/dev/video-rpi-cam0 io-mode=5 ! queue leaky=2 ! video/x-bayer, width=1920, height=1080,format=rggb ! tiovxisp sink_0::device=/dev/v4l-rpi-subdev0 sensor-name="SENSOR_SONY_IMX219_RPI" dcc-isp-file=/opt/imaging/imx219/linear/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/imx219/linear/dcc_2a.bin format-msb=7 ! tiovxmultiscaler ! video/x-raw, format=NV12, width=1920, height=1080 ! kmssink driver-name=tidss sync=false
Note:
The camera was streaming fine before suspend.
I am using SDK 9.1.0 through YOCTO.
