iMX95 M7 Boot issue

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

iMX95 M7 Boot issue

1,197 次查看
samael3437
Contributor I

Hello,

I am trying to load a binary onto the Cortex-M7 core on a Toradex iMX95 Verdin module while Linux has not yet been initialized (i.e., at the U-Boot stage). During this process, I am attempting to load one of the example projects located in the eMMC.

The method I am following is based on the section referenced in UG10163, i.MX Linux User's Guide, which I have mentioned below. However, when I follow the instructions, the A55 core (running U-Boot) resets, and there is no observable change on the M7 side.

The address range provided in the example corresponds to the M7’s ITCM region. When I execute the bootaux command using DRAM instead, the A55 core does not reset; however, there is still no observable activity on the M7 side.

I suspect that the reset behavior may be related to the TRDC configuration performed by the M33 core. Could you please assist me with this issue?

The UBOOT version is 202504.

SM Version = Build 646, Commit 707569f4
SM Config = mx95evk, mSel =0

danielchen_0-1755670059626.png

0 项奖励
回复
3 回复数

466 次查看
TiborJ
Contributor II

Hello,

Any updates on this topic? I have the same issue. Somehow Cortex A has no access to TCM, and Cortex M7 crashes when release to 0x9000 0000. prepaux, stopaux and bootaux did not seem to do anything, when status is checked with SM

0 项奖励
回复

1,138 次查看
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @samael3437 

 

I hope you are doing very well.

 

Please refer to the below link:

https://docs.nxp.com/bundle/AN14748/page/topics/generate_bootable_image_for_running_m7_from_itcm.htm...

 

There is explained the process to make a booteable image for run Cortex M7 from ITCM.

 

At moment, bootaux and rproc are not fully supported.

 

Best regards,

Salas.

0 项奖励
回复

1,121 次查看
samael3437
Contributor I

Hello @Manuel_Salas,

Thank you very much for your response.

I have previously reviewed the method provided in the link you shared. However, according to my development setup, I need to load the binary to the M7 using U-Boot. You mentioned that bootaux is not fully supported—could you provide more details on the current limitations of bootaux?

Additionally, in the topic below, @danielchen from the NXP TechSupport team mentions that he was able to load one of the example project binaries located in eMMC to the M7 using bootaux. As I mentioned earlier, if there is no specific issue with bootaux, I suspect that the reset behavior I am experiencing might be related to the TRDC configuration. It is possible that the A55 does not have write access to the M7's ITCM region. I would appreciate it if you could clarify this matter.

Thank you in advance for your support.

https://community.nxp.com/t5/Other-NXP-Products/Free-RTOS-on-M33-core-of-the-i-mx95/td-p/2151421

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2346213%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EiMX95%20M7%20%E5%90%AF%E5%8A%A8%E9%97%AE%E9%A2%98%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2346213%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3C%2FP%3E%3CP%3E%E5%9C%A8%20Linux%20%E5%B0%9A%E6%9C%AA%E5%88%9D%E5%A7%8B%E5%8C%96%EF%BC%88%E5%8D%B3%E5%9C%A8%20U-Boot%20%E9%98%B6%E6%AE%B5%EF%BC%89%E6%97%B6%EF%BC%8C%E6%88%91%E6%AD%A3%E5%9C%A8%E5%B0%9D%E8%AF%95%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E5%8A%A0%E8%BD%BD%E5%88%B0%20Toradex%20iMx95%20Verdin%20%E6%A8%A1%E5%9D%97%E4%B8%8A%E7%9A%84%20Cortex-M7%20%E5%86%85%E6%A0%B8%E4%B8%8A%E3%80%82%E5%9C%A8%E6%AD%A4%E8%BF%87%E7%A8%8B%E4%B8%AD%EF%BC%8C%E6%88%91%E8%AF%95%E5%9B%BE%E5%8A%A0%E8%BD%BD%20eMMC%20%E4%B8%AD%E7%9A%84%E4%B8%80%E4%B8%AA%E7%A4%BA%E4%BE%8B%E9%A1%B9%E7%9B%AE%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E9%81%B5%E5%BE%AA%E7%9A%84%E6%96%B9%E6%B3%95%E5%9F%BA%E4%BA%8E%20UG10163%E3%80%8Ai.MX%20Linux%20%E7%94%A8%E6%88%B7%E6%8C%87%E5%8D%97%E3%80%8B%E4%B8%A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%3CP%3E%E6%88%91%E6%80%80%E7%96%91RESET%E8%A1%8C%E4%B8%BA%E5%8F%AF%E8%83%BD%E4%B8%8EM33%E5%86%85%E6%A0%B8%E6%89%A7%E8%A1%8C%E7%9A%84TRDC%E9%85%8D%E7%BD%AE%E6%9C%89%E5%85%B3%E3%80%82%E6%82%A8%E8%83%BD%E5%B8%AE%E5%8A%A9%E6%88%91%E8%A7%A3%E5%86%B3%E8%BF%99%E4%B8%AA%E9%97%AE%E9%A2%98%E5%90%97%EF%BC%9F%3C%2FP%3E%3CP%3EUBOOT%20%E7%89%88%E6%9C%AC%E4%B8%BA%20202504%E3%80%82%3C%2FP%3E%3CP%3ESM%20%E7%89%88%E6%9C%AC%20%3D%20Build%20646%EF%BC%8C%E6%8F%90%E4%BA%A4%20707569f4%20%3CBR%20%2F%3E%20SM%20%E9%85%8D%E7%BD%AE%20%3D%20mx95evk%EF%BC%8CmsEL%20%3D0%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22danielchen_0-1755670059626.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22danielchen_0-1755670059626.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22danielchen_0-1755670059626.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F381421iCBBDA4CD69251A8D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22danielchen_0-1755670059626.png%22%20alt%3D%22danielchen_0-1755670059626.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E2%80%83%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2380803%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20iMX95%20M7%20Boot%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2380803%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3C%2FP%3E%3CP%3E%E8%BF%99%E4%B8%AA%E8%AF%9D%E9%A2%98%E6%9C%89%E4%BB%80%E4%B9%88%E6%96%B0%E8%BF%9B%E5%B1%95%E5%90%97%EF%BC%9F%E6%88%91%E4%B9%9F%E6%9C%89%E5%90%8C%E6%A0%B7%E7%9A%84%E9%97%AE%E9%A2%98%E3%80%82%E4%B8%8D%E7%9F%A5%E4%BD%95%E6%95%85%20Cortex%20A%20%E6%97%A0%E6%B3%95%E8%AE%BF%E9%97%AE%20TCM%EF%BC%8C%E8%80%8C%E4%B8%94%20Cortex%20M7%20%E5%9C%A8%E5%8F%91%E5%B8%83%E5%88%B0%200x9000%200000%20%E6%97%B6%E5%B4%A9%E6%BA%83%E4%BA%86%E3%80%82%E5%BD%93%E4%BD%BF%E7%94%A8%20SM%20%E6%A3%80%E6%9F%A5%E7%8A%B6%E6%80%81%E6%97%B6%EF%BC%8Cprepaux%E3%80%81stopaux%20%E5%92%8C%20bootaux%20%E4%BC%BC%E4%B9%8E%E6%B2%A1%E6%9C%89%E4%BB%BB%E4%BD%95%E4%BD%9C%E7%94%A8%3C%2FP%3E%3C%2FLINGO-BODY%3E