From: Roland Hieber <r.hieber@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Roland Hieber <r.hieber@pengutronix.de>
Subject: [DistroKit] [PATCH 3/7] platform-v7a: image-hd: generate a disk signature for the image
Date: Mon, 19 Feb 2018 16:37:15 +0100 [thread overview]
Message-ID: <20180219153719.32526-3-r.hieber@pengutronix.de> (raw)
In-Reply-To: <20180219153719.32526-1-r.hieber@pengutronix.de>
The disk signature is necessary so that barebox can auto-detect the boot
source and append it to the Linux command line in the 'root=' parameter.
A random but fixed value will suffice for this purpose.
Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
---
configs/platform-v7a/config/images/hd.config | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/platform-v7a/config/images/hd.config b/configs/platform-v7a/config/images/hd.config
index 6d1fd38..03cf37a 100644
--- a/configs/platform-v7a/config/images/hd.config
+++ b/configs/platform-v7a/config/images/hd.config
@@ -4,6 +4,7 @@
image @IMAGE@ {
hdimage {
align = 1M
+ disk-signature = 0xdfb978e3
}
@BOOTLOADER_PARTITIONS@
partition root {
--
2.11.0
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
next prev parent reply other threads:[~2018-02-19 15:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-19 15:37 [DistroKit] [PATCH 1/7] platform-v7a: barebox: don't break the console autodetection Roland Hieber
2018-02-19 15:37 ` [DistroKit] [PATCH 2/7] platform-v7a: image-hd: fork locally from PTXdist 2018.02.0 Roland Hieber
2018-02-19 15:37 ` Roland Hieber [this message]
2018-02-19 15:37 ` [DistroKit] [PATCH 4/7] platform-v7a: blspec-nitrogen6x: barebox can auto-detect the root partition Roland Hieber
2018-02-19 15:37 ` [DistroKit] [PATCH 5/7] platform-v7a: blspec: remove options already added by barebox-defaultenv Roland Hieber
2018-02-19 15:37 ` [DistroKit] [PATCH 6/7] platform-v7a: platformconfig: build a generic hd.img without bootloader Roland Hieber
2018-02-19 15:37 ` [DistroKit] [PATCH 7/7] doc: v7a: document Nitrogen6X board Roland Hieber
2018-02-19 20:52 ` [DistroKit] [PATCH 1/7] platform-v7a: barebox: don't break the console autodetection Robert Schwebel
2018-02-22 15:14 ` Roland Hieber
2018-02-22 16:33 ` 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=20180219153719.32526-3-r.hieber@pengutronix.de \
--to=r.hieber@pengutronix.de \
--cc=distrokit@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