summaryrefslogtreecommitdiffstats
path: root/src/build/tools
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2016-04-08 12:50:56 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-05-18 12:36:07 -0400
commitfaba45366783533757b3636b0dcf0db2a1b2497e (patch)
tree4a5f897fe0ca810f15a2452aa039205be49a5fb1 /src/build/tools
parent31800a88f21f37e4efcd6915de38b312788247fd (diff)
downloadtalos-hostboot-faba45366783533757b3636b0dcf0db2a1b2497e.tar.gz
talos-hostboot-faba45366783533757b3636b0dcf0db2a1b2497e.zip
Change securerom test to use current hw hash key
Change-Id: Icb596e6c69fadd2f7b8109876a92db04763f206f RTC: 68883 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23066 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23070
Diffstat (limited to 'src/build/tools')
-rwxr-xr-xsrc/build/tools/hb3
-rwxr-xr-xsrc/build/tools/hbDistribute11
2 files changed, 12 insertions, 2 deletions
diff --git a/src/build/tools/hb b/src/build/tools/hb
index 7865c4069..f5d2620fc 100755
--- a/src/build/tools/hb
+++ b/src/build/tools/hb
@@ -241,6 +241,9 @@ hb_helptext()
echo " #!/bin/sh"
echo " export SANDBOXROOT=~/sandboxes"
echo " export SANDBOXNAME=hostboot"
+ echo " # Dev key signing of images for secureboot"
+ echo " export SIGNING_DIR=/esw/san2/hostboot/secure-boot/secure-boot-scripts/rom_new_header/sign/obj"
+ echo " export DEV_KEY_DIR=/esw/san2/hostboot/secure-boot/dev_keys"
echo
echo " See also:"
echo " All other sub-commands."
diff --git a/src/build/tools/hbDistribute b/src/build/tools/hbDistribute
index d3c07daed..f0b84a29d 100755
--- a/src/build/tools/hbDistribute
+++ b/src/build/tools/hbDistribute
@@ -6,7 +6,9 @@
#
# OpenPOWER HostBoot Project
#
-# COPYRIGHT International Business Machines Corp. 2012,2014
+# Contributors Listed Below - COPYRIGHT 2012,2016
+# [+] International Business Machines Corp.
+#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -41,7 +43,7 @@ print_usage()
echo " --help: Prints usage information"
echo
echo " --test: Includes test images and content instead of non-test."
- echo
+ echo
echo " --release: Create a full release distribution (all targets)."
echo " --vpo: Generate just 'vpo' content."
echo " --simics/--fsp: *default* Generate just 'fsp' content"
@@ -80,6 +82,10 @@ do
DEBUG="-d"
;;
+ "--secureboot")
+ SECUREBOOT=1
+ ;;
+
--*)
echo "ERROR: Unknown option: $ARG"
exit
@@ -118,6 +124,7 @@ fi
mkdir -p $TARGET_DIR
export TARGET_TEST
export TARGET_DIR
+export SECUREBOOT
cd $REPO_ROOT/src/build/mkrules
make -rR ${DEBUG:=} -f dist.targets.mk $TARGET
OpenPOWER on IntegriCloud