include/dts-functions.sh: Do not throw error when hfsts6 cannot be read#37
include/dts-functions.sh: Do not throw error when hfsts6 cannot be read#37PLangowski wants to merge 1 commit intominnowboard-configfrom
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.
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... |
DaniilKl
left a comment
There was a problem hiding this comment.
@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.