[OE-core] [RFC][PATCH v2 1/4] u-boot: basic support of dtb append for verified boot
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Sun Apr 24 12:56:06 UTC 2016
On April 21, 2016 9:55:21 PM GMT+02:00, Yannick GICQUEL <yannick.gicquel at iot.bzh> wrote:
>>> +do_install_prepend_pn-u-boot () {
>>> + # Concatenate U-Boot w/o DTB & DTB with public key
>>> + # (cf. kernel-fitimage.bbclass for more details)
>>> + cd ${DEPLOYDIR}
>>> + if [ "x${UBOOT_SIGN_ENABLE}" = "x1" ]; then
>>> + if [ -e "${UBOOT_NODTB_IMAGE}" -a -e "${UBOOT_DTB_IMAGE}" ]; then
>>> + cat ${UBOOT_NODTB_IMAGE} ${UBOOT_DTB_IMAGE} > ${UBOOT_IMAGE}
>>> + cat ${UBOOT_NODTB_IMAGE} ${UBOOT_DTB_IMAGE} >
>${B}/${UBOOT_BINARY}
+ cat ${UBOOT_NODTB_IMAGE} ${UBOOT_DTB_IMAGE} | tee ${B}/${UBOOT_BINARY} > ${UBOOT_IMAGE}
thanks,
>>> + else
>>> + bbwarn "Failure while adding public key to u-boot binary.
>Verified boot won't be available."
>>> + fi
>>> + fi
>>> +}
>>> +
More information about the Openembedded-core
mailing list