diff mbox series

[2/3] Add CVC code dump for use with Mambo

Message ID 20190729014430.30937-3-stewart@linux.ibm.com
State Accepted
Headers show
Series Use real Container Verification Code in Mambo | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (1b638f899525da0f3185449114426b1eeb6ef4de)
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot success Test snowpatch/job/snowpatch-skiboot on branch master
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco success Signed-off-by present

Commit Message

Stewart Smith July 29, 2019, 1:44 a.m. UTC
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
---
 external/mambo/CVC       | Bin 0 -> 65535 bytes
 external/mambo/README.md |  11 +++++++++++
 2 files changed, 11 insertions(+)
 create mode 100644 external/mambo/CVC
diff mbox series

Patch

diff --git a/external/mambo/CVC b/external/mambo/CVC
new file mode 100644
index 0000000000000000000000000000000000000000..9dfba3c0467a1d76ac32cfce0d312496e9006b74
GIT binary patch
literal 65535
zcmeI1dt6mj+Q-*E+zzOP%`s6?AuzcW)M&F$2k`(l9S%C7**j`C2rV^BG-ul9Wp6h(
zd!uXyXR6Uele{FFb{U<>ghcb!<sEFQ*R(NBD-bmqM9<*>`~5w8Z-fdy^S+<=^4Ie7
z!Ts!Kt@W&Deb=+rde%NMci)jY?XD>d|3dL6kbr-2#-rzdkzN0hi?Jk;4UNPzMPw1v
z@f;_zVL5n;BC|0(Q$;p-9G*_Qlf@}+)?mshraTUM(UjvLJ54zfvdfgiA?KKKAle7Y
zS(Z(5#x$GEuCs|5Fp!a7BZmfT`c+Y2RF8-Mx01*NDO=N)<f0pII*XI7mQ7xPg?pp5
zV$sQ%JTG9ATpA<E8xkdX|Ia1)TZg2CWJ>TcT8w5zjcC(|`m&Y$W>NMiHbWVgxyc^&
zy9>(r%uOyfBvRKqSt!bwk`=H?ndC}PGP4rw@ywdRv`bVjmN7xh*SvCh0NOH^;ba4S
zF)S3md8wTIa<P$f;MXEq9U;ke@MleoBo?vj92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lWH_Ty(TGK0SA2Y=d+{!HI`
ztF<3}KlZJc`mR49vTyyM*ZS7m4E0aOd;NyK>tEBK{!l;l`{8{3M}5~H+K>Mc)BCPJ
zte-d;wyy8`!~3Z}BC7BDk^Sil`mR4RrEk5V<^OX6oB$`l32*|O04Kl+Z~~kFC%_4C
z0-OLRzzJ{yoB$`l32*|O04Kl+Z~~kFC%_4C0-OLRzzJ{yoB$`l32*|O04Kl+Z~~kF
zC%_4C0-OLRzzJ{yoB$`l32*|O04Kl+Z~~kFC%_4C0-OLRzzJ{yoB$`l32*|O04Kl+
zZ~~kFC%_4C0-OLRzzJ{yoB$`l32*|O04Kl+Z~~kFC%_4C0-OLRzzJ{yoB$`l32*|O
z04Kl+Z~~kFC%_4C0-OLRzzJ{yoB$`l32*|O04Kl+Z~~kFC%_4C0-OLRzzJ{yoB$`l
z32*|O04Kl+Z~~kFC%_4C0-OLRzzJ{yoB$`l32*|O04Kl+Z~~kFC%_4C0-OLRzzJ{y
zoB$`l32*|O04Kl+Z~~kFC%_4C0-OLRzzJ{yoB$`l32*|O04Kl+Z~~kFC%_4C0-OLR
xzzJ{yoB$`l32*|O04Kl+Z~~kFC%_4C0-OLRzzJ{yoB$`l32*|O!2b$?{{;Exh_V0x

literal 0
HcmV?d00001

diff --git a/external/mambo/README.md b/external/mambo/README.md
index 0390cc0ab5b0..2196a2c3a6c6 100644
--- a/external/mambo/README.md
+++ b/external/mambo/README.md
@@ -53,6 +53,17 @@  export SKIBOOT=$HOME/src/skiboot/skiboot.lid
 export SKIBOOT_AUTORUN=1
 ```
 
+### Using Real Container Verification Code for Secure Boot
+
+The CVC code dump is from a real machine, and the code is from the Hostboot
+project (see src/securerom). We just include the dump here for testing
+purposes.
+
+```
+export SKIBOOT_CVC_CODE=$HOME/src/skiboot/external/mambo/CVC
+export SKIBOOT_ENABLE_MAMBO_STB=1
+```
+
 ### Run the simulator
 ```
 /opt/ibm/systemsim-p8/run/pegasus/power8 -f $HOME/src/skiboot/external/mambo/skiboot.tcl