Re: How to use eMMC/SD DOS partitions as backend for the state framework?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux