From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 11 Jan 2024 16:01:32 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rNwYm-00D61R-0w for lore@lore.pengutronix.de; Thu, 11 Jan 2024 16:01:32 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rNwYl-0001DG-Jd; Thu, 11 Jan 2024 16:01:31 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rNwYb-00015e-VO; Thu, 11 Jan 2024 16:01:21 +0100 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rNwYb-001wxj-F1; Thu, 11 Jan 2024 16:01:21 +0100 Received: from lgo by dude03.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rNwYb-00FSdK-1K; Thu, 11 Jan 2024 16:01:21 +0100 From: =?UTF-8?q?Leonard=20G=C3=B6hrs?= To: distrokit@pengutronix.de Date: Thu, 11 Jan 2024 16:01:14 +0100 Message-Id: <20240111150117.3678555-3-l.goehrs@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240111150117.3678555-1-l.goehrs@pengutronix.de> References: <20240111150117.3678555-1-l.goehrs@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH v1 2/5] v8a: images: imx8m: add barebox state partition X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Leonard=20G=C3=B6hrs?= Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Having a place to store state allows us to use RAUC on i.MX8M based boards. Signed-off-by: Leonard Göhrs --- configs/platform-v8a/config/images/imx8m.config | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configs/platform-v8a/config/images/imx8m.config b/configs/platform-v8a/config/images/imx8m.config index 59cdac1..fcb3c07 100644 --- a/configs/platform-v8a/config/images/imx8m.config +++ b/configs/platform-v8a/config/images/imx8m.config @@ -9,8 +9,13 @@ image @IMAGE@ { in-partition-table = false holes = {"(440; 32K)"} } - partition root-A { + partition barebox-state { offset = 2M + size = 1M + partition-type-uuid = 4778ed65-bf42-45fa-9c5b-287a1dc4aab1 # barebox-state + image = /dev/null + } + partition root-A { image = "root.ext2" partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae } -- 2.39.2