examples: update examples to recent format

Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
This commit is contained in:
Michał Żygowski
2023-05-31 12:43:30 +02:00
parent be8cd94afc
commit 33b77df111
17 changed files with 49 additions and 231 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

+20 -206
View File
@@ -2,19 +2,17 @@
Openness Score for E7D25IMS.120
* Image size: 33554432
Open-source code percentage: **0.0%**
Closed-source code percentage: **100.0%**
* Image size: 33554432 (0x2000000)
* Number of entries: 2856
* Number of regions: 3
* Number of volumes: 8
* Total open-source files size: 0 (0x0)
* Total closed-source files size: 10966853 (0xa75745)
* Total data size: 716912 (0xaf070)
* Total empty size: 21870667 (0x14db84b)
Open-source percentage: **0.0%**
Closed-source percentage: **32.7%**
Open-source percentage (empty space not included): **0.0%**
Closed-source percentage (empty space not included): **93.9%**
* Total closed-source files size: 11540861 (0xb0197d)
* Total data size: 143376 (0x23010)
* Total empty size: 21870195 (0x14db673)
> Numbers given above already include the calculations from UEFI volumes
> presented below. Only top level volumes have been presented
@@ -23,7 +21,14 @@ Closed-source percentage (empty space not included): **93.9%**
| Region | Base | Size | Category |
| ------ | ---- | ---- | -------- |
| ME | 0x1000 | 0x3d8000 | closed-source |
| Descriptor | 0x0 | 0x1000 | data |
| Non-empty | 0x17c0000 | 0x20000 | data |
| Empty (0xFF) | 0x3d9000 | 0xc27000 | empty |
| Empty (0xFF) | 0x1040000 | 0x50000 | empty |
> These are regions defined by Intel flash descriptor but also holes
> between those regions and UEFI Volumes which may or may not be empty.
## UEFI Volume FA4974FC-AF1D-4E5D-BDC5-DACD6D27BAEC
@@ -31,8 +36,8 @@ Closed-source percentage (empty space not included): **93.9%**
* Size: 0x40000
* Number of entries: 26
* Open-source code size: 0 (0x0)
* Closed-source code size: 10637 (0x298d)
* Data size: 272 (0x110)
* Closed-source code size: 10909 (0x2a9d)
* Data size: 0 (0x0)
* Empty size: 251235 (0x3d563)
> The table below is just a simplified view of top level volume entries
@@ -41,8 +46,6 @@ Closed-source percentage (empty space not included): **93.9%**
| Filename | File type | File subtype | Base | Size | Category |
| -------- | --------- | ------------ | ---- | ---- | -------- |
| GUID store | Padding | Non-empty | 0x100299d | 0x100 | data |
| GUID store | Padding | Non-empty | 0x103fff0 | 0x10 | data |
| Free space | Free space | | 0x100298d | 0x10 | empty |
| Free space | Free space | | 0x1002a9d | 0x3d553 | empty |
@@ -70,9 +73,9 @@ Closed-source percentage (empty space not included): **93.9%**
* Size: 0x200000
* Number of entries: 12
* Open-source code size: 0 (0x0)
* Closed-source code size: 1132072 (0x114628)
* Closed-source code size: 1132544 (0x114800)
* Data size: 8208 (0x2010)
* Empty size: 956872 (0xe99c8)
* Empty size: 956400 (0xe97f0)
> The table below is just a simplified view of top level volume entries
> categorized as file that are known to contain either data or empty space.
@@ -81,8 +84,6 @@ Closed-source percentage (empty space not included): **93.9%**
| Filename | File type | File subtype | Base | Size | Category |
| -------- | --------- | ------------ | ---- | ---- | -------- |
| Padding | Padding | Non-empty | 0x18f4800 | 0x2010 | data |
| Pad-file | File | Pad | 0x17e0078 | 0x70 | empty |
| Pad-file | File | Pad | 0x17e0280 | 0x168 | empty |
| Volume free space | Free space | | 0x18f6810 | 0xe97f0 | empty |
## UEFI Volume 3DA4F21C-189D-46A3-98C0-AF814EBF01B0
@@ -164,8 +165,8 @@ Closed-source percentage (empty space not included): **93.9%**
* Size: 0x100000
* Number of entries: 321
* Open-source code size: 0 (0x0)
* Closed-source code size: -92040 (-0x16788)
* Data size: 573264 (0x8bf50)
* Closed-source code size: 481224 (0x757c8)
* Data size: 0 (0x0)
* Empty size: 567352 (0x8a838)
> The table below is just a simplified view of top level volume entries
@@ -174,193 +175,6 @@ Closed-source percentage (empty space not included): **93.9%**
| Filename | File type | File subtype | Base | Size | Category |
| -------- | --------- | ------------ | ---- | ---- | -------- |
| GUID store | Padding | Non-empty | 0x1f6f675 | 0x100 | data |
| GUID store | Padding | Non-empty | 0x1f6f785 | 0x10 | data |
| Non-empty pad-file | File | Pad | 0x1f6f7d0 | 0x8b338 | data |
| Non-UEFI data | Padding | Non-empty | 0x1ffa000 | 0xb08 | data |
| Free space | Free space | | 0x1f6f665 | 0x10 | empty |
| Free space | Free space | | 0x1f6f775 | 0x10 | empty |
| Free space | Free space | | 0x1f6f7e8 | 0x8a818 | empty |
# Dasharo Openness Score
Openness Score for E7D25IMS.120
* Image size: 33554432
* Number of entries: 2856
* Number of regions: 3
* Number of volumes: 8
* Total open-source files size: 0 (0x0)
* Total closed-source files size: 10966853 (0xa75745)
* Total data size: 716912 (0xaf070)
* Total empty size: 21870667 (0x14db84b)
Open-source percentage: **0.0%**
Closed-source percentage: **32.7%**
Open-source percentage (empty space not included): **0.0%**
Closed-source percentage (empty space not included): **93.9%**
> Numbers given above already include the calculations from UEFI volumes
> presented below. Only top level volumes have been presented
## UEFI regions
| Region | Base | Size | Category |
| ------ | ---- | ---- | -------- |
| Non-empty | 0x17c0000 | 0x20000 | data |
## UEFI Volume FA4974FC-AF1D-4E5D-BDC5-DACD6D27BAEC
* Base: 0x1000000
* Size: 0x40000
* Number of entries: 26
* Open-source code size: 0 (0x0)
* Closed-source code size: 10637 (0x298d)
* Data size: 272 (0x110)
* Empty size: 251235 (0x3d563)
> The table below is just a simplified view of top level volume entries
> categorized as file that are known to contain either data or empty space.
> Everything else is considered closed-source.
| Filename | File type | File subtype | Base | Size | Category |
| -------- | --------- | ------------ | ---- | ---- | -------- |
| GUID store | Padding | Non-empty | 0x100299d | 0x100 | data |
| GUID store | Padding | Non-empty | 0x103fff0 | 0x10 | data |
| Free space | Free space | | 0x100298d | 0x10 | empty |
| Free space | Free space | | 0x1002a9d | 0x3d553 | empty |
## UEFI Volume 4F1C52D3-D824-4D2A-A2F0-EC40C23C5916
* Base: 0x1090000
* Size: 0x730000
* Number of entries: 1879
* Open-source code size: 0 (0x0)
* Closed-source code size: 5190992 (0x4f3550)
* Data size: 0 (0x0)
* Empty size: 2345648 (0x23cab0)
> The table below is just a simplified view of top level volume entries
> categorized as file that are known to contain either data or empty space.
> Everything else is considered closed-source.
| Filename | File type | File subtype | Base | Size | Category |
| -------- | --------- | ------------ | ---- | ---- | -------- |
| Volume free space | Free space | | 0x1583550 | 0x23cab0 | empty |
## UEFI Volume AFDD39F1-19D7-4501-A730-CE5A27E1154B
* Base: 0x17e0000
* Size: 0x200000
* Number of entries: 12
* Open-source code size: 0 (0x0)
* Closed-source code size: 1132072 (0x114628)
* Data size: 8208 (0x2010)
* Empty size: 956872 (0xe99c8)
> The table below is just a simplified view of top level volume entries
> categorized as file that are known to contain either data or empty space.
> Everything else is considered closed-source.
| Filename | File type | File subtype | Base | Size | Category |
| -------- | --------- | ------------ | ---- | ---- | -------- |
| Padding | Padding | Non-empty | 0x18f4800 | 0x2010 | data |
| Pad-file | File | Pad | 0x17e0078 | 0x70 | empty |
| Pad-file | File | Pad | 0x17e0280 | 0x168 | empty |
| Volume free space | Free space | | 0x18f6810 | 0xe97f0 | empty |
## UEFI Volume 3DA4F21C-189D-46A3-98C0-AF814EBF01B0
* Base: 0x19e0000
* Size: 0x120000
* Number of entries: 144
* Open-source code size: 0 (0x0)
* Closed-source code size: 198760 (0x30868)
* Data size: 0 (0x0)
* Empty size: 980888 (0xef798)
> The table below is just a simplified view of top level volume entries
> categorized as file that are known to contain either data or empty space.
> Everything else is considered closed-source.
| Filename | File type | File subtype | Base | Size | Category |
| -------- | --------- | ------------ | ---- | ---- | -------- |
| Volume free space | Free space | | 0x1a10868 | 0xef798 | empty |
## UEFI Volume 8C8CE578-8A3D-4F1C-9935-896185C32DD3
* Base: 0x1b00000
* Size: 0x260000
* Number of entries: 104
* Open-source code size: 0 (0x0)
* Closed-source code size: -216816 (-0x34ef0)
* Data size: 0 (0x0)
* Empty size: 2707184 (0x294ef0)
> The table below is just a simplified view of top level volume entries
> categorized as file that are known to contain either data or empty space.
> Everything else is considered closed-source.
| Filename | File type | File subtype | Base | Size | Category |
| -------- | --------- | ------------ | ---- | ---- | -------- |
| Volume free space | Free space | | 0x1b458c0 | 0x7a7b0 | empty |
| Volume free space | Free space | | 0x1bc0070 | 0x19ff90 | empty |
## UEFI Volume 52F1AFB6-78A6-448F-8274-F370549AC5D0
* Base: 0x1d60000
* Size: 0x160000
* Number of entries: 42
* Open-source code size: 0 (0x0)
* Closed-source code size: 690960 (0xa8b10)
* Data size: 0 (0x0)
* Empty size: 750832 (0xb74f0)
> The table below is just a simplified view of top level volume entries
> categorized as file that are known to contain either data or empty space.
> Everything else is considered closed-source.
| Filename | File type | File subtype | Base | Size | Category |
| -------- | --------- | ------------ | ---- | ---- | -------- |
| Volume free space | Free space | | 0x1e08b10 | 0xb74f0 | empty |
## UEFI Volume 7BEBD21A-A1E5-4C4C-9CA1-A0C168BCBD9D
* Base: 0x1ec0000
* Size: 0x40000
* Number of entries: 6
* Open-source code size: 0 (0x0)
* Closed-source code size: 21824 (0x5540)
* Data size: 0 (0x0)
* Empty size: 240320 (0x3aac0)
> The table below is just a simplified view of top level volume entries
> categorized as file that are known to contain either data or empty space.
> Everything else is considered closed-source.
| Filename | File type | File subtype | Base | Size | Category |
| -------- | --------- | ------------ | ---- | ---- | -------- |
| Volume free space | Free space | | 0x1ec5540 | 0x3aac0 | empty |
## UEFI Volume 61C0F511-A691-4F54-974F-B9A42172CE53
* Base: 0x1f00000
* Size: 0x100000
* Number of entries: 321
* Open-source code size: 0 (0x0)
* Closed-source code size: -92040 (-0x16788)
* Data size: 573264 (0x8bf50)
* Empty size: 567352 (0x8a838)
> The table below is just a simplified view of top level volume entries
> categorized as file that are known to contain either data or empty space.
> Everything else is considered closed-source.
| Filename | File type | File subtype | Base | Size | Category |
| -------- | --------- | ------------ | ---- | ---- | -------- |
| GUID store | Padding | Non-empty | 0x1f6f675 | 0x100 | data |
| GUID store | Padding | Non-empty | 0x1f6f785 | 0x10 | data |
| Non-empty pad-file | File | Pad | 0x1f6f7d0 | 0x8b338 | data |
| Non-UEFI data | Padding | Non-empty | 0x1ffa000 | 0xb08 | data |
| Free space | Free space | | 0x1f6f665 | 0x10 | empty |
| Free space | Free space | | 0x1f6f775 | 0x10 | empty |
| Free space | Free space | | 0x1f6f7e8 | 0x8a818 | empty |
Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

