From patchwork Wed Oct 25 17:59:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 117150 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1120610qgn; Wed, 25 Oct 2017 11:01:26 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TCDpaDFUwBPhAn3ummFKYl5kRBUqcCmVjLADfYzZUEcQiFOm2GwJJ6LuvroQG9uHe1BILd X-Received: by 10.84.178.164 with SMTP id z33mr2315741plb.333.1508954486452; Wed, 25 Oct 2017 11:01:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508954486; cv=none; d=google.com; s=arc-20160816; b=trd4tborEN3pGWrcOxXsbiKgQjaQkhOfkPlhlmv4ueuPFs6zZJ3lFDuTsy8XH1JqNt X9tOfZeUSjptzVfz6/hYyMg80VBkbXOfQVZcai6F5FTuP8NMZlVm3q3xlA0CoKviGK20 x6JflTGuzLwn+eMJIdV/63UVuSx9oe8Nq/MWf4YOBzO4MNFoCu44HCePL50N1cNqOSPo NlmSb6P98E3W/m4EhpUK5oyou3Wwd6IGitJYwNgRF8lfzQlykdUI0inFarfbN5qVp2xo p5ojxFLdJIXcrbYPKr6hp6MPLzs9+Rk3OuB24MT17/t3SUqlvAKYGC/IYolLRsd2+CYy mb8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=5FusBh2WiTN0e1/0XiNWTOTZG9hLP0YtNzfHCda8CZE=; b=nU6BSRKocLd11TgB4YFyoQ1qpS9HLUi1Bgeeb/6ibe5Kuah0o2O+3rfzt5cH3pMvxs dLXOTiMnH71dG81nNpFgKNDnm7EeskNpAzTTkrfH8PqYvDmBoiTd/YhUFkqcsluHMgWv 2yie6J7t5p5NaRfJU0ztHA+7RxTLf/eb+zyunVE1wJwwDlwllyWMWpl4KSKBu6Px8+1V 8GZrcfQajrfEB4yYUVP82U57myvhxbD6LM2hh2aHN7hOD+G+8xHc8rp9IWjBeKsnvWU7 gk/TDg3y6hsaERXian+m8J8+/fddy2r8mkN/1+YxTCDNLZONg8NHyRDkHB+PNLB8Mrg3 4QCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ez/HD3yT; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id bh8si1804815plb.64.2017.10.25.11.01.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Oct 2017 11:01:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ez/HD3yT; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 804F620352609; Wed, 25 Oct 2017 10:56:53 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::244; helo=mail-wm0-x244.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::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 202DB20352609 for ; Wed, 25 Oct 2017 10:56:52 -0700 (PDT) Received: by mail-wm0-x244.google.com with SMTP id b9so3594799wmh.0 for ; Wed, 25 Oct 2017 11:00:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AyHxPZ8b0YZBculdBFrX2HXgbgD1sTkA9MQLjH/vZjk=; b=ez/HD3yTm3dW8zd8gkCdTafYsueOPisLFQlVeuABJ7BHmoDCna3WehY1hQfJCJgJLw m5VCSdtXdt8sEPdXQlva7hEaAbWCBEp3biuq6d010Z1f+Hbkyx57WGsDy9xxhHkhISEU YEcTUZIoa7VDTGk+5/2v9KXcFRiSvmGfyDeTE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AyHxPZ8b0YZBculdBFrX2HXgbgD1sTkA9MQLjH/vZjk=; b=jK/8cPmB7L1VlIV7FVy7b5RZe1RY9B7t7FA2uxSa/40bTkbwLAChR5Y9iFPD787Q7V QMJnHOAGm+lQDImkT2uc0LdLoEjzmuGHY5cC4Me65hy9ggtBNu4V+xxOzP0B7TXj6WqA z0t6m060P62ruU6mE3k8ZjTfFzRwZ9fHdJYVz3iNWTAaNX+3qlCDVMWZ7MGL31m7K4kP u9VHIR26+J8XYD3qJhs8YkrY/vY0vQxBNM0rTTU3KqgTfoQnX9iAir6hzy6wwz87oKUw Q6K5e64aV87DD2IkeeKqK+IBpsTBSYMuc88NtvfiSWOkUafyGRSCZWZNKe3PLSacs/AQ y7Tg== X-Gm-Message-State: AMCzsaXESTlXa2kKIF5D9BhxdPOMIuQrUGInLsbTF2IZSrXFtfhEvEf0 ymeuksqDC1+yov0W8BYlrkWwpDs0PME= X-Received: by 10.28.65.133 with SMTP id o127mr2731717wma.146.1508954435660; Wed, 25 Oct 2017 11:00:35 -0700 (PDT) Received: from localhost.localdomain ([160.161.173.60]) by smtp.gmail.com with ESMTPSA id y29sm3255305wrd.3.2017.10.25.11.00.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Oct 2017 11:00:35 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Wed, 25 Oct 2017 18:59:42 +0100 Message-Id: <20171025175947.22798-19-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171025175947.22798-1-ard.biesheuvel@linaro.org> References: <20171025175947.22798-1-ard.biesheuvel@linaro.org> Subject: [edk2] [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: , Cc: daniel.thompson@linaro.org, masami.hiramatsu@linaro.org MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm 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