Re: State Framework and dtb

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

 



On Thu, Mar 30, 2017 at 01:33:26PM +0300, Çağlar Kilimci wrote:
> Hi,
> 
> >>   backend = &state_partition;
> >
> > This should be a phandle. Sorry, the example I gave you last time was
> > wrong. It should be
> >
> >         backend = <&state_partition>;
> >
> > Note the '<>'
> It's alright. I applied the changes, but still no registered state
> instances there. Similarly, if I free stored device tree and load it
> back again; before probe it, I can observe state like this:

I should have never implemented this freeing of the stored device tree.
There are too many pointers in the code to nodes of this tree. Please
do not use this free/load device tree feature for state. So you edited
the devicetree in the barebox source code, built a new binary with it
and started it. Now when you enter "of_dump /state@0" you should
see the state node you created. Is that what happens?

> 
> I appended many configs even if I do not need all of them:

The configs seem to have everything necessary

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