I am programming flash with boot M-core and A-core purpose, according to the AN13750.pdf, touch the address scope 0x0~0x500000, and got failed uboot in flash boot mode, I am wondering the address alignment issue due to ever operating uboot memory layout by ds3.5/ivt gfx tool. The clear question is how to program the correct addresse ? thanks.
Hi,
AN13750 is for S32G2 platform, not for S32G3, which you are using (or it is implied on the title).
Since the Bootloader is designed for S32G2, we cannot confirm that the functionality will stay the same for S32G3.
Have you used this AN for an S32G2 platform?
Please, let us know.
Hi,
Thanks for your feedback.
Just to be sure, you are successfully implementing the bootloader with the M7 application, once you put the A53 application (linux), you fail to boot, is that correct?
Also, are you using the out-of-the-box BSP for S32G3?
Please, let us know.
Hi,
Thanks for your feedback.
We still don't understand, we apologize.
Which NXP BSP are you using? How are you creating the IVT? Are you following AN13750 step by step?
Please, let us know.
Hi,
Thanks for your feedback, have you change the FIP_ALIGN variable as per the bootloader requirement?
Please, let us know.
Hi,
Thanks for your feedback.
One way you can verify if the "fip.bin" file is working and the "fips.32" was successfully modified in the BSP image is to create an IVT with the A53_0 core selected as the boot core. This will bypass the need of the bootloader, just leaving the "fip.bin" file to verify.
We will explain the steps below:
C:\nxp\S32DS.3.4\eclipse\mcu_data\processors\S32G399A\PlatformSDK_S32XX_2022_03\quadspi\default_boot_images\mx25_sim133ddr.bin
Please, let us know.
Hi,
That is correct. We shown the S32G2 IVT configuration, which is valid for S32G3.
As said before, the addresses are the ones your ATF build provided. The ones we shown are specific to our build. If you use them as we show them, there could be a possibility that it works, but it might be a low probability.
You should look for the ATF build log and found what are the addresses that your ATF shown. If you followed AN13750, under the ATF steps, it will explain what you should see under the build logs.
Please, let us know.
Hi,
The following is told under the AN13750:
For which, fip.bin file is the one being deployed under the NOR Flash.
Please, let us know.