-
Notifications
You must be signed in to change notification settings - Fork 84
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
scripts: Version EC separately from SBIOS #438
base: master
Are you sure you want to change the base?
Conversation
This could be simplified by having the EC only support building a single version. That is, put everything in I don't expect that to affect anyone but me, since I regularly diff the |
365bc2d
to
57a15b7
Compare
f040cc9
to
d002b8e
Compare
e0d7fc3
to
738bb0b
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.
The build and flash scripts seem to still be working as expected. Tried on an existing clone and a fresh clone of the repo on lemp10.
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.
Working as expected on a gaze16-3050.
The original rationale for having the EC version match the SBIOS version was to ensure that compatible versions of each were installed. So we set the EC version to the SBIOS version and always flash both of them, even if only one actually changed. At some point, a mechanism should be implemented that checks for a minimum supported/compatible version. This would be comparable to the LVFS MetaInfo's "requires" field. Ref: f4f4d5b ("Build EC as a submodule, specifying version") Signed-off-by: Tim Crawford <[email protected]>
Stop setting the EC version to the SBIOS version so that the EC will use its real version.
The original rationale for having the EC version match the SBIOS version was to ensure that compatible versions of each were installed. So we set the EC version to the SBIOS version and always flash both of them, even if only one actually changed.
At some point, a mechanism should be implemented that checks for a minimum supported/compatible version. This would be comparable to the LVFS MetaInfo's "requires" field. (UEFI requires the firmware version be a 32-bit unsigned integer, which would simplify the comparison.)
Resolves: #434