From: Giorgio Dal Molin <giorgio.nicole@arcor.de>
To: barebox@lists.infradead.org
Subject: eMMC partitions kernel comand line
Date: Thu, 18 Jun 2020 10:21:12 +0200 (CEST) [thread overview]
Message-ID: <1925287845.342649.1592468544667@mail.vodafone.de> (raw)
Hallo,
I'm working on an arm IMX7 module with an eMMC flash on it.
I don't need/want to have a partition table on the eMMC, some hardcoded
partitions are just OK. I've already defined them in the barebox device tree
and it works, for barebox:
...
partition@0 {
label = "bl_env";
reg = <BLENV_OFS BLENV_SIZE>;
};
partition@1 {
label = "boot";
reg = <BOOT_OFS BOOT_SIZE>;
};
...
Unfortunately the same trick is not supported by the linux kernel.
What works for the kernel is the special command line option:
blkdevparts=mmcblk1:1M(bl_env),50M(boot),...
My question is: is it possible to let barebox automatically generate
this command line according to what it has in its device tree or do I
have to do it manually.
giorgio
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2020-06-18 8:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-18 8:21 Giorgio Dal Molin [this message]
2020-06-18 13:18 ` Sascha Hauer
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=1925287845.342649.1592468544667@mail.vodafone.de \
--to=giorgio.nicole@arcor.de \
--cc=barebox@lists.infradead.org \
/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