diff options
author | Leonard Göhrs <l.goehrs@pengutronix.de> | 2024-01-17 14:34:37 +0100 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2024-01-26 17:42:34 +0100 |
commit | 99b434924782bd692158f2450e5239a7e86e51fb (patch) | |
tree | fd194d86f38ae4a684f4de56d4ed6007e08f7a4c | |
parent | 6e0bde73570f14bf3fcb43fa6187343346566fd7 (diff) | |
download | DistroKit-99b434924782bd692158f2450e5239a7e86e51fb.tar.gz DistroKit-99b434924782bd692158f2450e5239a7e86e51fb.tar.xz |
v8a: images: imx8m: add barebox state partition
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 <l.goehrs@pengutronix.de>
Link: https://lore.pengutronix.de/20240117133440.944800-5-l.goehrs@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r-- | configs/platform-v8a/config/images/imx8m.config | 6 |
1 files changed, 6 insertions, 0 deletions
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" |