* [U-Boot] [PATCH] Fix mxc_hab documenation
@ 2015-04-20 18:47 Ulises.Cardenas at freescale.com
2015-05-02 9:11 ` Stefano Babic
0 siblings, 1 reply; 2+ messages in thread
From: Ulises.Cardenas at freescale.com @ 2015-04-20 18:47 UTC (permalink / raw)
To: u-boot
From: Ulises Cardenas <Ulises.Cardenas@freescale.com>
It is necessary to modify the configuration file for the target
board. It wasn't well documented that to enable any of the secure
boot modes, it is required to add CONFIG_SECURE_BOOT to the board
configuration file.
Also, fixed a typo in the encrypted boot section.
Signed-off-by: Ulises Cardenas <Ulises.Cardenas@freescale.com>
---
doc/README.mxc_hab | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/doc/README.mxc_hab b/doc/README.mxc_hab
index a1b1d34..b688580 100644
--- a/doc/README.mxc_hab
+++ b/doc/README.mxc_hab
@@ -1,7 +1,13 @@
High Assurance Boot (HAB) for i.MX6 CPUs
-To authenticate U-Boot only by the CPU there is no code required in
-U-Boot itself. However, the U-Boot image to be programmed into the
+To enable the authenticated or encrypted boot mode of U-Boot, it is
+required to set the proper configuration for the target board. This
+is done by adding the following configuration in in the proper config
+file (e.g. include/configs/mx6qarm2.h)
+
+#define CONFIG_SECURE_BOOT
+
+In addition, the U-Boot image to be programmed into the
boot media needs to be properly constructed, i.e. it must contain a
proper Command Sequence File (CSF).
@@ -69,7 +75,7 @@ CONFIG_SECURE_BOOT
CONFIG_SYS_FSL_SEC_COMPAT 4 /* HAB version */
CONFIG_FSL_CAAM
CONFIG_CMD_DEKBLOB
-CONFIG_SYS_FSL_LE
+CONFIG_SYS_FSL_SEC_LE
Note: The encrypted boot feature is only supported by HABv4 or
greater.
--
2.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] Fix mxc_hab documenation
2015-04-20 18:47 [U-Boot] [PATCH] Fix mxc_hab documenation Ulises.Cardenas at freescale.com
@ 2015-05-02 9:11 ` Stefano Babic
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2015-05-02 9:11 UTC (permalink / raw)
To: u-boot
On 20/04/2015 20:47, Ulises.Cardenas at freescale.com wrote:
> From: Ulises Cardenas <Ulises.Cardenas@freescale.com>
>
> It is necessary to modify the configuration file for the target
> board. It wasn't well documented that to enable any of the secure
> boot modes, it is required to add CONFIG_SECURE_BOOT to the board
> configuration file.
>
> Also, fixed a typo in the encrypted boot section.
>
> Signed-off-by: Ulises Cardenas <Ulises.Cardenas@freescale.com>
> ---
>
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-02 9:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-20 18:47 [U-Boot] [PATCH] Fix mxc_hab documenation Ulises.Cardenas at freescale.com
2015-05-02 9:11 ` Stefano Babic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox