
Hello Rasmus,
On Thu, 9 Jul 2020 21:50:03 +0200 Rasmus Villemoes rasmus.villemoes@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