mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* imx8mm & genimage
@ 2023-08-30 14:02 Alexander Shiyan
  2023-08-30 14:25 ` Ahmad Fatoum
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Shiyan @ 2023-08-30 14:02 UTC (permalink / raw)
  To: Barebox List

Hello.

I can't figure out how to correctly write the configuration for
genimage for the imx8mm CPU.
This way of writing works fine:
dd if=barebox-nxp-imx8mm-mgqs.img of=/dev/sdc bs=1024 seek=33 skip=33

For genimage I use the following but it doesn't work...

image imx8mm-mgqs-sdcard.img {
hdimage {
partition-table-type = "gpt"
}

partition boot {
image = "barebox-nxp-imx8mm-mgqs.img"
holes = {"(0; 33K)"}
offset = 0
partition-type-uuid = 0fc63daf-8483-4772-8e79-3d69d8477de4
}

partition env {
image = "/dev/null"
offset = 8M
partition-type-uuid = 6c3737f2-07f8-45d1-ad45-15d260aab24d
size = 32K
}

partition root {
image = "rootfs.ext4"
partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
}
}



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-30 14:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-30 14:02 imx8mm & genimage Alexander Shiyan
2023-08-30 14:25 ` Ahmad Fatoum
2023-08-30 14:41   ` Alexander Shiyan
2023-08-30 14:45     ` Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox