[PATCH 5/6] test: Add a helper class to create disk images

Simon Glass sjg at chromium.org
Fri Feb 27 23:14:38 CET 2026


Hi Tom,

On Wed, 25 Feb 2026 at 10:12, Tom Rini <trini at konsulko.com> wrote:
>
> On Wed, Feb 25, 2026 at 09:23:49AM -0700, Simon Glass wrote:
>
> > From: Simon Glass <simon.glass at canonical.com>
> >
> > Provide a way to create disk images which consist of multiple filesystem
> > images.
> >
> > Provide an option to use the current directory for images, instead of
> > persistent-data directory. This makes it easy for C tests to locate the
> > image.
> >
> > Signed-off-by: Simon Glass <simon.glass at canonical.com>
> > ---
> >
> >  test/py/tests/fs_helper.py | 97 ++++++++++++++++++++++++++++++++++++++
> >  1 file changed, 97 insertions(+)
>
> It seems wrong to ignore the existing function to create disk images.

Can we do this in steps? I have a pending series to rework the test
images (and move them to the persistent dir) but it is at least 10
patches, so I figured I should start with this.

Regards,
Simon


More information about the U-Boot mailing list