S32G3 Bootloader

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32G3 Bootloader

Jump to solution
353 Views
jiajun_cheng
Contributor III

Hi,NXP Team:

Recently, I have been doing multi-core booting of S32G3 according to AN13750 and S32G_Bootloader_G3_LLCELOGGER_V1_2023_12_0.pdf, but it has been successful on S32G2-VNP-RDB2, but S32G3-VNP-RDB3 has not started yet. I would like to ask what needs to be modified for the multi-core booting of S32G2 and G3. Of course, the loading address has been modified.

S32G-VNP-RDB3 

0 Kudos
Reply
1 Solution
90 Views
jiajun_cheng
Contributor III

我想我的问题已经解决了,应该是ATF的时钟没有匹配,修改ATF始终后,目前能正常运行

View solution in original post

0 Kudos
Reply
6 Replies
83 Views
chenyin_h
NXP Employee
NXP Employee

Hi, @jiajun_cheng 

抱歉最近太忙,没能及时回复,一般AN13750相关的问题我们主要是建议查A&M两端的时钟和pin两个方面。

很高兴您的问题已经得到了解决,后续有其他问题您可以随时联系我们。

 

BR

Chenyin

0 Kudos
Reply
260 Views
chenyin_h
NXP Employee
NXP Employee

您好, @jiajun_cheng 

抱歉这几天有些繁忙,因为时间关系,我还没能仔细测试这种组合(BSP41 + Mcore),请问您是否方便A核端测试一下BSP42是否有类似问题?您之前测试成功的RDB2的case,也是基于BSP41吗?

 

BR

Chenyin

0 Kudos
Reply
251 Views
jiajun_cheng
Contributor III

Hi, @chenyin_h :

1. BSP42我刚刚尝试过也是不行的

2. S32G2上我是跟随AN13750,使用的BSP33

今天看到有篇文章中提到,S32G2的A核的是1GHZ,S32G3是1.3GZH,所以需要修改A核的时钟是吗?如果需要的话,还请指导我怎么在ATF中修改

另外如果还有其他与G2不一样的地方,还请指导一下我,谢谢您

0 Kudos
Reply
91 Views
jiajun_cheng
Contributor III

我想我的问题已经解决了,应该是ATF的时钟没有匹配,修改ATF始终后,目前能正常运行

0 Kudos
Reply
302 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @jiajun_cheng 

Thanks for your post.

From my understanding, AN13750 is based on RDB2, while the other file you mentioned is based on RDB3, for RDB3, you may reference the software packages needed from S32G_Bootloader_G3_LLCELOGGER_V1_2023_12_0, note that the bootloader base sample is from the S32G3 Platform Software Integration 2023.02.

Besides, there are not much differences between the test on RDB2 and RDB3 from my experience, since you have done the test on RDB2, I believe that there would not be many issues on running it with RDB3,  may I know if there are any specific issues met? 

 

BR

Chenyin

 

 

0 Kudos
Reply
285 Views
jiajun_cheng
Contributor III

Hi, @chenyin_h :
是这样的,我在C:\NXP\Integration_Reference_Examples_S32G3_2023_02\applications\realtime\Tresos\workspaces\Bootloader_S32G3XX_ASR_4.4_M7的基础上,按照AN13750的修改,但是从Norflash启动,我的A核并没有启动,请您帮我分析下有哪些原因,以下是我的一些配置

1. Bootloader配置,取消了Secure Boot,失能了Rm,Crypto,CryptoDal,删除了SysDal->PowerUp->Deinit->RmInit

jiajun_cheng_0-1733360862777.png

劳特巴赫的调试,已经可以正常运行到WFI,所以是否已经代表Bootloader已经运行成功了,但是后续我的A核却并没有启动

jiajun_cheng_1-1733360976728.jpeg

2. Bootloader-> BootSource的地址配置

jiajun_cheng_2-1733361045803.png

我的ATF分支也切换到了BSP41

jiajun_cheng_3-1733361136802.png

编译产物的地址,我计算0x342f86c0+0x1240+0x34600=0x3433 1EC0,应该没有跟我的M7_0地址有冲突

jiajun_cheng_4-1733361185147.png

这是我的IVT视图

jiajun_cheng_5-1733361422792.png

最后将Bootloader,fip.bin,m7_app.bin,按照0,0x10 0000,0x20 0000的顺序烧录到Norflash,拨码开关也调到了Norflash启动的位置

所以还请您帮我检查下,应该怎么修改,谢谢~

 

 

0 Kudos
Reply