[PATCH] [RFC] tools: fitmount: fuse mount fit images

Selva Muthukumar selva.muthukumar at vvdntech.com
Wed Jun 24 14:47:57 CEST 2020


On Wed, Jun 24, 2020 at 5:25 PM Rasmus Villemoes
<rasmus.villemoes at prevas.dk> wrote:
>
> On 24/06/2020 04.50, selvamuthukumar v wrote:
> > On Tue, Jun 23, 2020 at 11:47 PM Tom Rini <trini at konsulko.com> wrote:
> >>
>
> >> For getting FIT image contents, the existing dumpimage tool handles
> >> this.
> >>
> > dumpimage extracts image contents into new files. Current firmware
> > upgrade process in our product is:
> >
> > 1. FIT image has kernel and rootfs. Get new FIT image in tmpfs.
> > 2. dumpimage to extract the FIT image in tmpfs.
> > 3. Write kernel and rootfs in partitions.
> >
> > many times step2 fails because there is not enough space in tmpfs. FIT
> > image and individual components need to be present in tmpfs. When we
> > mount the FIT image, it does not take extra space tmpfs.
>
> But, why do you use a FIT to bundle the kernel and rootfs? Wouldn't a
> squashfs image be a better container format? Depending on your rootfs
> image type, that might even cost even less in tmpfs (and transfer to
> target) than a FIT.
>

Platform is based on OpenWRT which already has the FIT image support.
Other than kernel and rootfs FIT image has some more contents, like
script to upgrade the image from u-boot

> I don't have anything against your patch, except as Tom pointed out it
> really needs to be opt-in so not everybody needs to have libfuse present
> to build the host tools. Just curious why you've chosen FIT as the
> container format.
>
I can make this tool as a configurable option.

-- 



_Disclaimer: _© 2020 VVDN Technologies Pvt. Ltd. This e-mail contains 
PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the 
addressee(s). If you are not the intended recipient, please notify the 
sender by e-mail and delete the original message. Further, you are not to 
copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful._
_
_
_
__


More information about the U-Boot mailing list