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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

724件の閲覧回数
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 返答(返信)

714件の閲覧回数
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 件の賞賛
返信

710件の閲覧回数
dddd
Contributor II

hi igor

 

Thanks for the reply, I'll try m4ctrl.

 

Best regards

0 件の賞賛
返信