Return-Path: Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by arago-project.org (Postfix) with ESMTPS id 0583E529DE for ; Thu, 9 May 2019 04:16:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 2BA7F40BB7; Thu, 9 May 2019 04:15:35 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZP7SMmNNRkqX; Thu, 9 May 2019 04:15:35 +0000 (UTC) Received: from mail.denix.org (pool-100-15-86-127.washdc.fios.verizon.net [100.15.86.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 109B440BB3; Thu, 9 May 2019 04:15:34 +0000 (UTC) Received: from gimli.denix (unknown [192.168.30.6]) by mail.denix.org (Postfix) with ESMTP id C032816EAF6; Thu, 9 May 2019 00:15:33 -0400 (EDT) From: Denys Dmytriyenko To: meta-arago@arago-project.org Date: Thu, 9 May 2019 00:15:27 -0400 Message-Id: <1557375331-41998-5-git-send-email-denys@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1557375331-41998-1-git-send-email-denys@ti.com> References: <1557375331-41998-1-git-send-email-denys@ti.com> Subject: [thud/master][PATCH 5/9] optee-os: sign binary image for am65xx HS X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 May 2019 04:16:05 -0000 Signed-off-by: Denys Dmytriyenko --- meta-arago-distro/recipes-security/optee/optee-os_git.bbappend | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend b/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend index dd6c9c6..b81b51f 100644 --- a/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend +++ b/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend @@ -65,6 +65,16 @@ do_compile_aarch64() { ) } +do_compile_am65xx-hs-evm() { + export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} + oe_runmake all PLATFORM=${OPTEEMACHINE} PLATFORM_FLAVOR=${OPTEEFLAVOR} + ( cd out/arm-plat-${OPTEEOUTPUTMACHINE}/core/; \ + ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh tee-pager.bin tee-pager.bin.signed; \ + mv tee-pager.bin.signed ${B}/bl32.bin; \ + cp tee.elf ${B}/bl32.elf; \ + ) +} + do_install() { #install core on boot directory install -d ${D}/boot -- 2.7.4