mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/4] ARM: boards: i.MX8M: add HAB support
@ 2024-01-02 11:01 Marco Felsch
  2024-01-02 11:01 ` [PATCH 2/4] ARM: boars: i.MX8MQ: align SPDX header with other imxcfg files Marco Felsch
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Marco Felsch @ 2024-01-02 11:01 UTC (permalink / raw)
  To: barebox

The gencsf header is required to build HAB (secure-boot) compatible
images. This commit add the support for this for all i.MX8M boards.

To finally build HAB compatible images the CONFIG_HABV4 and
CONFIG_HABV4_IMAGE_SIGNED must be enabled.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 .../boards/innocomm-imx8mm-wb15/flash-header-imx8mm-wb15.imxcfg | 2 ++
 .../flash-header-imx8mm-phyboard-polis-rdk.imxcfg               | 2 ++
 .../boards/phytec-som-imx8mq/flash-header-phycore-imx8mq.imxcfg | 2 ++
 arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg | 2 ++
 arch/arm/boards/protonic-imx8m/flash-header-prt8mm.imxcfg       | 2 ++
 arch/arm/boards/skov-imx8mp/flash-header-skov-imx8mp.imxcfg     | 2 ++
 arch/arm/boards/tqma8mpxl/flash-header-tqma8mpxl.imxcfg         | 2 ++
 .../flash-header-imx8mp-dart.imxcfg                             | 2 ++
 .../boards/zii-imx8mq-dev/flash-header-zii-imx8mq-dev.imxcfg    | 2 ++
 9 files changed, 18 insertions(+)

diff --git a/arch/arm/boards/innocomm-imx8mm-wb15/flash-header-imx8mm-wb15.imxcfg b/arch/arm/boards/innocomm-imx8mm-wb15/flash-header-imx8mm-wb15.imxcfg
index 10606ce29c96..8aff991618ec 100644
--- a/arch/arm/boards/innocomm-imx8mm-wb15/flash-header-imx8mm-wb15.imxcfg
+++ b/arch/arm/boards/innocomm-imx8mm-wb15/flash-header-imx8mm-wb15.imxcfg
@@ -5,3 +5,5 @@ soc imx8mm
 loadaddr 0x007e1000
 max_load_size 0x3f000
 ivtofs 0x400
+
+#include <mach/imx/habv4-imx8-gencsf.h>
diff --git a/arch/arm/boards/phytec-som-imx8mm/flash-header-imx8mm-phyboard-polis-rdk.imxcfg b/arch/arm/boards/phytec-som-imx8mm/flash-header-imx8mm-phyboard-polis-rdk.imxcfg
index 10606ce29c96..8aff991618ec 100644
--- a/arch/arm/boards/phytec-som-imx8mm/flash-header-imx8mm-phyboard-polis-rdk.imxcfg
+++ b/arch/arm/boards/phytec-som-imx8mm/flash-header-imx8mm-phyboard-polis-rdk.imxcfg
@@ -5,3 +5,5 @@ soc imx8mm
 loadaddr 0x007e1000
 max_load_size 0x3f000
 ivtofs 0x400
+
+#include <mach/imx/habv4-imx8-gencsf.h>
diff --git a/arch/arm/boards/phytec-som-imx8mq/flash-header-phycore-imx8mq.imxcfg b/arch/arm/boards/phytec-som-imx8mq/flash-header-phycore-imx8mq.imxcfg
index 93cf14f26ba5..f82759f8499a 100644
--- a/arch/arm/boards/phytec-som-imx8mq/flash-header-phycore-imx8mq.imxcfg
+++ b/arch/arm/boards/phytec-som-imx8mq/flash-header-phycore-imx8mq.imxcfg
@@ -5,3 +5,5 @@ soc imx8mq
 loadaddr 0x007E1000
 max_load_size 0x3F000
 ivtofs 0x400
+
+#include <mach/imx/habv4-imx8-gencsf.h>
diff --git a/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg b/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
index 663bd102e9a2..6ea2e6c68ed7 100644
--- a/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
+++ b/arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
@@ -5,3 +5,5 @@ soc imx8mp
 loadaddr 0x920000
 max_load_size 0x3f000
 ivtofs 0x0
+
+#include <mach/imx/habv4-imx8-gencsf.h>
diff --git a/arch/arm/boards/protonic-imx8m/flash-header-prt8mm.imxcfg b/arch/arm/boards/protonic-imx8m/flash-header-prt8mm.imxcfg
index 10606ce29c96..8aff991618ec 100644
--- a/arch/arm/boards/protonic-imx8m/flash-header-prt8mm.imxcfg
+++ b/arch/arm/boards/protonic-imx8m/flash-header-prt8mm.imxcfg
@@ -5,3 +5,5 @@ soc imx8mm
 loadaddr 0x007e1000
 max_load_size 0x3f000
 ivtofs 0x400
+
+#include <mach/imx/habv4-imx8-gencsf.h>
diff --git a/arch/arm/boards/skov-imx8mp/flash-header-skov-imx8mp.imxcfg b/arch/arm/boards/skov-imx8mp/flash-header-skov-imx8mp.imxcfg
index 663bd102e9a2..6ea2e6c68ed7 100644
--- a/arch/arm/boards/skov-imx8mp/flash-header-skov-imx8mp.imxcfg
+++ b/arch/arm/boards/skov-imx8mp/flash-header-skov-imx8mp.imxcfg
@@ -5,3 +5,5 @@ soc imx8mp
 loadaddr 0x920000
 max_load_size 0x3f000
 ivtofs 0x0
+
+#include <mach/imx/habv4-imx8-gencsf.h>
diff --git a/arch/arm/boards/tqma8mpxl/flash-header-tqma8mpxl.imxcfg b/arch/arm/boards/tqma8mpxl/flash-header-tqma8mpxl.imxcfg
index 663bd102e9a2..6ea2e6c68ed7 100644
--- a/arch/arm/boards/tqma8mpxl/flash-header-tqma8mpxl.imxcfg
+++ b/arch/arm/boards/tqma8mpxl/flash-header-tqma8mpxl.imxcfg
@@ -5,3 +5,5 @@ soc imx8mp
 loadaddr 0x920000
 max_load_size 0x3f000
 ivtofs 0x0
+
+#include <mach/imx/habv4-imx8-gencsf.h>
diff --git a/arch/arm/boards/variscite-dt8mcustomboard-imx8mp/flash-header-imx8mp-dart.imxcfg b/arch/arm/boards/variscite-dt8mcustomboard-imx8mp/flash-header-imx8mp-dart.imxcfg
index 2b104edfb741..c3149a197f7d 100644
--- a/arch/arm/boards/variscite-dt8mcustomboard-imx8mp/flash-header-imx8mp-dart.imxcfg
+++ b/arch/arm/boards/variscite-dt8mcustomboard-imx8mp/flash-header-imx8mp-dart.imxcfg
@@ -5,3 +5,5 @@ soc imx8mp
 loadaddr 0x918000
 max_load_size 0x3f000
 ivtofs 0x0
+
+#include <mach/imx/habv4-imx8-gencsf.h>
diff --git a/arch/arm/boards/zii-imx8mq-dev/flash-header-zii-imx8mq-dev.imxcfg b/arch/arm/boards/zii-imx8mq-dev/flash-header-zii-imx8mq-dev.imxcfg
index 93cf14f26ba5..f82759f8499a 100644
--- a/arch/arm/boards/zii-imx8mq-dev/flash-header-zii-imx8mq-dev.imxcfg
+++ b/arch/arm/boards/zii-imx8mq-dev/flash-header-zii-imx8mq-dev.imxcfg
@@ -5,3 +5,5 @@ soc imx8mq
 loadaddr 0x007E1000
 max_load_size 0x3F000
 ivtofs 0x400
+
+#include <mach/imx/habv4-imx8-gencsf.h>
-- 
2.39.2




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-01-03 11:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-02 11:01 [PATCH 1/4] ARM: boards: i.MX8M: add HAB support Marco Felsch
2024-01-02 11:01 ` [PATCH 2/4] ARM: boars: i.MX8MQ: align SPDX header with other imxcfg files Marco Felsch
2024-01-02 11:04   ` Marco Felsch
2024-01-02 11:01 ` [PATCH 3/4] images: Makefile.imx: add i.MX9 comment Marco Felsch
2024-01-02 11:01 ` [PATCH 4/4] ARM: boards: polyhex-debix: fix file mode for 8g-lpddr4-timing.c Marco Felsch
2024-01-03 11:19 ` [PATCH 1/4] ARM: boards: i.MX8M: add HAB support Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox