bl_docs icon indicating copy to clipboard operation
bl_docs copied to clipboard

Table not describing bits

Open gamelaster opened this issue 4 years ago • 2 comments

image Which 2 bits are sign_type and encrypted ? It's first bits in OTP?

Thanks

gamelaster avatar Feb 08 '21 18:02 gamelaster

OK, I find out, but I'm not sure if it's correct. First byte of OTP info is sign_type and second byte is encrypted. Is this correct? Also, is ChipID area from OTP info, byte 12 to byte 18 ?

gamelaster avatar Feb 08 '21 18:02 gamelaster

I thought I found the OTP info structure. It basically fits, only pkHashCpu's doesn't

typedef struct {
    uint8_t encrypted[BFLB_BOOT2_CPU_MAX];
    uint8_t sign[BFLB_BOOT2_CPU_MAX];
    uint8_t hbnCheckSign;
    uint8_t rsvd[3];
    uint8_t chipID[8];
    uint8_t pkHashCpu0[BFLB_BOOT2_PK_HASH_SIZE];
    uint8_t pkHashCpu1[BFLB_BOOT2_PK_HASH_SIZE];
}Boot_Efuse_HW_Config;

gamelaster avatar Feb 12 '21 09:02 gamelaster