AnsweredAssumed Answered

What is the meaning of DCFG_CCSR_SCRATCHRW1  = 0000000101 ?

Question asked by Rashmitha Ramesh Nair on Oct 18, 2019
Latest reply on Oct 22, 2019 by ufedor

Hi,

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)

 

I load 

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

0957015c 20100000

09ee0200 40700000 

09570178 0000e010

09180000 00000008

09570418 0000009e

0957041c 0000009e

09570420 0000009e

09eb1300 80104e20

09eb08dc 00502880

 

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?

 

Thanks,

Rashmitha

Chitra AmzarewaleSapre

Shivesh Sood

Attachments

Outcomes