[U-Boot] dfu: dfu and UBI Volumes

Tom Rini trini at ti.com
Tue May 28 01:37:35 CEST 2013


On Mon, May 27, 2013 at 11:25:52PM +0200, Wolfgang Denk wrote:

> Dear Tom,
> 
> In message <20130527204127.GY17119 at bill-the-cat> you wrote:
> > 
> > This _may_ be the hard part for UBI.  When doing raw block writes for
> > NAND/MMC, we're able to write them out quickly and thus support images
> > larger than RAM.  But for filesystems we don't support that notion in
> > general for write and so limit ourselves to 8MiB or so files.  Fine for
> 
> Where exactly is this 8 MB limit coming into play?

In buffering the data.  We cannot write a chunk of a file to a
filesystem and then append to it, we don't have the API today.

> > the most part, but not fine for UBI.  It's possible that we can support
> > this on UBI easier than we can on filesystems, but I just don't know.
> 
> I thought the only size limitation for images we can load is available
> system RAM?  Is this not the case?

It is the case for raw media and not the case for filesystems.  If it
will be the case for UBI depends on what API we have available to us in
the UBI layer.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130527/ccb6cb98/attachment.pgp>


More information about the U-Boot mailing list