[OE-core] [PATCH] image_types.bbclass: add support for multiple ubi sizes

Pushpal Sidhu psidhu at gateworks.com
Tue May 5 19:22:50 UTC 2015


ping.

- Pushpal

On Mon, Apr 27, 2015 at 5:36 AM, Otavio Salvador
<otavio at ossystems.com.br> wrote:
>
> On Fri, Apr 24, 2015 at 9:32 PM, Pushpal Sidhu <psidhu at gateworks.com> wrote:
> > Add new FSTYPE called 'multiubi'. This new type has the ability to
> > create multple ubi's, something that's extremely useful on boards that
> > can include varying flash sizes (e.g. 256MB vs 2GB).
> >
> > Because we don't want to reuse code, I extracted the mkfs and ubinize
> > commands out to a new function that will handle the creation of both
> > multiple ubi's, as well as the 'ubi' FSTYPE (so as not to break current
> > boards).
> >
> > Due to the single processes nature of the OE when doing it's
> > 'create_image', this new multiubi_mkfs function also creates it's own
> > symlinks as well as cleans up it's own cfg file.
> >
> > Signed-off-by: Pushpal Sidhu <psidhu at gateworks.com>
>
> It makes a lot of sense.
>
> Acked-by: Otavio Salvador <otavio at ossystems.com.br>
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list