dug_3_openess_score: final version

Signed-off-by: Piotr Król <piotr.krol@3mdeb.com>
This commit is contained in:
Piotr Król
2023-09-27 18:28:59 +02:00
parent fd025a0b2c
commit e66cf16e4b
11 changed files with 83 additions and 21 deletions
+81 -21
View File
@@ -25,7 +25,7 @@ class: center, middle, intro
firmware images, providing insights into the ratio of open-source to
closed-source components.
* Python, MIT licensed, https://github.com/Dasharo/Openness-Score
* DRY: https://www.youtube.com/live/ZyctrnJNTPc?si=O_SZPLJgqi2ro_q9&t=5854
* DRY: https://bit.ly/openness-score
* Since last DUG we made some slight progress and we would like to treat this
presentation as opportunity to provide more details about project status as
well some knowledge about methodology.
@@ -35,26 +35,49 @@ closed-source components.
# Documentation Released
.center[https://dasharo.github.io/Openness-Score/]
.center.image-90[![](/img/dos_docs.png)]
* Documentation is in Sphinx at this point, but we will migrate it to Dasharo
Universe, which use mkdocs in long run.
* Documentation is in Sphinx at this point, but we will migrate mkdocs.
---
# Methodology
# Methodology UEFI
.center.image-25[![](/img/dos_methodology_uefi.svg)]
* CBFS classification is even more complex.
???
@startuml
!define Color1 #38d430
!define Color2 #272727
!define Color3 #f5f5f5
skinparam DefaultFontSize 16
skinparam partition {
BackgroundColor Color3
BorderColor Color2
}
skinparam activity {
BackgroundColor Color1
BorderColor Color2
}
start
:Identify and Save Region Properties;
:Identify Regions and Save Properties;
:Separate and Classify Regions;
:Extract and Identify Firmware Volumes;
:Calculate Metrics for Firmware Volumes;
:Classify Paddings;
:Summarize Region Sizes;
:Extract and Identify UEFI FV;
:Calculate Metrics for UEFI FV;
: Classify Paddings
(empty and non-empty);
:Summarize Region and UEFI FV Sizes
(empty, data and closed-source);
:Verify Total Size;
if (Mismatch?) then (yes)
:Adjust Data and Report Error;
@@ -69,11 +92,15 @@ stop
# Integration for NovaCustom
* Starting from:
- NS5x/7x ADL v1.7.0
- NS5x/7x TGL v1.5.0
All Novacustom releases will contain Dasharo Openess Score.
* Back in the days we provided Dasharo Openess Score (pre-v0.1) for NV4x 11th Gen v0.5.0
(2021/11/19).
.center.image-30[![](/img/nvc_dos_nv4x_v0.5.0.png) ![](/img/nvc_dos_nv4x_v0.5.0_2.png) ![](/img/nvc_dos_nv4x_v0.5.0_3.png)]
* Starting from upcoming:
- NV4x, NS5x/7x ADL v1.7.0
- NV4x, NS5x/7x TGL v1.5.0
* All Novacustom releases will contain Dasharo Openess Score v0.1
---
@@ -81,24 +108,57 @@ stop
.center.image-70[![](/img/dos_newsletterv2.png)]
* Above notes will be added to newsletters announcing releases, which include
Dasharo Opness Score.
---
# Dasharo Universe
.center.image-45[![](/img/nvc_dos.jpg)]
---
# Example based on MSI PRO Z690-A
.center.image-50[![](/img/openness_msi_full_code.jpg) ![](/img/openness_msi_full_code_ami.jpg)]
---
# Example based on MSI PRO Z690-A
.center.image-50[![](/img/openness_msi_bios_full.jpg) ![](/img/openness_msi_bios_full_ami.jpg)]
---
# Dasharo Openess Score v0.1 integration
* ETA: Q3 2023 (v0.1 integration)
* No code changes
* ~~**CI/CD Integration**: Including Openness Score script in CI/CD
processes.~~
* ~~**Increased Visibility**: Openness Score updates in newsletters and
Dasharo User's Guide.~~
* ~~**Documentation Upgrade**: Improving methodology explanation in
documentation.~~
---
# Dasharo Openess Score v0.2
* ETA: Q3 2023
* ETA: Q4 2023
* Planned features
* **Improved Visualization**: Enhancing visual representation for
user-friendliness.
* **CI/CD Integration**: Including Openness Score script in CI/CD
processes.
* **Increased Visibility**: Openness Score updates in newsletters and
Dasharo User's Guide.
* **Binary Comparison**: Comparing Dasharo binary with reference binaries.
* **Documentation Upgrade**: Improving methodology explanation in
documentation.
* **Versioning & Wide Application**: Implementing versioning and supporting
multiple platforms.
* **Advanced Parsing**: Utilizing ifdtool for improved image parsing.
* Planned bug fixes:
* [GitHub issue #461](https://github.com/Dasharo/dasharo-issues/issues/461) -
Check for ME presence in coreboot images with ifdtool if flashmap does not
indicate it
* [GitHub issue #451](https://github.com/Dasharo/dasharo-issues/issues/451) -
Migrate Openness Score documentation from Sphinx to mkdocs
---
class: center, middle, intro
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.7 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB