[elbe-devel] [PATCH 0/2] elbepack: packers: add support for android-sparse

Thomas Weißschuh thomas.weissschuh at linutronix.de
Thu Dec 12 12:12:16 CET 2024


Hi Javier,

On Thu, Dec 12, 2024 at 12:03:51PM +0100, Javier Fernandez Pastrana wrote:
> I've tested the PQ and it is working. However, it has a different
> behavior than I expected. It is not related to ELBE, it is related to 
> android-sdk-libsparse-utils debian package.

Thanks for testing!

> If I use img2simg from android-sdk-libsparse-utils from Debian
> (bookworm) repository, I have to add a big timeout in my FastBoot
> flashing command:
> 
> android-sdk-libsparse-utils (1:29.0.6-28)
> 
> FB[-t 300000]: flash 1:0 ssda.img #300000 ms timeout
> 
> On the other hand, If I use img2simg from cargo package manager[1], I
> do not have to add a timeout, and the flashing process is considerably
> faster.

Is there a difference in the size of the sparse images?
Can you also try android-sdk-libsparse-utils (1:34.0.5-2~bpo12+1) from
bookworm-backports?

As you already have the images available anyways, could you provide them
to me via zen2?

> img2simg --version
> img2simg 0.6.0
> 
> rustc --version
> rustc 1.82.0 (f6e511eec 2024-10-15)
> 
> We should dig into this issue before applying it to master.

Indeed.

> 
> Javi
> 
> [1] https://lib.rs/crates/android-sparse
> 
> On Thu, 05 Dec 2024 10:35:37 +0100
> Thomas Weißschuh <thomas.weissschuh at linutronix.de> wrote:
> 
> > Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
> > ---
> > Thomas Weißschuh (2):
> >       elbepack: packers: execute packers without intermediate shell
> >       elbepack: packers: add support for android-sparse
> > 
> >  debian/control                            |  1 +
> >  elbepack/packers.py                       | 29
> > ++++++++++++++++++++++------- elbepack/schema/dbsfed.xsd
> >   |  3 ++- newsfragments/+android-sparse.feature.rst |  8 ++++++++
> >  4 files changed, 33 insertions(+), 8 deletions(-)
> > ---
> > base-commit: 8d5b9637e84c5d03f06f69f98428a618c40ab50c
> > change-id: 20241205-sparse-image-f2ec1d0cf24d
> > 
> > Best regards,


More information about the elbe-devel mailing list