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

Test rollback-altboot (broken init) fails #115

Open
floion opened this issue Oct 16, 2019 · 3 comments
Open

Test rollback-altboot (broken init) fails #115

floion opened this issue Oct 16, 2019 · 3 comments

Comments

@floion
Copy link
Contributor

floion commented Oct 16, 2019

Tested on imx6ul-var-dart from 2.31.5+rev1 to 2.44.0+rev4

@acostach
Copy link
Contributor

acostach commented Nov 5, 2019

do you recall if this is the case of failed write of bootcount @floion, or something similar? sounds like it and we can probably fix it quickly if that's the case

@acostach
Copy link
Contributor

acostach commented Nov 6, 2019

This PR #117 addresses the issues I found regarding HUP altboot - broken init from 2.31.5 to 2.44.0.

Not sure if what's fixed covers the original root cause. What I encountered was:

  1. uboot env size not specified for the case where environment cannot be loaded from emmc. If env loading failed, default one was attempted to be used but it didn't fit the default size (lower than 12k - 0x3000 specified for emmc).

  2. fatwrite failure when more than 19 files were present on the boot partition, masked by 1). uboot got stuck trying to write bootcount.

@acostach
Copy link
Contributor

[imx7] altboot from 2.38.3 to 2.71.3, in this particular case however we switch to loading the dtb from the rootfs. the new rootfs has them, the old one does not, so this is expected and should not fail anymore now, starting with 2.71.3.

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

2 participants