@@ -2,6 +2,9 @@
Openness Score for asus_kgpe-d16_v0.4.0_16M_vboot_notpm.rom
Open-source code percentage: **100.0%**
Closed-source code percentage: **0.0%**
* Image size: 16777216 (0x1000000)
* Number of regions: 19
* Number of CBFSes: 2
@@ -10,9 +13,6 @@ Openness Score for asus_kgpe-d16_v0.4.0_16M_vboot_notpm.rom
* Total data size: 765974 (0xbb016)
* Total empty size: 15101476 (0xe66e24)
Open-source code percentage: **100.0%**
Closed-source code percentage: **0.0%**
> Numbers given above already include the calculations from CBFS regions
> presented below
Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

@@ -1,17 +1,17 @@
# Dasharo Openness Score
Openness Score for heads-x230-maximized-v0.2.0-1525-g77b5933.rom
Openness Score for heads-x230-maximized-v0.2.0-1554-g21b87ff.rom
Open-source code percentage: **97.9%**
Closed-source code percentage: **2.1%**
* Image size: 12582912 (0xc00000)
* Number of regions: 4
* Number of CBFSes: 1
* Total open-source code size: 7214814 (0x6e16de)
* Total open-source code size: 7398475 (0x70e44b)
* Total closed-source code size: 157696 (0x26800)
* Total data size: 280714 (0x4488a)
* Total empty size: 4929688 (0x4b3898)
Open-source code percentage: **97.9%**
Closed-source code percentage: **2.1%**
* Total data size: 74513 (0x12311)
* Total empty size: 4952228 (0x4b90a4)
> Numbers given above already include the calculations from CBFS regions
> presented below
@@ -26,11 +26,11 @@ Closed-source code percentage: **2.1%**
## CBFS COREBOOT
* CBFS size: 12385792
* Number of files: 10
* Open-source files size: 7214814 (0x6e16de)
* Number of files: 14
* Open-source files size: 7398475 (0x70e44b)
* Closed-source files size: 26624 (0x6800)
* Data size: 214666 (0x3468a)
* Empty size: 4929688 (0x4b3898)
* Data size: 8465 (0x2111)
* Empty size: 4952228 (0x4b90a4)
> Numbers given above are already normalized (i.e. they already include size
> of metadata and possible closed-source LAN drivers included in the payload
@@ -38,13 +38,17 @@ Closed-source code percentage: **2.1%**
| CBFS filname | CBFS filetype | Size | Compression | Category |
| ------------ | ------------- | ---- | ----------- | -------- |
| fallback/dsdt.aml | raw | 14615 | none | open-source |
| fallback/payload | simple elf | 7134663 | none | open-source |
| bootblock | bootblock | 65536 | none | open-source |
| fallback/romstage | stage | 84776 | none | open-source |
| fallback/ramstage | stage | 105555 | LZMA | open-source |
| fallback/dsdt.aml | raw | 14522 | none | open-source |
| fallback/postcar | stage | 29972 | none | open-source |
| fallback/payload | simple elf | 7137282 | none | open-source |
| bootblock | bootblock | 26368 | none | open-source |
| cpu_microcode_blob.bin | microcode | 26624 | none | closed-source |
| header | cbfs header | 32 | none | data |
| config | raw | 824 | none | data |
| revision | raw | 691 | none | data |
| cbfs_master_header | cbfs header | 32 | none | data |
| config | raw | 2989 | LZMA | data |
| revision | raw | 724 | none | data |
| build_info | raw | 101 | none | data |
| vbt.bin | raw | 1433 | LZMA | data |
| cmos_layout.bin | cmos_layout | 1884 | none | data |
| (empty) | null | 4929688 | none | empty |
| cmos_layout.bin | cmos_layout | 2012 | none | data |
| (empty) | null | 4952228 | none | empty |
Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

@@ -2,6 +2,9 @@
Openness Score for msi_ms7d25_v1.1.1_ddr4.rom
Open-source code percentage: **42.8%**
Closed-source code percentage: **57.2%**
* Image size: 33554432 (0x2000000)
* Number of regions: 33
* Number of CBFSes: 3
@@ -10,9 +13,6 @@ Openness Score for msi_ms7d25_v1.1.1_ddr4.rom
* Total data size: 939652 (0xe5684)
* Total empty size: 17135512 (0x1057798)
Open-source code percentage: **42.8%**
Closed-source code percentage: **57.2%**
> Numbers given above already include the calculations from CBFS regions
> presented below