Open gamelaster opened 3 years ago
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 ?
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;
Which 2 bits are
sign_type
andencrypted
? It's first bits in OTP?Thanks