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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

705 次查看
dddd
Contributor II

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

标签 (1)
0 项奖励
2 回复数

695 次查看
igorpadykov
NXP Employee
NXP Employee

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 项奖励

691 次查看
dddd
Contributor II

hi igor

 

Thanks for the reply, I'll try m4ctrl.

 

Best regards

0 项奖励