From patchwork Wed May 8 18:14:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 1097175 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="SL+y6qmI"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44zl543F8gz9s5c for ; Thu, 9 May 2019 04:15:19 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id CB527C21E2C; Wed, 8 May 2019 18:15:12 +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=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 18C73C21C27; Wed, 8 May 2019 18:15:10 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 687E8C21C27; Wed, 8 May 2019 18:15:09 +0000 (UTC) Received: from mail-ed1-f66.google.com (mail-ed1-f66.google.com [209.85.208.66]) by lists.denx.de (Postfix) with ESMTPS id 0FBEFC21BE5 for ; Wed, 8 May 2019 18:15:09 +0000 (UTC) Received: by mail-ed1-f66.google.com with SMTP id m4so22931038edd.8 for ; Wed, 08 May 2019 11:15:09 -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:mime-version :content-transfer-encoding; bh=mx0bYI0HLscD8FMxF2gA1ee41OFHBTTVllT2HC384WY=; b=SL+y6qmI6DMRSUQxqnWwd6FT84zBHbgXgHj8Df8MKMMjiLc1FC3fdA/Q2E3FBM1fqc P9D6kpuTCnHWuqe0EzIToK2ktR57dIYHKhDRh54jBRm93WfzXIQ/6ODDbUzWR22uVAKD SINJqfpvqFtrqYSXeOvArzMkdoqY02sBf6x/Wlp2V1QL7nofi6Mh1t9tuNP75bkiavkg t1epsxvAFVeqw/e72qEyJvTZxmw7dkB/dC0+UrbZo0FgpAa/1OlGm9a+8ezfu9MCmNvg P/7FogUi+seZxui24DL8PAQ+c8HvQpVBVbqMIgGFnq0bPgqkpzgjL5Z0QTXNOy4Cuhyd K80g== 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:mime-version :content-transfer-encoding; bh=mx0bYI0HLscD8FMxF2gA1ee41OFHBTTVllT2HC384WY=; b=HI+STDFbwaCwSI+0kyxYc/xrkZpt3Owo+5Ky3fmutkSfTpksfPSll62XzBcdiVfBMc FRxBWAjZ+N0FIyy1lIGXdANJV1E3T56Kc8XdzD/YUy3upzfYM+RYTiWJkSiLK1u8WyUb ThgGJozysjk/wKFntqGCSAukS2kw0vF/D/2o4ZLcWZArEjP9tQJqyDUtGbTN8lP5BmqT 6fqL627wUCXLYFBnH6gdn05d5Z8LpNeSFig8t0dbHODnmqzCx4uadOhl8kJIVuEcYs2J mdBglt/ioP+kLRDmQbIBEwuNAG8z/ceu6LHQMsjrcLC05bdtf4NPY3oFPxHqmYWkt9Vi CmoQ== X-Gm-Message-State: APjAAAWHTPK8pphlYRUOAEWLgmfJuiyB/67xeoahkMQ+EygKw0W9RRCm uJI1szFPc3sWpKwxNpzosj6iQz+O68U= X-Google-Smtp-Source: APXvYqw8uV0hXNZ+6TBKHPSAFhxhsSmt/acqEGYGO/Pl2vlLwvtqZDUcJtDmeXP+G0i94cCOxkiS5Q== X-Received: by 2002:a50:b3a6:: with SMTP id s35mr40859211edd.220.1557339308403; Wed, 08 May 2019 11:15:08 -0700 (PDT) Received: from event-horizon.net ([80.111.179.123]) by smtp.gmail.com with ESMTPSA id r2sm2809106ejp.76.2019.05.08.11.15.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 May 2019 11:15:07 -0700 (PDT) From: Bryan O'Donoghue To: u-boot@lists.denx.de, fabio.estevam@nxp.com, maxime.ripard@free-electrons.com, breno.lima@nxp.com, pjtexier@koncepto.io, trini@konsulko.com, peng.fan@nxp.com Date: Wed, 8 May 2019 19:14:41 +0100 Message-Id: <20190508181448.20452-1-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [U-Boot] [PATCH 0/7] Switch WaRP7 BL33 to mbed Linux specific bootflow 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This series switches the BL33 version of WaRP7 to an mbed Linux specific bootflow. https://os.mbed.com/blog/entry/Introducing-Arm-Mbed-Linux-OS/ The bootflow for our port to the WaRP7 is: BootROM -> TF-A -> OP-TEE -> u-boot -> Linux with the transition from OP-TEE to Linux also representing the transition from secure to normal world. Here a Trusted-Firmware FIP image contains signed versions of OP-TEE and u-boot and a u-boot FIT image contains Kernel DTB, initrd, bootscript and Kernel. OP-TEE provides a DTB overlay which the bootscript in the FIT image applies to the kernel DTB, prior to hand-off to Linux. Some updates to warp7_bl33 and some minor updates to the shared WaRP7/WaRP7_bl33 code are included. Bryan O'Donoghue (7): warp7_bl33: configs: Enable FIT as the boot.scr format warp7: include: configs: Specify image name of bootscript in FIT warp7: include: configs: Differentiate bootscript address from loadaddr warp7_bl33: configs: Enable CONFIG_OF_LIBFDT warp7_bl33: configs: Enable CONFIG_OF_LIBFDT_OVERLAY warp7: include: configs: Specify an fdtovaddr warp7: Specify a default CONFIG_OPTEE_LOAD_ADDR if non provided configs/warp7_bl33_defconfig | 5 +++++ include/configs/warp7.h | 20 +++++++++++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-)