[PATCH 0/7] Introduce SQUASHFS support in SPL

Joao Marcos Costa joaomarcos.costa at bootlin.com
Mon Mar 16 10:38:00 CET 2026


Hello, folks

Thanks for the series, Richard!

On 3/13/26 11:42, Richard Genoud wrote:
> SquashFS has support in U-Boot, but not in SPL.
> 
> This series adds the possibility for the SPL to load files from SquashFS
> partitions.
> This is useful, for instance, when there's a SquashFS rootfs containing
> U-Boot binary.
> 
> NB: falcon mode is not supported yet.
> 
> Richard Genoud (7):
>    fs/squashfs: fix sqfs_decompressor.c build in SPL
>    fs/squashfs: sqfs_decompressor: simplify code
>    fs/squashfs: squashfs.h: include file should be self dependent
>    spl: add squashfs support
>    spl: mmc: support squashfs
>    MAINTAINERS: SQUASHFS: update João Marcos Costa email
>    MAINTAINERS: SQUASHFS: Add myself as co-maintainer
> 
>   MAINTAINERS                     |  6 ++-
>   common/spl/Makefile             |  1 +
>   common/spl/spl_mmc.c            | 19 +++++---
>   common/spl/spl_squashfs.c       | 78 +++++++++++++++++++++++++++++++++
>   fs/squashfs/sqfs.c              | 12 +++--
>   fs/squashfs/sqfs_decompressor.c | 71 ++++++++++--------------------
>   include/part.h                  |  1 +
>   include/spl.h                   |  6 +++
>   include/squashfs.h              |  5 ++-
>   9 files changed, 135 insertions(+), 64 deletions(-)
>   create mode 100644 common/spl/spl_squashfs.c
> 
> 
> base-commit: ba7bf918dafcd093ad733b07ba490baeb20cf5da

Reviewed-by: João Marcos Costa <joaomarcos.costa at bootlin.com>

-- 
Best regards,
João Marcos Costa


More information about the U-Boot mailing list