From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Johannes Zink <j.zink@pengutronix.de>,
Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [PATCH 5/7] v8a: imx8m: genimage: switch from MBR to GPT images
Date: Fri, 28 Jul 2023 18:49:31 +0200 [thread overview]
Message-ID: <20230728164933.342061-6-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20230728164933.342061-1-a.fatoum@pengutronix.de>
MBR is stuff of the past. Switch over to GPT. This is easier on i.MX8M
than on i.MX6, because the BootROM starts execution at an >= 32K offset,
so GPT can be located at its usual location. We should eventually move
barebox into a proper GPT partition, but for now, just keep the old
partition numbering intact.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
Cc: Johannes Zink <j.zink@pengutronix.de>
---
configs/platform-v8a/config/images/imx8m.config | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configs/platform-v8a/config/images/imx8m.config b/configs/platform-v8a/config/images/imx8m.config
index 367d98edcc1d..dfe106612426 100644
--- a/configs/platform-v8a/config/images/imx8m.config
+++ b/configs/platform-v8a/config/images/imx8m.config
@@ -1,17 +1,17 @@
image @IMAGE@ {
hdimage {
+ partition-table-type = "gpt"
align = 1M
- disk-signature = 0x9e1b14a8
}
partition barebox {
image = "@BAREBOX_IMAGE@"
size = 896K
in-partition-table = false
- holes = {"(440; 1K)"}
+ holes = {"(440; 32K)"}
}
partition root {
offset = 2M
image = "root.ext2"
- partition-type = 0x83
+ partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae
}
}
--
2.39.2
next prev parent reply other threads:[~2023-07-28 16:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-28 16:49 [DistroKit] [PATCH 0/7] v8a: imx8m: build image for i.MX8M Nano Ahmad Fatoum
2023-07-28 16:49 ` [DistroKit] [PATCH 1/7] v8a: imx8m: tf-a: build for i.MX8M Nano as well Ahmad Fatoum
2023-07-28 16:49 ` [DistroKit] [PATCH 2/7] v8a: imx8m: imx-firmware: install DDR4 PHY firmware Ahmad Fatoum
2023-07-28 16:49 ` [DistroKit] [PATCH 3/7] v8a: barebox: enable i.MX8M Nano EVK support Ahmad Fatoum
2023-07-28 16:49 ` [DistroKit] [PATCH 4/7] v8a: imx8m: use common genimage configuration Ahmad Fatoum
2023-07-28 16:49 ` Ahmad Fatoum [this message]
2023-07-28 16:49 ` [DistroKit] [PATCH 6/7] v8a: imx8m: include i.MX8MN DDR4 and LPDDR4 EVK DT in rootfs Ahmad Fatoum
2023-07-28 16:49 ` [DistroKit] [PATCH 7/7] v8a: imx8m: genimage: build i.MX8M Nano SD/eMMC image Ahmad Fatoum
2023-08-13 19:39 ` [DistroKit] [PATCH 0/7] v8a: imx8m: build image for i.MX8M Nano Roland Hieber
2023-08-15 9:51 ` Robert Schwebel
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=20230728164933.342061-6-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=distrokit@pengutronix.de \
--cc=j.zink@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