I am enabling HSE features on the A-core and bootloader of the S32G399A RDB3 board using Yocto BSP 40.
I am enabling HSE features in A core and bootloader , where its a multicore bootloader but we are observing that the control does not transition to U-Boot from bootloader , but parallelly m core autosar application is running. To debug the issue, I disabled the M-core, but the control still does not transition to U-Boot. This suggests there is an issue with the control flow reaching U-Boot.
Here are the details of my setup:
DISTRO_FEATURES:append = " hse "
NXP_FIRMWARE_LOCAL_DIR = "/yocto-s32g3/folder"
DCD: Offset: 0x200 Size: 0x1c
IVT: Offset: 0x1000 Size: 0x100
HSE Firmware: Offset: 0x1200
HSE SYS Image: Offset: 0x62400 Size: 0xc000
AppBootCode Header: Offset: 0x6e400 Size: 0x40
Application: Offset: 0x6e440 Size: 0x2f800
I kept the load address as 0x346062c0 in the bootloader. And also the QSPI flash address to be 0x26e440 in bootloader.
Memory Layout:
- Bootloader: Address 0x0
- A-core Application: Flashed at 0x200000
- M-core Application: Flashed at 0x400000
In this configuration, the control does not transition to U-Boot.
[NOTE]: 1.While booting A core alone we are observing the same issue and when hse is disabled on a core we are able to see the log
2.With A core as standalone [SD-card mode] it is booting.
1)What adjustments are required in the image layout, load address, or firmware configurations to support HSE features in A core?
2)Is there any specific configuration we have to do in bootloader for the HSE enabled A core ?