My processor is LS1046ARDB, i am trying to establish secure boot from QSPI Flash
1. I have created my own ESBC image to be used in place of U-Boot (with minimum necessary processor initializations and UART printing)
2. I have signed this image using CST tool (input file used is attached -input_qspi_secure )
3. Generated Keys (srk.pub &srk.pri) and CSF Header - (hdr_ESBC.out file)
1. CSF Header at 0x40700000
2. My ESBC at 0x40100000
The process i am following is
1. Flashing RCW with SB_EN=1 and BOOT_HO=1
2. With PBI Commands
3.Writing SRKH Mirror registers with Hash of Public key (As given from CST)
4. Release core by
Writing 0x00000001 to 0x01EE0204 (Boot Release Register)
I am getting DCFG_CCSR_SCRATCHRW1 = 0000000101
Which as per NXP documents is a hash mismatch
But how can i know where exactly is the problem arising from?
What checks should i perform to see why secure boot is failing?