How to add rpmsg wakeup in android 9 automotive

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to add rpmsg wakeup in android 9 automotive

1,554 次查看
vinothkumars
Senior Contributor IV

Hi All,

I build android image for android 9 automotive with EVS function enabled for IMX8QM MEK platform.

I implement the following configuration for RPMSG wakeup. but, not able to wake the A53.

static void WakeupSetupRpmsg(void)
{
    NVIC_SetPriority(GET_IRQSTEER_MASTER_IRQn(LSIO_MU5_INT_B_IRQn), 4);
    IRQSTEER_EnableInterrupt(IRQSTEER, LSIO_MU5_INT_B_IRQn);
}

Thanks & Regards,

Vinoth S,

Regards,
Vinothkumar Sekar
0 项奖励
回复
4 回复数

1,488 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Vinoth

one can try patches from link:

https://community.nxp.com/docs/DOC-343113 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,488 次查看
vinothkumars
Senior Contributor IV

Thank you Igor for the reply.

I am following the same patches.

The M4 MCU stopped here (GETCHAR), I unable to provide the input

//qiang_debug add start
        PRINTF("Got ping...\r\n");

        while (1)
        {
             ch = GETCHAR();
             if(ch == 'c')
             break;
        }   

//qiang_debug add end

while (msg.DATA <= 100)
 {
       PRINTF("Waiting for ping...\r\n");
       rpmsg_queue_recv(my_rpmsg, my_queue, (unsigned long *)&remote_addr, (char *)&msg,  sizeof(THE_MESSAGE), NULL, RL_BLOCK);
       msg.DATA++;
     

//qiang_debug add start
        PRINTF("Got ping...\r\n");

        while (1)
        {
             ch = GETCHAR();
             if(ch == 'c')
             break;
        }   

//qiang_debug add end
        PRINTF("Sending pong...\r\n");
        rpmsg_lite_send(my_rpmsg, my_ept, remote_addr, (char *)&msg, sizeof(THE_MESSAGE), RL_BLOCK);
    }

Will you please help me to resolve this.

Regards,

Vinoth S,

Regards,
Vinothkumar Sekar
0 项奖励
回复

1,488 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Vinoth

 

I think you can add question on patches link.

 

Best regards
igor

0 项奖励
回复

1,488 次查看
vinothkumars
Senior Contributor IV

Thank you Igor

Vinoth S,

Regards,
Vinothkumar Sekar
0 项奖励
回复