diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-07-29 11:44:29 +1000 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-11-27 11:27:48 +1100 |
commit | 700476617cb790604a29d1f16a3a6ec30668507c (patch) | |
tree | afe05a2c6a0ad2a89950283df6f020ff4b355a85 /test | |
parent | 12610da1bacf3578849eefe8f8d70cc289f4b87a (diff) | |
download | skiboot-700476617cb790604a29d1f16a3a6ec30668507c.zip skiboot-700476617cb790604a29d1f16a3a6ec30668507c.tar.gz skiboot-700476617cb790604a29d1f16a3a6ec30668507c.tar.bz2 |
mambo: enable use of real Container Verification Code
Make skiboot.tcl able to load and use a CVC blob from a real system.
This code comes from the src/securerom/ code in Hostboot.
we now use this in the sreset_world and hello_world test cases when we
do a secure boot run of them
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
[oliver: folded cvc.bin into this patch, misc fixes]
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'test')
-rwxr-xr-x | test/hello_world/run_mambo_p9_hello_world.sh | 1 | ||||
-rwxr-xr-x | test/sreset_world/run_mambo_p9_sreset.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/hello_world/run_mambo_p9_hello_world.sh b/test/hello_world/run_mambo_p9_hello_world.sh index 75c5ee7..9c304fd 100755 --- a/test/hello_world/run_mambo_p9_hello_world.sh +++ b/test/hello_world/run_mambo_p9_hello_world.sh @@ -25,6 +25,7 @@ fi if [ -n "$SKIBOOT_ENABLE_MAMBO_STB" ]; then export SKIBOOT_ZIMAGE=$(pwd)/test/hello_world/hello_kernel/hello_kernel.stb + export SKIBOOT_CVC_CODE=$(pwd)/external/mambo/cvc.bin else export SKIBOOT_ZIMAGE=$(pwd)/test/hello_world/hello_kernel/hello_kernel fi diff --git a/test/sreset_world/run_mambo_p9_sreset.sh b/test/sreset_world/run_mambo_p9_sreset.sh index bae72e7..4bfa547 100755 --- a/test/sreset_world/run_mambo_p9_sreset.sh +++ b/test/sreset_world/run_mambo_p9_sreset.sh @@ -25,6 +25,7 @@ fi if [ -n "$SKIBOOT_ENABLE_MAMBO_STB" ]; then export SKIBOOT_ZIMAGE=$(pwd)/test/sreset_world/sreset_kernel/sreset_kernel.stb + export SKIBOOT_CVC_CODE=$(pwd)/external/mambo/cvc.bin else export SKIBOOT_ZIMAGE=$(pwd)/test/sreset_world/sreset_kernel/sreset_kernel fi |