summaryrefslogtreecommitdiff
path: root/meta-hpe/meta-gxp/conf/machine/include/fitimage-sign.inc
diff options
context:
space:
mode:
authorMike Garrett <mike.garrett@hpe.com>2021-08-28 00:39:03 +0300
committerMike Garrett <mike.garrett@hpe.com>2021-09-07 21:31:19 +0300
commit02b54b36f0be0f8dc3aa06b3a83e88feb63c1768 (patch)
tree6cdaa4a96b73c9c62f5d884a41d16e3deaa20b5a /meta-hpe/meta-gxp/conf/machine/include/fitimage-sign.inc
parente748abe8050a9a2db2309063182244922d75cac7 (diff)
downloadopenbmc-02b54b36f0be0f8dc3aa06b3a83e88feb63c1768.tar.xz
meta-hpe: Update U-Boot from 2019.07 to 2020.10
Signed-off-by: Mike Garrett <mike.garrett@hpe.com> Change-Id: I538f9e74fdc90d3eb1e7e778b2ff99777b0d07d7
Diffstat (limited to 'meta-hpe/meta-gxp/conf/machine/include/fitimage-sign.inc')
-rw-r--r--meta-hpe/meta-gxp/conf/machine/include/fitimage-sign.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-hpe/meta-gxp/conf/machine/include/fitimage-sign.inc b/meta-hpe/meta-gxp/conf/machine/include/fitimage-sign.inc
new file mode 100644
index 000000000..80af00af2
--- /dev/null
+++ b/meta-hpe/meta-gxp/conf/machine/include/fitimage-sign.inc
@@ -0,0 +1,14 @@
+inherit uboot-sign
+
+UBOOT_SIGN_ENABLE = "0"
+UBOOT_SIGN_KEYDIR = "${COREBASE}/meta-hpe/meta-gxp/recipes-bsp/u-boot/u-boot-gxp/"
+UBOOT_SIGN_KEYNAME = "dev"
+FIT_HASH_ALG = "sha512"
+UBOOT_FIT_HASH_ALG = "sha512"
+
+concat_dtb_helper:append() {
+ if [ -e "${DEPLOYDIR}/${UBOOT_NODTB_IMAGE}" -a -e "$deployed_uboot_dtb_binary" ]; then
+ cd ${DEPLOYDIR}
+ cat ${UBOOT_NODTB_IMAGE} $deployed_uboot_dtb_binary | tee ${B}/${UBOOT_BINARY} > ${UBOOT_IMAGE}
+ fi
+}