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.

How to start IpcMg_ipcStartup() related functionality from a low priority SYSBIOS task

Other Parts Discussed in Thread: SYSBIOS

We have a issue now regarding the starting of IpcMg_ipcStartup(). With late attach feature enabled u-boot loads the IPU1 xem4 and it is getting loaded. SYSBIOS starts immediately along with that Linux Kernel also starts coming. In Linux kernel one of the driver component has dependency on one of the task of IPU1 xem4 . Without IPC start up function it starts immediately and updates properly and Linux driver has no problem.  With IPC start up functionality we can see below logs it blocks there for some time and it does not start our high priority task first.

 

[t=0x00afe4c3] ti.ipc.transports.TransportRpmsgSetup: TransportRpmsgSetup_attach: remoteProcId: 0

[t=0x00ccb7ed] ti.ipc.transports.TransportRpmsg: TransportRpmsg_Instance_init: remoteProc: 0

[t=0x00eb0303] ti.ipc.family.vayu.VirtQueue: vring: 0 0x60000000 (0x3000)

[t=0x0100e761] ti.ipc.family.vayu.VirtQueue: vring: 1 0x60004000 (0x3000)

[t=0x011770d7] ti.ipc.family.vayu.VirtQueue: VirtQueue_startup: VDEV status: 0x0

[t=0x012fac79] ti.ipc.family.vayu.VirtQueue: VirtQueue_startup: Polling VDEV status...

 

 

Basically our requirement is IPC related start up functionality we want to do after the high priority task started and initialized. It will be fine for us if IPC related stuffs can be started from a low priority task after 2sec of start up. We want to know how can we move IPC related initialization IpcMg_ipcStartup() in to a function inside a low priority task . 

Thanks,

Rabi