i.MX6ULL: set engine software for Secure Boot on HABv4
Subsystems (3)
v3 cover i.MX6ULL: set engine software for Secure Boot on HABv4
The i.MX6ULL has no CAAM engine for Secure Boot on HABv4. This patch series set the engine software for i.MX6ULL and for the PHYTEC boards PCL-063 with i.MX6ULL.
Changes in v3 and Patch 2:
- rework and move the file habv4-imx6-gencsf.h to habv4-imx6-gencsf-template.h
- rework the file habv4-imx6ull-gencsf.h and add new file habv4-imx6-gencsf.h
Changes in v2:
- Rework in Patch 2 the file habv4-imx6-gencsf.h, because cst 3.3.1 fails for engine software with parameter Feature.
Maik Otto (2):
arch: arm: boards phytec: Split flash header for pcl063 with i.MX6Ul
and i.MX6ULL
arch: arm: mach-imx: Add habv4 config file for i.MX6ULL
...b.imxcfg => flash-header-phytec-pcl063-512mb.h} | 1 -
.../flash-header-phytec-pcl063ul-512mb.imxcfg | 3 +
... => flash-header-phytec-pcl063ull-256mb.imxcfg} | 2 +-
.../flash-header-phytec-pcl063ull-512mb.imxcfg | 3 +
.../include/mach/habv4-imx6-gencsf-template.h | 64 ++++++++++++++++++++++
arch/arm/mach-imx/include/mach/habv4-imx6-gencsf.h | 59 +-------------------
.../mach-imx/include/mach/habv4-imx6ull-gencsf.h | 4 ++
images/Makefile.imx | 8 +--
8 files changed, 82 insertions(+), 62 deletions(-)
rename arch/arm/boards/phytec-som-imx6/{flash-header-phytec-pcl063-512mb.imxcfg => flash-header-phytec-pcl063-512mb.h} (83%)
create mode 100644 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ul-512mb.imxcfg
rename arch/arm/boards/phytec-som-imx6/{flash-header-phytec-pcl063-256mb.imxcfg => flash-header-phytec-pcl063ull-256mb.imxcfg} (82%)
create mode 100644 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-512mb.imxcfg
create mode 100644 arch/arm/mach-imx/include/mach/habv4-imx6-gencsf-template.h
create mode 100644 arch/arm/mach-imx/include/mach/habv4-imx6ull-gencsf.hSignature · 7 lines
2.7.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH v3 1/2 arch: arm: boards phytec: Split flash header for pcl063 with i.MX6Ul and i.MX6ULL
i.MX6UL and i.MX6ULL have different engines for Secure Boot on HABv4. For better differentiation rename existing pcl063 flash headers to pcl063ul and pcl063ull.
---
Changes in v3:
- none
Changes in v2:
- none
---
...tec-pcl063-512mb.imxcfg => flash-header-phytec-pcl063-512mb.h} | 1 -
.../phytec-som-imx6/flash-header-phytec-pcl063ul-512mb.imxcfg | 3 +++
...63-256mb.imxcfg => flash-header-phytec-pcl063ull-256mb.imxcfg} | 0
.../phytec-som-imx6/flash-header-phytec-pcl063ull-512mb.imxcfg | 3 +++
images/Makefile.imx | 8 ++++----
5 files changed, 10 insertions(+), 5 deletions(-)
rename arch/arm/boards/phytec-som-imx6/{flash-header-phytec-pcl063-512mb.imxcfg => flash-header-phytec-pcl063-512mb.h} (83%)
create mode 100644 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ul-512mb.imxcfg
rename arch/arm/boards/phytec-som-imx6/{flash-header-phytec-pcl063-256mb.imxcfg => flash-header-phytec-pcl063ull-256mb.imxcfg} (100%)
create mode 100644 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-512mb.imxcfgarch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.h renamed from arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.imxcfg +0 -1
@@ -7,4 +7,3 @@ wm 32 0x021B0000 0x84180000#include "flash-header-phytec-pcl063.h" -#include <mach/habv4-imx6-gencsf.h>
arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ul-512mb.imxcfg new file +3 -0
@@ -0,0 +1,3 @@ + +#include "flash-header-phytec-pcl063-512mb.h" +#include <mach/habv4-imx6-gencsf.h>
arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-256mb.imxcfg renamed from arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-256mb.imxcfg +0 -0
arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-512mb.imxcfg new file +3 -0
@@ -0,0 +1,3 @@ + +#include "flash-header-phytec-pcl063-512mb.h" +#include <mach/habv4-imx6-gencsf.h>
images/Makefile.imx +4 -4
@@ -346,13 +346,13 @@ $(call build_imx_habv4img, CONFIG_MACH_GRINN_LITEBOARD, start_imx6ul_liteboard_5 $(call build_imx_habv4img, CONFIG_MACH_NXP_IMX6ULL_EVK, start_nxp_imx6ull_evk, nxp-imx6ull-evk/flash-header-nxp-imx6ull-evk, nxp-imx6ull-evk) -$(call build_imx_habv4img, CONFIG_MACH_PHYTEC_SOM_IMX6, start_phytec_phycore_imx6ul_som_nand_512mb, phytec-som-imx6/flash-header-phytec-pcl063-512mb, phytec-phycore-imx6ul-nand-512mb) +$(call build_imx_habv4img, CONFIG_MACH_PHYTEC_SOM_IMX6, start_phytec_phycore_imx6ul_som_nand_512mb, phytec-som-imx6/flash-header-phytec-pcl063ul-512mb, phytec-phycore-imx6ul-nand-512mb) -$(call build_imx_habv4img, CONFIG_MACH_PHYTEC_SOM_IMX6, start_phytec_phycore_imx6ull_som_lc_nand_256mb, phytec-som-imx6/flash-header-phytec-pcl063-256mb, phytec-phycore-imx6ull-lc-nand-256mb) +$(call build_imx_habv4img, CONFIG_MACH_PHYTEC_SOM_IMX6, start_phytec_phycore_imx6ull_som_lc_nand_256mb, phytec-som-imx6/flash-header-phytec-pcl063ull-256mb, phytec-phycore-imx6ull-lc-nand-256mb) -$(call build_imx_habv4img, CONFIG_MACH_PHYTEC_SOM_IMX6, start_phytec_phycore_imx6ull_som_nand_512mb, phytec-som-imx6/flash-header-phytec-pcl063-512mb, phytec-phycore-imx6ull-nand-512mb) +$(call build_imx_habv4img, CONFIG_MACH_PHYTEC_SOM_IMX6, start_phytec_phycore_imx6ull_som_nand_512mb, phytec-som-imx6/flash-header-phytec-pcl063ull-512mb, phytec-phycore-imx6ull-nand-512mb) -$(call build_imx_habv4img, CONFIG_MACH_PHYTEC_SOM_IMX6, start_phytec_phycore_imx6ull_som_emmc_512mb, phytec-som-imx6/flash-header-phytec-pcl063-512mb, phytec-phycore-imx6ull-emmc-512mb) +$(call build_imx_habv4img, CONFIG_MACH_PHYTEC_SOM_IMX6, start_phytec_phycore_imx6ull_som_emmc_512mb, phytec-som-imx6/flash-header-phytec-pcl063ull-512mb, phytec-phycore-imx6ull-emmc-512mb) $(call build_imx_habv4img, CONFIG_MACH_PROTONIC_IMX6, start_imx6ul_prti6g, protonic-imx6/flash-header-prti6g, protonic-prti6g)
Signature · 7 lines
2.7.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH v3 2/2 arch: arm: mach-imx: Add habv4 config file for i.MX6ULL
In reply to Maik OttoThe i.MX6ULL has no CAAM engine for Secure Boot on HABv4 (NXP AN4581). For i.MX6ULL the engine Software (SW) must used for the image validation.
---
Changes in v3:
- move habv4-imx6-gencsf.h to habv4-imx6-gencsf-template.h and rework it
- create new habv4-imx6-gencsf.h
- rework habv4-imx6ull-gencsf.h
Changes in v2:
- Rework the file habv4-imx6-gencsf.h, because cst 3.3.1 fails for engine software with parameter Feature.
--- .../flash-header-phytec-pcl063ull-256mb.imxcfg | 2 +- .../flash-header-phytec-pcl063ull-512mb.imxcfg | 2 +- .../include/mach/habv4-imx6-gencsf-template.h | 64 ++++++++++++++++++++++ arch/arm/mach-imx/include/mach/habv4-imx6-gencsf.h | 59 +------------------- .../mach-imx/include/mach/habv4-imx6ull-gencsf.h | 4 ++ 5 files changed, 73 insertions(+), 58 deletions(-) create mode 100644 arch/arm/mach-imx/include/mach/habv4-imx6-gencsf-template.h create mode 100644 arch/arm/mach-imx/include/mach/habv4-imx6ull-gencsf.h
arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-256mb.imxcfg +1 -1
@@ -7,4 +7,4 @@ wm 32 0x021B0000 0x83180000 #include "flash-header-phytec-pcl063.h" -#include <mach/habv4-imx6-gencsf.h> +#include <mach/habv4-imx6ull-gencsf.h>
arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-512mb.imxcfg +1 -1
@@ -1,3 +1,3 @@ #include "flash-header-phytec-pcl063-512mb.h" -#include <mach/habv4-imx6-gencsf.h> +#include <mach/habv4-imx6ull-gencsf.h>
arch/arm/mach-imx/include/mach/habv4-imx6-gencsf-template.h new file +64 -0
64 lines not on this page · raw message
arch/arm/mach-imx/include/mach/habv4-imx6-gencsf.h +3 -56
61 lines not on this page · raw message
arch/arm/mach-imx/include/mach/habv4-imx6ull-gencsf.h new file +4 -0
@@ -0,0 +1,4 @@ + +#define SETUP_HABV4_ENGINE SW + +#include <mach/habv4-imx6-gencsf-template.h>
Signature · 7 lines
2.7.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Quoted 9 lines · Maik Otto
The i.MX6ULL has no CAAM engine for Secure Boot on HABv4. This patch series set the engine software for i.MX6ULL and for the PHYTEC boards PCL-063 with i.MX6ULL.
Changes in v3 and Patch 2:
- rework and move the filehabv4-imx6-gencsf.htohabv4-imx6-gencsf-template.h
- rework the filehabv4-imx6ull-gencsf.hand add new filehabv4-imx6-gencsf.h
Quoted 8 lines
Changes in v2:
- Rework in Patch 2 the filehabv4-imx6-gencsf.h, because cst 3.3.1 fails for engine software with parameter Feature.Maik Otto (2):
arch: arm: boards phytec: Split flash header for pcl063 with i.MX6Ul
and i.MX6ULL
arch: arm: mach-imx: Add habv4 config file for i.MX6ULL
Applied, thanks
Sascha
Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox