From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 79A47C54E71 for ; Tue, 19 Mar 2024 21:38:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 4970D405CB; Tue, 19 Mar 2024 21:38:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V2ibW6fz5ELN; Tue, 19 Mar 2024 21:38:01 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 4B73540438 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 4B73540438; Tue, 19 Mar 2024 21:38:01 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 73A9D1BF360 for ; Tue, 19 Mar 2024 21:37:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 60E9B405CB for ; Tue, 19 Mar 2024 21:37:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ls7CQyh9f4B3 for ; Tue, 19 Mar 2024 21:37:58 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.27.42.3; helo=smtp3-g21.free.fr; envelope-from=yann.morin.1998@free.fr; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org A1F6B40438 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org A1F6B40438 Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) by smtp2.osuosl.org (Postfix) with ESMTPS id A1F6B40438 for ; Tue, 19 Mar 2024 21:37:57 +0000 (UTC) Received: from ymorin.is-a-geek.org (unknown [IPv6:2a01:cb19:8290:3800:e05a:3b8d:ff83:9629]) (Authenticated sender: yann.morin.1998@free.fr) by smtp3-g21.free.fr (Postfix) with ESMTPSA id 8834E13F861; Tue, 19 Mar 2024 22:37:40 +0100 (CET) Received: by ymorin.is-a-geek.org (sSMTP sendmail emulation); Tue, 19 Mar 2024 22:37:40 +0100 Date: Tue, 19 Mar 2024 22:37:40 +0100 From: "Yann E. MORIN" To: Dario Binacchi Message-ID: References: <20240304153253.732708-1-dario.binacchi@amarulasolutions.com> <20240304153253.732708-2-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240304153253.732708-2-dario.binacchi@amarulasolutions.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1710884274; bh=7jVUvl3QlnblDUpsFhbrNUFHkOtRhN0MmClheF1/ht4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AtXYJCk8stlRcWpDriiK/Cgm/P7KlQUA69ATrSqZiH/ndRV2u0l4V5Tx9gOmhGfTV Lss8kiy03YbUhXpKShnzMuu2pmGriIKmp8Yfgu0COyjHHrr6a5uxku+1iqPR0OvCWj Pe/k/2Zoff1Afbtc7j8rrgSRb1tecFKO8BZB5lwyssepyPTOXNckoI6cppZOiChB3k TFSnQ//C1E26CYDHw4086oCMG51CzM7k0ptymyLIvrBc+ZEdkZiYMpQnRKDEQOB/Sk khYs6LVhh1ldTK8EgdexjA6DhabyR/p0NI2UpWg6+tp2aJMkVaLPF5f9zV4TRq/KvB IyW2xSxqlNVNA== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=free.fr X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=free.fr header.i=@free.fr header.a=rsa-sha256 header.s=smtp-20201208 header.b=AtXYJCk8 Subject: Re: [Buildroot] [PATCH v9 01/22] configs/ti_am62x_sk_defconfig: fix BR2_TARGET_OPTEE_OS_PLATFORM setting X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Sverdlin , Anand Gadiyar , Asaf Kahlon , Xuanhao Shi , James Hilliard , Thomas Petazzoni , buildroot@buildroot.org, Romain Naour , michael@amarulasolutions.com, linux-amarula@amarulasolutions.com, bryce@redpinelabs.com, Andreas Dannenberg Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Dario, All, On 2024-03-04 16:32 +0100, Dario Binacchi spake thusly: > Using PLATFORM=k3 can leads to a runtime boot crash on some K3 SoC (e.g. > j721e) because the optee flavor is missing. > > We could use BR2_TARGET_OPTEE_OS_PLATFORM=k3 and > BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR=am62x but we actually can use > BR2_TARGET_OPTEE_OS_PLATFORM=k3-am62x as explained in the optee-os > Makefile [1]: > > # If $(PLATFORM) is defined and contains a hyphen, parse it as > # $(PLATFORM)-$(PLATFORM_FLAVOR) for convenience > > This is how meta-ti set the optee-os platform: > > meta-ti]$ git grep OPTEEMACHINE > meta-ti-bsp/conf/machine/am437x-hs-evm.conf:OPTEEMACHINE = "ti-am43xx" > meta-ti-bsp/conf/machine/am57xx-hs-evm.conf:OPTEEMACHINE = "ti-am57xx" > meta-ti-bsp/conf/machine/beagleplay.conf:OPTEEMACHINE = "k3-am62x" > meta-ti-bsp/conf/machine/dra7xx-hs-evm.conf:OPTEEMACHINE = "ti-dra7xx" > meta-ti-bsp/conf/machine/include/am62axx.inc:OPTEEMACHINE = "k3-am62x" > meta-ti-bsp/conf/machine/include/am62pxx.inc:OPTEEMACHINE = "k3-am62x" > meta-ti-bsp/conf/machine/include/am62xx.inc:OPTEEMACHINE = "k3-am62x" > meta-ti-bsp/conf/machine/include/am64xx.inc:OPTEEMACHINE = "k3-am64x" > meta-ti-bsp/conf/machine/include/am65xx.inc:OPTEEMACHINE = "k3-am65x" > meta-ti-bsp/conf/machine/include/j7200.inc:OPTEEMACHINE = "k3-j721e" > meta-ti-bsp/conf/machine/include/j721e.inc:OPTEEMACHINE = "k3-j721e" > meta-ti-bsp/conf/machine/include/j721s2.inc:OPTEEMACHINE = "k3-j784s4" > meta-ti-bsp/conf/machine/include/j722s.inc:OPTEEMACHINE = "k3-am62x" > meta-ti-bsp/conf/machine/include/j784s4.inc:OPTEEMACHINE = "k3-j784s4" > > meta-ti uses the OPTEEMACHINE to set optee-os platform [2]. > > [1] https://github.com/OP-TEE/optee_os/blob/4.0.0/Makefile#L37 > [2] https://git.yoctoproject.org/meta-arm/tree/meta-arm/recipes-security/optee/optee-os.inc?h=4.0.3#n23 > > Suggested-by: Romain Naour > Signed-off-by: Dario Binacchi Applied to master, thanks. Regards, Yann E. MORIN. > --- > > Changes in v6: > - Update commit message > > Changes in v5 > - Drop BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR option > > Added in v4 > > configs/ti_am62x_sk_defconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig > index f88252a89c68..c3ad555a8184 100644 > --- a/configs/ti_am62x_sk_defconfig > +++ b/configs/ti_am62x_sk_defconfig > @@ -21,7 +21,7 @@ BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="k3" > BR2_TARGET_ARM_TRUSTED_FIRMWARE_TARGET_BOARD="lite" > BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y > BR2_TARGET_OPTEE_OS=y > -BR2_TARGET_OPTEE_OS_PLATFORM="k3" > +BR2_TARGET_OPTEE_OS_PLATFORM="k3-am62x" > BR2_TARGET_TI_K3_IMAGE_GEN=y > BR2_TARGET_TI_K3_IMAGE_GEN_SOC_AM62X=y > BR2_TARGET_TI_K3_R5_LOADER=y > -- > 2.43.0 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot