How to add rpmsg wakeup in android 9 automotive

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add rpmsg wakeup in android 9 automotive

1,130 Views
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 Kudos
4 Replies

1,064 Views
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 Kudos

1,064 Views
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 Kudos

1,064 Views
igorpadykov
NXP Employee
NXP Employee

Hi Vinoth

 

I think you can add question on patches link.

 

Best regards
igor

0 Kudos

1,064 Views
vinothkumars
Senior Contributor IV

Thank you Igor

Vinoth S,

Regards,
Vinothkumar Sekar
0 Kudos