Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23EFBC433EF for ; Thu, 9 Sep 2021 14:56:06 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4E1086120A for ; Thu, 9 Sep 2021 14:56:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4E1086120A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 72142834C5; Thu, 9 Sep 2021 16:55:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="IJ8ntiCM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 68D67834CD; Thu, 9 Sep 2021 16:55:54 +0200 (CEST) Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 41FF4834C6 for ; Thu, 9 Sep 2021 16:55:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mr.nuke.me@gmail.com Received: by mail-oi1-x235.google.com with SMTP id n27so2875450oij.0 for ; Thu, 09 Sep 2021 07:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HdE5htSNkemSPGIgu53khKlom/ipOJhrthW4WHLcC+o=; b=IJ8ntiCMuQyOO/rcG67GyYO3e1CnPll5lfMNzrcJrmG90XtsAv2sXB963ErIfA3MEp 0h2v66C5/M+B+Ppwg+bLjXyg4eQF2gRg3j4RMaNOz0g5vlgRJfrID7k32Ua3ZV++SFXp PqASN+r4q/ei0UKtqHwOZG0OvuVVnDB1WYNQ2F2DqOXgBk772zObQCgGQoSbYMBX621C zJCkfCHz062JA/SsYyQztszi9MMnukE8ZfNClp4K8uxe1C6IICTWDuUUljxEJ8eIL0e5 SSE/HOIbgpp3NTI6Az2iwpL4aJwuYT4U52AOuWKoDvAHEzJID5/aySc8kofa4FWwLXHl uGPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HdE5htSNkemSPGIgu53khKlom/ipOJhrthW4WHLcC+o=; b=DDfo4OYv1xY231NqoJBF2RcJelMn/2dv6GiDhID6IQgTdHbAbMCu4zJXtBsy0EC7Yb VGAmoI9w23qBki0782r/ymzy4T6GJqwc4SywNb/zg8v1KnJRBWvP/OrorJkPwGsiuc8N Ly8pMAmlA4oletC81dcBghyw0De28aaR86vgri8TWW7e6jIjO21yDqAs8qfW6tmmwx9I AFOqjvGB9jD3w/+dlN36340K2gJvrPzsZGaUAJOXwun18S7aRpBwcPgfNT901/8oxil2 VxH1K/a0pT2OQvNablm4bqTt2IzHGihv3uP1/QNv4v9UflcWfW+9ceDnC+NdrV3cLZpv /9tw== X-Gm-Message-State: AOAM5301nhiGGm+o0gB+5QKi8u2NxmQh8vtLCizEdVyTStlV8yL/CJ/v i89A6D9crUmwBLe3C3E0cD0FhfjQDXk= X-Google-Smtp-Source: ABdhPJygcKtZRDkgp6NVgHrVEyTSpmOEwZ1RUrvMU20YfVjeIMO6t679cfX6C1c0pTQPlJ0pfijpxQ== X-Received: by 2002:a05:6808:214:: with SMTP id l20mr127210oie.134.1631199344327; Thu, 09 Sep 2021 07:55:44 -0700 (PDT) Received: from nuclearis3.lan (c-98-195-139-126.hsd1.tx.comcast.net. [98.195.139.126]) by smtp.gmail.com with ESMTPSA id l21sm447898oop.22.2021.09.09.07.55.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 07:55:43 -0700 (PDT) From: Alexandru Gagniuc To: u-boot@lists.denx.de, patrick.delaunay@foss.st.com Cc: patrice.chotard@foss.st.com, uboot-stm32@st-md-mailman.stormreply.com, Alexandru Gagniuc , marex@denx.de, etienne.carriere@linaro.org Subject: [PATCH 1/3] stm32mp: Rename FIP config to stm32mp15_tfaboot_fip_defconig Date: Thu, 9 Sep 2021 09:55:34 -0500 Message-Id: <20210909145536.2979951-2-mr.nuke.me@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210909145536.2979951-1-mr.nuke.me@gmail.com> References: <20210909145536.2979951-1-mr.nuke.me@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean STM32MP has several possible boot flows with either SPL or TF-A. The word from STM is that they only want to support TF-A with FIP images, and this should be default. We don't disagree. However, this argument is orthogonal to naming our defconfigs clearly. I'm concerned that users might be confused by the current naming. When given the choice between "basic", "trusted", or "", someone used with how u-boot works will think that the "" config is the customary "SPL + u-boot". However, such confusion is far less likely when the choices are "basic", "trusted", and "tfaboot_fip". To this effect, avoid having a naked config name and rename it to "stm32mp15_tfaboot_fip_defconig". Signed-off-by: Alexandru Gagniuc --- board/st/stm32mp1/MAINTAINERS | 2 +- ...defconfig => stm32mp15_tfaboot_fip_defconfig} | 0 doc/board/st/stm32mp1.rst | 16 ++++++++-------- 3 files changed, 9 insertions(+), 9 deletions(-) rename configs/{stm32mp15_defconfig => stm32mp15_tfaboot_fip_defconfig} (100%) diff --git a/board/st/stm32mp1/MAINTAINERS b/board/st/stm32mp1/MAINTAINERS index 0e6d80fb45..e2da11b46d 100644 --- a/board/st/stm32mp1/MAINTAINERS +++ b/board/st/stm32mp1/MAINTAINERS @@ -5,7 +5,7 @@ T: git https://source.denx.de/u-boot/custodians/u-boot-stm.git S: Maintained F: arch/arm/dts/stm32mp15* F: board/st/stm32mp1/ -F: configs/stm32mp15_defconfig F: configs/stm32mp15_basic_defconfig F: configs/stm32mp15_trusted_defconfig +F: configs/stm32mp15_tfaboot_fip_defconfig F: include/configs/stm32mp1.h diff --git a/configs/stm32mp15_defconfig b/configs/stm32mp15_tfaboot_fip_defconfig similarity index 100% rename from configs/stm32mp15_defconfig rename to configs/stm32mp15_tfaboot_fip_defconfig diff --git a/doc/board/st/stm32mp1.rst b/doc/board/st/stm32mp1.rst index 42bb94148d..89981023be 100644 --- a/doc/board/st/stm32mp1.rst +++ b/doc/board/st/stm32mp1.rst @@ -76,7 +76,7 @@ The **Trusted** boot chain with TF-A_ ````````````````````````````````````` defconfig_file : - + **stm32mp15_defconfig** (for TF-A_ with FIP support) + + **stm32mp15_tfaboot_fip_defconfig** (for TF-A_ with FIP support) + **stm32mp15_trusted_defconfig** (for TF-A_ without FIP support) +-------------+--------------------------+------------+-------+ @@ -184,7 +184,7 @@ Build Procedure with : - - For **trusted** boot mode : **stm32mp15_defconfig** or + - For **trusted** boot mode : **stm32mp15_tfaboot_fip_defconfig** or stm32mp15_trusted_defconfig - For basic boot mode: stm32mp15_basic_defconfig @@ -197,7 +197,7 @@ Build Procedure a) trusted boot with FIP on ev1:: # export KBUILD_OUTPUT=stm32mp15 - # make stm32mp15_defconfig + # make stm32mp15_tfaboot_fip_defconfig # make DEVICE_TREE=stm32mp157c-ev1 all b) trusted boot without FIP on dk2:: @@ -235,7 +235,7 @@ Build Procedure So in the output directory (selected by KBUILD_OUTPUT), you can found the needed U-Boot files: - - stm32mp15_defconfig = **u-boot-nodtb.bin** and **u-boot.dtb** + - stm32mp15_tfaboot_fip_defconfig = **u-boot-nodtb.bin** and **u-boot.dtb** - stm32mp15_trusted_defconfig = u-boot.stm32 @@ -248,11 +248,11 @@ Build Procedure 7. TF-A_ compilation - This step is required only for **Trusted** boot (stm32mp15_defconfig and - stm32mp15_trusted_defconfig); see OP-TEE_ and TF-A_ documentation for build - commands. + This step is required only for **Trusted** boot + (stm32mp15_tfaboot_fip_defconfig and stm32mp15_trusted_defconfig); see + OP-TEE_ and TF-A_ documentation for build commands. - - For TF-A_ with FIP support: **stm32mp15_defconfig** + - For TF-A_ with FIP support: **stm32mp15_tfaboot_fip_defconfig** - with OP-TEE_ support, compile the OP-TEE to generate the binary included in FIP -- 2.31.1