Skip to content
Commit 900dd510 authored by Mikael's avatar Mikael
Browse files

Move message handler setup to separate task



The OpenAMP library has changed how the wait_remote_ready functions work
for Remoteproc and RPMsg, instead of using metal_yield while waiting for
the remote side to get ready, they now use metal_sleep_usec.

This causes issues in the message handler implementation because
FreeRTOS implements the sleep function using vTaskDelay, which can only
be used after the scheduler has been started and the message handler
performs its Remoteproc setup before starting the scheduler.

To solve this, the Remoteproc setup has been moved to its own task that
will be run before any other task. This allows the use of vTaskDelay
during the setup.

Change-Id: Idf9e86e62ff0ff4bd716d33987cb70bc34743229
Signed-off-by: Mikael's avatarMikael Olsson <mikael.olsson@arm.com>
parent 2e76c528
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment