How to loading Code on Cortex-M4 from Linux/u-boot for the iMX8MQ

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

How to loading Code on Cortex-M4 from Linux/u-boot for the iMX8MQ

Jump to solution
4,793 Views
trongthinh
Contributor IV

There are some demo binaries for imx8mq-evk. I found them in output folder after building source. I am using meta-fsl-bsp-release (4.9.88-2.0.0)

IMAGE_BOOTFILES += "imx8mq_m4_TCM_hello_world.bin imx8mq_m4_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin imx8mq_m4_TCM_rpmsg_lite_str_echo_rtos.bin"

My question is "Is there any document or user guide that help me flashing these firmware to M4 core?" I don't know how to use these firmware. Many thanks for help!

Labels (1)
0 Kudos
1 Solution
3,108 Views
igorpadykov
NXP Employee
NXP Employee

Hi Thinx

please download SDK on below link, follow sect.6 Running an application by U-Boot

Getting Started with MCUXpresso SDK for i.MX 8M Quad.pdf which is also attached

https://www.nxp.com/webapp/Download?colCode=SDK_2.3_MX8MQ_Beta_WIN&appType=license&Parent_nodeId=151... 

Best regards
igor

View solution in original post

0 Kudos
3 Replies
3,108 Views
igorpadykov
NXP Employee
NXP Employee

Hi Thinx

please look in documentation included ini.MX8M SDK;

Board Support Packages (11)
SDK_2.3_MX8MQ_Beta
i.MX 8M Evaluation Kit|NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
3,108 Views
trongthinh
Contributor IV

Hi Igor,

I follow your instruction. It takes me to download "iar_segger_support_patch_imx8". Though It is useful, I am looking for another way. Eg.  use u-boot to start M4 core (correct me if i am wrong). 

0 Kudos
3,109 Views
igorpadykov
NXP Employee
NXP Employee

Hi Thinx

please download SDK on below link, follow sect.6 Running an application by U-Boot

Getting Started with MCUXpresso SDK for i.MX 8M Quad.pdf which is also attached

https://www.nxp.com/webapp/Download?colCode=SDK_2.3_MX8MQ_Beta_WIN&appType=license&Parent_nodeId=151... 

Best regards
igor

0 Kudos