Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Francois Perrad <fperrad@gmail.com>
Cc: buildroot@busybox.net,
	Giulio Benetti <giulio.benetti@benettiengineering.com>
Subject: Re: [Buildroot] [PATCH v4 1/2] boot/arm-trusted-firmware: allow to generate BL2 from RCW
Date: Tue, 23 Aug 2022 23:21:08 +0200	[thread overview]
Message-ID: <20220823232108.3a8a5ce5@windsurf> (raw)
In-Reply-To: <20220816175503.1280276-2-francois.perrad@gadz.org>

On Tue, 16 Aug 2022 19:55:02 +0200
Francois Perrad <fperrad@gmail.com> wrote:

> This patch adds option BR2_TARGETARM_TRUSTED_FIRMWARE_RCW that allows
> TF-A to encapsulate a pre-loader RCW (Reset Configuration Word) file
> into BL2.
> 
> Upcoming NXP QorIQ family board needs this option.
> 
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>

Thanks, I have applied with some changes.

> ---
>  boot/arm-trusted-firmware/Config.in               | 6 ++++++
>  boot/arm-trusted-firmware/arm-trusted-firmware.mk | 6 ++++++
>  2 files changed, 12 insertions(+)
> 
> diff --git a/boot/arm-trusted-firmware/Config.in b/boot/arm-trusted-firmware/Config.in
> index 100ac8348..2a59a325d 100644
> --- a/boot/arm-trusted-firmware/Config.in
> +++ b/boot/arm-trusted-firmware/Config.in
> @@ -90,6 +90,12 @@ config BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP
>  	  platforms were ATF encapsulates the second stage bootloader
>  	  (such as U-Boot).
>  
> +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_RCW

I have moved this option further down, next to the options where we can
say what BL32 to use, what BL33 to use. It made more sense to me than
to have the option in the middle of the list of images to build.

> +	bool "Include RCW"

Changed to "Include NXP RCW" to hint it's some NXP-specific stufff.

> +	select BR2_PACKAGE_HOST_QORIQ_RCW

Changed to "depends on". Indeed, sub-options of
BR2_PACKAGE_HOST_QORIQ_RCW must be set for this to work correctly, so
the user needs to be aware that qoriq-rcw is used.

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-08-23 21:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-16 17:55 [Buildroot] [PATCH v4 0/2] new board LS1028ARDB Francois Perrad
2022-08-16 17:55 ` [Buildroot] [PATCH v4 1/2] boot/arm-trusted-firmware: allow to generate BL2 from RCW Francois Perrad
2022-08-23 21:21   ` Thomas Petazzoni via buildroot [this message]
2022-08-16 17:55 ` [Buildroot] [PATCH v4 2/2] board/freescale/ls1028ardb: new board Francois Perrad
2022-08-21 17:58   ` Giulio Benetti
2022-08-23 21:22   ` Thomas Petazzoni via buildroot
2022-08-18 21:50 ` [Buildroot] [PATCH v4 0/2] new board LS1028ARDB Giulio Benetti

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=20220823232108.3a8a5ce5@windsurf \
    --to=buildroot@buildroot.org \
    --cc=buildroot@busybox.net \
    --cc=fperrad@gmail.com \
    --cc=giulio.benetti@benettiengineering.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox