[PATCH 1/4] fs/squashfs: new filesystem
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Jul 10 10:29:33 CEST 2020
Hello Rasmus,
On Thu, 9 Jul 2020 21:50:03 +0200
Rasmus Villemoes <rasmus.villemoes at prevas.dk> wrote:
> > +config SPL_FS_SQUASHFS
> > + bool "Support SquashFS filesystems"
> > + select FS_SQUASHFS
>
> Is there any reason U-Boot proper must support squashfs if the SPL does?
> This isn't quite specific to this patch; I see a number of 'config
> SPL_FOO' that either depends on or selects FOO (e.g. SPL_FS_FAT), and I
> wonder why.
Well, if your Linux kernel image and Device Tree are stored in a
squashfs filesystem, then U-Boot proper needs SquashFS support, right ?
And that is completely independent of whether the SPL has SquashFS
support to be able to load U-Boot proper (which potentially could be
stored on SquashFS as well).
It's very much like the FAT filesystem case: if you have U-Boot proper
and your Linux kernel image in a FAT filesystem, then the SPL needs FAT
filesystem support to load U-Boot proper, and U-Boot proper needs FAT
filesystem support to load the Linux kernel image.
Am I missing something here ?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the U-Boot
mailing list