From: Giulio Benetti <giulio.benetti@benettiengineering.com>
To: buildroot@buildroot.org
Cc: "Giulio Benetti" <giulio.benetti@benettiengineering.com>,
"Michael Walle" <michael@walle.cc>,
"Jagan Teki" <jagan@amarulasolutions.com>,
"Michał Łyszczek" <michal.lyszczek@bofc.pl>,
"Luca Ceresoli" <luca@lucaceresoli.net>,
"Heiko Thiery" <heiko.thiery@gmail.com>,
"Yann E . MORIN" <yann.morin.1998@free.fr>,
"Thomas De Schampheleire" <thomas.de_schampheleire@nokia.com>
Subject: [Buildroot] [PATCH v2 8/9] docs/manual: add allowed notations section for genimage.cfg files
Date: Tue, 9 Nov 2021 11:18:43 +0100 [thread overview]
Message-ID: <20211109101844.1132067-9-giulio.benetti@benettiengineering.com> (raw)
In-Reply-To: <20211109101844.1132067-1-giulio.benetti@benettiengineering.com>
Add allowed notations section for genimage.cfg files by specifying the
accepted suffix or prefix. Note that "K" has been decided to specify
KiloBytes as 1024 bytes. This has been done because in Buildroot the 90%
of the cases were using "K" and not "k".
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
docs/manual/writing-rules.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/docs/manual/writing-rules.txt b/docs/manual/writing-rules.txt
index 28cb0fe4f1..138c39db14 100644
--- a/docs/manual/writing-rules.txt
+++ b/docs/manual/writing-rules.txt
@@ -192,6 +192,11 @@ image sdimage.img {
* Filename must at least begin with genimage prefix and have the .cfg
extension to be easy to recognize.
+* Allowed notations for +offset+ and +size+ options are: +G+, +M+, +K+(not k).
+ If it's not possible to express a precise byte count with notations above
+ then use hexadecimal +0x+ prefix or, as last chance, the byte count.
+ In comments instead use +GB+, +MB+, +KB+(not kb) in place of +G+, +M+, +K+.
+
The +genimage.cfg+ files are the input for the genimage tool used in
Buildroot to generate the final image file(i.e. sdcard.img). For further
details about the _genimage_ language, refer to
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2021-11-09 10:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-09 10:18 [Buildroot] [PATCH v2 0/9] Post genimage.cfg beautify Giulio Benetti
2021-11-09 10:18 ` [Buildroot] [PATCH v2 1/9] board/olimex/a20_olinuxino/genimage.cfg: fix option suffix Giulio Benetti
2021-11-09 10:18 ` [Buildroot] [PATCH v2 2/9] board/altera/socrates_cyclone5/genimage.cfg: fix offset suffix Giulio Benetti
2021-11-09 10:18 ` [Buildroot] [PATCH v2 3/9] board/friendlyarm/nanopi-neo2/genimage.cfg: fix comment Giulio Benetti
2021-11-09 10:18 ` [Buildroot] [PATCH v2 4/9] board/orangepi/orangepi-pc2/genimage.cfg: " Giulio Benetti
2021-11-09 10:18 ` [Buildroot] [PATCH v2 5/9] board/minnowboard/genimage.cfg: fix option assignment spaces Giulio Benetti
2021-11-09 10:18 ` [Buildroot] [PATCH v2 6/9] board/kontron/pitx-imx8m/genimage.cfg: fix option suffix Giulio Benetti
2021-11-09 10:22 ` Giulio Benetti
2021-11-09 10:18 ` [Buildroot] [PATCH v2 7/9] board/kontron/smarc-sal28/genimage.cfg: " Giulio Benetti
2021-11-09 10:18 ` Giulio Benetti [this message]
2021-11-09 10:18 ` [Buildroot] [PATCH v2 9/9] board/nezha/genimage.cfg: fix offset value notation Giulio Benetti
2021-11-14 14:42 ` [Buildroot] [PATCH v2 0/9] Post genimage.cfg beautify Thomas Petazzoni
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=20211109101844.1132067-9-giulio.benetti@benettiengineering.com \
--to=giulio.benetti@benettiengineering.com \
--cc=buildroot@buildroot.org \
--cc=heiko.thiery@gmail.com \
--cc=jagan@amarulasolutions.com \
--cc=luca@lucaceresoli.net \
--cc=michael@walle.cc \
--cc=michal.lyszczek@bofc.pl \
--cc=thomas.de_schampheleire@nokia.com \
--cc=yann.morin.1998@free.fr \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.