[PATCH 0/7] Introduce SQUASHFS support in SPL

Richard Genoud richard.genoud at bootlin.com
Fri Mar 13 11:42:22 CET 2026


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


More information about the U-Boot mailing list