You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the i.MX8MM and have bare metal firmware running on the Cortex-M as the remote end of the connection and currently a QNX application, in the Cortex-A domain, acting as the master using the librpmsg_lite-imx library. I now also need to support and option where Linux is running in the Cortex-A domain in place of QNX.
In the i.MX8MM SDK multicore examples there are a few bits that are wrapped in #ifdef RPMSG_LITE_MASTER_IS_LINUX ... #endif. Can this be something that is handled at runtime not compile time providing I have a mechanism to tell the firmware which OS is running?
Are there any conflicts in the configuration that would prevent me from having a single Cortex-M firmware image?
-Andy.
The text was updated successfully, but these errors were encountered:
Hello @wonk-andy ,
the i.MX8MM SDK multicore examples are intended for the cortex-M core, i.e. the rpmsg_lite remote (secondary core). The source code is used for both cases when primary core (rpmsg master) is running Linux (a.) and the case when primary core is running bm/rtos rpmsg-lite master (b.). The RPMSG_LITE_MASTER_IS_LINUX compile time macro serves just to distinguish between these two cases and adding (a.) case specific code parts. It is compile time macro, nothing runtime handled.
As for using single Cortex-M firmware image, the rpmsg-lite implementation is binary compatible with Linux RPMsg and thus you should be able to run the same Cortex-M firmware image against the QNX and Linux.
Regards
Michal
I am using the i.MX8MM and have bare metal firmware running on the Cortex-M as the remote end of the connection and currently a QNX application, in the Cortex-A domain, acting as the master using the librpmsg_lite-imx library. I now also need to support and option where Linux is running in the Cortex-A domain in place of QNX.
In the i.MX8MM SDK multicore examples there are a few bits that are wrapped in #ifdef RPMSG_LITE_MASTER_IS_LINUX ... #endif. Can this be something that is handled at runtime not compile time providing I have a mechanism to tell the firmware which OS is running?
Are there any conflicts in the configuration that would prevent me from having a single Cortex-M firmware image?
-Andy.
The text was updated successfully, but these errors were encountered: