From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::244; helo=mail-wr0-x244.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A44382035261E for ; Thu, 26 Oct 2017 14:26:25 -0700 (PDT) Received: by mail-wr0-x244.google.com with SMTP id y39so4473916wrd.4 for ; Thu, 26 Oct 2017 14:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=wuRqCdXda4CbcHndcVF/C33V5KGdM2HOaQNqrdKsjNo=; b=UJQ5Cv8/iDnHs4W9syOHewU3Fsm27E69LraxY5lLFBu3t2pUH/vUJc3ubso+Ru8byf ZeXwk1axUFKegEHDOORQGW0ySssBgDyNqtqX3ubE6ivO0ooA+xDNK4dr4X3vE08g2Mw9 91v/ajlo9DC6SlaH/08RI8e2+95H52Srccbvg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=wuRqCdXda4CbcHndcVF/C33V5KGdM2HOaQNqrdKsjNo=; b=bVWlUvzxtj0dbrQv98XoNFypjg2Y3b5CJdX9ALMApKxukreAKMengMIHt+q3fv3GjS ly8uCSM5hkyY9n0CbzyKtpgN+5K8Lf7mzO1eZnZqyQEAUtYgaeuf4T9zrfU33tf5c0T+ 5R/4mG6hxSYE40ElzLTwjd4sToFAt7u0XakrI9YPYG3DC+Jb/1C9YP9m/tqodNh06DWp 7JlJr8cNzuVJC2IMjY2Tfx0Afo7rwoGvXhijtggnh8xwzqtPp2iTqwdhneKbXyqTY3lZ M6BBMZQzF99WfCKsdZPoNCPh9HJ1WsvkmY/ZiPzvAc3wJn4yuMGfukWQhNozriHzVbL4 nNrg== X-Gm-Message-State: AMCzsaUDv2PMVHHlJPr80FddJvwsArPCl7zmoqULZMacWKI8eu6kGdy2 VFbUW7/R4A0koXLgqgKkr6qBDQ== X-Google-Smtp-Source: ABhQp+QBTqDh8ejZ8bWYDUKmKk5yVwITfc/LRiCIrOwlCKBWV7QqVG0h/J5ybjYXFyzVU62BDnHVng== X-Received: by 10.223.200.132 with SMTP id k4mr6232771wrh.215.1509053410860; Thu, 26 Oct 2017 14:30:10 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id e77sm167749wmi.16.2017.10.26.14.30.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Oct 2017 14:30:09 -0700 (PDT) Date: Thu, 26 Oct 2017 22:30:08 +0100 From: Leif Lindholm To: Ard Biesheuvel Cc: edk2-devel@lists.01.org, daniel.thompson@linaro.org, masami.hiramatsu@linaro.org Message-ID: <20171026213008.iqcm4omxtfwof5nn@bivouac.eciton.net> References: <20171025175947.22798-1-ard.biesheuvel@linaro.org> <20171025175947.22798-19-ard.biesheuvel@linaro.org> MIME-Version: 1.0 In-Reply-To: <20171025175947.22798-19-ard.biesheuvel@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [PATCH edk2-platforms v2 18/23] Socionext/SynQuacerEvalBoard: switch to execute in place X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 21:26:26 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 25, 2017 at 06:59:42PM +0100, Ard Biesheuvel wrote: > Now that we switched to PrePeiCore, we can execute the firmware image > in place, using a stack and temporary heap in non-secure SRAM. This > allows us to query the secure firmware for the size and placement of > DRAM, and also allows the use of capsules for firmware update. > > NOTE: this requires a matching change on the ARM Trusted Firmware side. Could you fold in a repo link and a git hash to the commit doing that? > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm > --- > Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf > index dc1e15420818..1e3258821a8c 100644 > --- a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf > +++ b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf > @@ -26,7 +26,7 @@ > ################################################################################ > > [FD.BL33_AP_UEFI] > -BaseAddress = 0xE0000000|gArmTokenSpaceGuid.PcdFdBaseAddress # The base address of the Firmware in NOR Flash. > +BaseAddress = 0x08200000|gArmTokenSpaceGuid.PcdFdBaseAddress # The base address of the Firmware in NOR Flash. > Size = 0x001B0000|gArmTokenSpaceGuid.PcdFdSize # The size in bytes of the FLASH Device > ErasePolarity = 1 > > -- > 2.11.0 >