Hi Sam, On Mon, Apr 03, 2017 at 10:15:11PM +0200, Sam Ravnborg wrote: > Hi Sasha. > > On Fri, Mar 31, 2017 at 09:03:04AM +0200, Sascha Hauer wrote: > > Hi All, > > > > Here is a ton of patches working on the state framework: > > > > - make code easier to follow > > - Drop cached backend, replace with open coded more direct code > > - drop backend as extra struct type > > - drop lazy init code > > - update documentation > > - Add keystore command > > Using authenticated state requires hardware support which currently > > is only available for i.MX6. At least for testing purposes a keystore > > command to set keys is useful. This way authenticated state can be > > tested without hardware support > > - more robust conversion of the backend path to a device node > > - make work better with NOR flash: The current code ended up reading > > from NOR Flash byte by byte which was painfully slow > > From browsing the patches this also brings a nice boot time improvement. > We avoid earsing the whole block (or whatever the right name is) until > we have filled it up with state entries. > I expect this tospeed up booting with at least a second on our target. > > Will this require a newer version of dt-utils to work? > (When we for example update the sate from linux userspace) No new tools required, the binary format is still the same. The circular format which fills up blocks before erasing them existed before this series, but this format is the default now. So if you end up with the new format because you haven't specified the format before, then this format change is still passed to userspace in the device tree and and the userspace utility will do the right thing. 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