From: Gary Bisson <gary.bisson@boundarydevices.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] arm: imx-common: add SECURE_BOOT option to Kconfig
Date: Wed, 24 Aug 2016 12:12:37 +0200 [thread overview]
Message-ID: <20160824101237.GA7045@t450s.lan> (raw)
In-Reply-To: <2cf19d06-b4b2-e4c7-53ab-40baf9dcbe04@nelint.com>
Hi Eric, all,
On Tue, Aug 23, 2016 at 05:24:48PM -0700, Eric Nelson wrote:
> Nicely done Gary!
>
> On 08/23/2016 02:55 PM, Gary Bisson wrote:
> > So the option can easily be selected through menuconfig.
> >
> > Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
> > ---
> > arch/arm/imx-common/Kconfig | 9 +++++++++
> > 1 file changed, 9 insertions(+)
> >
> > diff --git a/arch/arm/imx-common/Kconfig b/arch/arm/imx-common/Kconfig
> > index 1b7da5a..5ee230e 100644
> > --- a/arch/arm/imx-common/Kconfig
> > +++ b/arch/arm/imx-common/Kconfig
> > @@ -17,3 +17,12 @@ config IMX_BOOTAUX
> > depends on ARCH_MX7 || ARCH_MX6
> > help
> > bootaux [addr] to boot auxiliary core.
> > +
> > +config SECURE_BOOT
> > + bool "Support i.MX HAB features"
> > + depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5
> > + help
> > + This option enables the support for secure boot (HAB) which
> > + includes adding a CSF section to the final imx image and
> ^^^
> This doesn't add a CSF section.
>
> Perhaps this should say "can enable a conditional section of an
> i.MX configuration (.cfg) file when producing an imx image".
Well now that you pointed out this sentence, I realize that it doesn't
even "add" the section per say, it just declares it in the IVT header.
It is then up to you to create and concatenate the CSF binary to the
u-boot.imx image.
For those not familiar with HAB:
https://boundarydevices.com/high-assurance-boot-hab-dummies/
Maybe in V2 I should keep it simple and just point to the README:
This option enables the support for secure boot (HAB).
See doc/README.mxc_hab for more details.
> > + some security-related commands such as 'hab_status'.
> > + See doc/README.mxc_hab for more details.
> >
>
> You should probably include a note in README.mxc_hab about use
> in .cfg files.
Yes that is a good point, will do in V2.
Regards,
Gary
next prev parent reply other threads:[~2016-08-24 10:12 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-23 21:55 [U-Boot] [PATCH 0/3] Add i.MX HAB encryption support Gary Bisson
2016-08-23 21:55 ` [U-Boot] [PATCH 1/3] arm: imx-common: add SECURE_BOOT option to Kconfig Gary Bisson
2016-08-24 0:24 ` Eric Nelson
2016-08-24 10:12 ` Gary Bisson [this message]
2016-08-24 13:13 ` Eric Nelson
2016-08-23 21:55 ` [U-Boot] [PATCH 2/3] arm: imx-common: introduce back usec2ticks Gary Bisson
2016-08-24 0:30 ` Eric Nelson
2016-08-24 10:15 ` Gary Bisson
2016-08-23 21:55 ` [U-Boot] [PATCH 3/3] nitrogen6x: add secure boot support Gary Bisson
2016-08-24 0:35 ` Eric Nelson
2016-08-24 10:17 ` Gary Bisson
2016-08-25 16:22 ` Fabio Estevam
2016-08-25 17:03 ` [U-Boot] [PATCH v2 0/5] Add i.MX HAB encryption support Gary Bisson
2016-08-25 17:03 ` [U-Boot] [PATCH v2 1/5] arm: imx-common: add SECURE_BOOT option to Kconfig Gary Bisson
2016-08-25 17:03 ` [U-Boot] [PATCH v2 2/5] arm: imx-common: introduce back usec2ticks Gary Bisson
2016-08-25 17:03 ` [U-Boot] [PATCH v2 3/5] mx6_common: add secure boot support Gary Bisson
2016-08-25 17:03 ` [U-Boot] [PATCH v2 4/5] mx7_common: " Gary Bisson
2016-08-25 17:03 ` [U-Boot] [PATCH v2 5/5] nitrogen6x: " Gary Bisson
2016-10-17 7:09 ` [U-Boot] [PATCH v2 0/5] Add i.MX HAB encryption support Stefano Babic
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=20160824101237.GA7045@t450s.lan \
--to=gary.bisson@boundarydevices.com \
--cc=u-boot@lists.denx.de \
/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