Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table not describing bits #1

Open
gamelaster opened this issue Feb 8, 2021 · 2 comments
Open

Table not describing bits #1

gamelaster opened this issue Feb 8, 2021 · 2 comments

Comments

@gamelaster
Copy link

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

Thanks

@gamelaster
Copy link
Author

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
Copy link
Author

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant