How to create a bootloader project to start up both M7 and A53 core for S32R45 on S32DS

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

How to create a bootloader project to start up both M7 and A53 core for S32R45 on S32DS

1,399 Views
aiweixin
Contributor IV

Hi,

    I want to create a bootloader project to start up both M7 and A53 core,how can i do for it? Some doc or idea? 

    I find the Bootloader Integration Example in the Platform_Software_Integration_S32R45 don't start A53 core, or I didn't understand it correctly.

    Can you help me?

Tags (2)
3 Replies

1,381 Views
GaryRK
NXP Employee
NXP Employee

Hi aiweixin,

The bootloader integration example does demonstrate booting of the A53 core, the boot sequence is: POR -> HSE (NXP BootROM FW) -> M7_0 (bootloader application) -> A53 (u-boot -> Linux). Please follow the bootloader example user guide and go through the steps to import, build and run the example and you will see the outcome of having M7_0 and all A53 cores enabled.

We can help you understand it better but please be specific with your questions; which parts do you have trouble with?

0 Kudos

1,367 Views
aiweixin
Contributor IV

Hi Gary,

    I have tried to do it as following these steps:

    1) import the bootloader integration example on S32DS, and open the .mex file to generate code;

aiweixin_0-1672815963418.png

    2) build it successfully.

aiweixin_1-1672816035443.png

    3) build the linux, and generate linux files(uboot, image, dts, rootfs);

aiweixin_2-1672816745483.png

    4) use s32ft.exe to upload uboot to flash(the address is same as BootSources_A53_uboot in step 1);

aiweixin_4-1672817087450.png

    5)  debug bootloader project by S32 Debug Probe.

aiweixin_5-1672817232109.png

    But, there is nothing output on the COM (Serial port).

aiweixin_0-1672820066637.png

 

    where do i make some mistakes?

0 Kudos

1,319 Views
StanleyShen
Contributor IV

Hi aiweixin 

我看了你的截图,猜测你应该是中国人,

请问一下,你这边同时启动M7 和 A53 成功了吗?

我的问题和你相识,我用的是S32G-VNP-RDB2的板子,深度参考了附件的文档,M7这边的bootloader以及M7这边的APP都已经起来了,但是M7启动A53(FIP)的时候没有相应,不知道问题出在哪里。

下面是我发的贴子,但是感觉NXP这边回复的跟我问的相差很大,所以目前还问题还没有解决

Re: Start Linux form M7_0 Failed - NXP Community

如果你这边有进展的话,可否麻烦请教一下有什么好的建议,

谢谢。

shen_stanley@163.com 是我的个人邮箱,如果方便的话,我们后面可以建立联系,大家有问题可以一起探讨探讨。

 

 

 

0 Kudos