Skip to content

Fix H2O capsule analysis #92

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

Merged
merged 5 commits into from
Mar 26, 2025
Merged

Fix H2O capsule analysis #92

merged 5 commits into from
Mar 26, 2025

Conversation

JohnAZoidberg
Copy link
Member

@JohnAZoidberg JohnAZoidberg commented Mar 24, 2025

See individual commit descriptions.

```
> framework_tool --ho2-capsule Framework_Laptop_13_Ryzen7040_capsule_signed_allsku_3.08.cap
[...]
Detected CCG8 firmware
FW 1
  Silicon ID:               0x11c5
  Silicon Family:           0x3580
  Version:                  0.0.1C
  Base Ver:                 3.7.0.0D0
  Row size:                    256 B
  Start Row:                   290
  Rows:                        474
  Size:                     121444 B
  Size:                        118 KB
FW 2
  Silicon ID:               0x11c5
  Silicon Family:           0x3580
  Version:                  0.0.1C
  Base Ver:                 3.7.0.0D0
  Row size:                    256 B
  Start Row:                    29
  Rows:                        175
  Size:                      45024 B
  Size:                         43 KB
```

Signed-off-by: Daniel Schaefer <dhs@frame.work>
Can't believe it has never been correct...

```
> framework_tool --ho2-capsule Framework_Laptop_13_12th_Gen_Intel_Core_capsule_signed_allsku_3.09.cap
File
  Size:                   36130244 B
  Size:                      35283 KB
  BIOS Platform:             HFW30
  BIOS Version:              03.09
[...]

> framework_tool --ho2-capsule Framework_Laptop_13_Ryzen7040_capsule_signed_allsku_3.08.cap
File
  Size:                   36129956 B
  Size:                      35283 KB
  BIOS Platform:             JFP30
  BIOS Version:              03.08
[...]
```

Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Now it can work for both legacy and zephyr based ECs.
Tested on Intel 12th gen, AMD Ryzen 7040, AMD Ryzen AI 300, Framework Desktop.

```
> framework_tool --h2o-capsule Framework_Laptop_13_Ryzen7040_capsule_signed_allsku_3.08.cap
[...]
EC
  Type:                         RO
  Version:    azalea_v3.4.113382-ec:ec916d,os
  RollbackVer:                   0
  Platform:                 azalea
  Version:              3.4.113382
  Commit:                   ec916d
  Size:                     258048 B
  Size:                        252 KB
EC
  Type:                         RW
  Version:    azalea_v3.4.113382-ec:ec916d,os
  RollbackVer:                   0
  Platform:                 azalea
  Version:              3.4.113382
  Commit:                   ec916d
  Size:                     258048 B
  Size:                        252 KB
[...]
```

Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
@JohnAZoidberg JohnAZoidberg merged commit 64cc788 into main Mar 26, 2025
6 checks passed
@JohnAZoidberg JohnAZoidberg deleted the capsule-versions branch March 26, 2025 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant