Apalis IMX8 cortex M4 and linux conflict

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

Apalis IMX8 cortex M4 and linux conflict

235 次查看
jens0501
Contributor II

Hello,

I am trying to get the ‘hello world’ demo example from the MCUXpresso SDK to run on one of the cortex M4 cores of the apalis IMX8 running TorizonOS. I have compiled the code, moved it to the corresponding location on the IMX8 and I followed this guide to run it via uboot (Normally I use remoteproc for this, but this is not yet available for the apalis imx8 to my understanding).

 

This all works and I see the hello world output on the serial output. The problem is that when I boot linux when the M4 is running, it starts the kernel but immediately crashes and reboots (if i enable the m4 to run automatically at boot, the board just enters a reboot loop). To my understanding, the only possible conflict are the UART pins that are used as a serial output by the M4. I have removed these from the devicetree even though it doesn’t seem like they are being utilized by linux, but to no effect. I also tried to modify the devicetree according to this:

https://github.com/nxp-imx/linux-imx/commit/bf90859f632888c62357288b4dc5682c55ea41c6

But still no luck. What would cause this conflict between the M4 core and linux? I already asked on the toradex forum, but there I get the answer that they are working to implement support for the M4 cores and that I should ask here in the meantime.

Best regards

0 项奖励
回复
1 回复

213 次查看
joanxie
NXP TechSupport
NXP TechSupport

the board and sdk you used are the third party company, I suggest that you can contact them, this should be remoteproc issue, they should have detailed steps to test, I couldn't reproduce this on nxp board, you also can try other demo, as I known hello world has some issue with remoteproc in other board, I'm not sure if your imx8 board has it or not

0 项奖励
回复