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: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-Google-Smtp-Source: ABhQp+R2MgJOeeKsAw6NKFlxLLUmf6a1J8DxGwjD3qOSQp2TDNByf9dIElgbGLZfULFJLY38kHukjg== 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 Cc: daniel.thompson@linaro.org, masami.hiramatsu@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: [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: Wed, 25 Oct 2017 17:56:52 -0000 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(-) 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