-
Notifications
You must be signed in to change notification settings - Fork 1
include/dts-functions.sh: Do not throw error when hfsts6 cannot be read #37
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
base: minnowboard-config
Are you sure you want to change the base?
Conversation
b644ebe
to
a99d4bc
Compare
0c22b51
to
13ab2d9
Compare
Signed-off-by: Pawel Langowski <pawel.langowski@3mdeb.com>
a99d4bc
to
2b40f62
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have to return error, because you cannot determine if platform is fused. Thus you should not attempt installing
Dasharo.
The proper solution would be to return when there is less that 6 HFSTS registers. But that won't completely help either, because on Bay Trail platforms like Intel MinnowMax the fuse information has to be read from TXE/ME using a message communication.
@miczyg1 |
it will not fail, that's the problem. THe whole purpose of fuse check was to prevent bricks.
it is not safe to attempt it. In most (if not all) cases you will end up with a brick.
That's not a better alternative at all. We want to be able to deploy Dasharo on Turbot... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PLangowski, could you please add comments to functions check_if_fused
and check_if_boot_guard_enabled
? You are doing some complex registers values interpretation here, but it is not clear why you are doing this (you could add comments which describe the purpose of these functions, not all dts-scripts
developers are aware of Intel fuses technology) and how (you could explain why you are reading these registers and these bits, and not others).
No description provided.