Skip to content

Commit afdd911

Browse files
author
Igor Bagnucki
authored
Test how MVPD is modified (#45)
* Add test results Signed-off-by: Igor Bagnucki <[email protected]> * Add test with second hostboot run Signed-off-by: Igor Bagnucki <[email protected]> * Do tests again on pnor from op-build Signed-off-by: Igor Bagnucki <[email protected]> * Add dumps and screenshots Signed-off-by: Igor Bagnucki <[email protected]> * Fix assuptions about MVPD generation by Hostboot Signed-off-by: Igor Bagnucki <[email protected]>
1 parent d39423f commit afdd911

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed

devnotes/mvpd_generation.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# MVPD data modification
2+
3+
## Test goals
4+
5+
The main goal of this test is to check if `MVPD` partition is modified
6+
before starting hosboot by e.g. `HBBL` or some other part of software
7+
started by `Hostboot`.
8+
9+
## Testing environement
10+
11+
Original `PNOR` image was aquired by building [op-build](https://github.com/3mdeb/openpower-coreboot-docs/blob/main/devnotes/porting.md#building-openpower-firmware).
12+
13+
`MVPD` partition was read using `pflash` tool:
14+
```
15+
pflash -P MVPD -r <output file>
16+
```
17+
## Test results
18+
19+
The file containing `MVPD` partition after running `coreboot` is available
20+
to download [here](https://cloud.3mdeb.com/index.php/s/jk3cDHwE3M7wdKn).
21+
![](../images/mvpd_after_coreboot.png)
22+
23+
The file containing `MVPD` partition after running `Hostboot` is available
24+
to download [here](https://cloud.3mdeb.com/index.php/s/DKrqonZDtF7pftA).
25+
![](../images/mvpd_after_hostboot.png)
26+
27+
* After flashing original `PNOR` image, `MVPD` partition
28+
is empty containg only `ECC`.
29+
* After running `Hostboot` on default `PNOR` image, `MVPD` partition
30+
is modified.
31+
* After running `Hostboot` for a second time, `MVPD` is not modified anymore and
32+
equal to image after first `Hostboot` run.
33+
* After running `coreboot` on default `PNOR` image, `MVPD` is not modified
34+
and is still empty.
35+
36+
## Conclusion
37+
38+
When running `coreboot`, `MVPD` is not modified, therefore it must be filled
39+
after starting `Hostboot` by `Hostboot` or some other component
40+
started by `Hostboot`.

images/mvpd_after_coreboot.png

62.1 KB
Loading

images/mvpd_after_hostboot.png

121 KB
Loading

0 commit comments

Comments
 (0)