From patchwork Mon Apr 2 22:42:08 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: 132683 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp3101663ljb; Mon, 2 Apr 2018 15:48:16 -0700 (PDT) X-Google-Smtp-Source: AIpwx49xE3rIKJglvJUrTlF7CLGcz3mMDrB1J88IwlDzPhn3oPEOOEmDHi5EI0Gb52jjt8q5eEmv X-Received: by 10.80.234.139 with SMTP id d11mr13975648edo.7.1522709296164; Mon, 02 Apr 2018 15:48:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522709296; cv=none; d=google.com; s=arc-20160816; b=Vv9eCITgJXt2v3DeYvgRKodDCPBwZqOvG8F+Spzs8nj2ErbGASSnJAaJsdYZ59lfX0 AECPjFBF6NKlcz8swGpNdar1fT/B4BfITJxtFizfh3PWXXQGpVIVle+HMx8KTAbfsYTN QA1lo2Vy4H2AvJyxEv8jBVpQSP3paTRXE4UDnRx1dvbQxHrh3keCA/XlCLZBcMwplY9r ZWZtdpk66WLm75Z1kczYyXqP/YQxB5TlLtaPjhDZsz1RlJUBNjZ3dyuJGHSKIGj/95/g AF4ZppIXTsiqygrnKL5pruNSgbCe4MUhjM7yrFH0vWePMCC/3ipIqVXty2Vv25RVsLkz Q9tQ== 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=ZumJyOVM/JE8CHwa13kKQDkqYj4398RrjOSjb2b5VBgS+OpF3VHvyr7Tf+3ET1sdGB Ds+yffOZhS3BFloPw2sD8BikdTuBOi4hQylcBQE8GKG5oJIiLrQFiF4pU/gq0pFhrNyD 01CI9fT4fmWR03bdFhZK/DZiZ/8KJWl+UbH0F8xJOfvanhDZBUkkzisfe5Zfe05hAfYg I/1v78nzS1CSeAOlfzsc64Q+5HqRS22NS/zfb8L9HClwaJYxCiiOD7d3Hc8Ck6hVDKia jIp0mao1wFln2L3ffcCcp7P1rT91cZ7g5k3YDtH+HD2HxgYcb4IMJD5GGwjdrvNBHP/+ 4NxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Xx3UN2uf; 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 h23si1197567eda.422.2018.04.02.15.48.15; Mon, 02 Apr 2018 15:48:16 -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=Xx3UN2uf; 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 BC870C21E2C; Mon, 2 Apr 2018 22:46:05 +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_MSPIKE_H2, 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 BCE25C21F32; Mon, 2 Apr 2018 22:43:06 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 58920C21EC9; Mon, 2 Apr 2018 22:42:33 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by lists.denx.de (Postfix) with ESMTPS id C18B5C21E56 for ; Mon, 2 Apr 2018 22:42:28 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id h76so29005279wme.4 for ; Mon, 02 Apr 2018 15:42:28 -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=Xx3UN2uf/YvmtUGqcFwkHJF/RETvEi20xeg5K23DCzxg74TqsRjP6acOGLgv4i5Mkx YH0AM984pxEXtXaR5t611ym/1kMBL++22elfY8JOvJdWQvHupAhFmKrQYt+RR7voSG4X dDh0eZw6DcqetDr45NYmTOBKInQy5AMqjU5fc= 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=e2y0/IItdlDpawNGJUDl9I6cwOAqctM4csxkaFlJqj1TjVt93candTJD1vkLLcSo2t GzPCDhqNbRKAYmdtHHgNYeCysdac1l1XqSv59MlRrG6d+kqgHW+98YS4533IfEV/qV9C 55vQb+hPfKfuwdjh9FiI5YIwL1Uj664wZ9uGpmQ9hYnJ+OJ69PE8kqFJTCOkXXG/8jIB wxBRtOM4Hjf+UXk/N9di2TFNXt2ecujSGo77oVIq2tfPlJl5stBW4xtvTCxUb3KEWLZK cBkdvff0DbiBZJkhUcEeseB/Wxgr6caAOnTDEnAH+qJwkrby6Q5YT36qkdkiqorEqRw2 /hBg== X-Gm-Message-State: AElRT7HijhhdoN/NPx86XPN1Ax9quxXDh8feqis0YwZWlKrqgmO98mp9 UBXwdsujOvqxb7MADv2vCxKkycXnG8Y= X-Received: by 10.80.181.117 with SMTP id z50mr13938003edd.223.1522708948227; Mon, 02 Apr 2018 15:42:28 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id s8sm842086edk.76.2018.04.02.15.42.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 Apr 2018 15:42:27 -0700 (PDT) From: Bryan O'Donoghue To: u-boot@lists.denx.de, fabio.estevam@nxp.com, sbabic@denx.de Date: Mon, 2 Apr 2018 23:42:08 +0100 Message-Id: <1522708936-7603-10-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522708936-7603-1-git-send-email-bryan.odonoghue@linaro.org> References: <1522708936-7603-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 v2 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