From patchwork Fri Mar 30 14:18:37 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: 132611 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp3100170ljb; Fri, 30 Mar 2018 07:22:02 -0700 (PDT) X-Google-Smtp-Source: AIpwx49m6QzUOMbs53+ZSIHVadqX6gdtkwMgNiWHJMtyc+mKU3E44gWY2GYTfwkwd8NmmV9WRn5H X-Received: by 10.80.169.120 with SMTP id m53mr3089166edc.180.1522419722885; Fri, 30 Mar 2018 07:22:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522419722; cv=none; d=google.com; s=arc-20160816; b=qz968qCcazcl+4NfG/bvsRjX4EFFeQkSNAnDbElprzBlnsQH0ETXNTmDja6ZambVq7 6vYq3rsgCHxSodCKhdR6XMbwf9nyVXSXcODCxhvkMV/e4cMWUr3MufvgK5YyNc0uKAx0 h90znEzgl1/C0hb3YR8yiPas9MjPMYtxjkYRzCI2VbBQjDzqtkHzSZVIyXmhfeED8vCM kJmCVpxbGAL1HvZW7R9vqGz7L5hcv6TXmP/LlFnQnh4z2HG2EyY+EO00333K5l+MT081 Xqc6JhecSmARZxv0LmuRL6E4nlSm1Q8TQRB4ps1WEcFCXYkLRVjm8LNnNoVfX1lwpmAZ s/7A== 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=XSll0VitLepdiJR4+iaqxCIl8fj/PV+zQaRW2IK/0S0=; b=S6UQn2XIpnYBEo0iY4mFQ+C1wgh9VMS7TOIWkQo3v33cpHtE/BofeaAcApIuOxI+Bm CoT8/9N/4L7E2zL7e4o5UEI5tif/Ej99gM9O/EBJCkaPn9fC4LOnRZ3AqmlIJJsSUbMN HgsKIv/3cbWuzgDVv+JYIIQmr7mh+sdabkbcwV3Y4bEoBIlliXXgNPOgjwioGY1I8xKB 4tOqr0DdN9Dinskg5ELypSqkbghK4rZ2+DCx/iWdDF5ND5AgG6/jCFfwtX4FzVrrjOLu nOMd1GYm/Q9DwLKB4PQIAL2G3ehPcaZgU2yaj2fyIXQLgL9B34jN5aIDepJX8OaAAv7U yFVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=j70IM/Kw; 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 z7si1260104edk.273.2018.03.30.07.22.02; Fri, 30 Mar 2018 07:22:02 -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=j70IM/Kw; 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 660D0C22248; Fri, 30 Mar 2018 14:20:22 +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, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 42D94C22244; Fri, 30 Mar 2018 14:19:11 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5381DC22249; Fri, 30 Mar 2018 14:19:02 +0000 (UTC) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by lists.denx.de (Postfix) with ESMTPS id 79537C221FE for ; Fri, 30 Mar 2018 14:18:58 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id p9so15794305wmc.3 for ; Fri, 30 Mar 2018 07:18:58 -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=fIZLc8lC2tPVPR8OwChetMosY+9pmsuGJiJI1HU5/io=; b=j70IM/KwDLJxYbWbE6osixpN3tc+qH7XdmrSoqZefYxG3XxtALqwPsFhpOXWhDmME8 6bpY0lrbWhz4DHtrxAFZ7zZgPjALrHkco+14MTNSnHpj6MtL2vXtxJoVLl/oQxIXpRTt 2E/eFWW9b+AyRHwQjKUJ6872SKR+V3oLkO7eU= 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=fIZLc8lC2tPVPR8OwChetMosY+9pmsuGJiJI1HU5/io=; b=WUN8nbYelQxr6ubCjzJGxP8bNouk5ekDauHsIR/30BIMovj6khgu15m8W2J/NWZvTK Ije4jGYprHR11/ZWVuF5+ZijIVVieHI4bXdAOqhEZA4+ieAPRiYkDDGctwoh3vnKm7xO kmPrjbwgG1jDp8pWmBuzvFpwP76lPrgSdwqKXtWc3odlCCYTzDW6d3S+gzIAdXDVndaW 5qG+JUqRxLDaLIIwlLXJ2LW/cyedqaykdwoYSg44B8qY7netVJJqlYlGuPi+eYwkBRc2 bEahgp08cFc9agSzynTtF/gGvDp+8E7XSqu45wFqvxf7/h5RJoG8/nECQjOQiaQSTj5m sklw== X-Gm-Message-State: AElRT7GB8PvIMFB0NgLWloJ8fhRGeLRg5QRH0X9N0C0a5QOPaAopiwlu DU3aCmpaykaeyA5NfbsBIe7WXgvF7b0= X-Received: by 10.80.234.139 with SMTP id d11mr3060881edo.7.1522419538011; Fri, 30 Mar 2018 07:18:58 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id d22sm5831758eda.31.2018.03.30.07.18.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Mar 2018 07:18:57 -0700 (PDT) From: Bryan O'Donoghue To: u-boot@lists.denx.de, fabio.estevam@nxp.com Date: Fri, 30 Mar 2018 15:18:37 +0100 Message-Id: <1522419526-29494-10-git-send-email-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522419526-29494-1-git-send-email-bryan.odonoghue@linaro.org> References: <1522419526-29494-1-git-send-email-bryan.odonoghue@linaro.org> Cc: rui.silva@linaro.org, paul.liu@linaro.org Subject: [U-Boot] [PATCH 09/18] 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_secure_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/warp7_secure_defconfig b/configs/warp7_secure_defconfig index d1d2495..0d46aa7 100644 --- a/configs/warp7_secure_defconfig +++ b/configs/warp7_secure_defconfig @@ -43,3 +43,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