This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62A7: After Waking up from Sleep DSP does'nt works

Part Number: AM62A7

Tool/software:

While putiing the processor into deep sleep , it was told to do modprobe -rf ti_k3_dsp_remoteproc as this prevents from going to sleep , once I did this I was able to put into deep sleep , After waking up from sleep the dsp doesn't works , I was trying to stream my camera I was able to do run 


gst-launch-1.0 v4l2src device=/dev/video3  ! video/x-bayer, width=1920, height=1080, format=grbg12 ! fakesink


but when I gave  this command gives error as I think VISS uses dsp and i previously unloaded it.


gst-launch-1.0 v4l2src device=/dev/video3 ! video/x-bayer, width=1920, height=1080, format=grbg12 ! queue leaky=2 ! tiovxisp sink_0::device=/dev/v4l-rpi-subdev0 sensor-name=SENSOR_AR0521 dcc-isp-file=/home/root/dcc_viss_1920.bin sink_0::dcc-2a-file=/home/root/dcc_2a_blc_cc.bin format-msb=9 sink_0::ae-mode=2 ! v4l2h265enc ! rtph265pay ! fakesink
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=6) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
_rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio1.rpmsg_chrdev.-1.13
_rpmsg_char_find_rproc: 7e000000.dsp is either not probed or not a remoteproc!
IPC: ERROR: Unable to create TX channels for CPU [mcu1_0] !!!
IPC: ERROR: Unable to create TX channels for CPU [c7x_1] !!!
IPC: Init ... Done !!!
APP: ERROR: IPC init failed !!!
REMOTE_SERVICE: Init ... !!!
_rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio1.rpmsg_chrdev.-1.21
_rpmsg_char_find_rproc: 7e000000.dsp is either not probed or not a remoteproc!
REMOTE_SERVICE: Init ... Done !!!
246.351733 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
246.351835 s: VX_ZONE_INIT:Enabled
246.351845 s: VX_ZONE_ERROR:Enabled
246.351854 s: VX_ZONE_WARNING:Enabled
246.352685 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-0
246.352818 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-1
246.352968 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-2
246.353100 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-3
246.353115 s: VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
246.353211 s: VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
IttCtrl_registerHandler: command echo registered at location 0
IttCtrl_registerHandler: command iss_read_2a_params registered at location 1
IttCtrl_registerHandler: command iss_write_2a_params registered at location 2
IttCtrl_registerHandler: command iss_raw_save registered at location 3
IttCtrl_registerHandler: command iss_yuv_save registered at location 4
IttCtrl_registerHandler: command iss_read_sensor_reg registered at location 5
IttCtrl_registerHandler: command iss_write_sensor_reg registered at location 6
IttCtrl_registerHandler: command dev_ctrl registered at location 7
IttCtrl_registerHandler: command iss_send_dcc_file registered at location 8
Error: failed to open i2c bus at /dev/i2c-9
Warning: Failed to initialize i2c bus. Register read/write will not work !!!
NETWORK: Opened at IP Addr = 192.168.225.20, socket port=5000!!!
246.513571 s: VX_ZONE_ERROR:[ownIpcSendMsg:140] OpenVX send notification failed
246.513599 s: VX_ZONE_ERROR:[ownObjDescSend:307] ownIpcSendMsg failed
246.513614 s: VX_ZONE_ERROR:[ownNodeKernelInit:590] Target kernel, TIVX_CMD_NODE_CREATE failed for node node_88
246.513628 s: VX_ZONE_ERROR:[ownNodeKernelInit:591] Please be sure the target callbacks have been registered for this core
246.513641 s: VX_ZONE_ERROR:[ownNodeKernelInit:592] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
246.513658 s: VX_ZONE_ERROR:[ownGraphNodeKernelInit:608] kernel init for node 0, kernel com.ti.hwa.vpac_viss ... failed !!!
246.513677 s: VX_ZONE_ERROR:[vxVerifyGraph:2159] Node kernel init failed
246.513689 s: VX_ZONE_ERROR:[vxVerifyGraph:2213] Graph verify failed
246.514401 s: VX_ZONE_ERROR:[ownReleaseReferenceInt:598] Invalid reference
ERROR: from element /GstPipeline:pipeline0/GstTIOVXISP:tiovxisp0: Unable to init TIOVX module
Additional debug info:
../git/gst-libs/gst/tiovx/gsttiovxmiso.c(1512): gst_tiovx_miso_negotiated_src_caps (): /GstPipeline:pipeline0/GstTIOVXISP:tiovxisp0
Execution ended after 0:00:00.142237605
Setting pipeline to NULL ...





So I want to know how to  handle this , i want to use dsp once it wakes up from sleep , or any proper method to load again ti_k3_dsp_remoteproc .

I tried with modprobe ti_k3_dsp_remoteproc but still after this I was not able to stream.