Secure boot not working on S32G2

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

Secure boot not working on S32G2

2,078 Views
bvikas
NXP Employee
NXP Employee

Hello,

I am trying to enable secure boot on S32G2. (Using RDB2 board).

Following the steps given in section 10 of "S32G2_LinuxBSP_33.0_User_Manual".

I am using HSE FW binary: s32g2xx_hse_fw_0.1.0_1.0.5_pb220413.bin.pink

On booting the board I am getting below logs:

NOTICE: Reset status: Power-On Reset
NOTICE: BL2: v2.5(release):bsp33.0-2.5-dirty
NOTICE: BL2: Built : 12:00:03, Sep 23 2022
Warning: Instruction at BL33_ENTRYPOINT (0xffaa0000) is 0x36ffd9c0, which is not a B or BL!
NOTICE: BL2: Booting BL31

Regards

Vikash

0 Kudos
Reply
2 Replies

1,924 Views
MayanksPatel
NXP Employee
NXP Employee

Hi @bvikas,

Hope you are doing well.

Have all keys been generated properly or did you get any errors while generating keys?

Key Catalogs were stored in NVM without error? Can you please share HSE Firmware Debug logs for more detail?

Can you elaborate more on what error you are getting that indicates that the secure boot is not working?

 

Thanks,

Mayank s Patel

0 Kudos
Reply

2,072 Views
bvikas
NXP Employee
NXP Employee

While building ATF I get below logs:

Image Layout
DCD: Offset: 0x200 Size: 0x1c
IVT: Offset: 0x1000 Size: 0x100
HSE Firmware: Offset: 0x1200
HSE SYS Image: Offset: 0x52400 Size: 0xc000
AppBootCode Header: Offset: 0x5e400 Size: 0x40
Application: Offset: 0x5e440 Size: 0x118e00

IVT Location: SD/eMMC
Load address: 0x3407a5a0
Entry point: 0x34080000

0 Kudos
Reply