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.

TDA4VM: ipc

Part Number: TDA4VM


./vx_app_ipc_char.out
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=4) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
_rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for vir3
In IpcCreateTxch...!!!
In IPC Linux->rproc_id:0 remote_endpt:13 eptdev_name=rpmsg-char-0-1058
IPC: mcu1_0 : rpmsg local endpt is -1
IPC: ERROR: Unable to create TX channels for CPU [mcu1_0] !!!
IPC: Init ... Done !!!
APP: ERROR: IPC init failed !!!
APP: Init ... Done !!!

here _rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for vir3  -> log printed when rpmsg_chr driver is open for MCU1_0

how i solved this issue

  • Hi Darshana,

    I take it this is also on SDK 7.1? What SDK version are you migrating from?

    MCU1_0 is a special boot core, and is booted by R5 SPL. You need to combine the MCU R5F firmware with the A72 SPL. The SDK default uses a base IPC example firmware, ipc_echo_testb_mcu1_0_release_strip.xer5f. You need to rebuild the A72 SPL with the Vision Apps MCU1_0 firmware.

    Please see the section MCU1_0 Application Development with SYSFW in the RTOS SDK documentation.

    regards

    Suman

  • Hi suman

    Thanks for your reply, Now i understand that we need to combine the MCU R5F firmware with the A72 SPL.

    is in linux a72 only rpmsg char driver open and assign the fd and write payload is correct or not?

    how rpmsg used in linux side for IPC ?

    can i use same rpmsg in MCU side also?or can i use cddipc?

    or how i can see where endpoint is created?

    if u have any link or material for sample code for ipc between a72 to mcu1_0 plz share .because i see limited material on rpmsg

  • Hi suman 

    using SPL also i am not able to create endpoint in A72 side same log is show. how i create endpoint for mcu1_0 in mpu1_0 ?

    i see ipc example in mcusw- >mcuss_deomos->inter_core_comm for that ho i check the communication happend ?how i build this code?

    is there any ipc example for mpu1_0 to mcu1_0 and build steps for that ipc?