[PATCH v2 27/28] fs/squashfs: sqfs_read: fragmented files are not supported
João Marcos Costa
jmcosta944 at gmail.com
Mon May 17 02:44:53 CEST 2021
Hello,
Em ter., 11 de mai. de 2021 às 10:04, Richard Genoud <
richard.genoud at posteo.net> escreveu:
> Hi all,
>
> Le 08/05/2021 à 23:51, Simon Glass a écrit :
> > Hi,
> >
> > On Thu, 4 Feb 2021 at 15:32, João Marcos Costa <jmcosta944 at gmail.com>
> wrote:
> >>
> >> Em qua., 27 de jan. de 2021 às 12:15, Simon Glass <sjg at chromium.org>
> escreveu:
> >>>
> >>> Hi Joao,
> >>
> >> Hello!
> >>>
> >>> This test works the first time I run it but fails the second time,
> >>> since the directory already exists. This makes it necessary to disable
> >>> the test for development.
> >>>
> >>> It also uses the wrong quoting style - we have settled on a single
> >>> quote by default in U-Boot.
> >>>
> >>> Finally, the tests and some functions need comments about what they do
> >>> and what the arguments are.
> >>>
> >>> Please can you take a look?
> >>
> >> Absolutely. Excuse me for such a late reply.
> >
> > Any word on this please? Have you been able to repeat this?
> Yes, for me, reading fragmented files doesn't work.
> The test "test_sqfs_load" is OK because it only tests the file length not
> its content.
>
> I've written a patch to check if the file is corrupted or not, and it
> fails :
> ./test/py/test.py --bd sandbox --build -k test_sqfs_load -v
> [...]
>
I finally could get back to SquashFS support today, and I fixed a few bugs
concerning the fragmented files. However, I still need to run a few more
tests before submitting the patches.
Best regards,
Joao Marcos
www.linkedin.com/in/jmarcoscosta/
https://github.com/jmarcoscosta
More information about the U-Boot
mailing list