Hi,
Given the steps you are mentioning, we believe you have not used the AN13750SW linker, as per our previous description, since the address you show is the following:
DanielAguirre_0-1700160282955.png
And the one that from using the AN13750SW linker should be the following:
DanielAguirre_1-1700160313333.png
Still, we have changed our linker to, as per our current knowledge, be the same the one you are using (the one available under the IPCF_Example_multi_instance_S32G399_M7_0 example). Our result is the following:
DanielAguirre_2-1700160373789.png
DanielAguirre_3-1700160396824.png
DanielAguirre_4-1700160418490.png
DanielAguirre_5-1700160450719.png
With this, we compile the Bootloader. Create the following IVT:
DanielAguirre_6-1700160517214.png
Where the DCD and QSPI parameters can't be seen, but are the ones provided under the following paths:
C:\nxp\Integration_Reference_Examples_S32G3_2022_06\code\framework\realtime\swc\bootloader\platforms\S32G3XX\res\flash\S32G3XX_QuadSPI_133MHz_DDR_configuration.bin
C:\nxp\Integration_Reference_Examples_S32G3_2023_02\code\framework\realtime\swc\bootloader\platforms\S32G3XX\res\flash\S32G3XX_DCD_InitSRAM.bin
Since we disable HSE under the Bootloader, we do not provide any HSE-FW under the IVT:
DanielAguirre_8-1700161274443.png
Our Bootloader.c file looks as follows (only modifications done to it):
DanielAguirre_9-1700161373605.png
DanielAguirre_10-1700161391309.png
Then flash as per AN13750 explains:
Erase from 0x0 to 0x400000. Then flash as follows:
- 0x0 -> Blob of the IVT shown previously
- 0x100000 -> fip.bin
- 0x200000 -> Siul2_Dio_ToggleLed_S32G399A_M7.bin (where Reset_Handler address is 0x34100010, this can be confirmed under the *.map file)
With this, we are able to see the LED (under PA_06) being toggled under uboot and see the full Linux boot (when the Linux boot starts, the LED stops toggling, since we did not reconfigure anything under the Linux DTB):
DanielAguirre_7-1700161065567.png
The full log will be attached to this post.
At the end, we understand we are following your setup, as per our current understanding, and can see both cores running no problem.
Please, let us know.