Issue with Enabling HSE Features in Multicore Bootloader on S32G399ARDB3 Board

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

Issue with Enabling HSE Features in Multicore Bootloader on S32G399ARDB3 Board

4,942 Views
ashwini2024
Contributor II

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:

  1. Bootloader: Address 0x0
  2. A-core Application: Flashed at 0x200000
  3. 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 ?

 

0 Kudos
Reply
24 Replies

425 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @ashwini2024,

I understand, can you help me with some information:

- If possible, can you test with and without HSE on A cores but disabling the M7 from the bootloader.

- When you test without HSE on A cores it works, how are you checking that it works? with the terminal or with some other Linux functionality?

- Can you share the build commands you use to build ATF/u-boot and Linux? with and without HSE.

- Can you confirm that you are using the same RCON switch configuration for both the functional and non functional configurations?

- When you mentioned that you were able tu arrive to the Linux command line with only the fip.32-qspi, did you use HSE also?

- Can you retry the load address change I mentioned before?

 

Thanks for the information in advance.

 

 

0 Kudos
Reply

377 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @ashwini2024,

Have you being able to boot the A53 core with HSE features?

If not, please share the following:

- The build command you are using for u-boot and ATF. To see which options are you using to enable HSE.
- Your u-boot .config file
 
Thanks in advance.
 
 

 

0 Kudos
Reply

1,070 Views
ashwini2024
Contributor II

Hello @alejandro_e ,
i flashed fip.qspi-sdcard , the output and the behaviour has not changed.

 
 

 

0 Kudos
Reply

1,293 Views
ashwini2024
Contributor II

The below is my configurations in local.conf as per bsp 40 user manual:

ashwini2024_0-1737612872787.png

 

0 Kudos
Reply