All of lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@smile.fr>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>,
	buildroot@buildroot.org
Cc: michael@amarulasolutions.com, linux-amarula@amarulasolutions.com,
	Asaf Kahlon <asafka7@gmail.com>,
	Xuanhao Shi <X15000177@gmail.com>,
	James Hilliard <james.hilliard1@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Andreas Dannenberg <dannenberg@ti.com>,
	Alexander Sverdlin <alexander.sverdlin@gmail.com>,
	bryce@redpinelabs.com, Anand Gadiyar <gadiyar@ti.com>
Subject: Re: [Buildroot] [PATCH v4 13/20] boot/ti-k3-r5-loader: set binman environment
Date: Mon, 19 Feb 2024 11:15:30 +0100	[thread overview]
Message-ID: <af65f8aa-c746-4933-859b-1724d8653e91@smile.fr> (raw)
In-Reply-To: <20240217160244.1320482-14-dario.binacchi@amarulasolutions.com>

Hello Dario,

Le 17/02/2024 à 17:02, Dario Binacchi a écrit :
> Recent version of U-Boot use binman to provide a mechanism for building
> images, from simple SPL + U-Boot combinations, to more complex
> arrangements with many parts.
> 
> The patch set the BINMAN_INDIRS environment variable to provide the
> directory to search for binary blobs and select the packages required by
> binman.
> 
> Co-developed-by: Michael Trimarchi <michael@amarulasolutions.com>
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> 
> ---
> 
> Changes in v4:
> - Drop the BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN option
> 
> Changes in v2:
> - Change commit message
> - Add BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN option
> - Select packages required by binman if
>   BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN is enabled
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
>  boot/ti-k3-r5-loader/ti-k3-r5-loader.mk | 13 ++++++++++++-
>  1 file changed, 12 insertions(+), 1 deletion(-)
> 
> diff --git a/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk b/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk
> index 0ffcb8235f2e..2a10024aedaa 100644
> --- a/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk
> +++ b/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk
> @@ -39,7 +39,13 @@ TI_K3_R5_LOADER_DEPENDENCIES = \
>  	host-pkgconf \
>  	$(BR2_MAKE_HOST_DEPENDENCY) \
>  	host-arm-gnu-toolchain \
> -	host-openssl
> +	host-openssl \
> +	host-python-attrs \
> +	host-python-jsonschema \
> +	host-python-jsonschema-specifications \
> +	host-python-pyyaml \
> +	host-python-referencing \
> +	host-python-rpds-py

Most of theses new dependencies are not ti-k3-r5-loader dependencies but
host-python-jsonschema runtime dependencies.

Note: host-python-jsonschema depends on
BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS due to its runtime dependency on
host-python-rpds-py.

>  
>  TI_K3_R5_LOADER_MAKE = $(BR2_MAKE)
>  TI_K3_R5_LOADER_MAKE_ENV = $(TARGET_MAKE_ENV)
> @@ -49,6 +55,10 @@ TI_K3_R5_LOADER_KCONFIG_DEPENDENCIES = \
>  	$(BR2_BISON_HOST_DEPENDENCY) \
>  	$(BR2_FLEX_HOST_DEPENDENCY)
>  
> +ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYLIBFDT),y)

It's a u-boot package config option. just add host-python-pylibfdt the dependency.

> +TI_K3_R5_LOADER_DEPENDENCIES += host-python-pylibfdt
> +endif
> +
>  ifeq ($(BR2_TARGET_TI_K3_R5_LOADER_USE_DEFCONFIG),y)
>  TI_K3_R5_LOADER_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG))_defconfig
>  else ifeq ($(BR2_TARGET_TI_K3_R5_LOADER_USE_CUSTOM_CONFIG),y)
> @@ -58,6 +68,7 @@ TI_K3_R5_LOADER_MAKE_OPTS = \
>  	CROSS_COMPILE=$(HOST_DIR)/bin/arm-none-eabi- \
>  	ARCH=arm \
>  	HOSTCC="$(HOSTCC) $(subst -I/,-isystem /,$(subst -I /,-isystem /,$(HOST_CFLAGS)))" \
> +	BINMAN_INDIRS=$(BINARIES_DIR) \

