From patchwork Fri Apr 13 15:31:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 133388 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp849862ljb; Fri, 13 Apr 2018 08:34:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+nbLxvcPuoIJkbJtraIeHr/0fScKFo4rt46BsORiVetolPkDLz7YOE4yyd2gsiHOlBOZ3N X-Received: by 10.80.250.3 with SMTP id b3mr21251065edq.257.1523633692622; Fri, 13 Apr 2018 08:34:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523633692; cv=none; d=google.com; s=arc-20160816; b=Ulgb6GRagwcwSUK65TZqgMKXyX2uQjKtM9kYyLulN4Xn8oCyqTzreRN6PiwjYsTEPj yUjvpdfPNUiW06Xa1NdEeM7N2G0SOfM3sr5LJYZnVR3j6APlHdWTKD4oGGvSN2+qKwFE 8ktAkML0MBg0luor+oPeFi5dFAx+LDcjMFb0WRtTuHCm4csUnmeRt5j61kyixO0qHuPN dBIuk6oa79wMcLRmErk0cu1WUpw7KNHMoYrJLSWeAuDCfTRTafQvWgo3c72FJGPg8NjO WFn9I8MqNfjW+bWPLLJRmbl39jZKRlEJOaOsnwsomiyyn21ET9rQHpemrGZ4WzKuziK6 jjtQ== 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 :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:arc-authentication-results; bh=V783Gk5+VApNDVBpkvVMGMrDRqkBELBbYfYcEoPjLCE=; b=X2Et+T7ve56PgOBeXZL+Dn69aNa/NUyCEHc/K2aHVZ8Rhy26X09DI0XfS4pX/yISMN rLCfnDkoo8XpMOL4dPb1jOgWPga0aSJ9JYStyTfYUrqh2be8tJW8++qQHOuGAC1m98mF T9MMvMsYU0sJzwX8YBt+4tuSaJsOw4VKawPRlkDWFO0tojEbUN/mTx5Ig4XburjajrgM JXySRdSa7Br4RfPqiUY+LnGxNWED0aMniQH+WgJtj6jGr8Rz1CpRA3zHcqZlmsVnFi9I ZfPxKneflFOIssXo3bCtLH3ZcqtuGK8evDOPNpZLFtsv4T9qc+vH9CmNCBUHIe7M5bBH Yfhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XkW1Czkl; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id v15si2290405edl.439.2018.04.13.08.34.52; Fri, 13 Apr 2018 08:34:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XkW1Czkl; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 22A7FC21DA6; Fri, 13 Apr 2018 15:32:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 27255C21E02; Fri, 13 Apr 2018 15:31:46 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 16013C21DB6; Fri, 13 Apr 2018 15:31:38 +0000 (UTC) Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by lists.denx.de (Postfix) with ESMTPS id 11E87C21DE8 for ; Fri, 13 Apr 2018 15:31:34 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id y7so9151946wrh.10 for ; Fri, 13 Apr 2018 08:31:34 -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=+nwn5lRaFWst3UwOtqR/ryFHXvSyVue8HZITpt8D1UE=; b=XkW1Czkl59AJMbweORt45uD4zItRJKhNa++FnJ/hnAzgo583IZtu0ppZhYJd2V6wxy wu7YGnOTZxec1IWUAQk7Ra5tdDBAiy1/FVdauV6UPHRmfRU0viFf6Y+fsnpFRnktPEij bJQjrOB45rtsRf9sHsKo8fp9fTJD19OoktIqE= 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=+nwn5lRaFWst3UwOtqR/ryFHXvSyVue8HZITpt8D1UE=; b=teqQXxQ4R9ML7NYAkfhYauUYxWo6GvQvZ+/lc+YDlRpN1/uPv5GBtZ3b/tYDb1ORe/ TzrsXx4501ukFbJvpCyhzEBsqXObKcqdz77mLnhXrEonhjv/kGZ5Rw0OSPhbmjw7xsUq vJ5P6fv4gwb0gLSgCn3tOm1J4bSrc2pKsCgVetr7lKkl4V/HVZLaT91194Ps8cC2WK9w nt65hqVfuwnOVU3PV/Sj9LN7DF0nfSR6+5JmujvySE1a7tYnw3mqpsXbzH0L4GOrVD/t 058fDL3yhv3hFz7IqyfvxA/d78d4K1naBKvR/rdYTrFz2F8WwUDd3mqBl3WAYplhTL4V 7YvA== X-Gm-Message-State: ALQs6tBKiKuZlLSPQbbuWYNLq27lZ6YbOCIAlHYDoiH5NITQc+kuhCh2 fWATyuXb6fp8UUIEC4tg98Als+IprJU= X-Received: by 10.80.145.219 with SMTP id h27mr21269732eda.3.1523633493509; Fri, 13 Apr 2018 08:31:33 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id x35sm3516008edx.86.2018.04.13.08.31.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Apr 2018 08:31:32 -0700 (PDT) From: Bryan O'Donoghue To: u-boot@lists.denx.de, fabio.estevam@nxp.com, sbabic@denx.de Date: Fri, 13 Apr 2018 16:31:13 +0100 Message-Id: <1523633481-20914-10-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523633481-20914-1-git-send-email-bryan.odonoghue@linaro.org> References: <1523633481-20914-1-git-send-email-bryan.odonoghue@linaro.org> Cc: breno.lima@nxp.com, rui.silva@linaro.org, paul.liu@linaro.org Subject: [U-Boot] [PATCH v3 09/17] warp7: defconfig: Enable CONFIG_BOOTM_TEE X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This patch enables CONFIG_BOOTM_TEE. Once enabled its possible to chain-load Linux through OPTEE. Loading kernel to 0x80800000 => run loadimage Load FDT to 0x83000000 => run loadfdt Load OPTEE to 0x84000000 => fatload mmc 0:5 0x84000000 /lib/firmware/uTee.optee Then chain-load to the kernel via OPTEE => bootm 0x84000000 - 0x83000000 Image Name: Image Type: ARM Trusted Execution Environment Kernel Image (uncompressed) Data Size: 249844 Bytes = 244 KiB Load Address: 9dffffe4 Entry Point: 9e000000 Verifying Checksum ... OK Loading Kernel Image ... OK Signed-off-by: Bryan O'Donoghue --- configs/warp7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig index efb6f51..d5dc009 100644 --- a/configs/warp7_defconfig +++ b/configs/warp7_defconfig @@ -47,3 +47,4 @@ CONFIG_USBNET_HOST_ADDR="de:ad:be:af:00:00" CONFIG_OF_LIBFDT=y CONFIG_OPTEE=y CONFIG_OPTEE_LOAD_ADDR=0x84000000 +CONFIG_BOOTM_OPTEE=y