DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Fabian Pfitzner <f.pfitzner@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Fabian Pfitzner <f.pfitzner@pengutronix.de>
Subject: [DistroKit] [PATCH v2 4/5] v8a: add imx8mp-frdm image
Date: Mon, 16 Mar 2026 11:19:19 +0100	[thread overview]
Message-ID: <20260316-fpf-imx8mp-frdm-v2-4-83e1c85a4336@pengutronix.de> (raw)
In-Reply-To: <20260316-fpf-imx8mp-frdm-v2-0-83e1c85a4336@pengutronix.de>

Signed-off-by: Fabian Pfitzner <f.pfitzner@pengutronix.de>
---
 configs/platform-v8a/platformconfig                |  1 +
 .../platform-v8a/platforms/image-imx8mp-frdm.in    | 10 +++++++
 configs/platform-v8a/rules/image-imx8mp-frdm.make  | 35 ++++++++++++++++++++++
 3 files changed, 46 insertions(+)

diff --git a/configs/platform-v8a/platformconfig b/configs/platform-v8a/platformconfig
index a0e29e2ba2e91e803da253b72a0df09fb628e589..b52e1555296b8a970886215d7c358a1914273982 100644
--- a/configs/platform-v8a/platformconfig
+++ b/configs/platform-v8a/platformconfig
@@ -251,6 +251,7 @@ PTXCONF_IMAGE_FIP_K3=y
 PTXCONF_IMAGE_IMX8MM_EVK=y
 PTXCONF_IMAGE_IMX8MN_EVK=y
 PTXCONF_IMAGE_IMX8MP_EVK=y
+PTXCONF_IMAGE_IMX8MP_FRDM=y
 PTXCONF_IMAGE_IMX8MQ_EVK=y
 PTXCONF_IMAGE_KERNEL=y
 
diff --git a/configs/platform-v8a/platforms/image-imx8mp-frdm.in b/configs/platform-v8a/platforms/image-imx8mp-frdm.in
new file mode 100644
index 0000000000000000000000000000000000000000..851eebee55c1769f4fcc08ac7d8348c09263484f
--- /dev/null
+++ b/configs/platform-v8a/platforms/image-imx8mp-frdm.in
@@ -0,0 +1,10 @@
+## SECTION=image
+
+config IMAGE_IMX8MP_FRDM
+	tristate
+	select HOST_GENIMAGE
+	select IMAGE_ROOT_EXT
+	select BAREBOX
+	prompt "Generate images/imx8mp-frdm.img"
+	help
+	  Generate a bootable SD card image to deploy a NXP i.MX8MP-FRDM board.
diff --git a/configs/platform-v8a/rules/image-imx8mp-frdm.make b/configs/platform-v8a/rules/image-imx8mp-frdm.make
new file mode 100644
index 0000000000000000000000000000000000000000..bd0e54dbb121f78efe9a855cdaa08e242a07df5d
--- /dev/null
+++ b/configs/platform-v8a/rules/image-imx8mp-frdm.make
@@ -0,0 +1,35 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2025 by Fabian Pfitzner <f.pfitzner@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+IMAGE_PACKAGES-$(PTXCONF_IMAGE_IMX8MP_FRDM) += image-imx8mp-frdm
+
+#
+# Paths and names
+#
+IMAGE_IMX8MP_FRDM			:= image-imx8mp-fdrm
+IMAGE_IMX8MP_FRDM_DIR		:= $(BUILDDIR)/$(IMAGE_IMX8MP_FRDM)
+IMAGE_IMX8MP_FRDM_IMAGE		:= $(IMAGEDIR)/imx8mp-frdm.img
+IMAGE_IMX8MP_FRDM_FILES		:= $(IMAGEDIR)/root.tgz
+IMAGE_IMX8MP_FRDM_CONFIG	:= imx8m.config
+
+# ----------------------------------------------------------------------------
+# Image
+# ----------------------------------------------------------------------------
+
+IMAGE_IMX8MP_FRDM_ENV := \
+        BAREBOX_IMAGE=barebox-nxp-imx8mp-frdm.img
+
+$(IMAGE_IMX8MP_FRDM_IMAGE):
+	@$(call targetinfo)
+	@$(call image/genimage, IMAGE_IMX8MP_FRDM)
+	@$(call finish)
+
+# vim: syntax=make

-- 
2.47.3




  parent reply	other threads:[~2026-03-16 10:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-16 10:19 [DistroKit] [PATCH v2 0/5] RFC: add support for imx8mp-frdm board Fabian Pfitzner
2026-03-16 10:19 ` [DistroKit] [PATCH v2 1/5] v8a: barebox: enable " Fabian Pfitzner
2026-03-16 10:19 ` [DistroKit] [PATCH v2 2/5] v8a: kernel: add imx8mp-frdm dts Fabian Pfitzner
2026-03-16 10:19 ` [DistroKit] [PATCH v2 3/5] v8a: kernel: import imx8mp-frdm device tree Fabian Pfitzner
2026-03-16 10:19 ` Fabian Pfitzner [this message]
2026-03-16 10:19 ` [DistroKit] [PATCH v2 5/5] doc: add imx8mp-frdm Fabian Pfitzner

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=20260316-fpf-imx8mp-frdm-v2-4-83e1c85a4336@pengutronix.de \
    --to=f.pfitzner@pengutronix.de \
    --cc=distrokit@pengutronix.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