Tool/software:
I am trying to establish RemoteProc communication between R5F (2_0) and A72.
In my case, A72 is booting R5F (2 cores 2_0 and 2_1)
Boot is successful but when i try to run TI sample code, i see the issue like below.
void Mailbox_enableNewMsgInt(uintptr_t baseAddr,
uint32_t userId,
uint32_t queueId)
{
//prints("INIDE Mailbox_enableNewMsgInt; USERID:%d :QueueID:%d \n",(int)userId,(int)queueId);
/* Set the NewMsgEnable field - Writing zero has no effect */
CSL_REG32_WR(baseAddr + CSL_MAILBOX_USER_IRQ_ENABLE_SET(userId), (uint32_t) 0x1 <<
(queueId * 2U));
//prints("INIDE Mailbox_enableNewMsgInt done\n");
}
CSL_REG32_WR(baseAddr + CSL_MAILBOX_USER_IRQ_ENABLE_SET(userId), (uint32_t) 0x1
if i try to communicate with A72 then this line of code hangs
i checked the base address and its value is 0x31F81118 which is correct as per my DTS.
mailbox0_cluster1: mailbox@31f81000 {
compatible = "ti,am654-mailbox";
reg = <0x00 0x31f81000 0x00 0x200>;
#mbox-cells = <1>;
ti,mbox-num-users = <4>;
ti,mbox-num-fifos = <16>;
interrupt-parent = <&main_navss_intr>;
};
is it a permission issue or anything else?