I suggested to add BR2_TARGET_TI_K3_R5_LOADER_USE_BINMAN but indeed we should
use binman unconditionally for ti-k3-r5-loader package.

http://patchwork.ozlabs.org/project/buildroot/patch/20240213172817.2872849-11-romain.naour@smile.fr/

Best regards,
Romain


>  	HOSTLDFLAGS="$(HOST_LDFLAGS)"
>  
>  define TI_K3_R5_LOADER_BUILD_CMDS

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2024-02-19 10:15 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-17 16:02 [Buildroot] [PATCH v4 00/20] Add support for AM62x-SK HS-FS devices Dario Binacchi
2024-02-17 16:02 ` [Buildroot] [PATCH v4 01/20] configs/ti_am62x_sk_defconfig: fix BR2_TARGET_OPTEE_OS_PLATFORM setting Dario Binacchi
2024-02-17 20:06   ` Alexander Sverdlin
2024-02-19  9:36   ` Romain Naour
2024-02-17 16:02 ` [Buildroot] [PATCH v4 02/20] configs/ti_am64x_sk_defconfig: " Dario Binacchi
2024-02-17 20:08   ` Alexander Sverdlin
2024-02-17 16:02 ` [Buildroot] [PATCH v4 03/20] configs/ti_am62x_sk_defconfig: explicitly set the ti-k3-r5-loader version Dario Binacchi
2024-02-17 16:02 ` [Buildroot] [PATCH v4 04/20] configs/ti_am64x_sk_defconfig: " Dario Binacchi
2024-02-17 16:02 ` [Buildroot] [PATCH v4 05/20] boot/ti-k3-r5-loader: bump to version 2024.01 Dario Binacchi
2024-02-17 16:02 ` [Buildroot] [PATCH v4 06/20] boot/ti-k3-core-secdev: new package Dario Binacchi
2024-02-17 17:06   ` Alexander Sverdlin
2024-02-18 13:20     ` Dario Binacchi
2024-02-19  9:48   ` Romain Naour
2024-02-19 20:15     ` Andreas Dannenberg via buildroot
2024-02-17 16:02 ` [Buildroot] [PATCH v4 07/20] boot/ti-k3-image-gen: manage HS hardware Dario Binacchi
2024-02-17 23:45   ` Alexander Sverdlin
2024-02-18 14:01     ` Dario Binacchi
2024-02-19 10:42     ` Romain Naour
2024-02-19 10:47       ` Alexander Sverdlin
2024-02-19 20:36     ` Andreas Dannenberg via buildroot
2024-02-19 20:42       ` Alexander Sverdlin
2024-02-19  9:58   ` Romain Naour
2024-02-19 20:19     ` Andreas Dannenberg via buildroot
2024-02-17 16:02 ` [Buildroot] [PATCH v4 08/20] package/python-jsonschema: add host variant Dario Binacchi
2024-02-19 10:03   ` Romain Naour
2024-02-17 16:02 ` [Buildroot] [PATCH v4 09/20] package/python-attrs: " Dario Binacchi
2024-02-17 16:02 ` [Buildroot] [PATCH v4 10/20] package/python-referencing: " Dario Binacchi
2024-02-17 16:02 ` [Buildroot] [PATCH v4 11/20] package/python-rpds-py: " Dario Binacchi
2024-02-17 16:02 ` [Buildroot] [PATCH v4 12/20] package/python-jsonschema-specifications: " Dario Binacchi
2024-02-17 16:02 ` [Buildroot] [PATCH v4 13/20] boot/ti-k3-r5-loader: set binman environment Dario Binacchi
2024-02-17 20:38   ` Alexander Sverdlin
2024-02-19 10:40     ` Romain Naour
2024-02-19 10:15   ` Romain Naour [this message]
2024-02-21 10:19     ` Dario Binacchi
2024-02-21 15:29       ` Romain Naour
2024-02-21 20:09         ` Dario Binacchi
2024-02-17 16:02 ` [Buildroot] [PATCH v4 14/20] boot/uboot: set BINMAN_INDIRS for TI K3 DM Dario Binacchi
2024-02-17 20:44   ` Alexander Sverdlin
2024-02-18 13:55     ` Dario Binacchi
2024-02-19 20:51     ` Andreas Dannenberg via buildroot
2024-02-19 21:34       ` Romain Naour
2024-02-20  2:00         ` Andreas Dannenberg via buildroot
2024-02-19 10:19   ` Romain Naour
2024-02-17 16:02 ` [Buildroot] [PATCH v4 15/20] configs/ti_am62x_sk_defconfig: bump U-Boot version to 2024.01 Dario Binacchi
2024-02-17 20:20   ` Alexander Sverdlin
2024-02-18 13:49     ` Dario Binacchi
2024-02-17 16:02 ` [Buildroot] [PATCH v4 16/20] configs/ti_am62x_sk_defconfig: bump Linux version to 6.6.1 Dario Binacchi
2024-02-17 20:27   ` Alexander Sverdlin
2024-02-18 13:50     ` Dario Binacchi
2024-02-17 16:02 ` [Buildroot] [PATCH v4 17/20] boot: move ti-k3-* packages to 'ti-k3' directory Dario Binacchi
2024-02-17 21:05   ` François Perrad
2024-02-18 13:59     ` Dario Binacchi
2024-02-17 16:02 ` [Buildroot] [PATCH v4 18/20] boot/ti-k3: move TI_K3_{SECTYPE, SOC} out of the image-gen scope Dario Binacchi
2024-02-17 20:33   ` Alexander Sverdlin
2024-02-18 13:52     ` Dario Binacchi
2024-02-19 10:28   ` Romain Naour
2024-02-20  1:28     ` Andreas Dannenberg via buildroot
2024-02-20  9:05       ` Dario Binacchi
2024-02-20  9:32         ` Romain Naour
2024-02-20 20:32           ` Andreas Dannenberg via buildroot
2024-02-20 22:06             ` Romain Naour
2024-02-21 15:48               ` Andreas Dannenberg via buildroot
2024-02-17 16:02 ` [Buildroot] [PATCH v4 19/20] boot/ti-k3/ti-k3-r5-loader: install tiboot3.bin Dario Binacchi
2024-02-17 17:28   ` Alexander Sverdlin
2024-02-18 13:30     ` Dario Binacchi
2024-02-18 13:38     ` Dario Binacchi
2024-02-19 10:47       ` Romain Naour
2024-02-20 22:34   ` Andreas Dannenberg via buildroot
2024-02-21 20:11     ` Dario Binacchi
2024-02-17 16:02 ` [Buildroot] [PATCH v4 20/20] configs/ti_am62x_sk_defconfig: don't use ti-k3-image-gen anymore Dario Binacchi
2024-02-19 10:31   ` Romain Naour
2024-02-17 17:40 ` [Buildroot] [PATCH v4 00/20] Add support for AM62x-SK HS-FS devices Alexander Sverdlin
2024-02-19 10:35   ` Romain Naour
2024-02-19 22:42   ` Patrick Oppenlander
2024-02-17 21:14 ` Alexander Sverdlin
2024-02-19  9:30 ` Romain Naour
2024-02-19 11:02   ` Michael Nazzareno Trimarchi
2024-02-19 11:24     ` Romain Naour
2024-02-20  0:41       ` Andreas Dannenberg via buildroot
2024-02-20 10:03         ` Romain Naour
2024-02-20 20:04           ` Andreas Dannenberg via buildroot
2024-02-20 21:36             ` Romain Naour
2024-02-23 19:31               ` Andreas Dannenberg via buildroot
2024-02-25 16:58                 ` Romain Naour

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=af65f8aa-c746-4933-859b-1724d8653e91@smile.fr \
    --to=romain.naour@smile.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=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.