[U-Boot] [RFC] tools/env: Support UBI devices

Joe Hershberger joe.hershberger at gmail.com
Tue May 24 17:27:19 CEST 2016


On Mon, May 16, 2016 at 5:07 PM, Kevin Smith
<kevin.smith at elecsyscorp.com> wrote:
> Instead of requiring gluebi to update u-boot environments from
> Linux, directly support writing to an UBI device.  The
> fw_env.config file will look something like this:
>
> Device          Offset  Envsize         LEB Size        Count
> /dev/ubi0_0     0       0x10000         0x1f000         1
>
> It is important to use LEB size instead of PEB size when using
> UBI.
>
> Signed-off-by: Kevin Smith <kevin.smith at elecsyscorp.com>
> Cc: Michael Heimpold <mhei at heimpold.de>
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> ---

Seems reasonable to me.


More information about the U-Boot mailing list