How to use eMMC/SD DOS partitions as backend for the state framework?
Sascha Hauer
s.hauer at pengutronix.de
Tue Jun 13 00:34:36 PDT 2017
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 at 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 |
More information about the barebox
mailing list