Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: Alexander Sverdlin <alexander.sverdlin@gmail.com>,
	Anand Gadiyar <gadiyar@ti.com>, Asaf Kahlon <asafka7@gmail.com>,
	Xuanhao Shi <X15000177@gmail.com>,
	James Hilliard <james.hilliard1@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	buildroot@buildroot.org, Romain Naour <romain.naour@smile.fr>,
	michael@amarulasolutions.com, linux-amarula@amarulasolutions.com,
	bryce@redpinelabs.com, Andreas Dannenberg <dannenberg@ti.com>
Subject: Re: [Buildroot] [PATCH v9 01/22] configs/ti_am62x_sk_defconfig: fix BR2_TARGET_OPTEE_OS_PLATFORM setting
Date: Tue, 19 Mar 2024 22:37:40 +0100	[thread overview]
Message-ID: <ZfoFpHUlL2Z0D51s@landeda> (raw)
In-Reply-To: <20240304153253.732708-2-dario.binacchi@amarulasolutions.com>

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 <romain.naour@smile.fr>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>

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

  reply	other threads:[~2024-03-19 21:38 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-04 15:32 [Buildroot] [PATCH v9 00/22] Add support for AM62x-SK HS-FS devices Dario Binacchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 01/22] configs/ti_am62x_sk_defconfig: fix BR2_TARGET_OPTEE_OS_PLATFORM setting Dario Binacchi
2024-03-19 21:37   ` Yann E. MORIN [this message]
2024-03-04 15:32 ` [Buildroot] [PATCH v9 02/22] configs/ti_am64x_sk_defconfig: " Dario Binacchi
2024-03-19 21:38   ` Yann E. MORIN
2024-03-04 15:32 ` [Buildroot] [PATCH v9 03/22] configs/ti_am62x_sk_defconfig: explicitly set the ti-k3-r5-loader version Dario Binacchi
2024-03-19 21:40   ` Yann E. MORIN
2024-03-04 15:32 ` [Buildroot] [PATCH v9 04/22] configs/ti_am64x_sk_defconfig: " Dario Binacchi
2024-03-19 21:40   ` Yann E. MORIN
2024-03-04 15:32 ` [Buildroot] [PATCH v9 05/22] boot/ti-k3-r5-loader: bump to version 2024.01 Dario Binacchi
2024-03-19 22:09   ` Yann E. MORIN
2024-03-20  2:18     ` Andreas Dannenberg via buildroot
2024-03-20  6:14       ` Yann E. MORIN
2024-03-20  9:17         ` Andreas Dannenberg via buildroot
2024-03-24 16:22     ` Dario Binacchi
2024-03-26  7:22       ` Andreas Dannenberg via buildroot
2024-03-04 15:32 ` [Buildroot] [PATCH v9 06/22] package/python-attrs: add host variant Dario Binacchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 07/22] package/python-rpds-py: " Dario Binacchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 08/22] package/python-referencing: " Dario Binacchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 09/22] package/python-jsonschema-specifications: " Dario Binacchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 10/22] package/python-jsonschema: " Dario Binacchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 11/22] boot/ti-k3-r5-loader: set binman environment Dario Binacchi
2024-03-19 15:16   ` Bryan Brattlof via buildroot
2024-04-03  8:28     ` Romain Naour
2024-04-03  8:34       ` Michael Nazzareno Trimarchi
2024-04-03  9:37         ` Romain Naour
2024-04-03  9:46           ` Michael Nazzareno Trimarchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 12/22] boot/uboot: add BR2_TARGET_UBOOT_USE_BINMAN option Dario Binacchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 13/22] package/ti-k3: move TI_K3_{SECTYPE, SOC} out of the image-gen scope Dario Binacchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 14/22] package/ti-k3: disable HS-FS for AM65 SOC Dario Binacchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 15/22] boot/ti-k3/ti-k3-r5-loader: install tiboot3.bin Dario Binacchi
2024-03-19 15:11   ` Bryan Brattlof via buildroot
2024-03-20  9:20     ` Andreas Dannenberg via buildroot
2024-03-04 15:32 ` [Buildroot] [PATCH v9 16/22] configs/ti_am62x_sk_defconfig: bump U-Boot version to 2024.01 Dario Binacchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 17/22] configs/ti_am62x_sk_defconfig: bump Linux version to 6.6.18 Dario Binacchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 18/22] board/ti/am62x-sk: generalize post-build.sh Dario Binacchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 19/22] board/ti/am62x-sk: move post-{build, image}.sh to board/ti/common/am6xx Dario Binacchi
2024-03-13 10:56   ` Romain Naour
2024-03-13 11:29     ` Michael Nazzareno Trimarchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 20/22] configs/ti_am64x_sk_defconfig: bump U-Boot version to 2024.01 Dario Binacchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 21/22] configs/ti_am64x_sk_defconfig: bump Linux version to 6.6.18 Dario Binacchi
2024-03-04 15:32 ` [Buildroot] [PATCH v9 22/22] boot/ti-k3-image-gen: remove package Dario Binacchi
2024-03-13 11:00   ` Romain Naour
2024-03-13 11:28     ` Michael Nazzareno Trimarchi
2024-03-24 17:20     ` Dario Binacchi
2024-03-27 14:55       ` Romain Naour
2024-03-28 14:32         ` Heiko Thiery
2024-03-18  7:35   ` Michael Nazzareno Trimarchi
2024-03-12  6:42 ` [Buildroot] [PATCH v9 00/22] Add support for AM62x-SK HS-FS devices Andreas Dannenberg via buildroot
2024-03-19 22:24 ` Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZfoFpHUlL2Z0D51s@landeda \
    --to=yann.morin.1998@free.fr \
    --cc=X15000177@gmail.com \
    --cc=alexander.sverdlin@gmail.com \
    --cc=asafka7@gmail.com \
    --cc=bryce@redpinelabs.com \
    --cc=buildroot@buildroot.org \
    --cc=dannenberg@ti.com \
    --cc=dario.binacchi@amarulasolutions.com \
    --cc=gadiyar@ti.com \
    --cc=james.hilliard1@gmail.com \
    --cc=linux-amarula@amarulasolutions.com \
    --cc=michael@amarulasolutions.com \
    --cc=romain.naour@smile.fr \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox