diff options
author | Mike Garrett <mike.garrett@hpe.com> | 2021-08-27 23:51:09 +0300 |
---|---|---|
committer | Mike Garrett <mike.garrett@hpe.com> | 2021-08-31 03:34:22 +0300 |
commit | 4eb108b1dce1423ff39cfd4ac23556da58554376 (patch) | |
tree | 1ce779368ac72894555184dae2b9e4b9e4dc1ae2 /meta-hpe/meta-gxp/classes/gxp-bootblock-n.bbclass | |
parent | 57272ae3079bd1882ad952283e649fd51a2b91f5 (diff) | |
download | openbmc-4eb108b1dce1423ff39cfd4ac23556da58554376.tar.xz |
meta-hpe: Update binary bootblock recipes for GXP
Update the build recipes for the GXP binary bootblock that runs before U-Boot.
The code has been restructured such that the DL360POC machine is the exception,
so this includes the overrides for the DL360POC.
Signed-off-by: Mike Garrett <mike.garrett@hpe.com>
Change-Id: I507a6e32c7c72613dbd1239824f528f0f60d1f6f
Diffstat (limited to 'meta-hpe/meta-gxp/classes/gxp-bootblock-n.bbclass')
-rw-r--r-- | meta-hpe/meta-gxp/classes/gxp-bootblock-n.bbclass | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-hpe/meta-gxp/classes/gxp-bootblock-n.bbclass b/meta-hpe/meta-gxp/classes/gxp-bootblock-n.bbclass new file mode 100644 index 000000000..bd69e16a0 --- /dev/null +++ b/meta-hpe/meta-gxp/classes/gxp-bootblock-n.bbclass @@ -0,0 +1,26 @@ +LICENSE = "CLOSED" +LIC_FILES_CHKSUM = "" + +# TODO: Manually copy the U-Boot signing key and customer-key-block here: +HPE_GXP_KEY_FILES_DIR = "${COREBASE}/meta-hpe/meta-gxp/recipes-bsp/image/files" + +inherit deploy + +do_deploy () { + install -d ${DEPLOYDIR} + + # Copy in the bootblock + install -m 644 ${HPE_GXP_KEY_FILES_DIR}/gxp-bootblock.bin ${DEPLOYDIR}/gxp-bootblock.bin + + # Copy in files from the files subdirectory + install -m 644 ${HPE_GXP_KEY_FILES_DIR}/header.sig ${DEPLOYDIR}/hpe-uboot-header.section + + # Copy in the U-Boot signing key + install -m 644 ${HPE_GXP_KEY_FILES_DIR}/private_key.pem ${DEPLOYDIR}/hpe-uboot-signing-key.pem + + # Copy in the customer keyblock + install -m 644 ${HPE_GXP_KEY_FILES_DIR}/customer-key-block ${DEPLOYDIR}/customer-key-block +} + +addtask deploy before do_build after do_compile + |