Using the Cortex-M4 MCU on the i.MX6 SoloX from Linux

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the Cortex-M4 MCU on the i.MX6 SoloX from Linux

67 Views
Contributor I

Hi,

    I'm trying to load the M4 binary after Linux boot, Linux bash doesn't respond when using RPMSG pingpong examples.

  QQ截图20200929104455.png

   I made the following changes

diff --git a/arch/arm/mach-imx/src.c b/arch/arm/mach-imx/src.c
index c53b6da411b9..9859751b5109 100644
--- a/arch/arm/mach-imx/src.c
+++ b/arch/arm/mach-imx/src.c
@@ -194,6 +194,7 @@ void __init imx_src_init(void)
 		m4_is_enabled = true;
 	else
 		m4_is_enabled = false;
+	m4_is_enabled = true;
 
 	val &= ~(1 << BP_SRC_SCR_WARM_RESET_ENABLE);
 	writel_relaxed(val, src_base + SRC_SCR);

I tried to start the M4 binary in u-boot and everything worked as expected. Do I need to make any changes to the way I load the M4 binary using m4fwloader?

yocto version

repo init -u git://source.codeaurora.org/external/imx/imx-manifest.git -b imx-linux-zeus -m imx-5.4.24-2.1.0.xml

examples

FreeRTOS_BSP_1.0.1_iMX6SX.tar.gz

 

pop

Labels (1)
0 Kudos
2 Replies

57 Views
NXP TechSupport
NXP TechSupport

Hi dddd

 

for m4fwloader issues one can post on

https://github.com/NXPmicro/imx-m4fwloader/issues

alternatively one can try m4ctrl

https://source.codeaurora.org/external/imxsupport/m4ctrl/tree/README.md

 

Best regards
igor

0 Kudos

53 Views
Contributor I

hi igor

 

Thanks for the reply, I'll try m4ctrl.

 

Best regards

0 Kudos