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 X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A550BC43332 for ; Thu, 4 Feb 2021 00:07:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7144364F64 for ; Thu, 4 Feb 2021 00:07:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234179AbhBDAGf (ORCPT ); Wed, 3 Feb 2021 19:06:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:32792 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233288AbhBDAGd (ORCPT ); Wed, 3 Feb 2021 19:06:33 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6DDED64E40; Thu, 4 Feb 2021 00:05:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612397152; bh=FAOEqJqOki9bCT6WXoW+ukEFUCMr85/l4i4KTBllngQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B/EtOe+Wtnkgu7tZ1fIEmgMOVLesKKLVUioSQah+hpkwFycB8GIqacfK+hzSOP7Pe JgkkbO5h0K/S5HvS969GQIOpRhD2AwBLjgSJ4+xMXjl9gpFfj8Fju2g5ndkicSWph5 B3sBiNDPPJImlpFL9Q5CzDpWPV56GKy6IbpWuvoMD+ya2Aip/n6yocDvr1Z8RfriDP Ghe+qckAelI5g+698B973bOpPDAFXee+S2iNQOFz1vPlvBYmMbsSbmQw40LUK5b+Xn 1l8Jmwq/Y8Q3S+o/PJuJIueY7kPG8bY5Cz3RF93pagOB+08ghwxr96WUeVG8Wic9Au jTH63eyVYOyKw== Date: Thu, 4 Feb 2021 02:05:46 +0200 From: Jarkko Sakkinen To: Sumit Garg Cc: Jerome Forissier , "open list:SECURITY SUBSYSTEM" , Daniel Thompson , op-tee@lists.trustedfirmware.org, Jonathan Corbet , James Bottomley , Janne Karhunen , Linux Doc Mailing List , James Morris , Mimi Zohar , Linux Kernel Mailing List , David Howells , Luke Hinds , "open list:ASYMMETRIC KEYS" , Jarkko Sakkinen , Casey Schaufler , linux-integrity@vger.kernel.org, linux-arm-kernel , "Serge E. Hallyn" , "Yann E. MORIN" Subject: Re: [PATCH v8 2/4] KEYS: trusted: Introduce TEE based Trusted Keys Message-ID: References: <01000177223f74d3-1eef7685-4a19-40d2-ace6-d4cd7f35579d-000000@email.amazonses.com> <1486cfe8-bc30-1266-12bd-0049f2b64820@forissier.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: keyrings@vger.kernel.org On Mon, Jan 25, 2021 at 02:47:38PM +0530, Sumit Garg wrote: > The main reason to guide you towards the OP-TEE build system is that > you will be able to build all the firmwares (TF-A, OP-TEE, edk2 etc.) > from source. If you don't need to rebuild those then I have prepared a > flash firmware binary blob for your testing (attached flash.bin). So > Qemu cmdline will look like: > > $ qemu-system-aarch64 -nographic -s -machine virt,secure=on -cpu > cortex-a57 -kernel out/bin/Image -no-acpi -append > 'console=ttyAMA0,38400 keep_bootcon root=/dev/vda2' -initrd > out/bin/rootfs.cpio.gz -smp 2 -m 1024 -bios flash.bin -d unimp > > Here you can use "Image" and "rootfs.cpio.gz" from your plain BR builds. > > Give it a try and let me know if this works for you. Sumit, I can try this again now :-) Thanks Yann for fixing the issue! https://git.busybox.net/buildroot/commit/?id=b9e7adc152b5811b20724d8c05f0f2117254919c /Jarkko