Hi
Since refer to the S32G Bootloader Customzition - NXP Community page, it describes how to create a bootloader project and start up both M7 and A53 , but It is very complex and used BSP32, is there any simple project that use BSP30 to verify the whole startup process?
Do you have any information about the boot flow of S23G from BootROM to A53 Linux
Here are the key points to know:
1:Must the simultaneous startup of M7 and A53 be in QSPI NOR startup mode? Whether EMMC and SD card are also available, and if so, how to configure them?
2:Address mapping between M-core bootloader and M-core Application A-core bootloader
3:How to configure the bootloader if BAF is not used (means BSP30 is used)
Thinks
Hi,
We could recommend reading the Boot Chapter in the S32G2 Reference Manual [Chapter 30, Page 1142, S32G2 Reference Manual, Rev. 6, 11/2022]. The boot flow is explained and shown the different scenarios during this boot flow.
There is an application note (AN13750: Enabling Multicore Application on S32G2 using S32G2 Platform Software Integration) which explains how to enable a multicore application with S32G274.
As for the points, below will be some comments:
1. The startup is only done in one core (M7_0 or A53_0). BootROM loads the Application Bootloader to the configured core using the specified interface. Once the Application Bootloader is loaded, the developer is in charge of enabling the needed cores and fetching the respective code.
2. We could recommend following the Memory Map given in the RM to understand the mapping between M-core and A-core.
3. Could you elaborate on "how to configure the bootloader"? At this moment, BSP33.0 is the current public release, for which the documentation is being made. We could recommend looking into this new release and the related documentation.
Please, let us know if this information was helpful or not.
I want to know whether the following understanding is correct:
Prerequisite:
- Linux compilation: BSP 3.0
- Startup mode: QSPI
- Boot target :M7_ 0
Action
When s32ft.exe comes to burn NOR flash,
0x0000_ 0000 M7 bootloader
0x0010_ 0000 U-boot(not ATF) (this address has been set in the M7 bootloader)
0x0020_ 0000 M7 App (this address has been set in the M7 bootloader)
Also
Could you please provide a simple Project (Not binary) that can be directly compiled and verified to both start the M core and A core.
Thinks
Follow-up
The simple project can loaded by NXP Design studio.
Hi,
The only examples provided for multicore are the one related to the "AN13750 - Enabling Multicore Application on S32G2 using S32G2 Platform Software Integration" which can be downloaded from the S32G2 page under "Application Note Software" by the name "AN13750SW" and the IPCF multi-instance provided on the IPCF package.
The AN software should be available under the following link:
S32G2 Safe and Secure Vehicle Network Processor | NXP Semiconductors
The IPCF is available inside Flexera.
Please, let us know.