[PATCH 1/4] ARM: boards: i.MX8M: add HAB support
Sascha Hauer
sha at pengutronix.de
Wed Jan 3 03:19:42 PST 2024
On Tue, Jan 02, 2024 at 12:01:15PM +0100, Marco Felsch wrote:
> 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 at 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(+)
Applied, thanks
Sascha
>
> 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
>
>
>
--
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 |
More information about the barebox
mailing list