[PATCH v2 0/6] Introduce UBI block device

Alexey Romanov avromanov at salutedevices.com
Thu May 23 12:49:39 CEST 2024


Hi Michael,

On Mon, May 06, 2024 at 03:59:52PM +0200, Michael Nazzareno Trimarchi wrote:
> Hi Alexey
> 
> Sorry will will put on CI

Any news?

> 
> Michael
> 
> On Mon, May 6, 2024 at 3:58 PM Alexey Romanov
> <avromanov at salutedevices.com> wrote:
> >
> > Hello! Ping.
> >
> > On Mon, Mar 25, 2024 at 05:41:42PM +0300, Alexey Romanov wrote:
> > > Hello!
> > >
> > > This series adds support for the UBI block device, which
> > > allows to read/write data block by block. For example,
> > > it can now be used for BCB or Android AB command:
> > >
> > >   $ bcb load ubi 0 part_name
> > >
> > > Tested only on SPI NAND, so bind is made only for
> > > SPI NAND drivers. Can be used with mtdblock device [1].
> > >
> > > ---
> > >
> > > Changes V1 -> V2 [2]:
> > >
> > >  - Rebased over mtdblock v2 patchset [3].
> > >  - Compile UBI partitions support only if CONFIG_BLK option
> > >    is enabled.
> > >
> > > - Links:
> > >
> > >   [1] https://lore.kernel.org/all/20240227100441.1811047-1-avromanov@salutedevices.com/
> > >   [2] https://lore.kernel.org/all/20240306134906.1179285-1-avromanov@salutedevices.com/
> > >   [3] https://lore.kernel.org/all/20240307130726.1582487-1-avromanov@salutedevices.com/
> > >
> > > Alexey Romanov (6):
> > >   ubi: allow to read from volume with offset
> > >   ubi: allow to write to volume with offset
> > >   drivers: introduce UBI block abstraction
> > >   disk: don't try search for partition type if already set
> > >   disk: support UBI partitions
> > >   spinand: bind UBI block
> > >
> > >  cmd/ubi.c                   |  77 +++++++++++++++++++--
> > >  disk/part.c                 |   7 ++
> > >  drivers/block/blk-uclass.c  |   1 +
> > >  drivers/mtd/nand/spi/core.c |   8 ++-
> > >  drivers/mtd/ubi/Makefile    |   1 +
> > >  drivers/mtd/ubi/block.c     | 130 ++++++++++++++++++++++++++++++++++++
> > >  drivers/mtd/ubi/part.c      |  99 +++++++++++++++++++++++++++
> > >  env/ubi.c                   |  16 ++---
> > >  include/part.h              |   2 +
> > >  include/ubi_uboot.h         |   8 ++-
> > >  10 files changed, 332 insertions(+), 17 deletions(-)
> > >  create mode 100644 drivers/mtd/ubi/block.c
> > >  create mode 100644 drivers/mtd/ubi/part.c
> > >
> > > --
> > > 2.34.1
> > >
> >
> > --
> > Thank you,
> > Alexey
> 
> 
> 
> -- 
> Michael Nazzareno Trimarchi
> Co-Founder & Chief Executive Officer
> M. +39 347 913 2170
> michael at amarulasolutions.com
> __________________________________
> 
> Amarula Solutions BV
> Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
> T. +31 (0)85 111 9172
> info at amarulasolutions.com
> www.amarulasolutions.com

-- 
Thank you,
Alexey


More information about the U-Boot mailing list