SRK endianess in SDK 1.9

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

SRK endianess in SDK 1.9

Jump to solution
921 Views
vsiles
Senior Contributor I

Hi,

I am using NXP SDK 1.9 and am trying to implement secure boot on my ls1021atwr, from SD card (with SPL).

I see that in arch/arm/include/asm/arch-ls102xa/config.h,  CONFIG_SYS_FSL_SRK_LE is defined, but the SRK is stored in the SFP which is Big-Endian.

Could someone explain why is it so ?

Best,

Vincent

Labels (1)
0 Kudos
1 Solution
802 Views
bpe
NXP Employee
NXP Employee

u-Boot is correct. SRK hash fuses are a software-readable, one-time

programmable storage. Regardless of SFP bit numbering, both ISBC and

ESBC read it as an LE value, see the bottom of this page:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-CD187A17-51FD-46F0-A3F1-1...


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
803 Views
bpe
NXP Employee
NXP Employee

u-Boot is correct. SRK hash fuses are a software-readable, one-time

programmable storage. Regardless of SFP bit numbering, both ISBC and

ESBC read it as an LE value, see the bottom of this page:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-CD187A17-51FD-46F0-A3F1-1...


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos