From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3F32DC433F5 for ; Wed, 19 Jan 2022 16:51:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B74A6831B5; Wed, 19 Jan 2022 17:51:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=foundries.io Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=foundries.io header.i=@foundries.io header.b="m1EYdisX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4E13583003; Wed, 19 Jan 2022 17:51:43 +0100 (CET) Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 48157831CA for ; Wed, 19 Jan 2022 17:51:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=foundries.io Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jorge@foundries.io Received: by mail-wm1-x32e.google.com with SMTP id q141-20020a1ca793000000b00347b48dfb53so6852466wme.0 for ; Wed, 19 Jan 2022 08:51:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundries.io; s=google; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=NlIvDrfcvnPOjYW4w4DUisPbtNCQOHnpJtBQb6C7goU=; b=m1EYdisXhNu0zg67SXtlXyOSzF0DGbsT38Rgb7xEi2rVXpJppSHW7RUd15tsekb3Yf yIlBZAbGzpVmv8ImbMYqG0sLoV7SPd8Pe8wxneIUVY3OFoi+5VoqYygb/Meb8qtq0DF+ 1iQY/sAE/OZzziv1DBFxNKGUMeNOkujqgTcbgccI+HCXh1tmLXYxOz4fDkWaSh3uOYVm Jxe782XuF1dt9CjZFw6kGGXWjRPoTShA0Sq3demnST0+rDEm//gWydkO3b0XOoFIB5Q9 e4CoDALMkeSAX01lwHZpuryz+ySAEnFHqTNYECKB0Q/guraHQNMGKrHkIb08UlVMXo+E Tbkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=NlIvDrfcvnPOjYW4w4DUisPbtNCQOHnpJtBQb6C7goU=; b=2HHPIPQmVpUOY+isq+vv3+6F5fSYYwTTeBfrfGM5ImjZ81H4Vh7v1DSWIdKahnKWcP 4MPTYjOY1Xxbfo+gjq/28eJZGlxO4Bj2U+aXa7oBizBgPFVI5leeQwgQiNH891fRHseE wGiL/HznQLFOB4FZzdZbbF0sQpty5mghbojjY0AVxo5mPdaUSiWkJz7OhUWwJbXH7VAQ eD2KApcGuOg9gkKmNRuGQYSN56y7abIvEwITCSSfRKTyfFQGowIdQvtYX2+6i5CmmofC xW8WuvBjFSd698ec111Hb00gwR7Owz1xkXZeN3AJ7pUZi3K9XN5q/qd9j79HeQMVRPDn d2Mw== X-Gm-Message-State: AOAM533MR8572eUR8jCVLCAq3jiztODjRJib6Mo3MRc+XiTVWlfHF0Qe F1RrcL+i0vUUfTvQir88suc0q4AMEDfFKQ== X-Google-Smtp-Source: ABdhPJxigmdhW4cGaAA0viBBkEkdLxZwX1Bw9FpUYyBUcVaTg4Zfgeed2WLOBbIoYN+Pp7x4NoxY5w== X-Received: by 2002:a05:6000:42:: with SMTP id k2mr4790589wrx.178.1642611099908; Wed, 19 Jan 2022 08:51:39 -0800 (PST) Received: from trex (198.red-83-34-201.dynamicip.rima-tde.net. [83.34.201.198]) by smtp.gmail.com with ESMTPSA id z5sm7466425wmp.10.2022.01.19.08.51.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 08:51:39 -0800 (PST) From: "Jorge Ramirez-Ortiz, Foundries" X-Google-Original-From: "Jorge Ramirez-Ortiz, Foundries" Date: Wed, 19 Jan 2022 17:51:38 +0100 To: "Jorge Ramirez-Ortiz, Foundries" Cc: Adrian Fiergolski , michal.simek@xilinx.com, trini@konsulko.com, sjg@chromium.org, u-boot@lists.denx.de, ricardo@foundries.io, mike@foundries.io, igor.opaniuk@foundries.io Subject: Re: FIT image: load secure FPGA Message-ID: <20220119165138.GA1470179@trex> References: <20211004203226.GA4704@trex> <20220119164422.GA1468952@trex> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220119164422.GA1468952@trex> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On 19/01/22, Jorge Ramirez-Ortiz, Foundries wrote: > On 19/01/22, Adrian Fiergolski wrote: > > Hi Jorge, > > hi Adrian, > > > > > Have you succeeded to enable secure boot on ZynqMP with SPL (not Xilinx's > > FSBL)? Is it documented somewhere? Any configuration files/yocto recipes? > > somewhere there: > https://github.com/foundriesio/meta-lmp > > > Have you managed to resolve problem of the bitstream loaded in such a case > > by SPL? > > > > Yes. I wrote the docs here below: > https://docs.foundries.io/latest/reference-manual/security/authentication-xilinx.html > this might help you as well if you use OP-TEE and require RPMB access. https://github.com/OP-TEE/optee_os/pull/4874 > > > I need to use an encrypted bitstream. However, it required the use of > > DeviceKeys in post-boot state which eventually requires secure boot. > > > > Regards, > > hope that helps > > > > > Adrian > >