From 99b434924782bd692158f2450e5239a7e86e51fb Mon Sep 17 00:00:00 2001 From: Leonard Göhrs Date: Wed, 17 Jan 2024 14:34:37 +0100 Subject: v8a: images: imx8m: add barebox state partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Having a place to store state allows us to use RAUC on i.MX8M based boards. The 1Mb size is quite large for a state partition, which uses a compact representation, but using this size means we do not have to change the partition alignment. Signed-off-by: Leonard Göhrs Link: https://lore.pengutronix.de/20240117133440.944800-5-l.goehrs@pengutronix.de Signed-off-by: Robert Schwebel --- configs/platform-v8a/config/images/imx8m.config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configs/platform-v8a/config/images/imx8m.config b/configs/platform-v8a/config/images/imx8m.config index a4a7e12..9278090 100644 --- a/configs/platform-v8a/config/images/imx8m.config +++ b/configs/platform-v8a/config/images/imx8m.config @@ -17,6 +17,12 @@ image @IMAGE@ { in-partition-table = false image = /dev/null } + partition barebox-state { + offset = 3M + size = 1M + partition-type-uuid = 4778ed65-bf42-45fa-9c5b-287a1dc4aab1 # barebox-state + image = /dev/null + } partition root-A { offset = 4M image = "root.ext2" -- cgit v1.2.3