Running Yocto Linux on A35 and FreeRTOS on M4 in i.MX 8XDXL EVK

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

Running Yocto Linux on A35 and FreeRTOS on M4 in i.MX 8XDXL EVK

323 Views
sarvesh_n
Contributor I

Hello,

I am using the i.MX 8XDXL Evaluation Kit and would like to run a Yocto Linux image on the Cortex-A35 cores while running a FreeRTOS image on the Cortex-M4 core.

What would be the best method to achieve this? Specifically:

1. How should I handle booting both OSes correctly?
2. What are the recommended steps to load and execute the FreeRTOS firmware on M4 while Linux is running on A35?
3. Are there any device tree modifications or configurations required to ensure proper communication between the cores?
4. What tools or scripts (U-Boot, remoteproc, etc.) should I use to load and start FreeRTOS from Linux?
Any guidance, reference documentation, or example implementations would be greatly appreciated.

Thanks!

0 Kudos
Reply
1 Reply

248 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,


1. How should I handle booting both OSes correctly?
-->Please refer page 47 in this guide:https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

The steps on i.MX8DXL are similar with i.MX 8QuadMax and i.MX 8QuadXPlus, please refer their steps.

On the i.MX 8QuadMax and i.MX 8QuadXPlus boards, there are two ways to boot the Arm Cortex-M4 cores

2. What are the recommended steps to load and execute the FreeRTOS firmware on M4 while Linux is running on A35?

--> Load M4 firmware in uboot or remoteproc depends on your application, if you need M4 run before Linux, choose to load M4 firmware in uboot.


3. Are there any device tree modifications or configurations required to ensure proper communication between the cores?

--> Need to use imx8dx-mek-rpmsg.dtb for Linux.


4. What tools or scripts (U-Boot, remoteproc, etc.) should I use to load and start FreeRTOS from Linux?

-->Please refer page 47 in  this guide:https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

Best Regards,
Zhiming

0 Kudos
Reply