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

Fix set partitions from active to inactive #514

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

bongbui321
Copy link
Contributor

@bongbui321 bongbui321 commented Mar 7, 2024

@bkerler, this is the correct way to set partitions from active to inactive

Do you also happen to know if boot partition is set active in the same way?
It seems that whatever boot is active has value 0x003a and whatever is inactive has 0x006f for the last 16 bits in my case
I can set those specific values for boot partitions but just want to know if it is a convention or there is another rule for active and inactive boot partitions

@bkerler bkerler merged commit 2197a27 into bkerler:master Mar 7, 2024
1 check passed
@bongbui321 bongbui321 deleted the fix_setinactive branch March 8, 2024 04:47
@bkerler
Copy link
Owner

bkerler commented Mar 8, 2024

I think it's a convention but I also have no details on it.

@dzid26
Copy link

dzid26 commented Mar 8, 2024

I think the value has something to do with boot remaining retries counter. Here active boot is 0x3f is active and 0x3b or 0x72 for inactive - so kinda opposite to
image
image
Attaching the gpts:
gpt slot change.zip

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

Successfully merging this pull request may close these issues.

3 participants