From: Sascha Hauer <s.hauer@pengutronix.de>
To: B Gol <behnam_golds@yahoo.com>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: How to use eMMC/SD DOS partitions as backend for the state framework?
Date: Tue, 13 Jun 2017 09:34:36 +0200 [thread overview]
Message-ID: <20170613073436.gnmmrbbtiqkwif5t@pengutronix.de> (raw)
In-Reply-To: <1270235505.6719556.1497082449606@mail.yahoo.com>
Hi,
On Sat, Jun 10, 2017 at 08:14:09AM +0000, B Gol wrote:
> Hi,
> I was trying to figure out the state framework recently , and found out
> that till version 2017.04.0 it kinda works with the following lines in
> my dtb :
>
> #############################################################################
>
> / {
> state: state {
> magic = <0x27031977>;
> compatible = "barebox,state";
> backend-type = "dtb";
> backend-storage-type = "direct";
> backend-stridesize = <0x500>;
> backend = &mmc1, "partname:6";
Sorry, this doesn't work. We updated the binding, the backend must
be a phandle to the partition which contains the state data, like
this:
backend = <&mmc1_state>;
&mmc1 {
mmc1_state: state@0x80000 {
reg = <0x80000 0x80000>;
label = "state-sd";
};
};
Currently it is not possible to directly point to a DOS/GPR partition. We
are still looking for solutions to this problem.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2017-06-13 7:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1270235505.6719556.1497082449606.ref@mail.yahoo.com>
2017-06-10 8:14 ` B Gol
2017-06-13 7:34 ` Sascha Hauer [this message]
[not found] <1982917789.2703351.1497365376201.ref@mail.yahoo.com>
2017-06-13 14:49 ` B Gol
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=20170613073436.gnmmrbbtiqkwif5t@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=behnam_golds@yahoo.com \
/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