All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dannenberg via buildroot <buildroot@buildroot.org>
To: Romain Naour <romain.naour@smile.fr>
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>,
	buildroot@buildroot.org,
	Dario Binacchi <dario.binacchi@amarulasolutions.com>,
	Alexander Sverdlin <alexander.sverdlin@gmail.com>,
	bryce@redpinelabs.com, Anand Gadiyar <gadiyar@ti.com>
Subject: Re: [Buildroot] [PATCH v4 07/20] boot/ti-k3-image-gen: manage HS hardware
Date: Mon, 19 Feb 2024 14:19:08 -0600	[thread overview]
Message-ID: <20240219201908.zqxhfa5bewy6lohx@dasso> (raw)
In-Reply-To: <8dca9e04-832f-4ffc-b6b0-d1deed31259b@smile.fr>

On Mon, Feb 19, 2024 at 10:58:26AM +0100, Romain Naour wrote:
> Hello Dario,
> 
> Le 17/02/2024 à 17:02, Dario Binacchi a écrit :
> > The patch sets the configurations required by TI HS systems. Some of these
> > configurations (i. e. HS SYSFW image signing key, HS Software Revision)
> > are provided by the ti-k3-core-secdev package in the binaries directory.
> 
> Such keys has been added to u-boot v2023.10:
> 
> https://git.ti.com/cgit/security-development-tools/core-secdev-k3/tree/keys
> 
> https://source.denx.de/u-boot/u-boot/-/commit/d5b1ef30d7ffabb9f57d5c62b9f0608837af0f4f
> 
> Do we need something else from ti-k3-core-secdev package that is not already
> provided by u-boot?

No, we don't need anything from that. If you look at TI's current SDKs/Yocto
builds this package is not used at all. The TI goal is to do things in a
standard upstream way (in upstream) as much as possible, hence we are
trying to move away from all these "vendor quirks" however possible.

Regards, Andreas



> 
> Best regards,
> Romain
> 
> > 
> > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> > 
> > ---
> > 
> > no changes since v3:
> > 
> > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> > ---
> >  boot/ti-k3-image-gen/Config.in          |  1 +
> >  boot/ti-k3-image-gen/ti-k3-image-gen.mk | 16 ++++++++++++++--
> >  2 files changed, 15 insertions(+), 2 deletions(-)
> > 
> > diff --git a/boot/ti-k3-image-gen/Config.in b/boot/ti-k3-image-gen/Config.in
> > index d76cef82e911..38d1598d9fc0 100644
> > --- a/boot/ti-k3-image-gen/Config.in
> > +++ b/boot/ti-k3-image-gen/Config.in
> > @@ -2,6 +2,7 @@ config BR2_TARGET_TI_K3_IMAGE_GEN
> >  	bool "ti-k3-image-gen"
> >  	depends on BR2_TARGET_TI_K3_R5_LOADER
> >  	select BR2_TARGET_TI_K3_BOOT_FIRMWARE
> > +	select BR2_TARGET_TI_K3_CORE_SECDEV if BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS || BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS
> >  	# We need FIT support in uboot-tools, which is why we select a
> >  	# host package
> >  	select BR2_PACKAGE_HOST_UBOOT_TOOLS
> > diff --git a/boot/ti-k3-image-gen/ti-k3-image-gen.mk b/boot/ti-k3-image-gen/ti-k3-image-gen.mk
> > index 64be9a18f2c4..74b4fcb4bf89 100644
> > --- a/boot/ti-k3-image-gen/ti-k3-image-gen.mk
> > +++ b/boot/ti-k3-image-gen/ti-k3-image-gen.mk
> > @@ -29,10 +29,21 @@ TI_K3_IMAGE_GEN_FW_TYPE = $(call qstrip,$(BR2_TARGET_TI_K3_IMAGE_GEN_FW_TYPE))
> >  TI_K3_IMAGE_GEN_SOC = $(call qstrip,$(BR2_TARGET_TI_K3_IMAGE_GEN_SOC))
> >  TI_K3_IMAGE_GEN_SECTYPE = $(call qstrip,$(BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE))
> >  
> > -TI_K3_IMAGE_GEN_SYSFW = $(TI_K3_IMAGE_GEN_FW_TYPE)-firmware-$(TI_K3_IMAGE_GEN_SOC)-$(TI_K3_IMAGE_GEN_SECTYPE).bin
> > +ifeq ($(BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_GP),y)
> > +TI_K3_IMAGE_GEN_SYSFW = \
> > +	$(TI_K3_IMAGE_GEN_FW_TYPE)-firmware-$(TI_K3_IMAGE_GEN_SOC)-$(TI_K3_IMAGE_GEN_SECTYPE).bin
> > +else
> > +TI_K3_IMAGE_GEN_DEPENDENCIES += ti-k3-core-secdev
> > +
> > +TI_K3_IMAGE_GEN_SYSFW = \
> > +	$(TI_K3_IMAGE_GEN_FW_TYPE)-firmware-$(TI_K3_IMAGE_GEN_SOC)-$(TI_K3_IMAGE_GEN_SECTYPE)-enc.bin \
> > +	$(TI_K3_IMAGE_GEN_FW_TYPE)-firmware-$(TI_K3_IMAGE_GEN_SOC)-$(TI_K3_IMAGE_GEN_SECTYPE)-cert.bin
> > +endif
> >  
> >  define TI_K3_IMAGE_GEN_CONFIGURE_CMDS
> > -	cp $(BINARIES_DIR)/ti-sysfw/$(TI_K3_IMAGE_GEN_SYSFW) $(@D)
> > +	$(foreach t,$(TI_K3_IMAGE_GEN_SYSFW),\
> > +		cp $(BINARIES_DIR)/ti-sysfw/$(t) $(@D)/
> > +	)
> >  endef
> >  
> >  define TI_K3_IMAGE_GEN_BUILD_CMDS
> > @@ -40,6 +51,7 @@ define TI_K3_IMAGE_GEN_BUILD_CMDS
> >  	$(BR2_MAKE) -C $(@D) \
> >  		SOC=$(TI_K3_IMAGE_GEN_SOC) \
> >  		SOC_TYPE=$(TI_K3_IMAGE_GEN_SECTYPE) \
> > +		TI_SECURE_DEV_PKG=$(BINARIES_DIR)/ti-k3-core-secdev \
> >  		CONFIG=evm \
> >  		CROSS_COMPILE=$(HOST_DIR)/bin/arm-none-eabi- \
> >  		SBL=$(BINARIES_DIR)/r5-u-boot-spl.bin \
> 
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-02-19 20:19 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 [this message]
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
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=20240219201908.zqxhfa5bewy6lohx@dasso \
    --to=buildroot@buildroot.org \
    --cc=X15000177@gmail.com \
    --cc=alexander.sverdlin@gmail.com \
    --cc=asafka7@gmail.com \
    --cc=bryce@redpinelabs.com \
    --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 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.